I am using Fedora 41 with Nvidia Drivers installed from RPM Fusion using this guide.
Laptop Configuration:
- Lenovo LOQ Gen 9 AMD (15AHP9)
- Ryzen 7 8845HS, RTX 4060
- Has a MUX Switch and also supports Optimus on Windows well.
The system works fine when plugged in. The problem starts as soon as I unplug the laptop. For a few seconds, apps open as intended (although with a slight delay). But after about 5-10 seconds, the system simply refuses to open anything. The terminal freezes and is unable to execute any commands (eg : powertop, nvidia-smi, won’t work and will freeze the current terminal tab in gnome-terminal). System apps refuse to open (System monitor, Settings, etc). The problem also persists with X11. I have also tested Manjaro and it isn’t any different and has the same problem in both Wayland and X11.
These are the logs when the Laptop is plugged in:
nvidia-bug-report.log.gz (1.3 MB)
And these are the logs captured after plugging out the power cable:
nvidia-bug-report.log.gz (1.5 MB)
Also to mention that cat /sys/bus/pci/devices/0000\:01\:00.1/power/control
gives me auto
which I expect to be “on”.
And cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status
gives active
and suspended
somewhat randomly. When on AC, it switches to suspended (and sometimes back to active randomly) but it immediately switches to active as soon as I switch off AC. Post which, for a few seconds, the system is functional. But after 8-10 seconds, things stop working. Even nvidia-bug-report.sh won’t work (the terminal freezes after I execute it).
nvidia-smi
Wed Dec 25 19:06:46 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.77 Driver Version: 565.77 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4060 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 38C P8 1W / 60W | 2MiB / 8188MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
Also, the system is indefinitely stuck at power off and reboot if done through battery mode. Things don’t return to normal anywhere if the AC is plugged back on.