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

2016-10-14 Thread Sven Joachim
s, 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

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

2016-09-15 Thread Pavel Machek
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://list

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

2016-09-15 Thread Jerome Glisse
) > >> > >> 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 alrea

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

2016-09-15 Thread Alex Deucher
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 >> G

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

2016-09-05 Thread Jerome Glisse
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/11005

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

2016-09-05 Thread Sven Joachim
("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 describe

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

2016-06-09 Thread Alex Deucher
On Wed, Jun 8, 2016 at 12:51 PM, Borislav Petkov wrote: > On Wed, Jun 08, 2016 at 12:44:12PM -0400, Alex Deucher wrote: >> If the ring and IB tests pass on resume, you should be good to go. > > Yap, they do. I pasted that output earlier but here it is again: > > [ 64.745988] [drm] ring test on 0

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

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 12:44:12PM -0400, Alex Deucher wrote: > If the ring and IB tests pass on resume, you should be good to go. Yap, they do. I pasted that output earlier but here it is again: [ 64.745988] [drm] ring test on 0 succeeded in 1 usecs [ 64.920633] [drm] ring test on 5 succeede

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

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 05:28:53PM +0200, Grigori Goronzy wrote: > Are you sure it is using accelerated decoding? CPU load should be just 1-2%. Ha, good point. So with mplayer vo=vdpau, CPU load was at something over 12%. Doing: $ mpv --vo=vdpau --hwdec=vdpau $file (+) Video --vid=1 (*) (h264)

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

2016-06-08 Thread Grigori Goronzy
On 2016-06-08 15:47, Borislav Petkov wrote: > On Wed, Jun 08, 2016 at 03:30:34PM +0200, Christian König wrote: > >> Try forcing mplayer to use VDPAU with "mplayer -vo vdpau $file". > > All good. Actually, this hw accel thing is much better, I better make > it > default :-P > Are you sure it i

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

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 10:06:23AM -0400, Jerome Glisse wrote: > To be clear, you mean that after hibernation video acceleration keeps working > ? Apparently. At lest the vdpau output looks fine to me. > Can you copy radeon dmesg after hibernation cycle (once you resumed > from hibernation). $

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

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 03:47:12PM +0200, Borislav Petkov wrote: > All good. Actually, this hw accel thing is much better, I better make it > default :-P And yes, this is with Jérôme's fix to exclude r600 and r700 from hard reset before hibernation. And after a s2d cycle I did earlier. -- Rega

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

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 03:30:34PM +0200, Christian König wrote: > Try forcing mplayer to use VDPAU with "mplayer -vo vdpau $file". All good. Actually, this hw accel thing is much better, I better make it default :-P libavformat version 56.23.105 (internal) libavformat file format detected. [la

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

2016-06-08 Thread Christian König
Yes, exactly. > VO: [xv] 1280x720 => 1280x720 Planar YV12 Mplayer is using xv without any acceleration (except for color space conversion). Try forcing mplayer to use VDPAU with "mplayer -vo vdpau $file". Regards, Christian. Am 08.06.2016 um 15:26 schrieb Borislav Petkov: > On Wed, Jun 08, 201

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

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 01:50:28PM +0200, Christian König wrote: > What's the output of mplayer? Mplayer usually uses video acceleration when > it is available. Something like this? libavformat version 56.23.105 (internal) libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [

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

2016-06-08 Thread Christian König
Am 08.06.2016 um 13:36 schrieb Borislav Petkov: > On Tue, Jun 07, 2016 at 05:51:52PM -0400, Jerome Glisse wrote: >> Ok i don't have too much time to dig into r600 i assume that r700 breaks >> the same way so could you verify that attached patch fix the issue for >> you. Note that video decoding is

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

2016-06-08 Thread Borislav Petkov
On Tue, Jun 07, 2016 at 05:51:52PM -0400, Jerome Glisse wrote: > Ok i don't have too much time to dig into r600 i assume that r700 breaks > the same way so could you verify that attached patch fix the issue for > you. Note that video decoding is likely broken for you after hibernation > but you mig

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

2016-06-08 Thread Alex Deucher
On Wed, Jun 8, 2016 at 12:32 PM, Borislav Petkov wrote: > On Wed, Jun 08, 2016 at 05:28:53PM +0200, Grigori Goronzy wrote: >> Are you sure it is using accelerated decoding? CPU load should be just 1-2%. > > Ha, good point. So with mplayer vo=vdpau, CPU load was at something over 12%. > > Doing: >

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

2016-06-08 Thread Jerome Glisse
> On Wed, Jun 08, 2016 at 03:47:12PM +0200, Borislav Petkov wrote: > > All good. Actually, this hw accel thing is much better, I better make it > > default :-P > > And yes, this is with Jérôme's fix to exclude r600 and r700 from hard > reset before hibernation. And after a s2d cycle I did earlie

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

2016-06-08 Thread Christian König
Am 07.06.2016 um 23:51 schrieb Jerome Glisse: >> On Mon, Jun 06, 2016 at 05:40:19PM -0400, Jerome Glisse wrote: >>> Brokens how ? Symptoms ? >> Whoops, sorry, I meant to elaborate... >> >> After doing: >> >> echo "shutdown" > /sys/power/disk >> echo "disk" > /sys/power/state >> >>

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

2016-06-07 Thread Jerome Glisse
> On Mon, Jun 06, 2016 at 05:40:19PM -0400, Jerome Glisse wrote: > > Brokens how ? Symptoms ? > > Whoops, sorry, I meant to elaborate... > > After doing: > > echo "shutdown" > /sys/power/disk > echo "disk" > /sys/power/state > > screen goes blank but machine remains powered on a

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

2016-06-07 Thread Borislav Petkov
On Mon, Jun 06, 2016 at 05:40:19PM -0400, Jerome Glisse wrote: > Brokens how ? Symptoms ? Whoops, sorry, I meant to elaborate... After doing: echo "shutdown" > /sys/power/disk echo "disk" > /sys/power/state screen goes blank but machine remains powered on and doesn't go off. No

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

2016-06-06 Thread Jerome Glisse
> Hi, > > commit in $Subject breaks suspend to disk on my box here. Reverting it > ontop of 4.7-rc2 fixes the problem. DRM-specific messages in dmesg are: > Brokens how ? Symptoms ? Cheers, Jérôme

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

2016-06-06 Thread Borislav Petkov
Hi, commit in $Subject breaks suspend to disk on my box here. Reverting it ontop of 4.7-rc2 fixes the problem. DRM-specific messages in dmesg are: [6.837698] [drm] radeon kernel modesetting enabled. [6.871372] [drm] initializing kernel modesetting (RV635 0x1002:0x9598 0x1043:0x01DA 0x00)