Skip to contentSkip to conversation

New: Black screen after resume from hibernate on HP Pavilion dv7 with 2 AMD GPUs

Bug 117931 [email protected] 1 participant 7 messages May 10, 2016 – Jul 25, 2016

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=117931

            Bug ID: 117931
           Summary: Black screen after resume from hibernate on HP
                    Pavilion dv7 with 2 AMD GPUs
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.6-rc5 (mainline), 3.14.53, 4.4.7, 4.4.8 (Fedora)
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 215701
--> https://bugzilla.kernel.org/attachment.cgi?id=215701&action=edit
The system log from Fedora 23 after resume. drm.debug=0x1e was set, just in case

When the laptop resumes from hibernate, there is no output on the screen. In some cases, I can connect to the machine via SSH after that, so I can see that the system does not crash. Looks like it is just graphics that is not turned on.

The system uses 'radeon' driver.

Laptop: HP Pavilion dv7 with A8-3530MX APU
Two graphics cards:
* Radeon HD 7690M (pci:1002-6741-103c-1860)
* Radeon HD 6620G (pci:1002-9641-103c-1860)
More hardware info for that system:
http://linux-hardware.org/index.php?probe=4c12fda921

OS, kernel:
I tried both ROSA R7 x86_64 with kernels 4.6-rc5 (mainline), 4.4.7, 4.1.22 and Fedora 23 with kernel 4.4.8-300.fc23.x86_64. The problem showed up with each of these.

The log below is from Fedora where I was able to connect to the machine via SSH after the problem happened.

Resuming from suspend-to-RAM works fine though.

I also tried kernel 4.1.x with the proprietary fglrx driver (v.15.201.1151) instead of 'radeon' - the graphics worked OK after resume from hibernate this time.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 117931] Black screen after resume from hibernate on HP Pavilion dv7 with 2 AMD GPUs

https://bugzilla.kernel.org/show_bug.cgi?id=117931

--- Comment #1 from Eugene A. Shatokhin <[email protected]> --- Created attachment 215711
--> https://bugzilla.kernel.org/attachment.cgi?id=215711&action=edit
lspci -vnn

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 117931] Black screen after resume from hibernate on HP Pavilion dv7 with 2 AMD GPUs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=117931

--- Comment #2 from Eugene A. Shatokhin <[email protected]> --- Created attachment 215721
--> https://bugzilla.kernel.org/attachment.cgi?id=215721&action=edit
Xorg.0.log after resume

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 117931] Black screen after resume from hibernate on HP Pavilion dv7 with 2 AMD GPUs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=117931

--- Comment #3 from Eugene A. Shatokhin <[email protected]> --- Re-checked on Fedora 23 x64 with the mainline kernel 4.7-rc7, git rev 68093c43f352, with no additional patches.

Resume from hibernation is not fully working yet but the problem looks different this time.

When I put the system to suspend-to-disk then try to resume it, the desktop environment appears this time but does not respond to keyboard, mouse, whatever.

The system log contains lots of meesages "radeon: The kernel rejected CS, see dmesg for more information.".

Xorg.0.log ends with the following:

[  1608.239] (WW) RADEON(0): radeon_dri2_flip_event_handler: Pageflip

completion event has impossible msc 78924 < target_msc 78925

I will attach the logs below.

Besides, after I have done suspend-to-ram and resumed the system (without prior reboot after the problem happened), the desktop seemed to be operational again after a couple minutes.

Interestingly enough, lspci shows incomplete info for one of the GPUs this time (was OK with the earlier kernels):
-------------------
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] [1002:6741] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: radeon
Kernel modules: radeon
-------------------
May be it is not related to the problem, may be it is.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 117931] Black screen after resume from hibernate on HP Pavilion dv7 with 2 AMD GPUs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=117931

--- Comment #4 from Eugene A. Shatokhin <[email protected]> --- Created attachment 225761
--> https://bugzilla.kernel.org/attachment.cgi?id=225761&action=edit
System log after resume (kernel 4.7)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 117931] Black screen after resume from hibernate on HP Pavilion dv7 with 2 AMD GPUs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=117931

--- Comment #5 from Eugene A. Shatokhin <[email protected]> --- Created attachment 225771
--> https://bugzilla.kernel.org/attachment.cgi?id=225771&action=edit
Xorg.0.log after resume (kernel 4.7)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 117931] Black screen after resume from hibernate on HP Pavilion dv7 with 2 AMD GPUs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=117931

--- Comment #6 from Eugene A. Shatokhin <[email protected]> --- Created attachment 225781
--> https://bugzilla.kernel.org/attachment.cgi?id=225781&action=edit
lspci -vnn (kernel 4.7)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel