New: [r300g] nearly all CS gets rejected, rendering only garbage
https://bugs.freedesktop.org/show_bug.cgi?id=29128
Summary: [r300g] nearly all CS gets rejected, rendering only
garbage
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
After the following commit:3eb557778376bcbbc6f25da88ffbaa269607254c is the first bad commit commit 3eb557778376bcbbc6f25da88ffbaa269607254c
Author: Marek Olšák <[email protected]> Date: Fri Jul 16 12:53:40 2010 +0200
r300g: do not make copies of constant buffers, emit them directly
:040000 040000 a69b58bdfeed6b10709e771e09d6b0e7756c35a21b7411912b05b30cea9c6a3063fc5f8fb2c476b8 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 !
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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 29128] [r300g] nearly all CS gets rejected, rendering only garbage
https://bugs.freedesktop.org/show_bug.cgi?id=29128
--- Comment #1 from Marek Olšák <[email protected]> 2010-07-17 04:39:56 PDT --- Fixed in master, can you confirm?
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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 29128] [r300g] nearly all CS gets rejected, rendering only garbage
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29128
--- Comment #2 from Álmos <[email protected]> 2010-07-17 05:32:22 PDT --- 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 !
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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 29128] [r300g] nearly all CS gets rejected, rendering only garbage
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29128
--- Comment #3 from Marek Olšák <[email protected]> 2010-07-17 05:44:06 PDT --- Yeah the fix introduced another regression, it should be fixed now.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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 29128] [r300g] nearly all CS gets rejected, rendering only garbage
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29128
--- Comment #4 from Álmos <[email protected]> 2010-07-17 06:08:31 PDT --- 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).
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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 29128] [r300g] nearly all CS gets rejected, rendering only garbage
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29128
--- Comment #5 from Marek Olšák <[email protected]> 2010-07-17 06:36:04 PDT --- Created an attachment (id=37148)
View: https://bugs.freedesktop.org/attachment.cgi?id=37148
Review: https://bugs.freedesktop.org/review?bug=29128&attachment=37148
fix
Could you try the attached patch?
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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 29128] [r300g] nearly all CS gets rejected, rendering only garbage
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29128
--- Comment #6 from Álmos <[email protected]> 2010-07-17 08:15:38 PDT --- The attached patch works.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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 29128] [r300g] nearly all CS gets rejected, rendering only garbage
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29128
Marek Olšák <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXEDSignature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- 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