Shadow demo is broken on Linux with "radeon" driver

Bug #1670217 reported by ellie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Invalid
Undecided
Unassigned

Bug Description

The shadow demo is broken on Linux with "radeon" driver. It just shows "Shadow Demo: Video driver reports that shaders are not supported.". Since this driver and GPU support OpenGL 4.1 easily (I hear 4.5 is also almost done and just missing some minor extensions), I think this is a problem with how the demo is written rather than with the capabilities of the driver.

glxinfo output is attached!

Revision history for this message
ellie (et1234567) wrote :
Revision history for this message
rdb (rdb) wrote :

Please attach the output when setting "notify-level-glgsg debug". Also, let me know more about your Panda3D build, whether you built it with Cg shader support enabled.

Revision history for this message
ellie (et1234567) wrote :

I'm pretty certain I don't have Cg support in my build, since the Cg compiler has apparently been removed entirely from Fedora a while ago. Anyway, here is the engine output with the advanced shadows example and notify-level-glgsg debug:

[jonas@falcon shadows]$ python3 ./advanced.py
Using deprecated DirectStart interface.
Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
:display:gsg:glgsg(debug): loading uncompressed texture _0
:display:gsg:glgsg(debug): loading new texture object for _0, 256 x 256 x 1, z = 0, mipmaps 1, uses_mipmaps = 0
:display:gsg:glgsg(debug): GLGraphicsStateGuardian 0x557263ceac20 destructing
[jonas@falcon shadows]$

Is Cg still required for the shader generator? Any chance of that changing, at least for some of the shaders? (Given that Cg is deprecated)

Revision history for this message
ellie (et1234567) wrote :

I just recompiled with Cg available, and now it works!

ellie (et1234567)
Changed in panda3d:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.