Summary: | on r600 and llvmpipe 3d applications are rendered in too bright colors | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Michal Suchanek <hramrach> | ||||||||||||||
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> | ||||||||||||||
Status: | RESOLVED WORKSFORME | QA Contact: | |||||||||||||||
Severity: | normal | ||||||||||||||||
Priority: | medium | ||||||||||||||||
Version: | unspecified | ||||||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||||||
OS: | All | ||||||||||||||||
Whiteboard: | |||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||
Attachments: |
|
Description
Michal Suchanek
2010-07-23 03:28:22 UTC
I can no longer reproduce the issue with planeshift but it's easily reproducible with Fiesta (it's already visible on the login screen). The downside is that it requires wine. http://fiesta-online.gamigo.com/ Created attachment 37334 [details]
rendered on Intel graphics
Created attachment 37335 [details]
Rendered on r600
Created attachment 37585 [details]
rendered on r600g
Apart from other glitches the color issue also appears on r600g
As suggested by people on irc I found a demo that shows a similar issue. The demo is shadowtex from current mesa git. The green ball in the demo using the fixed function shader (default) on Intel renders only slightly edgy ball but a ball with a flat spot on r600. The demo currently crashes on r600g. Note that the demo is designed to showcase features that don't work at all on Intel and a simpler demo with the shader only should be possible. Note that due to the features present on r600 you may need to cycle through the different composition modes with the 'o' key until most of the surface is shown in the brighter color and the flat area is visible. Created attachment 37596 [details]
shadowtex on r600
Created attachment 37597 [details]
shadowtex on intel
Created attachment 37605 [details]
a simplified version of shadowtex
Attaching a simplified vesion of shadowtex which only uses the vertex program, no textures.
This demo fails equally on r600 and r600g, no more crash.
For your convenience the scene is rotated so that the misrendered green ball is in front.
I tried on r300g but apparently I did not compile the driver and get only llvmpipe: OpenGL renderer string: Gallium 0.4 on llvmpipe OpenGL version string: 2.1 Mesa 7.9-devel OpenGL shading language version string: 1.20 The ligting issue is present and so are interesting texture patterns. ok, so hte r300 gallium driver was only misnamed. The ligtning issue does not happen with r300g or r300 but does happen with llvmpipe when none of the dri modules can be found. Piglit with test added for the lighting issue. http://repo.or.cz/w/piglit/hramrach.git/shortlog/refs/heads/wip I am not sure the lighting issue is actually related to the issue in wine. I tried to build a mesa without GL_LIGHTING and at least some object were still too bright. Similar behaviour has been fixed recently. Yes, this has been fixed in 7.11. A piglit test for this would be nice because it was a longstanding issue for which I did not find any test neither in piglit nor in mesa-demos. And no it's back... I just tried the simplied version of shadowtex w/ llvmpipe, and it renders the exactly same things as NVIDIA. I supposed it was fixed eventually. |
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.