Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Garbled screen on functional pc when resuming

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Chobin75
Posts: 11
Joined: 2010-08-03 16:57

Garbled screen on functional pc when resuming

#1 Post by Chobin75 »

Hi guys, greetings from Italy...
while stuck at home due to coronavirus, I installed debian 10 on an old laptop I have here.
It's an Acer Aspire 5100 and I installed the 4.19.0-8 amd64 Kernel. Everything runs fine, and I'm really happy to revive this old machine, there's only one thing that's not working properly: the system goes into suspend but when I resume it the screen is totally garbled. The computer is working and responsive, as I can see that even thru the garbled screen, it seems to be just a graphics problem.
lspci tells me that I have a:

Code: Select all

VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS482M [Mobility Radeon Xpress 200]
I have tried different solutions with no success... i.e. various combos of pm-utils quirks

Code: Select all

systemctl suspend
gives the same result
the system does hybernate/dehybernate with no problems.
Can you help me solve this issue, or point me to good source of info?

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Garbled screen on functional pc when resuming

#2 Post by Deb-fan »

http://blog.ataboydesign.com/2017/10/04 ... -graphics/

Would see if that PKG is installed, if not do so and check results. Always good to hear people are reviving perfectly good hardware via the power of Debian, other gnu/Linux. :) My laptop is elderly but very happy with how well it still performs. That above suggestion is one thing to try though.
Most powerful FREE tech-support tool on the planet * HERE. *

peer
Posts: 443
Joined: 2017-03-26 10:14
Has thanked: 8 times
Been thanked: 20 times

Re: Garbled screen on functional pc when resuming

#3 Post by peer »

do you have firmware-linux-non-free installed??

see: https://wiki.debian.org/AtiHowTo

Chobin75
Posts: 11
Joined: 2010-08-03 16:57

Re: Garbled screen on functional pc when resuming

#4 Post by Chobin75 »

First of all, thanks for your replies.
Deb-fan wrote:http://blog.ataboydesign.com/2017/10/04 ... -graphics/

Would see if that PKG is installed, if not do so and check results. Always good to hear people are reviving perfectly good hardware via the power of Debian, other gnu/Linux. :) My laptop is elderly but very happy with how well it still performs. That above suggestion is one thing to try though.
I do have that pkg installed, and accordingly I don't get any kernel error at boot time:

Code: Select all

02/04/20 09:30		[drm] radeon kernel modesetting enabled.
02/04/20 09:30		[drm] initializing kernel modesetting (RS480 0x1002:0x5975 0x1025:0x009F 0x00).
peer wrote:do you have firmware-linux-non-free installed??

see: https://wiki.debian.org/AtiHowTo
yes, I have it installed too, and the firmware looks to be loaded correctly

Code: Select all

02/04/20 09:30	radeon 0000	1:05.0: firmware: direct-loading firmware radeon/R300_cp.bin

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Garbled screen on functional pc when resuming

#5 Post by Deb-fan »

It's dated and Arch related but may be a nugget or pointer if you haven't already looked it over. Gnu/Linux is gnu/nix, much is shared. My grasp of the workings of suspend/hibernate mostly bytes. Seems only time I've taken an interest is when another nixer is having issues. However have developed decent google-fu skills, so perhaps this url will help. :)

https://bbs.archlinux.org/viewtopic.php?id=97503
Most powerful FREE tech-support tool on the planet * HERE. *

Chobin75
Posts: 11
Joined: 2010-08-03 16:57

Re: Garbled screen on functional pc when resuming

#6 Post by Chobin75 »

I tried the link above, which basically was about disabling kms and running a suspend command with a few quirks.
Disabling kms (did it setting the “nomodeset” boot option) messed a bit my graphics, as everything on screen was at a really low resolution...btw tried to suspend using the adviced quirks but I get a black screen on resume and nothing else.
Maybe it’s better to give up, I think I’ve tried almost everything!

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Garbled screen on functional pc when resuming

#7 Post by Head_on_a_Stick »

Chobin75 wrote:Disabling kms (did it setting the “nomodeset” boot option) messed a bit my graphics, as everything on screen was at a really low resolution...
Kernel modesetting is required for the AMD drivers.

Which drivers are you actually using anyway?

Code: Select all

lspci -knn | grep -iA3 'vga\|display\|3d'
And which desktop are you running? I would try disabling the compositor.

Is there anything in ~/.xsession-errors after you experience the problem? Also check the systemd journal.
deadbang

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Garbled screen on functional pc when resuming

#8 Post by Deb-fan »

Never like seeing folks give up on a nix issue but makes a lot of sense at times, return on time-etc invested. Suspend works on Buster on this 10yr old lappy, even w/o pm-utils installed, couple diff kernels. Still unless some power management nix ninja guru shows up could call enough ... enough here. Personally never even use suspend/hibernate, my idea of suspend is walk away, do whatever else, come back press some keys to rouse the old beast. :)

Oops, Head_on has shown up, might get some suspend joy after all.
Most powerful FREE tech-support tool on the planet * HERE. *

Chobin75
Posts: 11
Joined: 2010-08-03 16:57

Re: Garbled screen on functional pc when resuming

#9 Post by Chobin75 »

Head_on_a_Stick wrote: Which drivers are you actually using anyway?
here's the answer:

Code: Select all

marco@marco-debian:~$ lspci -knn | grep -iA3 'vga\|display\|3d'
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS482M [Mobility Radeon Xpress 200] [1002:5975]
	Subsystem: Acer Incorporated [ALI] RS482M [Mobility Radeon Xpress 200] [1025:009f]
	Kernel driver in use: radeon
	Kernel modules: radeonfb, radeon
Head_on_a_Stick wrote: And which desktop are you running? I would try disabling the compositor
openbox ... the compositor is compton (I'll try to figure out how to restart it)

nothing relevant in journald log
in .xsession-errors I've found this:

Code: Select all

[9228:9228:0402/160155.730640:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.

Edit: disabling the compositor did not solve the issue

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Garbled screen on functional pc when resuming

#10 Post by Head_on_a_Stick »

You could try using the glamor acceleration method instead of EXA.

Copy the sample file over:

Code: Select all

# mkdir -p /etc/X11/xorg.conf.d
# cp /usr/share/X11/xorg.conf.d/10-radeon.conf /etc/X11/xorg.conf.d
Then edit /etc/X11/xorg.conf.d/10-radeon.conf and add the option, like this:

Code: Select all

Section "OutputClass"
	Identifier "Radeon"
	MatchDriver "radeon"
	Driver "radeon"
   Option "AccelMethod" "glamor"
EndSection
It might not work at all for your card, just delete the new file if X won't start afterwards.
deadbang

Chobin75
Posts: 11
Joined: 2010-08-03 16:57

Re: Garbled screen on functional pc when resuming

#11 Post by Chobin75 »

It doesn’t work. After the boot the screen goes black and I don’t know how to go on. I have to delete that file, but how? :?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Garbled screen on functional pc when resuming

#12 Post by Head_on_a_Stick »

Chobin75 wrote:I have to delete that file, but how?
Boot using the "recovery mode" entry in the "Advanced Options" sub-menu.
deadbang

Chobin75
Posts: 11
Joined: 2010-08-03 16:57

Re: Garbled screen on functional pc when resuming

#13 Post by Chobin75 »

in rescue mode after a while I get this:

Code: Select all

Cannot open access to console, the root account is locked
See sulogin(8) man page for more details 
Press enter to continue 
If I press enter the system tries to load the WiFi and then hangs

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Garbled screen on functional pc when resuming

#14 Post by Head_on_a_Stick »

Either use the init=/bin/bash kernel parameter or delete the file from the live environment. Sorry for the trouble.
deadbang

Chobin75
Posts: 11
Joined: 2010-08-03 16:57

Re: Garbled screen on functional pc when resuming

#15 Post by Chobin75 »

Head_on_a_Stick wrote:Either use the init=/bin/bash kernel parameter or delete the file from the live environment. Sorry for the trouble.
No problem, everything is fine now (not counting the resume problem, which is still here)

Post Reply