https://bugs.freedesktop.org/show_bug.cgi?id=58372
Priority: medium Bug ID: 58372 Assignee: dri-devel@lists.freedesktop.org Summary: [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next Severity: normal Classification: Unclassified OS: All Reporter: serkan@hosca.com Hardware: Other Status: NEW Version: XOrg CVS Component: DRM/Radeon Product: DRI
Created attachment 71594 --> https://bugs.freedesktop.org/attachment.cgi?id=71594&action=edit dmesg with drm-next
Using linus + airlied's drm-next produces garbled screen and gpu crashes after login.
Using mesa git and xf86-ati git.
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #1 from Serkan Hosca serkan@hosca.com --- Created attachment 71595 --> https://bugs.freedesktop.org/attachment.cgi?id=71595&action=edit dmesg with linus git
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #2 from Serkan Hosca serkan@hosca.com --- Forgot to add, using lightdm + cinnamon on arch
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #3 from Alexandre Demers alexandre.f.demers@gmail.com --- If you can, could you bisect?
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #4 from Serkan Hosca serkan@hosca.com --- bisect result:
0d0b3e7443bed6b49cb90fe7ddc4b5578a83a88d is the first bad commit commit 0d0b3e7443bed6b49cb90fe7ddc4b5578a83a88d Author: Jerome Glisse jglisse@redhat.com Date: Wed Nov 28 13:47:55 2012 -0500
drm/radeon: use cached memory when evicting for vram on non agp
Force the use of cached memory when evicting from vram on non agp hardware. Also force write combine on agp hw. This is to insure the minimum cache type change when allocating memory and improving memory eviction especialy on pci/pcie hw.
Signed-off-by: Jerome Glisse jglisse@redhat.com
:040000 040000 c917ebaa086f5efea9928e707d97bdb90ef6919935d6eaaa7b1115d9e3696c200da139695c19ad15 M drivers
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #5 from Alex Deucher agd5f@yahoo.com --- Does your kernel tree have this patch? http://cgit.freedesktop.org/~airlied/linux/commit/drivers/gpu/drm/radeon/rad...
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #6 from Serkan Hosca serkan@hosca.com --- (In reply to comment #5)
Does your kernel tree have this patch? http://cgit.freedesktop.org/~airlied/linux/commit/drivers/gpu/drm/radeon/ radeon_object.c?h=drm-next&id=dd54fee7d440c4a9756cce2c24a50c15e4c17ccb
Yea i have that commit.
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #7 from Serkan Hosca serkan@hosca.com --- Created attachment 71883 --> https://bugs.freedesktop.org/attachment.cgi?id=71883&action=edit dmesg with drm-fixes-3.8
The dmesg message changed after merging in drm-fixes-3.8:
[drm:evergreen_vm_reg_valid] *ERROR* Invalid register 0x8040 in CS
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #8 from Alex Deucher agd5f@yahoo.com --- (In reply to comment #7)
Created attachment 71883 [details] dmesg with drm-fixes-3.8
The dmesg message changed after merging in drm-fixes-3.8:
[drm:evergreen_vm_reg_valid] *ERROR* Invalid register 0x8040 in CS
That's a different bug. Please file a new one for that. what you are seeing is due to a change in mesa: http://cgit.freedesktop.org/mesa/mesa/commit/?id=24b1206ab2dcd506aaac3ef656a...
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #9 from Alexandre Demers alexandre.f.demers@gmail.com --- (In reply to comment #8)
(In reply to comment #7)
Created attachment 71883 [details] dmesg with drm-fixes-3.8
The dmesg message changed after merging in drm-fixes-3.8:
[drm:evergreen_vm_reg_valid] *ERROR* Invalid register 0x8040 in CS
That's a different bug. Please file a new one for that. what you are seeing is due to a change in mesa: http://cgit.freedesktop.org/mesa/mesa/commit/ ?id=24b1206ab2dcd506aaac3ef656aebc8bc20cd27a
Opening it, I'm hitting the same bug.
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #10 from Serkan Hosca serkan@hosca.com --- (In reply to comment #9)
(In reply to comment #8)
(In reply to comment #7)
Created attachment 71883 [details] dmesg with drm-fixes-3.8
The dmesg message changed after merging in drm-fixes-3.8:
[drm:evergreen_vm_reg_valid] *ERROR* Invalid register 0x8040 in CS
That's a different bug. Please file a new one for that. what you are seeing is due to a change in mesa: http://cgit.freedesktop.org/mesa/mesa/commit/ ?id=24b1206ab2dcd506aaac3ef656aebc8bc20cd27a
Opening it, I'm hitting the same bug.
You need this: http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-fixes-3.8&id=668b...
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #11 from Serkan Hosca serkan@hosca.com --- No change with linus git rc3 as of today + drm-fixes-3.8 with mesa at e09a5846cdab01a3bf04ac8c11e352d85b89b4af and -ati at 102ee4a24e4c9ba0c0b65d3ca8599dc7e0216c1e. It floods the dmesg after login and computer freezes.
I tried switching to gdm but i dont't even get to the login screen, computer freezes.
I tried openbox, i was able to login and ran glxgears, some 3d screensavers but the computer froze when i tried some webgl demos. I saw a couple of: radeon: The kernel rejected CS, see dmesg for more information in the terminal and the same dmesg flood and the computer freezes.
https://bugs.freedesktop.org/show_bug.cgi?id=58372
--- Comment #12 from Serkan Hosca serkan@hosca.com --- Created attachment 72948 --> https://bugs.freedesktop.org/attachment.cgi?id=72948&action=edit dmesg with linus rc3 drm-fixes-3.8 as of jan 13 before crash
https://bugs.freedesktop.org/show_bug.cgi?id=58372
Serkan Hosca serkan@hosca.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #13 from Serkan Hosca serkan@hosca.com --- This is fixed with 3.8 release and mesa git master
dri-devel@lists.freedesktop.org