Skip to contentSkip to conversation

New: [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

Bug 58372 [email protected] 1 participant 14 messages Dec 16, 2012 – Mar 11, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=58372

Priority: medium
Bug ID: 58372
Assignee: [email protected]
Summary: [KMS][Cayman] Garbled screen and gpu crash with 6950
with drm-next
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
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.

Signature · 2 lines
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

#1 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #1 from Serkan Hosca <[email protected]> --- Created attachment 71595
--> https://bugs.freedesktop.org/attachment.cgi?id=71595&action=edit
dmesg with linus git

Signature · 2 lines
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

#2 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #2 from Serkan Hosca <[email protected]> --- Forgot to add, using lightdm + cinnamon on arch

Signature · 2 lines
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

#3 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #3 from Alexandre Demers <[email protected]> --- If you can, could you bisect?

Signature · 2 lines
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

#4 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #4 from Serkan Hosca <[email protected]> --- bisect result:

0d0b3e7443bed6b49cb90fe7ddc4b5578a83a88d is the first bad commit commit 0d0b3e7443bed6b49cb90fe7ddc4b5578a83a88d

Author: Jerome Glisse <[email protected]>
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.

:040000 040000 c917ebaa086f5efea9928e707d97bdb90ef6919935d6eaaa7b1115d9e3696c200da139695c19ad15
M drivers

Signature · 2 lines
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

#5 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #5 from Alex Deucher <[email protected]> --- 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

Signature · 2 lines
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

#6 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #6 from Serkan Hosca <[email protected]> --- (In reply to comment #5)

Quoted 3 lines

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.

Signature · 2 lines
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

#7 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #7 from Serkan Hosca <[email protected]> --- 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

Signature · 2 lines
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

#8 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #8 from Alex Deucher <[email protected]> --- (In reply to comment #7)

Quoted 6 lines

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

Signature · 2 lines
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

#9 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #9 from Alexandre Demers <[email protected]> --- (In reply to comment #8)

Quoted 4 lines

(In reply to comment #7)

Quoted 3 lines

Created attachment 71883 [details]
dmesg with drm-fixes-3.8

Quoted 8 lines
Quoted 3 lines

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.

Signature · 2 lines
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

#10 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #10 from Serkan Hosca <[email protected]> --- (In reply to comment #9)

Quoted 7 lines

(In reply to comment #8)

Quoted 6 lines

(In reply to comment #7)

Quoted 5 lines

Created attachment 71883 [details]
dmesg with drm-fixes-3.8

The dmesg message changed after merging in drm-fixes-3.8:

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

[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=668bbc81baf0f34df832d8aca5c7d5e19a493c68

Signature · 2 lines
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

#11 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #11 from Serkan Hosca <[email protected]> ---
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.

Signature · 2 lines
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

#12 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

--- Comment #12 from Serkan Hosca <[email protected]> --- 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

Signature · 2 lines
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

#13 lore raw

[Bug 58372] [KMS][Cayman] Garbled screen and gpu crash with 6950 with drm-next

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=58372

Serkan Hosca <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Serkan Hosca <[email protected]> --- This is fixed with 3.8 release and mesa git master

Signature · 2 lines
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