New: r600: rendering artifacts
http://bugs.freedesktop.org/show_bug.cgi?id=26735
Summary: r600: rendering artifacts
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: [email protected]
ReportedBy: [email protected]
I have tested the open source radeon drivers on my ATI Radeon HD4650. First of all many thanks for the work on this driver, KMS works like a charm [1], and no 3D app has crashed (fglrx tends to deadlock lately).
Now to some rendering artifacts I noticed in blender (and some games, like Heroes of Newerth beta).
To reproduce on Debian unstable x86-64:
1. Install blender 2.49.2 (apt-get install blender)
2. Open the attached test.blend
3. Switch to textured mode (press ALT-Z)
4. There are 3 noticable artifacts here (see screenshot1_r600 attached):
- the floor tiles at the bottom have an L shaped whiteish stain on them, that
shouldn't be there
- the spotlight has black stripes, instead of just lighting an area
- the blender interface has a black/grey thing at the bottom that it shouldn't
5. Press P to start the game engine
6. Move the mouse around to move the spotlight. See the black stripes moving along with it, there shouldn't be any black stripes at all!
See screenshot2_r600 vs screenshot2_swref
To get the reference renders you can either use fglrx, or Mesa's software mode (which will be very slow, but will get nice renders). These images aren't perfect either (there is some aliasing), but much better than the r600 ones:
LIBGL_ALWAYS_SOFTWARE=1 blender
System info:
$ 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.8-devel OpenGL shading language version string: 1.20 OpenGL extensions:
Linux 2.6.33-rc8-00189-g9f3a628 (compiled by me, .config attached) mesa from git (compiled by me, mesa_7_6_1_rc1-5145-g2f5beb4) with this patch applied:
http://cgit.freedesktop.org/~andrem/mesa/commit/?h=r600-
test&id=6ee755760d124c85bdfd121fd491f68fccca84f7
Quoted 1 line
From Debian unstable/experimental packages:
Xorg 7.5
xserver-xorg-video-radeon 6.12.99+git20100201.a887818f-1 libdrm1-radeon, libdrm2: 2.4.18-2
libgl1-mesa-dri: 7.7-3 (but see below, I used my own build instead)
If you need more info, just ask.
[1] I had to download© R700_rlc.bin to the proper place, and thanks to some help on #radeon fix a missing libdri.so, but everything else worked
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26735] r600: rendering artifacts
http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #1 from Török Edwin <[email protected]> 2010-02-24 13:04:35 PST --- Created an attachment (id=33532)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33532)
dmesg
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26735] r600: rendering artifacts
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #2 from Török Edwin <[email protected]> 2010-02-24 13:04:48 PST --- Created an attachment (id=33533)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33533)
Xorg.0.log
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26735] r600: rendering artifacts
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #3 from Török Edwin <[email protected]> 2010-02-24 13:05:00 PST --- Created an attachment (id=33534)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33534)
Linux .config
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26735] r600: rendering artifacts
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #4 from Török Edwin <[email protected]> 2010-02-24 13:05:15 PST --- Created an attachment (id=33535)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33535)screenshot1_r600
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26735] r600: rendering artifacts
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #5 from Török Edwin <[email protected]> 2010-02-24 13:05:30 PST --- Created an attachment (id=33536)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33536)screenshot2_r600
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26735] r600: rendering artifacts
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #6 from Török Edwin <[email protected]> 2010-02-24 13:05:45 PST --- Created an attachment (id=33537)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33537)screenshot1_swref
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26735] r600: rendering artifacts
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #7 from Török Edwin <[email protected]> 2010-02-24 13:05:58 PST --- Created an attachment (id=33538)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33538)screenshot2_swref
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26735] r600: rendering artifacts
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #8 from Török Edwin <[email protected]> 2010-02-24 13:10:01 PST --- You can get the test blender file from here (too big to attach here):
http://www.fileden.com/files/2009/9/1/2561232/test.blend
It is based on the blend file from this article:
http://www.blendernation.com/bathroom-demo-blender-game-engine/
But with most of the objects removed to make Mesa software render times acceptable.
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26735] r600: rendering artifacts
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #9 from Rafał Miłecki <[email protected]> 2010-02-24 13:21:35 PST --- Can be (partially?) duplicate of bug #24818
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26735] r600: rendering artifacts
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #10 from Alex Deucher <[email protected]> 2010-02-24 13:57:49 PST --- Does it render properly without that patch?
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26735] r600: rendering artifacts
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26735
--- Comment #11 from Török Edwin <[email protected]> 2010-02-25 01:17:26 PST --- (In reply to comment #10)
Quoted 2 lines
Does it render properly without that patch?
No, I still get the same corruption if I revert that patch.
(In reply to comment #9)
Quoted 2 lines
Can be (partially?) duplicate of bug #24818
Maybe, the corruption looks random, but it happens every time, and is very noticable every time.
Sometimes the entire floor is shown filled with tiny white/yellow dots, not just a few L shaped stains.
Also the bottom of the blender interface gets covered by that black/grey/green artifact (sometimes immediately, sometimes if I mouseover the bottom part).
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26735] r600: rendering artifacts
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=26735
Andreas Boll <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #12 from Andreas Boll <[email protected]> ---
Note: classic r600 driver has been abandoned.
Please use r600g (gallium driver) instead.
Is this still an issue with a newer driver/kernel?
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
[Bug 26735] r600: rendering artifacts
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=26735
Török Edwin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |WORKSFORME--- Comment #13 from Török Edwin <[email protected]> --- (In reply to comment #12)
Quoted 4 lines
Note: classic r600 driver has been abandoned.
Please use r600g (gallium driver) instead.Is this still an issue with a newer driver/kernel?
Rendering looks correct now, tested with r600g version '3.0 Mesa 9.1-devel (git-e87a578)' (R600_LLVM=0).
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