New: on r600 3d applications are rendered too bright
https://bugs.freedesktop.org/show_bug.cgi?id=29226
Summary: on r600 3d applications are rendered too bright
Product: DRI
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]
I am running r600 card with 2.6.34 kernel and Mesa 7.8.2.
ATI Technologies Inc RV710 [Radeon HD 4350]
Since switching to the card I noticed rendering issues the most prominent being incorrect colors.
The colors of many objects seem overly bright and lack saturation, the lighted areas show large patches of white or nearly white color.
The UI which is 2d/unlit looks OK and so do glxgears.
This does not happen on r300 card or Intel card.
I tried running planeshift with software rendering and the character preview after logging in looked much better. However, after running with software renderer the issue is gone. This might be because planeshift calculates some lighting information during runtime and it was changed by the calculations performed on the software renderer.
Planeshift can be found at http://www.planeshift.it/download.html
I am not sure what the exact issue is. So far I was unable to reproduce it visibly with a trivial program. However, it also happens when running a 3D program through wine.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered too bright
https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #1 from Michal Suchanek <[email protected]> 2010-07-23 04:20:17 PDT --- 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/
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered too bright
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #2 from Michal Suchanek <[email protected]> 2010-07-23 05:32:56 PDT --- Created an attachment (id=37334)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37334)
rendered on Intel graphics
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered too bright
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #3 from Michal Suchanek <[email protected]> 2010-07-23 05:33:41 PDT --- Created an attachment (id=37335)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37335)
Rendered on r600
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
Michal Suchanek <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|on r600 3d applications are |on r600 3d applications are
|rendered too bright |rendered in too bright
| |colorsSignature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #4 from Michal Suchanek <[email protected]> 2010-08-05 06:52:13 PDT --- Created an attachment (id=37585)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37585)
rendered on r600g
Apart from other glitches the color issue also appears on r600g
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #5 from Michal Suchanek <[email protected]> 2010-08-05 10:11:07 PDT --- 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #6 from Michal Suchanek <[email protected]> 2010-08-05 10:11:42 PDT --- Created an attachment (id=37596)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37596)
shadowtex on r600
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #7 from Michal Suchanek <[email protected]> 2010-08-05 10:12:16 PDT --- Created an attachment (id=37597)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37597)
shadowtex on intel
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #8 from Michal Suchanek <[email protected]> 2010-08-05 17:24:35 PDT --- Created an attachment (id=37605)
--> (https://bugs.freedesktop.org/attachment.cgi?id=37605)
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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #9 from Michal Suchanek <[email protected]> 2010-08-08 04:30:07 PDT --- 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #10 from Michal Suchanek <[email protected]> 2010-08-08 04:41:05 PDT --- 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #11 from Michal Suchanek <[email protected]> 2010-08-11 09:44:28 PDT --- Piglit with test added for the lighting issue.
http://repo.or.cz/w/piglit/hramrach.git/shortlog/refs/heads/wip
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 and llvmpipe 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
Michal Suchanek <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|on r600 3d applications are |on r600 and llvmpipe 3d
|rendered in too bright |applications are rendered
|colors |in too bright colorsSignature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 and llvmpipe 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #12 from Michal Suchanek <[email protected]> 2010-08-20 06:55:04 PDT --- 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 and llvmpipe 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #13 from Benjamin Bellec <[email protected]> 2011-06-04 20:04:24 PDT --- Similar behaviour has been fixed recently.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 and llvmpipe 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
--- Comment #14 from Michal Suchanek <[email protected]> 2011-06-06 07:46:16 PDT --- 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 and llvmpipe 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
Michal Suchanek <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXEDSignature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 and llvmpipe 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
Michal Suchanek <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |--- Comment #15 from Michal Suchanek <[email protected]> 2011-06-23 10:12:53 PDT --- And no it's back...
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29226] on r600 and llvmpipe 3d applications are rendered in too bright colors
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29226
José Fonseca <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |WORKSFORME--- Comment #16 from José Fonseca <[email protected]> ---
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel