Skip to contentSkip to conversation

Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

DISCUSSION Sven Joachim 4 participants 6 messages Sep 5, 2016 – Oct 14, 2016

lore
Share & tools
lore
#0 lore raw

Recently I got myself a new laptop with the following integrated GPU:

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] (rev 40)

I found that hibernation is broken in Linux 4.7+ (it works in Linux 4.6) and bisected it to commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.").

This has already been reported three months ago, but for a much older GPU, see the thread starting at
https://lists.freedesktop.org/archives/dri-devel/2016-June/110050.html.
The symptoms are exactly the same as described by Boris Petkov in that
thread: after "systemctl hibernate" the screen goes blank, but the machine remains powered on and needs to be power-cycled.

Any suggestions would be welcome.

Cheers,
Sven
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw
Quoted 16 lines

Recently I got myself a new laptop with the following integrated GPU:

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] (rev 40)

I found that hibernation is broken in Linux 4.7+ (it works in Linux 4.6) and bisected it to commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.").

This has already been reported three months ago, but for a much older GPU, see the thread starting at
https://lists.freedesktop.org/archives/dri-devel/2016-June/110050.html.
The symptoms are exactly the same as described by Boris Petkov in that
thread: after "systemctl hibernate" the screen goes blank, but the machine remains powered on and needs to be power-cycled.

Quoted 4 lines

Any suggestions would be welcome.

Cheers,
Sven

I guess we can invert the logic and only do it for the GPU for which it fix hibernation.

Cheers,
Jérôme

#2 lore raw
Quoted 16 lines · Jerome Glisse
Quoted 16 lines

Recently I got myself a new laptop with the following integrated GPU:

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] (rev 40)

I found that hibernation is broken in Linux 4.7+ (it works in Linux 4.6) and bisected it to commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.").

This has already been reported three months ago, but for a much older GPU, see the thread starting at
https://lists.freedesktop.org/archives/dri-devel/2016-June/110050.html.
The symptoms are exactly the same as described by Boris Petkov in that
thread: after "systemctl hibernate" the screen goes blank, but the machine remains powered on and needs to be power-cycled.

Quoted 7 lines
Quoted 4 lines

Any suggestions would be welcome.

Cheers,
Sven

I guess we can invert the logic and only do it for the GPU for which it fix hibernation.

Do you remember which asics this fixed?

Alex

Quoted 7 lines

Cheers,
Jérôme
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
Quoted 19 lines · Jerome Glisse
Quoted 18 lines
Quoted 18 lines

Recently I got myself a new laptop with the following integrated GPU:

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] (rev 40)

I found that hibernation is broken in Linux 4.7+ (it works in Linux 4.6) and bisected it to commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.").

This has already been reported three months ago, but for a much older GPU, see the thread starting at
https://lists.freedesktop.org/archives/dri-devel/2016-June/110050.html.
The symptoms are exactly the same as described by Boris Petkov in that
thread: after "systemctl hibernate" the screen goes blank, but the machine remains powered on and needs to be power-cycled.

Any suggestions would be welcome.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Cheers,
Sven

I guess we can invert the logic and only do it for the GPU for which it fix hibernation.

Do you remember which asics this fixed?

No that's the issue, i don't have hw anymore but according to bug it is AMD FirePro M5170 and M6170 which would make them amdgpu afaict but i remember the hw was using radeon so i am not sure how to figure out what GPU it was really.

Bug https://bugzilla.redhat.com/show_bug.cgi?id=1269009

Cheers,
Jérôme
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
Quoted 25 lines · Jerome Glisse
Quoted 25 lines · Jerome Glisse
Quoted 23 lines
Quoted 16 lines

Recently I got myself a new laptop with the following integrated GPU:

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] (rev 40)

I found that hibernation is broken in Linux 4.7+ (it works in Linux 4.6) and bisected it to commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.").

This has already been reported three months ago, but for a much older GPU, see the thread starting at
https://lists.freedesktop.org/archives/dri-devel/2016-June/110050.html.
The symptoms are exactly the same as described by Boris Petkov in that
thread: after "systemctl hibernate" the screen goes blank, but the machine remains powered on and needs to be power-cycled.

Quoted 4 lines

Any suggestions would be welcome.

Cheers,
Sven

I guess we can invert the logic and only do it for the GPU for which it fix hibernation.

Quoted 8 lines
Quoted 2 lines

Do you remember which asics this fixed?

No that's the issue, i don't have hw anymore but according to bug it is AMD FirePro M5170 and M6170 which would make them amdgpu afaict but i remember the hw was using radeon so i am not sure how to figure out what GPU it was really.

Bug https://bugzilla.redhat.com/show_bug.cgi?id=1269009

That bug is not public, unfortunately. :-(

Are there any news on this? As of Linux 4.8.1, I keep reverting commit 274ad65c9d02, and I'd like not having to do that indefinitely.

Cheers,
Sven
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to Sven Joachim
Quoted 8 lines · Sven Joachim

Recently I got myself a new laptop with the following integrated GPU:

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] (rev 40)

I found that hibernation is broken in Linux 4.7+ (it works in Linux 4.6) and bisected it to commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.").

Quoted 6 lines

This has already been reported three months ago, but for a much older GPU, see the thread starting at
https://lists.freedesktop.org/archives/dri-devel/2016-June/110050.html.
The symptoms are exactly the same as described by Boris Petkov in that
thread: after "systemctl hibernate" the screen goes blank, but the machine remains powered on and needs to be power-cycled.

If it is still unfixed, you may want to notify regressions maintainer, and Linus.

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html