openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.97k stars 2.55k forks source link

examples/gl/gpuParticleSystemExample failed creating GL_GEOMETRY_SHADER_EXT shader #6648

Open CarlFK opened 3 years ago

CarlFK commented 3 years ago

OpenGL generated error 1280 trying to get the program link status, does your video card support shader programs?

How do I check?

Linux twist 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
LENOVO ThinkPad Twist 33476LU
Ubuntu 20.04.1 LTS

lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

carl@twist:~/of/of_v20201229_linux64gcc6_release/examples/gl/gpuParticleSystemExample$ make RunRelease 
[ error ] ofShader: setupShaderFromSource(): failed creating GL_GEOMETRY_SHADER_EXT shader
[ error ] ofShader: checkProgramLinkStatus(): OpenGL generated error 1280 trying to get the program link status, does your video card support shader programs?
[ error ] ofFbo: FRAMEBUFFER_UNSUPPORTED
[ error ] ofFbo: FRAMEBUFFER_UNSUPPORTED
[ error ] ofFbo: FRAMEBUFFER_UNSUPPORTED
[ error ] ofFbo: FRAMEBUFFER_UNSUPPORTED
[ error ] ofFbo: FRAMEBUFFER_UNSUPPORTED

window, black, fps: 60.0xxx

somecho commented 3 years ago

Hello! It could be because that Intel's driver doesn't support GL_RGB32F format. I've had this problem with Intel machines before. More info: https://www.gamedev.net/forums/topic/602099-problems-with-floating-point-texture-formats-and-intel-graphics-under-linux/