Hi there, the machine is Lenovo Legion Pro 5 with Ryzen 9 7945HX and NVIDIA RTX 4060, this problem is occurring since the beginning (doesn’t matter if it is X11 or Wayland, or the driver version - 550, 560, 565, 570). (disregard the popOS screenshot, the problem is the same, I checked yesterday)
The problem is that the laptop can’t go to sleep, the monitor signal wakes it up
I tried with the built in HDMI port, as well as a type c to DP adapter.
Running the latest NVIDIA 570 drivers.
Sorry for the late reply, I didn’t have much time these weeks I bought a USB C to DisplayPort adapter, since on HDMI the system hanged when I run the acpi_listen and sleep the laptop With the adapter I managed to see what was causing the issue ...
I posted the issue quite some time ago in the NVIDIA forum as well, but no solution was provided.
How can I solve this problem?
@aleksandarbayrev Is this dual graphics, AMD/Nvidia? Please show inxi -GSaz
hi @malcolmlewis
yes it is, but the laptop has a MUX switch, so I have disabled the integrated GPU
System:
Kernel: 6.13.1-1-default arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: hpet avail: acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.13.1-1-default
root=UUID=6ab20148-c2ac-4aac-98f8-3a8b2bf48ce5 splash=silent quiet
security=apparmor rd.driver.blacklist=nouveau amd_pstate=passive
mitigations=auto
Desktop: KDE Plasma v: 6.2.5 tk: Qt v: N/A info: frameworks v: 6.10.0
wm: kwin_wayland with: krunner tools: avail: xscreensaver vt: 3 dm: SDDM
Distro: openSUSE Tumbleweed 20250209
Graphics:
Device-1: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: Lenovo
driver: nvidia v: 570.86.16 alternate: nouveau,nvidia_drm
non-free: 550/565.xx+ status: current (as of 2025-01) arch: Lovelace
code: AD1xx process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4
speed: 16 GT/s lanes: 8 ports: active: none off: eDP-1
empty: DP-1,DP-2,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:28e0
class-ID: 0300
Device-2: Luxvisions Innotech Integrated Camera driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2.4:3
chip-ID: 30c9:00ac class-ID: fe01 serial: <filter>
Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.5
compositor: kwin_wayland driver: X: loaded: nvidia
unloaded: modesetting,vesa alternate: fbdev,nouveau,nv
gpu: nvidia,nvidia-nvswitch display-ID: 0
Monitor-1: eDP-1 model: California Institute of 0x161B/0x00006000
serial: <filter> built: 2022 res: mode: 2560x1600 hz: 240 scale: 125% (1.25)
to: 2048x1280 dpi: 189 gamma: 1.2 size: 344x215mm (13.54x8.46")
diag: 406mm (16") ratio: 16:10 modes: 2560x1600
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia gbm:
drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: nvidia
API: OpenGL v: 4.6.0 vendor: nvidia v: 570.86.16 glx-v: 1.4
direct-render: yes renderer: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2
memory: 7.81 GiB display-ID: :1.0
API: Vulkan v: 1.4.304 layers: 2 device: 0 type: discrete-gpu name: NVIDIA
GeForce RTX 4060 Laptop GPU driver: N/A device-ID: 10de:28e0
surfaces: xcb,xlib,wayland
Info: Tools: api: eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
wl: wayland-info x11: xdpyinfo, xprop, xrandr
@aleksandarbayrev Can you add fbdev=1 nvidia_drm.modeset=1
to the GRUB kernel options via YaST Bootloader, reboot and see if that helps.
the options are already set
@aleksandarbayrev well I wonder if deep down it still sees the AMD gpu, know issue with those and one has to add amdgpu.dc=0
for the monitor(s) to sleep.
Ever thought about using the AMD GPU and use the nvidia with Prime Render Offload instead?
I tried to enable the AMD GPU as well and the problem is the same there, will try with this parameter now.
And by the way the external monitors connectivity (doesn’t matter if it is HDMI or USB) - they are hooked to the NVIDIA GPU
amdgpu
module is not loaded at all on my system when the iGPU is disabled, so that is not the culprit for sure
@aleksandarbayrev can you show the output from /sbin/lspci -nnk | grep -EA3 "VGA|Display|3D"
@aleksandarbayrev not really sure then, since it’s been an outstanding issue, the only solution to try is activating the amdgpu and try Prime Render Offload. When amdgpu is present add the boot option…
nope, I guess it is strictly related to NVIDIA for some reason, even made a check with Gemini for this
@aleksandarbayrev OK, hopefully some other AI can advise. Plus I don’t run Plasma…
I’ve reported the issue to NVIDIA Open Kernel module issue page in github
opened 09:02PM - 12 Feb 25 UTC
bug
### NVIDIA Open GPU Kernel Modules Version
570.86.16
### Please confirm this i… ssue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
- [ ] I confirm that this does not happen with the proprietary driver package.
### Operating System and Version
openSUSE Tumbleweed
### Kernel Release
6.13.1
### Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- [x] I am running on a stable kernel release.
### Hardware: GPU
NVIDIA RTX 4060 Laptop
### Describe the bug

Hi there, the issue I'm facing is since the beginning of the ownership of my laptop.
Ryzen 9 7945HX + RTX 4060, Lenovo Legion Pro 5
The problem is that when I try to sleep with a plugged in external monitor (doesn't matter if it is the built-in HDMI or Type-C to DisplayPort adapter), the monitor signal itself wakes up the laptop again, other devices power off for a brief second (tested with mouse, external SSD) but after a second the machine wakes up.
These are the options
`options nvidia_drm modeset=1
options nvidia_drm fbdev=1
options nvidia NVreg_EnableGpuFirmware=1
options nvidia NVreg_PreserveVideoMemoryAllocation=1
options nvidia NVreg_TemporaryFilePath=/tmp/nvidia
options nvidia NVreg_DynamicPowerManagement=0x02
options nvidia NVreg_DynamicPowerManagementVideoMemoryThreshold=0
`
### To Reproduce
Plug in a monitor into the HDMI or Type-C to DisplayPort adapter and try to put the machine to sleep
### Bug Incidence
Always
### nvidia-bug-report.log.gz
[nvidia-bug-report.log.gz](https://github.com/user-attachments/files/18773949/nvidia-bug-report.log.gz)
### More Info
_No response_
Pasting it here for reference if the issue is solved sometime in the future
system
Closed
March 14, 2025, 9:03pm
16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.