https://bugs.freedesktop.org/show_bug.cgi?id=27609
Summary: Regression: r600 CS checker rejects narrow FBO renderbuffers. Product: DRI Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: major Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: nbowler@draconx.ca
Created an attachment (id=34944) --> (https://bugs.freedesktop.org/attachment.cgi?id=34944) Full kernel log including failure message.
The R600 CS checker recently merged into the mainline kernel breaks rendering to FBOs with renderbuffers of width <= 48. The height does not matter. Attempting to run such a program terminates with
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
and in dmesg: radeon 0000:03:00.0: r600_cs_track_validate_cb:198 cb pitch (32 x 4 = 128) invalid radeon 0000:03:00.0: r600_packet3_check:1109 invalid cmd stream 514 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
Please see the test case attached to bug 27590 for a program which triggers this issue. The program works on Linux 2.6.33 and with the software rasterizer. The problem is reproducible with both mesa 7.8.1 and git master, against latest Linus git kernel.
https://bugs.freedesktop.org/show_bug.cgi?id=27609
--- Comment #1 from Nick Bowler nbowler@draconx.ca 2010-04-12 18:50:33 PDT --- I forgot to mention that the test program also (obviously) works if you adjust the renderbuffer width (-DXRES=##) to be at least 49.
https://bugs.freedesktop.org/show_bug.cgi?id=27609
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED
--- Comment #2 from Martin Peres martin.peres@free.fr --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/123.
dri-devel@lists.freedesktop.org