Am Mi., 10. Jan. 2024 um 01:28 Uhr schrieb Zack Rusin < [email protected]>:
> On Tue, Jan 9, 2024 at 11:06 AM Xaver Hugl <[email protected]> wrote: > > > > Hi, > > > > KWin does use DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT. > > Can you point me to the code that implements it? Just wanted to take a > quick look, because I didn't see the cursor on KDE 6 after fixing the > kernel oops. > It's here: https://invent.kde.org/plasma/kwin/-/blob/a879c59a082707e0e7dfa8ebeb7b239551ec9c71/src/backends/drm/drm_gpu.cpp#L153 > > Tying the check to > > DRM_CLIENT_CAP_ATOMIC instead would IMO make more sense though (even if > it's > > still weird) and would work with older versions of KWin and other > compositors. > > Unfortunately xf86-video-modesetting advertises CLIENT_CAP_ATOMIC and > uses GL where our GL driver assumes the prime object is not GEM. Not > impossible, as mentioned before, we can always add code to the kernel > that handles both but I don't think there's any particularly clean > solutions here. We'll probably play with a few solutions and see which > one is the cleanest. > > z > Ah, that's unfortunate.
