





















Hello everyone,
I am running a fully up-to-date, vanilla Arch Linux system on an ASUS Optimus laptop (Intel i7-13650HX & NVIDIA RTX 4060). I am using KDE Plasma 6 (Wayland) inside a systemd-boot environment with Unified Kernel Images (UKI). (ASUS ROG Strix G16 G614JV (2023))
The issue: At boot, the NVIDIA dGPU always gets assigned to `card0`, while the Intel iGPU gets assigned to `card1`. Because of this hardware/driver initialization order, `kwin_wayland` automatically hooks into the NVIDIA card (occupying ~7MiB of VRAM and keeping the dGPU awake at 1W-4W during idle desktop usage).
What I have tried:
1. I checked my kernel command line; I do not have `nvidia_drm.fbdev=1` active anymore (it was removed from the UKI profile).
2. I tried rearranging the `MODULES=(...)` array inside `/etc/mkinitcpio.conf` to force load `i915` and `xe` before `nvidia`, but the dGPU still wins the race and becomes `card0`.
3. Trying to force KWin via `KWIN_DRM_DEVICES` to use `card1` causes the Plasma session to crash into a Core Dump during login.
It seems like the UEFI/BIOS initializes the PCIe lanes for the dGPU slightly faster than the iGPU, forcing the kernel to register NVIDIA first. Is there a reliable way to solve this layout issue under Wayland without breaking the session?
Here are my system logs:
- DRI by-path output: https://paste.rs/eBIJ9
- bootctl list output: https://paste.rs/TTTUf
- nvidia-smi output: https://paste.rs/GdngY
- Full journalctl -b 0: https://paste.rs/0xu9a
Thank you in advance for your time and help!
Last edited by ifazral (Today 14:57:01)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。