Music visualizations?

#9

I also used apt-get to get other visualizations, but none of the others worked. Spectrum was only that showed, but when used, nothing was displayed.

https://kodi.wiki/view/Ubuntu_binary_add-ons#Visualizations

#10

OSMC isn’t based on Ubuntu – so that won’t work. Installing some of those add-ons may cause problems with your system.

Vero 4K is a GLES based platform; so you will be limited re. visualisations as most use OpenGL. I’m working on adding more – but trying to avoid a hacky approach.

I’ll look in to this further.

Sam

#11

ProjectM seems to support GLES

#12

Yes – but I don’t think the Kodi implementation does.

#13

Seems that was just added as well

#14

It seems to require GLES3 though unfortunately.

Sam

#15

It seems the initial pull request was GLES3-only, but it was expanded to support GLES2 as well.

#16

So it does! @gmc – can we get this in to nightlies as a test?

Sam

2 Likes
#17

I checked GitHub and shadertoy, spectrum and waveform all reference GLES in their code. It appears vortex may not even require GL at all.

#18

I’ve added it back into the build. Visualizations were excluded as they failed to build previously. Lets see how the latest build goes.

#20

Did it build successfully? If so, I’ll try out one of the test builds to see how it works…

#21

Unfortunately could never get any of the them to build.

[TESTING] Kodi v18 release builds
#22

Any logs of the errors you could share? Maybe I could try to help troubleshoot. I’d love to see this finally land on the Vero.

#23

First issue was:

c++: error: unrecognized command line option ‘-msse2’
glm/CMakeFiles/glm_static.dir/build.make:62: recipe for target ‘glm/CMakeFiles/glm_static.dir/detail/glm.cpp.o’ failed
make[5]: *** [glm/CMakeFiles/glm_static.dir/detail/glm.cpp.o] Error 1

I fixed this by patching the source flags here:

After that another issue with OpenGL files missing:

configure: error: GL/gl.h or OpenGL/gl.h is needed

I tried adding libgles2-mesa-dev libaries but then Kodi didn’t even build. Came up with GLES3 errors.

#24

OK, and you’re definitely using visualization.projectm from master or v2.2.0?

Did you try to build any of these? I believe they’re quite a bit less complex than ProjectM…

#25

Not having any luck with Vortex either. Failing with windows.h error.

I don’t think we are going to have luck with any of these.

#26

Just checking to make sure you tried shadertoy, spectrum and waveform as well. If none of them will build, that’s too bad. Any chance of filing bugs to the upstream?

#27

Have you tried the visualisations from the popcornmix repo?

#28

How did you build it? On your Vero4k? If so, what are the steps to get a build process set up, if you don’t mind?

#29

I never build them, popcornmix did, but what I read from Sam these don’t work on Kodi v18 :frowning: