Bug 32490

Summary: [RADEON::R600C] indirect rendering is missing text
Product: Mesa Reporter: Török Edwin <edwin+bugs>
Component: Drivers/DRI/R600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: bad_indirect.png
good_direct.png
Xorg.0.log
bad indirect rendering with matching versions

Description Török Edwin 2010-12-18 01:24:03 UTC
Created attachment 41227 [details]
bad_indirect.png

See screenshot of teapot demo with indirect rendering:
LIBGL_ALWAYS_INDIRECT=1 LIBGL_DRIVERS_PATH=$HOME/mesa/lib/gallium LIBGL_ALWAYS_INDIRECT=1 ./teapot
$ LIBGL_ALWAYS_INDIRECT=1 glxinfo|grep OpenGL
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV730 9498) 20090101  TCL DRI2
OpenGL version string: 1.4 (2.0 Mesa 7.8.2)
OpenGL extensions:


vs direct rendering:
./teapot

$ glxinfo|grep OpenGL
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV730 9498) 20090101  TCL DRI2
OpenGL version string: 2.1 Mesa 7.10-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
Comment 1 Török Edwin 2010-12-18 01:24:31 UTC
Created attachment 41228 [details]
good_direct.png
Comment 2 Török Edwin 2010-12-18 01:24:54 UTC
Created attachment 41229 [details]
Xorg.0.log
Comment 3 Török Edwin 2010-12-18 01:55:03 UTC
Here are screenshots with matching Mesa versions in Xorg and client:
LIBGL_ALWAYS_INDIRECT=1 glxinfo|grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730
OpenGL version string: 1.4 (2.1 Mesa 7.10-devel)
OpenGL extensions:

glxinfo|grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730
OpenGL version string: 2.1 Mesa 7.10-devel
OpenGL shading language version string: 1.20
OpenGL extensions:
Comment 4 Török Edwin 2010-12-18 01:56:23 UTC
Created attachment 41230 [details]
bad indirect rendering with matching versions
Comment 5 Török Edwin 2010-12-18 01:57:30 UTC
https://bugs.freedesktop.org/attachment.cgi?id=41230
^text is missing, teapot not seen in its entirety either.
Comment 6 Alex Deucher 2010-12-18 08:44:02 UTC
Can you bisect?
Comment 7 Török Edwin 2010-12-18 10:09:58 UTC
(In reply to comment #6)
> Can you bisect?

I initially thought this was a regression, but it is not. It is due to indirect rendering, something I never tested in the past, and just accidentally triggered now (I used a relative LIBGL_DRIVERS_PATH instead of an absolute one, it couldn't find the drivers and falled back to indirect).

Do you know of a past version of Mesa that worked with indirect rendering and r600?
Comment 8 Jerome Glisse 2011-03-07 11:07:15 UTC
Is this still an issue with lastest mesa and r600g ?
Comment 9 Jerome Glisse 2012-02-22 10:04:57 UTC
Closing

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.