Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashing white boxes instead of visualization when running with projectm-pulseaudio #101

Closed
prg318 opened this issue Sep 4, 2018 · 4 comments

Comments

@prg318
Copy link

prg318 commented Sep 4, 2018

Configuration

Arch Linux 64
Radeon RX 580 w/ amdgpu drivers
projectM from this repo - tried master branch, and glsl

What happens

When running projectMSDL, visuals are fine. The program works as expected. However, when running projectm-pulseaudio (Qt version), the visuals are displayed as flashing white boxes and other artifacts. Here is an example:

https://xannode.com/UnhappyProjectM.png

Interesting Notes

  • If I press "m" in projectm-pulseaudio, I will get a functional qt UI but there's nothing I can seem to do to get the visuals to show properly.
  • If I run projectM-qt or projectM-pulseaudio from the released version of projectM (1.2.0) with the projectM.so from git, I get this same behavior._

Command line output

dir:/usr/share/projectM/config.inp 
reading ~/.projectM/config.inp 
[projectM] config file: /home/lukas/.projectM/config.inp
Failed to compile shader 'Vertex: v2f_c4f'. Error: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

Failed to compile shader 'Fragment: v2f_c4f'. Error: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

Failed to link program: error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
Failed to compile shader 'Vertex: v2f_c4f_t2f'. Error: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

Failed to compile shader 'Fragment: v2f_c4f_t2f'. Error: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

Failed to link program: error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
Failed to compile shader 'Vertex: blur1'. Error: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

Failed to compile shader 'Fragment: blur1'. Error: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

Failed to link program: error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
Failed to compile shader 'Vertex: blur2'. Error: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

Failed to compile shader 'Fragment: blur2'. Error: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

Failed to link program: error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
[PresetFactory] url is idle://Geiss & Sperl - Feedback (projectM idle HDR mix).milk
No Textures Loaded from /usr/share/projectM/textures
No Textures Loaded from /usr/share/projectM/textures
^C
@revmischa
Copy link
Collaborator

Only reason I could think of that -SDL would work and -pulseaudio wouldn't, would be either one wasn't rebuilt when you switched branches or because one of them isn't doing the proper GL context setup. Which is quite possible.

@deltaoscarmike
Copy link
Collaborator

Your graphic driver seems to support opengl ES, try a full rebuild (sdl and qt apps) with the configure flag --enable-gles this should fix the shaders compilation errors.

@prg318
Copy link
Author

prg318 commented Sep 7, 2018

Thanks for the update @deltaoscarmike . Just did a full rebuild with the "--enable-gles" flag and "projectm-pulseaudio" binary works fine now.

So this issue seems to be isolated to projectM with openGLES disabled at build time

@revmischa
Copy link
Collaborator

New ticket for tracking this issue: #168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants