https://bugs.freedesktop.org/show_bug.cgi?id=28327
Summary: Latest d-r-t breaks rendering on RV670 Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/R600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: lists@andyfurniss.entadsl.com
Just updated drt to get the last few commits on AGP rv670 and exa rendering is is trashed.
xterm contents OK, but window decoration/menus trashed, glxgears no output, seamonkey display corrupt.
dmesg has lots of errors like -
[drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: r600_cs_track_validate_cb offset[0] 0 to big radeon 0000:02:00.0: r600_packet3_check:1256 invalid cmd stream 635 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (1920 21 4 0 -> 344064 have 163840) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (1024 320 4 0 -> 2621440 have 1310720) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: r600_cs_track_validate_cb offset[0] 0 to big radeon 0000:02:00.0: r600_packet3_check:1256 invalid cmd stream 635 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (214 60 4 0 -> 67680 have 61440) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (1024 320 4 0 -> -1610612736 have 1310720) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (1024 320 4 0 -> -1610612736 have 1310720) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (1024 320 4 0 -> 2621440 have 1310720) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (1024 320 4 0 -> 5242880 have 1310720) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (507 4 4 0 -> 8384 have 8192) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (1024 320 4 0 -> 5242880 have 1310720) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (507 4 4 0 -> 8384 have 8192) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: r600_cs_track_validate_cb offset[0] 0 to big radeon 0000:02:00.0: r600_packet3_check:1256 invalid cmd stream 635 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:02:00.0: texture bo too small (1920 21 4 0 -> 344064 have 163840) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
https://bugs.freedesktop.org/show_bug.cgi?id=28327
--- Comment #1 from Aidan Marks aidan@cisco.com 2010-06-01 05:38:10 PDT --- +1 seeing similar output on rv770 with latest d-r-t, but not noticing any visual corruptions so far.
[ 227.930043] radeon 0000:02:00.0: r600_cs_track_validate_cb offset[0] 0 to big [ 227.930047] radeon 0000:02:00.0: r600_packet3_check:1256 invalid cmd stream 620 [ 227.930050] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! [ 229.335831] radeon 0000:02:00.0: r600_cs_track_validate_cb offset[0] 0 to big [ 229.335833] radeon 0000:02:00.0: r600_packet3_check:1256 invalid cmd stream 620 [ 229.335835] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! [ 2093.553944] radeon 0000:02:00.0: r600_cs_track_validate_cb offset[0] 0 to big [ 2093.553948] radeon 0000:02:00.0: r600_packet3_check:1256 invalid cmd stream 639 [ 2093.553951] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! [ 2094.198198] radeon 0000:02:00.0: r600_cs_track_validate_cb offset[0] 0 to big [ 2094.198205] radeon 0000:02:00.0: r600_packet3_check:1256 invalid cmd stream 639 [ 2094.198210] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! [ 2094.250724] radeon 0000:02:00.0: r600_cs_track_validate_cb offset[0] 0 to big [ 2094.250727] radeon 0000:02:00.0: r600_packet3_check:1256 invalid cmd stream 639 [ 2094.250729] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! [ 2167.956390] [drm:radeon_set_pm_method] *ERROR* invalid power method! [ 2216.544910] radeon 0000:02:00.0: r600_cs_track_validate_cb offset[0] 0 to big [ 2216.544912] radeon 0000:02:00.0: r600_packet3_check:1256 invalid cmd stream 639 [ 2216.544914] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! [ 2322.607742] radeon 0000:02:00.0: r600_cs_track_validate_cb offset[0] 0 to big [ 2322.607746] radeon 0000:02:00.0: r600_packet3_check:1256 invalid cmd stream 639 [ 2322.607750] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
https://bugs.freedesktop.org/show_bug.cgi?id=28327
--- Comment #2 from Magnus Jensen magnus@jensenligan.se 2010-06-01 15:16:24 PDT --- I have also seen this with d-r-t, but it went away when i updated mesa and ddx
https://bugs.freedesktop.org/show_bug.cgi?id=28327
--- Comment #3 from Magnus Jensen magnus@jensenligan.se 2010-06-01 21:53:30 PDT --- +1 i have encountered this again... (rv635 agp) trashed text and small gfx glitches
[drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:01:00.0: r600_cs_track_validate_cb offset[0] 0 to big radeon 0000:01:00.0: r600_packet3_check:1256 invalid cmd stream 654 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:01:00.0: r600_cs_track_validate_cb offset[0] 0 to big radeon 0000:01:00.0: r600_packet3_check:1256 invalid cmd stream 635 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:01:00.0: r600_cs_track_validate_cb offset[0] 0 to big radeon 0000:01:00.0: r600_packet3_check:1256 invalid cmd stream 635 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:01:00.0: r600_cs_track_validate_cb offset[0] 0 to big radeon 0000:01:00.0: r600_packet3_check:1256 invalid cmd stream 635 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:01:00.0: r600_cs_track_validate_cb offset[0] 0 to big radeon 0000:01:00.0: r600_packet3_check:1256 invalid cmd stream 635 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:01:00.0: r600_cs_track_validate_cb offset[0] 0 to big radeon 0000:01:00.0: r600_packet3_check:1256 invalid cmd stream 1580
https://bugs.freedesktop.org/show_bug.cgi?id=28327
--- Comment #4 from Magnus Jensen magnus@jensenligan.se 2010-06-01 22:18:30 PDT --- And now it's gone again... i added: Option "ColorTiling" "on"
to the "Device" section in xorg.conf that seems to fix it.
https://bugs.freedesktop.org/show_bug.cgi?id=28327
--- Comment #5 from Alex Deucher agd5f@yahoo.com 2010-06-02 10:52:19 PDT --- Created an attachment (id=36012) View: https://bugs.freedesktop.org/attachment.cgi?id=36012 Review: https://bugs.freedesktop.org/review?bug=28327&attachment=36012
fix
This patch fixes the issues here.
https://bugs.freedesktop.org/show_bug.cgi?id=28327
--- Comment #6 from Andy Furniss lists@andyfurniss.entadsl.com 2010-06-02 12:08:34 PDT --- (In reply to comment #5)
Created an attachment (id=36012)
View: https://bugs.freedesktop.org/attachment.cgi?id=36012 Review: https://bugs.freedesktop.org/review?bug=28327&attachment=36012
fix
This patch fixes the issues here.
Fixes for me as well.
https://bugs.freedesktop.org/show_bug.cgi?id=28327
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zajec5@gmail.com
--- Comment #7 from Alex Deucher agd5f@yahoo.com 2010-06-07 09:12:38 PDT --- *** Bug 28419 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=28327
--- Comment #8 from Rafał Miłecki zajec5@gmail.com 2010-06-07 09:39:32 PDT --- Confirmed here as well.
https://bugs.freedesktop.org/show_bug.cgi?id=28327
--- Comment #9 from Jon Sturm jasturm002@aol.com 2010-06-21 17:09:04 PDT --- This bug has resurfaced for me with the latest d-r-t which I think now includes this patch. I also have the newest libdrm, Mesa, and ddx all gotten from git. I get major video corruption in UT2004 and when I exit all my fonts and colors look similar but worse than the ones described in this bug.
https://bugs.freedesktop.org/show_bug.cgi?id=28327
--- Comment #10 from Jon Sturm jasturm002@aol.com 2010-06-21 17:12:40 PDT --- P.S. I am not getting the errors in my dmesg, though but that may be due to drm being quieter than it was due to recent patches.
https://bugs.freedesktop.org/show_bug.cgi?id=28327
--- Comment #11 from Alex Deucher agd5f@yahoo.com 2010-06-21 20:35:57 PDT --- If you upgraded your ddx as well, make sure you grab the latest commits.
https://bugs.freedesktop.org/show_bug.cgi?id=28327
Fabio Pedretti fabio.ped@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Fabio Pedretti fabio.ped@libero.it 2010-11-05 07:05:27 PDT --- This should be fixed.
dri-devel@lists.freedesktop.org