https://bugs.kde.org/show_bug.cgi?id=519461

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/f8f5bec7b0 |ma/kwin/-/commit/f47bc9b29c
                   |adcf37bf069b61cd8d992ac830b |ad6d6e6df66b196883ea4b22f2e
                   |2bd                         |dec

--- Comment #17 from Zamundaaa <[email protected]> ---
Git commit f47bc9b29cad6d6e6df66b196883ea4b22f2edec by Xaver Hugl.
Committed on 28/07/2026 at 14:30.
Pushed by zamundaaa into branch 'Plasma/6.7'.

backends/drm: don't remove GPUs without outputs

Non-primary GPUs without outputs were removed previously because:
- it was required for allowing GPUs to fully power down
- being able to unload the driver for VFIO requires file descriptors of the
  device to be closed

However, this was 5 years ago, and GPU power management has gotten less
terrible
since then. Vulkan drivers also open file descriptors of all GPUs, so drivers
must handle this situation properly either way.

For VFIO, udev "remove" events can be used to make KWin remove the GPU, which
is
a better solution, since it works even while displays are connected to it.

This also fixes KWin waking up GPUs when it receives udev events for a GPU
that's in powersave mode, which could (besides the power management impact)
also block KWin's main thread for some time.
(cherry picked from commit f8f5bec7b0adcf37bf069b61cd8d992ac830b2bd)

M  +1    -4    src/backends/drm/drm_backend.cpp

https://invent.kde.org/plasma/kwin/-/commit/f47bc9b29cad6d6e6df66b196883ea4b22f2edec

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to