You are not logged in.

#1 2024-09-21 01:16:44

bouche_bag
Member
Registered: 2024-07-24
Posts: 4

Laptop Fails to Resume from Suspend

For a few months, my Acer Nitro 5 (AN515-53) laptop has failed to resume from suspend every time while connected to an external monitor. The monitor turns on, but the screen stays black. A manual reset is required.

System Info:
AN515-53
CPU: Intel(R) Core(TM) i5-8300H (8) @ 4.00 GHz
GPU: Intel UHD Graphics 630 [Integrated]
GPU: NVIDIA GeForce GTX 1050 Ti Mobile [Discrete]
RAM: 16GB

KDE Plasma 6
Xorg
optimus-manager with nvidia drivers for graphics switching
systemd-boot
Arch Linux default kernel

I have tried the "Preserve video memory after suspend" services for nvidia, and they haven't made a difference.

Any commands I should run for diagnosing?

Any help the community can offer is greatly appreciated. Thank you!

Offline

#2 2024-09-21 15:23:19

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,286

Re: Laptop Fails to Resume from Suspend

The monitor turns on, but the screen stays black. A manual reset is required.

Did you try to switch the VT (ctrl+alt+F3) or https://wiki.archlinux.org/title/Keyboa … el_(SysRq) ?
Can you ssh into the system?

GPU: NVIDIA GeForce GTX 1050 Ti Mobile [Discrete]

https://bbs.archlinux.org/viewtopic.php … 5#p2187455 ?

Offline

#3 2024-09-21 15:54:38

bouche_bag
Member
Registered: 2024-07-24
Posts: 4

Re: Laptop Fails to Resume from Suspend

seth wrote:

The monitor turns on, but the screen stays black. A manual reset is required.

Did you try to switch the VT (ctrl+alt+F3) or https://wiki.archlinux.org/title/Keyboa … el_(SysRq) ?
Can you ssh into the system?

GPU: NVIDIA GeForce GTX 1050 Ti Mobile [Discrete]

https://bbs.archlinux.org/viewtopic.php … 5#p2187455 ?

Thanks for the response. I have tried to switch the virtual terminal, no luck on that end. I haven't tried SSH yet since it's not enabled, but I'll try that soon.

Edit: I didn't get a chance to try ssh yet, but I did try a few other conditions rather than just lid closed + HDMI out.

Lid Open + HDMI Connected
-On resume, the laptop screen turns on but the monitor turns on and stays black. The laptop screen shows the KDE Plasma desktop from before sleep, but it's frozen and no input changes anything.

Lid Open + HDMI Disconnected
-Resume works as expected.
-If I then connect the HDMI cable (after successfully resuming from sleep) the both displays go black. I can switch TTY and start sddm, but once I login to Plasma it's glitchy and slow with many graphical artifacts and flashing screen elements. Reboot required.

I don't know what's going on here, but this is weird. I'd really rather avoid downgrading my graphics drivers but that might be necessary.

Edit 2: I am able to reboot via SysRq when the screen is black.

Edit 3: I tried the zen kernel (with nvidia-dkms), same issue. I only tried this because I was on the zen kernel a few months ago, around the time this was working.

Last edited by bouche_bag (2024-09-21 19:37:55)

Offline

#4 2024-09-22 13:59:14

bouche_bag
Member
Registered: 2024-07-24
Posts: 4

Re: Laptop Fails to Resume from Suspend

I was able to fix it surprisingly by switching to Wayland. It looks like optimus-manager recently added preliminary support for Wayland.

Offline

#5 2024-09-22 14:08:06

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,286

Re: Laptop Fails to Resume from Suspend

From the symptoms the issue will be around https://wiki.archlinux.org/title/PRIME# … ronization and the 1FPS situation, https://wiki.archlinux.org/title/PRIME#Reverse_PRIME
As for the reverse prime
1. sure?
2. sure??
3. ideally disable the IGP in the UEFI, it'll spare you a lot of headaches and some battery
4. otherwise try to avoid OM and use a manual configuration.

Offline

Board footer

Powered by FluxBB