display(error): Deactivating glxGraphicsStateGuardian.

Hi All,

I have installed Panda3D on Linux ( from source ) and I want to run the Greeting Card sample. After finally getting around the Config.prc problem, now I at least get a window, however I don’t get any images in that window. I get these error message in the console:

:util(warning): Adjusting global clock’s real time by 0.703839 seconds.
:pgraph(warning): Using deprecated LightAttrib interface.
:pgraph(warning): Using deprecated LightAttrib interface.
:audio(error): createSound(sound/soundtrack.mp3): File not found.
:util(warning): Adjusting global clock’s real time by -1.98204 seconds.
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 4383 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1282
:display(error): Deactivating glxGraphicsStateGuardian.

Does anyone know what the problem is?

many thanks!

Barry

Looks like an issue with your graphics driver. Have you installed the latest from your graphics card manufacturer? It can be a challenge to get good drivers properly installed on Linux.

David

Indeed, it can be a challenge! :slight_smile:
I will investigate this and let you know. Thanks for the quick reply!

Well, there are no Linux drivers from the manufacturer for my SiS graphics card. I am using what comes with Linux.

But I don’t understand why the graphics card driver would be an issue. Doesn’t Panda3D use OpenGL? I don’t have any problems with OpenGL. I have run a number of games with no problem. Is this some Panda3D configuration issue? I wonder what OpenGL version Panda3D is expecting?

I really would like to see this sample. I was able to view it on Windows XP, but I use Linux to do development on so it really needs to work there.

Thanks!

Barry

Panda may be using a feature of OpenGL that your current installed version of OpenGL is not properly supporting. It may be possible to discover what feature that is, and disable its use in Panda. From the reported line number, I made a guess that it might be glColorMask(), which I’ve seen completely fail on certain old Linux drivers.

I’ve just therefore checked in a possible workaround. If you update and build from the latest version of Panda from CVS, and then put:

gl-color-mask 0

in your Config.prc, it may work around your problem.

But if you are using the default Linux installation of OpenGL, it is likely that you will be running OpenGL (and therefore Panda) in software emulation mode, which will be extremely slow for all but the simplest scenes. I don’t know if this will trouble you or not.

David