You are not logged in.

#1 Yesterday 14:54:44

NewsTT
Member
Registered: 2025-11-18
Posts: 1

I can't get Hybrid gpu with kde on arch to work consistently

so, I have a laptop with an AMD gpu and a dedicated Nvidia gpu. when I press shutdown in kde plasma, it shuts down with no errors, when I boot, it recognizes the nvidia-gpu, and nvidia-smi works just fine, no errors, but I get to a black screen and the login menu doesn't show up (I'm using sddm). alternatively, I can do sudo reboot, which actually gets to the login menu and I can get kde running, but now when I run nvidia-smi I get:
    NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
when I get the above error and run neofetch, it doesn't even detect the nvidia-gpu
sometimes I get:
   no devices were found

the strange thing is if I keep rebooting and doing force shutdowns, sometimes both the dedicated gpu and kde work, and as long as I don't shutdown the laptop, they keep working, and I can use prime-run and run games just fine.
another thing is that, when I shutdown, 2 things can happen, either I get a "watchdog0 did not stop error", and when that happens the next time I power on the laptop, I get the nvidia gpu problem, if I don't get that error, it means I'm either gonna get stuck at the black screen (but the gpu works), or sometimes both work fine.

I changed my bootloader to grub and set :
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nowatchdog nvidia-drm.modeset=1"
hoping that will fix the issue it didn't.
Linux version 6.17.9-arch1-1, I have both Wayland and X11 installed.
EDIT: I have Rox Strix laptop, and apparently there is a package supergfxctl for asus laptops, that can handle gpu switching, so I installed it. next time I rebooted I got stuck at the black screen, so I did "supergfxctl --mode Integrated", which caused the login screen to appear, then I did "supergfxctl --mode Hybrid", then logged in, and it got fixed. but I don't want to do this every time I boot.

Last edited by NewsTT (Today 00:55:59)

Offline

Board footer

Powered by FluxBB