Page 2 of 4

Re: display issue after Suspend

Posted: Sun Jun 18, 2023 9:17 am
by arp
I tried the other kernels but no luck. I tend to think the problem relates to memory going into swap (cache?). Any ideas on configuring? Swap size should be ok at 8GB.

Re: display issue after Suspend

Posted: Sun Jun 18, 2023 10:54 am
by Charlie Brown
Your swap is more than enough:

swap-1 type: partition size: 11.72 GiB used: 0 KiB

Memory: 5.8 GiB used: 1.84 GiB (31.7%)


We can try to create a resume file, what's the output of this?

Code: Select all

lsblk -f | grep swap
Also what happens if you suspend with this one?

Code: Select all

sudo pm-suspend

Re: display issue after Suspend

Posted: Mon Jun 19, 2023 9:59 am
by arp
From the lsbk command I get
├─sda3 swap 1 swapMX e75c0c7f-7643-4d87-9391-0c2360e101a5 [SWAP]

Unfortunately the command line suspend also leads to the same video problem.

Appreciate the help!

Re: display issue after Suspend

Posted: Mon Jun 19, 2023 10:04 am
by Charlie Brown
arp wrote: Mon Jun 19, 2023 9:59 am... Unfortunately the command line suspend also leads to the same video problem...
Ok, at least now we know that it's not a light-locker issue.

Code: Select all

echo RESUME=UUID=e75c0c7f-7643-4d87-9391-0c2360e101a5 | sudo tee /etc/initramfs-tools/conf.d/resume ; sudo update-initramfs -uk all
Reboot.

Though this may/may not solve this issue, no harm.

Re: display issue after Suspend

Posted: Mon Jun 19, 2023 11:21 am
by arp
Dang! I still get the bad screen after suspend... thanks for the suggestions so far...

Re: display issue after Suspend

Posted: Mon Jun 19, 2023 11:23 am
by Charlie Brown
Ok, then , can you still use the terminal and do 1-2 things? Though the screen looks bad...

Code: Select all

inxi -Gaz
when that happens and let's see how it looks at that moment.

Re: display issue after Suspend

Posted: Mon Jun 19, 2023 11:29 am
by CharlesV
This is going to sound really odd, but lower your screen res to something under that 1680 and try the suspend.

If it works ok, then you may have an issue with the driver and refresh rate on that iMac.

Re: display issue after Suspend

Posted: Mon Jun 19, 2023 1:24 pm
by arp
Here's the inix output. just after suspend (screen still bad)

$ inxi -Gaz
Graphics: Device-1: AMD RV610/M74 [Mobility Radeon HD 2400 XT] vendor: Apple driver: radeon
v: kernel bus-ID: 01:00.0 chip-ID: 1002:94c8 class-ID: 0300
Device-2: Apple Built-in iSight type: USB driver: uvcvideo bus-ID: 4-4:2
chip-ID: 05ac:8502 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: loaded: radeon
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1680x1050 s-dpi: 96 s-size: 444x277mm (17.5x10.9")
s-diag: 523mm (20.6")
Monitor-1: LVDS res: 1680x1050 hz: 60 dpi: 99 size: 433x270mm (17.0x10.6")
diag: 510mm (20.1")
OpenGL: renderer: AMD RV610 (DRM 2.50.0 / 5.10.0-23-amd64 LLVM 11.0.1)

Re: display issue after Suspend

Posted: Mon Jun 19, 2023 1:34 pm
by arp
I tried the suggested screen res change but it didn't fix the problem....

Re: display issue after Suspend

Posted: Mon Jun 19, 2023 1:38 pm
by Charlie Brown
This is really weird cause everything looks normal, drivers are ok and the res.. so, we can try just to turn off and on ..

When that happens try (if one doesn't work, go on with the next one):

Code: Select all

xrandr --display :0 --output LVDS --auto

Code: Select all

xrandr --output LVDS --off ; xrandr --output LVDS --auto

Code: Select all

xrandr --output LVDS --off ; sleep 1 ; xrandr --output LVDS --primary --mode 1680x1050 --rate 60