Easter update - music visualization not working any more

Hi,
in the past I used the music visualization glspectrum. After the update I’m getting the following error:

2019-04-22 11:07:49.416 T:1915991600   ERROR: Unable to resolve exports from dll /usr/lib/kodi/addons/visualization.glspectrum/opengl_spectrum.vis
2019-04-22 11:07:49.691 T:1915991600 WARNING: Unable to resolve: opengl_spectrum.vis ADDON_GetTypeVersion, reason: /usr/lib/kodi/addons/visualization.glspectrum/opengl_spectrum.vis: undefined symbol: ADDON_GetTypeVersion
2019-04-22 11:07:49.691 T:1915991600   ERROR: Unable to resolve exports from dll /usr/lib/kodi/addons/visualization.glspectrum/opengl_spectrum.vis
2019-04-22 11:07:49.692 T:1915991600   ERROR: IAddonInstanceHandler::CreateInstance: visualization.glspectrum returned bad status "Permanent failure" during instance creation
2019-04-22 11:07:49.692 T:1915991600   FATAL: Visualization: failed to create instance for 'visualization.glspectrum' and not usable!

In the add on repository I cannot find any music visualization for installation???
When I install visualization.spectrum-2.0.4-Leia.zip manually I’m getting the following error:

2019-04-22 12:54:57.868 T:1916229168   ERROR: Unable to load /home/osmc/.kodi/addons/visualization.spectrum/visualization.spectrum.so.2.0.3, reason: /home/osmc/.kodi/addons/visualization.spectrum/visualization.spectrum.so.2.0.3: wrong ELF class: ELFCLASS64
2019-04-22 12:54:58.073 T:1916229168   ERROR: Previous line repeats 1 times.
2019-04-22 12:54:58.073 T:1916229168   ERROR: IAddonInstanceHandler::CreateInstance: visualization.spectrum returned bad status "Permanent failure" during instance creation
2019-04-22 12:54:58.073 T:1916229168   FATAL: Visualization: failed to create instance for 'visualization.spectrum' and not usable!

Any ideas how I can get it running with leia?

Thanks and best regards
Fabian

1 Like

Same probem here: waveform & glspectrum don’t work anymore after April update.

kodi.log (extract):

2019-04-23 14:28:00.311 T:1915495984 WARNING: Unable to resolve: Waveform.vis ADDON_GetTypeVersion, reason: /usr/lib/kodi/addons/visualization.waveform/Waveform.vis: undefined symbol: ADDON_GetTypeVersion
2019-04-23 14:28:00.339 T:1915495984 ERROR: Unable to resolve exports from dll /usr/lib/kodi/addons/visualization.waveform/Waveform.vis
2019-04-23 14:28:00.461 T:1545056992 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ape
2019-04-23 14:28:00.638 T:1915495984 WARNING: Unable to resolve: Waveform.vis ADDON_GetTypeVersion, reason: /usr/lib/kodi/addons/visualization.waveform/Waveform.vis: undefined symbol: ADDON_GetTypeVersion
2019-04-23 14:28:00.638 T:1915495984 ERROR: Unable to resolve exports from dll /usr/lib/kodi/addons/visualization.waveform/Waveform.vis
2019-04-23 14:28:00.639 T:1915495984 ERROR: IAddonInstanceHandler::CreateInstance: visualization.waveform returned bad status “Permanent failure” during instance creation
2019-04-23 14:28:00.639 T:1915495984 FATAL: Visualization: failed to create instance for ‘visualization.waveform’ and not usable!
2019-04-23 14:28:02.605 T:1915495984 ERROR: IAddonInstanceHandler::CreateInstance: visualization.waveform returned bad status “Permanent failure” during instance creation

Bye, Kranz

1 Like

Update:

I compiled visualization.spectrum from source (here) and copied /xbmc/kodi-build/addons/visualization.spectrum in /usr/share/kodi/addons and restarted kodi.

The spectrum visualization works in Leia included with the OSMC official update but it is software rendered, so it’s slow and choppy. Maybe there are compiler options to target raspberry pi 2/3 and make use of the gles acceleration…

By Kranz

Update:

visualizations (spectrum, shadertoy and waveform) work in LibreELEC 9.0.2 for Rpi2/3.
They are downloadable from OpenELEC addons repo but, as expected, can’t be simply copied in the OSMC system.

@sam_nazarko:
would be possible to compile the visualizations for latest OSMC update (Easter)? They should work, both OSMC and LibreELEC use kodi 18.2 and - I guess - similar kernel version.

Thank you in advance

Kranz

1 Like

Last time I tried them they did not work. Have they been updated? If so you should be able to add the popcornmix repo to use them on osmc

Hi Sam,
I can confirm that spectrum, waveform and shadertoy work in LibreELEC 9.0.2 Rpi2 build.

I don’t know if those addons were recently updated (as I read here and here they seems to have been updated recently, shadertoy form popcornmix repository was last updated 2 years ago…), so I’m almost sure they can work fine in OSMC (in fact, they worked before Easter/kodi 18 update).

1 Like

Hi Kranz and Sam,

are there any news how I can (re-) install the Spectrum visualizer with osmc Leia to get it back working?

Thanks
Fabian

Hi,
From my side there aren’t any news.
I hope @sam_nazarko can make them work again in the next OSMC updates…after all, if the visualization addons (spectrum, waveform and shadertoy) work fine in libreELEC for Rpi then should compile (with gles) in OSMC as well.

bye, Kranz

I am still looking in to this.

Thanks

Sam

Compiled visualization addon with gles on osmc kodi 18. Works fine. Download in repo https://github.com/virserg/kodirepo/raw/master/zips/repository.virserg/repository.virserg-1.0.0.zip

5 Likes

Thanks!

Thanks, working perfect!

Thanks a lot, virserg :grinning:

Waveform & spectrumgl work perfectly.

Shadertoy works, but it’s not possible to select a preset because the config window of that addon goes blank (no options available). Shadertoy preset used to work with shadertoy form popcornmix repo with osmc & kodi 17.x (pre Easter update).

Bye, Kranz

It does work for me, maybe reset to default with in the addon or restart Kodi.

I tried with a full reboot, unistall & reinstall but config option window of the shadertoy addon still remains empty.
Searching about shadrtoy developement I found this issue: Issue shadertoy preset so it seems to be a known bug.

Looks really strange that the config presets window works for you.

Bye, Kranz

Go play a song and go to the options, change the preset there.
It is not in de addon options :wink:

Ok, I have just played a song, then selected options (should be the hilighted gears icon)


but I have this empty window:

My config: OSMC latest update (2019.06-1), Confluence skin, Raspberry pi 3 B+.

Bye, Kranz

Default kodi skin after clicking on the cogwheel:

Did my pictures help in any way?

Yes, well done!

I found the “preset” option in Confluence and the various shaders are all there.
My fault was that I was looking for the shadertoy presets in the wrong place. A bit strange that waveform and spectrum have their configuration page under “settings” and shadetoy under “preset” but once discovered that, I’m fine with it.

So, I can confirm that waveform, spectum and shadertoy work fine with Raspberry pi 3 B+ and OSMC latest update (2019.06-1) :grinning:

Again. thank you a lot for the help.

Bye, Kranz

1 Like