https://bugs.kde.org/show_bug.cgi?id=521914
--- Comment #8 from Pranay Pawar <[email protected]> --- (In reply to Pranay Pawar from comment #7) > (In reply to Zamundaaa from comment #3) > > > Would it be possible to add a way to completely hide a GPU from KWin like > > > we could before? > > I'd much rather not. What problems is this actually causing for you? > > Two things mainly: > > 1. The dGPU wakes up at every login — fans spin up briefly and it draws > extra power on battery before going back to sleep. Even if it's short, it > didn't happen before 6.7 and feels like a regression on laptops. > > 2. Before 6.7, setting KWIN_DRM_DEVICES meant KWin would completely stay > away from the dGPU. That was the expected behavior. Now that contract is > broken — KWIN_DRM_DEVICES no longer fully isolates the dGPU from KWin, which > is surprising for users who had this working fine for a long time. Also I found a workaround by setting __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json in .config/systemd/user/plasma-kwin_wayland.service.d/override.conf specifically for the kwin_wayland process (via a systemd service override). This prevents the NVIDIA EGL ICD from loading and kwin_wayland no longer shows up in nvidia-smi at all. But this is a workaround I didn't need prior to 6.7 — KWIN_DRM_DEVICES="/dev/dri/card1" in .config/environment.d/kwin.conf alone was sufficient to keep KWin from touching the dGPU in any way. -- You are receiving this mail because: You are watching all bug changes.
