Hi, can any one else confirm if their visualizations are working on latest 19.3 build?
I’m assuming it could be a Pi 3 related issue, as I have a Pi 4 and Vero 4K+ both fully up to date which aren’t showing this issue.
I’ve flashed a brand new Pi 3 SD this morning and confirmed that on my system at least that the problem is not due to previous config.
When playing music with Matrix visualization enabled it doesn’t show any reactions to the audio, e.g. rainfall will still occur but there will be no waveform. If the default Kodi preset is selected there will be no logo, etc, etc.
EDIT: I can get some logs up later today if required.
In Matrix, I see the code but not Logo animated with sound like @JonnyG
In Shadertoy, with 2D Spectrum, I see only background, the volumes bars are not animated
Hi,
I’ve solved the issue myself. Thanks to this post : Where did ShaderToy go? - #12 by Panisher
I’ve compiled addon myself from source with changes.
The issue is due to the GL_RED and GL_LUMINANCE detection.
You don’t need to rename the addon, you can just create the zip and install it. It will replace the built-in addon. If removed, the original addon gets restored. I would also recommend to build release and not debug version as the addon is quite resource heavy. Modifying the cmakelists.txt can be avoided by specifying -DAPP_RENDER_SYSTEM=gles hopping that it is still using the same defines to control that.
I don’t know if this is a specific issue with Raspi HW or the OSMC system but according to the comments in the code the original change was introduced to support Android. It appears that on Raspi/OSMC, GL_RED is already defined but not working with shadertoy as intended so it needs to remain using GL_LUMINANCE. Why there was a change from GL_LUMIANCE to GL_RED at all I don’t know exactly. Afaik, using GL_LUMINANCE is supposed to broadcast to R, G and B channels while GL_RED is just the single R channel.