After the following commit: 3eb557778376bcbbc6f25da88ffbaa269607254c is the first bad commit commit 3eb557778376bcbbc6f25da88ffbaa269607254c Author: Marek Olšák <maraeo@gmail.com> Date: Fri Jul 16 12:53:40 2010 +0200 r300g: do not make copies of constant buffers, emit them directly :040000 040000 a69b58bdfeed6b10709e771e09d6b0e7756c35a2 1b7411912b05b30cea9c6a3063fc5f8fb2c476b8 M src rendering is totally garbage in all applications I tried. Stderr: r300: Warning: cs_count off by -12 at (r300_emit_fs_constants, r300_emit.c:185) debug_get_bool_option: RADEON_DUMP_CS = FALSE radeon: The kernel rejected CS, see dmesg for more information. dmesg: [10445.982286] Forbidden register 0x0000 in cs at 15805 [10445.982292] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
Fixed in master, can you confirm?
The situation didn't get much better, but the error messages changed to: stderr: debug_get_bool_option: RADEON_DUMP_CS = FALSE radeon: The kernel rejected CS, see dmesg for more information. dmesg: [18652.649971] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
Yeah the fix introduced another regression, it should be fixed now.
Now it is much better, but it's still not perfect. The intro movie of openarena is drawn in purple, and in ut2004 the map preview has inverted colors and there is no lighting at all (everything is black).
Created attachment 37148 [details] [review] fix Could you try the attached patch?
The attached patch works.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.