Can't use laptop screen since latest update (NVIDIA, Prime, dual GPU laptop)

I am on manjaro KDE, Kernel 6.11.0-6-MANJARO #1 SMP PREEMPT_DYNAMIC.

Until yesterday, I had my HP VICTUS 16-s0177ng Laptop set to use the dedicated (nvidia) GPU only. This worked perfectly - I could use the integrated laptop screen as well as my two external monitors (via a usb-c dock). Only gripe was for some reason, probably that the integrated display is connected to the iGPU, I could not use the full 144hz on the integrated display when using wayland. X worked completely.

After updating my system yesterday, which updated the nvidia drivers among other things, the system wouldn’t boot to Plasma anymore, getting stuck at the boot screen and resetting after some time.

I changed the GPU mode to hybrid in the BIOS, which enabled me to boot to desktop again, but this also resulted in the laptop screen going black after showing the boot screen for a short time (backlight stays on though).

(Side note: I had originally set the gpu mode to “dedicated”, because I was unable to install manjaro otherwise, with the same cause of the integrated display staying black)

I can see the laptop screen in the KDE settings and change all kinds of settings, but it stays black.

dmesg shows this a bunch of times:

[   26.427323] amdgpu 0000:05:00.0: [drm] enabling link 0 failed: 15

There also are multiple lengthy dumps in dmesg similar to

WARNING: CPU: 7 PID: 12 at drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:221 dmub_psr_enable+0xfd/0x110 [amdgpu]
...

After searching all kinds of forums, I have changed my kernel parameters to

nvidia_drm.modeset=1 video=1920x1080-32@60 amdgpu.sg_display=0 amdgpu.aspm=0

with all kinds of different combinations of these parameters - nothing seems to do anything. I have also changed my initcpio to load amdgpu earlier, to no avail.

Does anyone have an idea what’s going on here and how I can use my laptop display again? Ideally, I would like to stay in hybrid graphics mode, but if there’s a solution involving setting it to ‘dedicated’ again, I’m also fine with that.

It sorta sounds like your configs are mixed up @LemiSt24 .

If you have the BIOS option to decide on iGPU or dGPU, etc … then that would impact which settings to use for your OS.

If/when the BIOS was set to the dGPU only … you could use the nvidia driver alone.

With the BIOS set in hybrid mode … you would need to use a hybrid mhwd profile.

Given your notes, I might assume video-hybrid-amd-nvidia-prime.

I hadn’t changed anything about the drivers before and Manjaro auto-installed the hybrid driver, that’s what I have been using from the beginning. Even when the laptop was set to prioritize the dedicated gpu, both gpus showed up in my system and while I have never used it intentionally, I am pretty sure the amdgpu driver was loaded and usable. So it might be that the bios setting doesn’t disable the iGPU, just changes the priority order.

1 Like

The “solution” I settled on in this case:
I manually uninstalled the hybrid driver and installed the “pure” nvidia driver, switched the gpu mode to “discrete” in my BIOS and that’s that. So no hybrid graphics for me, but at least I can use all my screens again.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.