New: Regression: r600 CS checker rejects GL_DEPTH_TEST w/o depth buffer.
https://bugs.freedesktop.org/show_bug.cgi?id=27571
Summary: Regression: r600 CS checker rejects GL_DEPTH_TEST w/o
depth buffer.
Product: DRI
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: major
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=34858)
--> (https://bugs.freedesktop.org/attachment.cgi?id=34858)
Test case.
The command stream checker recently added to the radeon driver kills programs which render to a target which does not have a depth buffer whilst GL_DEPTH_TEST is enabled. Instead of simply not performing depth buffer operations, the result is program termination and some rather cryptic error messages:
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
and in dmesg:
radeon 0000:03:00.0: z/stencil with no depth buffer radeon 0000:03:00.0: r600_packet3_check:1109 invalid cmd stream 815 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
I first noticed this when a program that works using 2.6.33 died rendering to a FBO, but it is trivially reproducible without using anything fancy. A test case is attached which works normally with either Linux 2.6.33, the software rasterizer, or the intel driver. The failure is reproducible with both mesa 7.8.1 and git master.
Signature · 11 lines
Configure bugmail: https://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 27571] Regression: r600 CS checker rejects GL_DEPTH_TEST w/o depth buffer.
https://bugs.freedesktop.org/show_bug.cgi?id=27571
--- Comment #1 from Nick Bowler <[email protected]> 2010-04-09 21:58:27 PDT --- Created an attachment (id=34859)
--> (https://bugs.freedesktop.org/attachment.cgi?id=34859)
Full kernel log.
Just in case it's needed.
Signature · 11 lines
Configure bugmail: https://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 27571] Regression: r600 CS checker rejects GL_DEPTH_TEST w/o depth buffer.
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27571
--- Comment #2 from Nick Bowler <[email protected]> 2010-04-11 17:00:36 PDT --- The fbo-nodepth piglit test also triggers this issue.
Signature · 11 lines
Configure bugmail: https://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 27571] Regression: r600 CS checker rejects GL_DEPTH_TEST w/o depth buffer.
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27571
Nick Bowler <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #34859|0 |1
is obsolete| |
--- Comment #3 from Nick Bowler <[email protected]> 2010-04-12 18:54:00 PDT --- Created an attachment (id=34947)
--> (https://bugs.freedesktop.org/attachment.cgi?id=34947)
Actual full kernel log.
I just realized that the previous "Full kernel log" was truncated and hence wasn't so full, after all.
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 27571] Regression: r600 CS checker rejects GL_DEPTH_TEST w/o depth buffer.
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27571
Jerome Glisse <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #4 from Jerome Glisse <[email protected]> 2010-04-23 03:15:19 PDT --- Fixed with commit:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb4dc547885994cc7961f7996c33ff484f664964
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.