Radeon RV710 display garbled on hibernate

Message
Author
rbode
Posts: 11
Joined: Thu Mar 22, 2018 9:36 am

Radeon RV710 display garbled on hibernate

#1 Post by rbode »

Dear list,

Finally I've come about installing MX, and it looks and works on 90% of my system which is GREAT!! I am also very happy with all the "extra's" that MX comes with.
In all "THANK YOU VERY MUCH FOR A VERY NICE JOB, team MX!!".

Now that we have the credits out of the way, there is a slight problem I have with hibernating. After I click hibernate the screen goes black and sometimes I see the text "s2disk" and after that I get a unreadable screen like the image in the attachment shows.
The system still responds because when I do CTRL-F1 and type my login credentials and issue a "shutdown -rf now" the system responds promptly.
If I suspend the system, all goes well.
I''ve searched the net for solutions to this problem however the things I tried like kernel switches: radeon.dynpm=0 or radeon.modesetting=0 all did not work.
Since my setup is dual head I've tried with the one laptop screen only, but alas the same happened as with both monitors attached.
I've have not installed any additional software to the distributed MX-17 for x64 systems, other than updating it every now and then.

I would very much like to resolve my problem, however I am aware that it might be unresolvable.

Regards,
Rene

My hardware is:
System: Host: osn Kernel: 4.13.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3
Distro: MX-17.1_x64 Horizon December 15, 2017
Machine: Device: laptop System: Sony product: VGN-NW21SF_T v: C602ZWML serial: N/A
Mobo: Sony model: VAIO serial: N/A
BIOS: American Megatrends v: R1120Y4 date: 08/20/2009
Battery BAT0: charge: 35.2 Wh 93.5% condition: 37.7/50.6 Wh (74%)
CPU: Dual core Intel Core2 Duo P7450 (-MCP-) cache: 3072 KB
clock speeds: max: 2133 MHz 1: 2133 MHz 2: 2133 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] RV710/M92 [Mobility Radeon HD 4530/4570/545v]
Display Server: x11 (X.Org 1.19.2 )
drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
Resolution: 1366x768@59.94hz, 1280x1024@60.02hz
OpenGL: renderer: Gallium 0.4 on AMD RV710 (DRM 2.50.0 / 4.13.0-1-amd64, LLVM 3.9.1)
version: 3.3 Mesa 13.0.6
Audio: Card-1 Advanced Micro Devices [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
driver: snd_hda_intel
Card-2 Intel 82801I (ICH9 Family) HD Audio Controller driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.13.0-1-amd64
Network: Card-1: Marvell 88E8057 PCI-E Gigabit Ethernet Controller driver: sky2
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 00:24:be:81:3d:86
Card-2: Intel WiFi Link 5100 driver: iwlwifi
IF: wlan0 state: down mac: 06:21:db:e5:e1:3d
Drives: HDD Total Size: 1000.2GB (2.5% used)
ID-1: /dev/sda model: HGST_HTS721010A9 size: 1000.2GB
Partition: ID-1: / size: 167G used: 20G (12%) fs: jfs dev: /dev/sda5
ID-2: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
Sensors: System Temperatures: cpu: 65.0C mobo: 65.0C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 169 Uptime: 10 min Memory: 1023.1/3922.6MB Client: Shell (init) inxi: 2.3.54

My xrandr info is:
$ xrandr
Screen 0: minimum 320 x 200, current 2646 x 1024, maximum 8192 x 8192
LVDS connected 1366x768+1280+0 (normal left inverted right x axis y axis) 0mm x 0mm
1366x768 59.94*+
1280x720 59.97
1152x768 59.95
1024x768 59.95
800x600 59.96
848x480 59.94
720x480 59.94
640x480 59.94
VGA-0 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
1280x1024 60.02*+ 75.02
1280x960 60.00
1280x800 74.93 59.81
1152x864 75.00
1280x768 74.89 59.87
1280x720 60.00
1024x768 75.03 70.07 60.00
1024x576 59.97
832x624 74.55
800x600 72.19 75.00 70.01 60.32 56.25
848x480 60.00
640x480 75.00 72.81 66.67 59.94
720x400 70.08
HDMI-0 disconnected (normal left inverted right x axis y axis)
You do not have the required permissions to view the files attached to this post.

User avatar
dolphin_oracle
Developer
Posts: 20012
Joined: Sun Dec 16, 2007 1:17 pm

Re: Radeon RV710 display garbled on hibernate

#2 Post by dolphin_oracle »

I would like some clarification, as I do not quite understand what is going on from your message.

do you sometimes get the garbled screen, or do you just sometimes see the s2disk information and then the garbled screen, or does hibernate sometimes work? and if it works, do you see the s2disk information?

hibernate can be tricky. we went with something that worked for most of the dev team, but not all.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

rbode
Posts: 11
Joined: Thu Mar 22, 2018 9:36 am

Re: Radeon RV710 display garbled on hibernate

#3 Post by rbode »

Hey, thanks for the response, time and effort!!!

I always get the garbled screen during the hibernate process, and SOMETIMES see the text "s2disk", just before I get the garbled screen. The text "s2disk" is only readable for 1 second or so, and then the garbled screen appears.

In my understanding hibernate works when the computer would shut itself down even after the garbled screen, however what is happening is that the computer stays on the garbled screen and, from now on everything is with a blindfold for me, it is only when I manually switch (CTRL-F1) to the tty0 and login root/password and type (again like blindfolded) "shutdown -rf now" which in turn makes that the system reboots.

The system than recovers from its saved image, as I can make out from the text that appears on screen, however than the screen becomes garbled again.
I follow the same procedure as by manually switching to (CTRL-F1) the tty0 and login root/password and type (again like blindfolded) "shutdown -rf now" and the system reboots.
Now the system is in a normal/cold booting state and it boots ok, and responds with readable and normal screens. It is now that I can see the letters I type into the login box, and after successful login get a nice desktop back.

Does this answer your question?

User avatar
dolphin_oracle
Developer
Posts: 20012
Joined: Sun Dec 16, 2007 1:17 pm

Re: Radeon RV710 display garbled on hibernate

#4 Post by dolphin_oracle »

yep that clears up my confusion!

let's try something easy first.

1. edit as root /etc/uswsusp.conf

and find this line

Code: Select all

shutdown method = platform
and change to

Code: Select all

shutdown method = shutdown
and see if your machine at least powers off after a hibernate operation.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
dolphin_oracle
Developer
Posts: 20012
Joined: Sun Dec 16, 2007 1:17 pm

Re: Radeon RV710 display garbled on hibernate

#5 Post by dolphin_oracle »

the second thing to try

1. make a backup of /etc/uswsusp.conf by copying somewhere safe.

2. remove /etc/uswsusp.conf.

what this should do is disable the uswsusp/s2disk method of hibernation in favor of the kernel mode hibernate. Kernel mode hibernate worked for about half our dev team testers, but not all machines will respond well.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

rbode
Posts: 11
Joined: Thu Mar 22, 2018 9:36 am

Re: Radeon RV710 display garbled on hibernate

#6 Post by rbode »

Thanks for your suggestions, here are the results.

Change "shutdown method = platform" to "shutdown method = shutdown" in /etc/uswsusp.conf.
Reboot the system.
Login
Click hibernate
System responds as it did before, however it did indeed shutdown now after the garbled screen. On the next boot it resumed its state and returned with a garbled screen. I then followed the CTRL-F1 procedure to reboot the system to its normal working state again.

Change "mv /etc/uswsusp.conf /etc/uswsusp.conf_DISABLED"
Reboot the system.
Login
Click hibernate
Nothing happens
Click hibernate
Nothing happens

I get the impression the hibernate button is not linked to anything anymore, but ...

Am i missing something..?

User avatar
dolphin_oracle
Developer
Posts: 20012
Joined: Sun Dec 16, 2007 1:17 pm

Re: Radeon RV710 display garbled on hibernate

#7 Post by dolphin_oracle »

ah, I think I might have forget a step. either that, or it just won't work, which is possible.

do a

Code: Select all

sudo update-initramfs -u -k all
after removing the uswsusp.conf file.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

rbode
Posts: 11
Joined: Thu Mar 22, 2018 9:36 am

Re: Radeon RV710 display garbled on hibernate

#8 Post by rbode »

Well I've executed your step while the uswsusp.conf file is still known as /etc/uswsusp.conf_DISABLED, in chronological order:

$ sudo update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-4.13.0-1-amd64
I: The initramfs will attempt to resume from /dev/sda6
I: (UUID=c9b81ec2-cb8b-440a-9b41-6fc0d3630e82)
I: Set the RESUME variable to override this.

Rebooted the system

Click hibernate
Nothing happens
Click hibernate
Nothing happens
Click hibernate
Nothing happens

so alas, no solution for me then..., its a shame but anyway I ...
I've got a option for other hardware being a Thinkpad T440, maybe that will work...?

Thanks for your help, it has been MUCH appreciated !!!

User avatar
dolphin_oracle
Developer
Posts: 20012
Joined: Sun Dec 16, 2007 1:17 pm

Re: Radeon RV710 display garbled on hibernate

#9 Post by dolphin_oracle »

ok.

so put the uswsusp.conf file back.

just try

Code: Select all

nomodeset 
for a kernel boot parameter.

after that I got nothing.! But thanks for being good natured about it!
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

rbode
Posts: 11
Joined: Thu Mar 22, 2018 9:36 am

Re: Radeon RV710 display garbled on hibernate

#10 Post by rbode »

Like you suggest I've put back the uswsusp.conf and rebooted and changed the MX17 bootline and replaced quiet with nomodeset and booted.
Result:
Only the primary (laptop screen) is available, thus no secondary screen anymore.
The primary screen is also set to a screen size of 1024x768 unknown refreshrate instead of 1366x768 59,9Hz refreshrate.
Clicking hibernate works, that is to say, s2disk save here image and after that the system shuts down, and no garbled screen has revealed itself.

On booting again, from the hibernated state, I've to edit the kernel boot line again to nomodeset.
The system boots just like there is no state saved or so, it just boots normally.

Post Reply

Return to “General”