https://bugzilla.kernel.org/show_bug.cgi?id=68111
Bug ID: 68111 Summary: suspend and hibernation not working on ASUS R500DR-SX073 laptop with radeon driver Product: Drivers Version: 2.5 Kernel Version: 3.11.6-4 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: cameronpoe@poczta.fm Regression: No
Could you please add s/r quirk for ASUS R500DR-SX073 (K55DR) laptop:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex [1022:1410] Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, 66MHz, medium devsel, latency 0
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:9900] (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, fast devsel, latency 0, IRQ 50 Memory at b0000000 (32-bit, prefetchable) [size=256M] I/O ports at f000 [size=256] Memory at ffb00000 (32-bit, non-prefetchable) [size=256K] Expansion ROM at <unassigned> [disabled] Capabilities: <access denied> Kernel driver in use: radeon Kernel modules: radeon
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller [1002:9902] Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, fast devsel, latency 0, IRQ 53 Memory at ffb44000 (32-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
00:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port [1022:1412] (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000e000-0000efff Memory behind bridge: ffa00000-ffafffff Prefetchable memory behind bridge: 00000000c0000000-00000000cfffffff Capabilities: <access denied> Kernel driver in use: pcieport Kernel modules: shpchp
00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7812] (rev 03) (prog-if 30 [XHCI]) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, fast devsel, latency 0, IRQ 18 Memory at ffb48000 (64-bit, non-prefetchable) [size=8K] Capabilities: <access denied> Kernel driver in use: xhci_hcd Kernel modules: xhci_hcd
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7801] (prog-if 01 [AHCI 1.0]) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 44 I/O ports at f140 [size=8] I/O ports at f130 [size=4] I/O ports at f120 [size=8] I/O ports at f110 [size=4] I/O ports at f100 [size=16] Memory at ffb4f000 (32-bit, non-prefetchable) [size=2K] Capabilities: <access denied> Kernel driver in use: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807] (rev 11) (prog-if 10 [OHCI]) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18 Memory at ffb4e000 (32-bit, non-prefetchable) [size=4K] Kernel driver in use: ohci-pci Kernel modules: ohci_pci
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 11) (prog-if 20 [EHCI]) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17 Memory at ffb4d000 (32-bit, non-prefetchable) [size=256] Capabilities: <access denied> Kernel driver in use: ehci-pci
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807] (rev 11) (prog-if 10 [OHCI]) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18 Memory at ffb4c000 (32-bit, non-prefetchable) [size=4K] Kernel driver in use: ohci-pci Kernel modules: ohci_pci
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 11) (prog-if 20 [EHCI]) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17 Memory at ffb4b000 (32-bit, non-prefetchable) [size=256] Capabilities: <access denied> Kernel driver in use: ehci-pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:780b] (rev 14) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: 66MHz, medium devsel Kernel modules: i2c_piix4
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d] (rev 01) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, slow devsel, latency 32, IRQ 16 Memory at ffb40000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:780e] (rev 11) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, 66MHz, medium devsel, latency 0
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge [1022:780f] (rev 40) (prog-if 01 [Subtractive decode]) Flags: bus master, 66MHz, medium devsel, latency 64 Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
00:14.7 SD Host controller [0805]: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller [1022:7806] (prog-if 01) Subsystem: ASUSTeK Computer Inc. Device [1043:106b] Flags: bus master, 66MHz, medium devsel, latency 39, IRQ 16 Memory at ffb4a000 (64-bit, non-prefetchable) [size=256] Kernel driver in use: sdhci-pci Kernel modules: sdhci_pci
00:15.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0) [1022:43a0] (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 Capabilities: <access denied> Kernel driver in use: pcieport Kernel modules: shpchp
00:15.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 1) [1022:43a1] (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=04, subordinate=04, sec-latency=0 Memory behind bridge: ff900000-ff9fffff Capabilities: <access denied> Kernel driver in use: pcieport Kernel modules: shpchp
00:15.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 2) [1022:43a2] (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=05, subordinate=05, sec-latency=0 I/O behind bridge: 0000d000-0000dfff Prefetchable memory behind bridge: 00000000d0000000-00000000d00fffff Capabilities: <access denied> Kernel driver in use: pcieport Kernel modules: shpchp
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0 [1022:1400] Flags: fast devsel
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1 [1022:1401] Flags: fast devsel
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2 [1022:1402] Flags: fast devsel
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3 [1022:1403] Flags: fast devsel Capabilities: <access denied> Kernel driver in use: k10temp Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4 [1022:1404] Flags: fast devsel
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5 [1022:1405] Flags: fast devsel
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] [1002:6760] (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Radeon HD 7470M [1043:106b] Physical Slot: 0 Flags: bus master, fast devsel, latency 0, IRQ 51 Memory at c0000000 (64-bit, prefetchable) [size=256M] Memory at ffa20000 (64-bit, non-prefetchable) [size=128K] I/O ports at e000 [size=256] Expansion ROM at ffa00000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: radeon Kernel modules: radeon
04:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01) Subsystem: AzureWave Device [1a3b:2c97] Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at ff900000 (64-bit, non-prefetchable) [size=512K] Expansion ROM at ff980000 [disabled] [size=64K] Capabilities: <access denied> Kernel driver in use: ath9k Kernel modules: ath9k
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 07) Subsystem: ASUSTeK Computer Inc. Device [1043:104b] Flags: bus master, fast devsel, latency 0, IRQ 52 I/O ports at d000 [size=256] Memory at d0004000 (64-bit, prefetchable) [size=4K] Memory at d0000000 (64-bit, prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: r8169 Kernel modules: r8169
https://bugzilla.kernel.org/show_bug.cgi?id=68111
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #1 from Alex Deucher alexdeucher@gmail.com --- Can you elaborate on what the problem is? Also please attach your dmesg output.
https://bugzilla.kernel.org/show_bug.cgi?id=68111
--- Comment #2 from CameronPoe cameronpoe@poczta.fm --- Basically every time my laptop goes into suspend it cannot wake-up later (I think it actually does but the screen is black) and when it goes into hibernation it freezes after few seconds.
I had the exact same problem on my previous HP Compaq Presario V5245EU laptop and you fixed it before by adding add s/r quirk to drivers/gpu/drm/radeon/radeon_combios.c https://bugzilla.kernel.org/show_bug.cgi?id=41642
When I installed fglrx driver the suspend and hibernation they work perfectly, but with this fglrx driver playing videos and scrolling websites is terrible so I went back to radeon driver.
Unfortunately it seems I cannot compile linux kernel properly to check if extra "return;" line before "/* DYN CLK 1 */" will do the trick (I think it would). I tried to compile kernel 3.12.6 but because I didn't change anything in configuration menu (which I'm not good with) the system failed of booting. I gave it a second try with kernel 3.11.10 and the system started this time and it waked-up properly after going into suspend but when I checked, the loaded driver was vesa, not the radeon.
https://bugzilla.kernel.org/show_bug.cgi?id=68111
--- Comment #3 from CameronPoe cameronpoe@poczta.fm --- Created attachment 120811 --> https://bugzilla.kernel.org/attachment.cgi?id=120811&action=edit dmesg
https://bugzilla.kernel.org/show_bug.cgi?id=68111
--- Comment #4 from Alex Deucher alexdeucher@gmail.com --- Newer hardware uses a different code path so what we did last time is not relevant for this hardware. That said, I think the quirk I added last time wasn't necessary, it just masked the actual bug. I think the real fix was: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ac...
Regarding this bug, are you able to access the box after resume via the network? Do external monitors resume ok? Can you try a newer kernel? 3.12 or 3.13?
https://bugzilla.kernel.org/show_bug.cgi?id=68111
--- Comment #5 from CameronPoe cameronpoe@poczta.fm --- I don't know what do you mean by asking me "access the box after resume via the network" (I am not part of any LAN network).
https://bugzilla.kernel.org/show_bug.cgi?id=68111
--- Comment #6 from Alex Deucher alexdeucher@gmail.com --- (In reply to CameronPoe from comment #5)
I don't know what do you mean by asking me "access the box after resume via the network" (I am not part of any LAN network).
I was wondering if you could access the machine via ssh after resume, but if you are not using networking, then I guess not.
https://bugzilla.kernel.org/show_bug.cgi?id=68111
--- Comment #7 from CameronPoe cameronpoe@poczta.fm --- I did the tests. I installed: kernel-desktop-3.12.6-1.1.x86_64.rpm and kernel-desktop-3.13.rc6-4.1.x86_64.rpm but this problem is still unsolved in newer kernels.
I forgot to mention I found this problem already in openSUSE 12.3 (half a year ago).
I found out that my laptop is working after waking-up because when I pressed SHIFT + CTRL + ALT + PAGE DOWN it switched off normally and I could see "HDD light" flashing and I could hear it.
Suspend works when connected to external monitor (through HDMI and VGA) and it wakes-up properly but when I wanted to switched view to both screens or just go back to LVDS screen of my laptop it was black and I had to switched it back to the external one to see the desktop, so after suspend laptop wakes-up but the screen keeps "dreaming".
Unfortunately, hibernation still freezes even when connected to external monitor (HDD light doesn't flash and I can only hear the cpu fan which starts spinning really fast after the screen goes black).
P.S. In recovery mode suspend works perfect on fbdev driver.
https://bugzilla.kernel.org/show_bug.cgi?id=68111
--- Comment #8 from CameronPoe cameronpoe@poczta.fm --- Does anyone know how to fix this problem?
dri-devel@lists.freedesktop.org