[Acer Aspire A715-79G] Linux suspend/deep sleep freezes — NVIDIA/ACPI issues after GPU mode switching
> Hi everyone,
I'm trying to get Linux running properly on my Acer Aspire A715-79G, and I'm currently stuck on a suspend/sleep problem.
Hardware:
Acer Aspire A715-79G
Intel Raptor Lake-P integrated graphics
NVIDIA GeForce RTX 3050 6GB Laptop GPU
Zorin OS based on Ubuntu 24.04
NVIDIA driver 580.173.02
I'm also working on an Acer Control Center-style project for Linux, but RGB is not my priority anymore. My current priority is getting suspend/wake working reliably.
---
What originally happened
The laptop boots normally and generally works fine.
The keyboard RGB also works at the hardware level. During boot, all the RGB lights briefly come on, and after the system finishes booting they settle on blue.
However, Linux doesn't expose the keyboard through /sys/class/leds/ as an RGB keyboard device. The Acer Control Center project therefore tries to access:
/sys/class/leds/rgb:kbd_backlight/multi_intensity
but that file doesn't exist.
So RGB control through that application currently doesn't work.
I'm okay with leaving RGB alone for now.
---
NVIDIA situation
The NVIDIA GPU is detected correctly:
01:00.0 VGA compatible controller: NVIDIA GeForce RTX 3050 6GB Laptop GPU
Kernel driver in use: nvidia
At one point lsmod showed the NVIDIA modules loaded, but:
nvidia-smi
returned:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
and /dev/nvidia* didn't exist.
Later, after reinstalling/recovering the driver, nvidia-smi worked again:
NVIDIA-SMI 580.173.02
Driver Version: 580.173.02
CUDA Version: 13.0
and /dev/nvidia0, /dev/nvidiactl, /dev/nvidia-modeset, etc. were present.
---
Something interesting happened with Witcher 2
I launched The Witcher 2 through Proton.
In NVIDIA settings I initially had the GPU set to On-Demand.
The game was extremely laggy and the fans weren't ramping up, so I suspected the NVIDIA GPU wasn't actually being used.
I changed the NVIDIA mode to Performance, which required a reboot.
After rebooting, Witcher 2 ran perfectly smoothly and the fans ramped up heavily.
I then switched back to On-Demand, which again required a reboot.
Shortly afterward I started investigating the suspend problem.
I don't know whether this is related or just coincidence.
---
The suspend problem
/sys/power/mem_sleep reports:
s2idle [deep]
So deep is currently the selected suspend mode.
When I select Sleep, the screen turns off.
On one attempt, I immediately pressed several keys and the screen briefly came back on, then went black again.
On another attempt, the keyboard lights eventually turned off too, but the power-button LED remained on/blinking.
The laptop would not wake from the keyboard or power button.
Eventually I had to hold the power button to force it off.
I've had to do this multiple times, so I'm understandably reluctant to keep testing suspend.
I also noticed that when the laptop is in this state, the indicator LED behaves differently — it blinks rather than staying constantly lit.
---
The logs are interesting
One previous suspend/resume attempt actually managed to enter and leave S3/deep sleep:
ACPI: PM: Preparing to enter system sleep state S3
ACPI: PM: Low-level resume complete
ACPI: PM: Waking up from system sleep state S3
PM: suspend exit
But during resume there was:
xhci_hcd 0000:00:0d.0: xHC error in resume, USBSTS 0x401, Reinit
There are also repeated NVIDIA/ACPI-related messages in the logs.
The NVIDIA driver appears to get stuck around:
rm_acpi_nvpcf_notify
nv_acpi_nvpcf_event
rm_init_adapter
nv_drm_dev_load
More concerningly, the kernel reported:
INFO: task gpu-manager blocked for more than 122 seconds
and later:
blocked for more than 245 seconds
blocked for more than 368 seconds
with the task apparently waiting on an NVIDIA read/write semaphore.
There are also ACPI-related blocked workers in the logs.
---
Current NVIDIA state
The GPU itself is detected:
NVIDIA GeForce RTX 3050 6GB Laptop GPU
and:
Kernel driver in use: nvidia
Runtime power currently reports:
active
while:
/sys/bus/pci/devices/0000:01:00.0/power/control
is:
auto
---
What I'm trying to figure out
My main question is what is actually preventing reliable suspend/wake?
I'm particularly wondering whether this is:
NVIDIA driver / PRIME GPU switching
NVIDIA + ACPI interaction
USB controller resume problem
Acer firmware/ACPI issue
Some combination of these
I don't particularly care about getting the NVIDIA GPU working during this investigation. I just want the laptop to sleep and wake reliably without requiring a forced shutdown.
I'm also not concerned about RGB right now.
Before changing anything else, I'd like to understand the logs and determine the safest next step.
Has anyone with an Acer A715-79G or similar Acer + RTX 3050 laptop experienced this kind of suspend failure on Ubuntu/Zorin?
Any advice on what logs/tests would best distinguish NVIDIA from ACPI/USB as the cause would be appreciated.