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.