Skip to contentSkip to conversation

New: Heavy artifacts and unusable graphics system with the latest DPM changes

Bug 66945 [email protected] 1 participant 16 messages Jul 16, 2013 – Jul 17, 2013

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 66945
Assignee: [email protected]
Summary: Heavy artifacts and unusable graphics system with the
latest DPM changes
Severity: blocker
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: DRM/Radeon
Product: DRI

Using the latest drm-fixes-3.11 and drm-next-3.11 I get heavy artifacts as soon as the radeon module is loaded, leaving my system unusable. Only the graphics system stops to work, SSH connections to the system still work.

Hardware: Radeon HD6870 (01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Barts XT [ATI Radeon HD 6800 Series])
Software: Slackware -current

I got these error messages from dmesg:

[   26.514278] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec
[   26.514291] radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000004
last fence id 0x0000000000000001)
[   26.649947] radeon 0000:01:00.0: Saved 119 dwords of commands on ring 0.
[   26.649969] radeon 0000:01:00.0: GPU softreset: 0x00000008
[   26.649977] radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003828
[   26.649983] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
[   26.649989] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
[   26.649994] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
[   26.649999] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
[   26.650004] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[   26.650010] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00004100
[   26.650015] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00020180
[   26.650020] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80028042
[   26.650026] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[   26.661433] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00004001
[   26.661490] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
[   26.662652] radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003828
[   26.662657] radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
[   26.662663] radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
[   26.662668] radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
[   26.662673] radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
[   26.662679] radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
[   26.662684] radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
[   26.662689] radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
[   26.662694] radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
[   26.662700] radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
[   26.662711] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[   26.686572] radeon 0000:01:00.0: WB enabled
[   26.686581] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000040000c00 and cpu addr 0xffff880429b6dc00
[   26.686588] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x0000000040000c0c and cpu addr 0xffff880429b6dc0c
[   26.688117] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
0x0000000000072118 and cpu addr 0xffffc900112b2118
[   26.920227] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed

(scratch(0x8504)=0xCAFEDEAD)

I attach a complete dmesg output and lspci output, If anything else is needed just ask me and I will do my best to get you the info.

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

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

--- Comment #1 from [email protected] ---
Created attachment 82464
--> https://bugs.freedesktop.org/attachment.cgi?id=82464&action=edit
dmesg output

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #2 from [email protected] ---
Created attachment 82465
--> https://bugs.freedesktop.org/attachment.cgi?id=82465&action=edit
lspci output

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #3 from Alex Deucher <[email protected]> --- Are you using radeon as a module or built into the kernel?

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #4 from [email protected] ---
I use it as a module. Will test it inbuilt ASAP, needs some minutes to compile.

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #5 from [email protected] ---
OK, took me some time to figure out that I also need the firmware inbuilt (and which one, isn't quite obvious that I need firmware from BARTS, BTC and SUMO to boot).
Anyways, problem persists, same errors in dmesg. If you want to see how it actually looks, I have made a short video (sorry for the bad quality, need a better camera): http://slackeee.de/public/drm-next-3.11.mp4

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

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

Quoted 2 lines

I use it as a module. Will test it inbuilt ASAP, needs some minutes to compile.

Sorry, no need to do that, modules should be fine. Sometimes there are problems with firmware when the driver is built in.

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #7 from [email protected] ---
I have this issue too (same card), and I made a comment about it in one of the Phoronix threads mentioning that the problem started post wip-5 patch-set.

Having read most of the other related threads, I've noticed that most/all owners who try enabling DPM with a 6870 run into this problem.

If any other information is needed to find a commonality from whence this issue originates (separate from OPs), let me know an I'll attach the needed logs.

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #8 from Alex Deucher <[email protected]> --- Created attachment 82504
--> https://bugs.freedesktop.org/attachment.cgi?id=82504&action=edit
add module parameter to disable aspm

Try this patch which adds a new module parameter to disable aspm. Add radeon.aspm=0 to your kernel command line in grub to disable aspm support.

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

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

Quoted 5 lines

Created attachment 82504 [details] [review]
add module parameter to disable aspm

Try this patch which adds a new module parameter to disable aspm. Add radeon.aspm=0 to your kernel command line in grub to disable aspm support.

The issue still persists for me after using that patch and disabling aspm. I've attached a dmesg log taken after booting (to console, no X) using a 3.10 kernel, patched with the latest changes from the drm-fixes-3.11 branch (a01c34) and your aspm patch. And I've also attached the output from lspci since mine differs from OPs.

I'm still kind of new to the whole patching thing (I'm a newb) so there's a chance that I may have done something wrong, but everything seemed like it went OK to me.

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #10 from [email protected] ---
Created attachment 82509
--> https://bugs.freedesktop.org/attachment.cgi?id=82509&action=edit
dmesg w/ dpm enabled & aspm disabled

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #11 from [email protected] ---
Created attachment 82510
--> https://bugs.freedesktop.org/attachment.cgi?id=82510&action=edit
lspci output different user

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #12 from Alex Deucher <[email protected]> --- Created attachment 82517
--> https://bugs.freedesktop.org/attachment.cgi?id=82517&action=edit
debugging output

Can you attach a dmesg output with dpm enabled with this patch?

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 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #13 from [email protected] ---
Created attachment 82520
--> https://bugs.freedesktop.org/attachment.cgi?id=82520&action=edit
dmesg w/ dpm enabled & debug patch

dmesg output after booting to console.

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

#14 lore raw

[Bug 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

--- Comment #14 from [email protected] ---
Created attachment 82521
--> https://bugs.freedesktop.org/attachment.cgi?id=82521&action=edit
dmesg with dpm=1 and aspm=0 after patch from comment #12

Same here, problem not fixed with patch from #8, attached output from dmesg with dpm=1 and aspm=0 after patch from #12

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

#15 lore raw

[Bug 66945] Heavy artifacts and unusable graphics system with the latest DPM changes

In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #15 from Alex Deucher <[email protected]> ---

*** This bug has been marked as a duplicate of bug 66932 ***

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