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

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |UPSTREAM
                 CC|                            |[email protected]

--- Comment #1 from Zamundaaa <[email protected]> ---
This is caused by the kernel driver both turning on the dGPU when its file
descriptor is opened and basic information is queried (which blocks until it's
complete), and for some reason also triggering udev events while doing so. The
former is tracked at https://gitlab.freedesktop.org/drm/amd/-/work_items/2295,
the latter wouldn't be a problem if the former didn't happen.

> KWin should not block its main thread when opening a DRM device. Device 
> probing should either be done off the main thread (with a timeout), or KWin 
> should check power/runtime_status before attempting to open a suspended 
> device and skip it.
Making KWin significantly more complex to work around a kernel bug is something
we avoid whenever at all possible.

> In Hybrid mode, KWin should only composite on the iGPU and avoid probing the 
> dGPU entirely.
That's not how that works. On udev events concerning a GPU, its connectors must
be checked, or you could never hotplug a display.

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

Reply via email to