Closed raiguard closed 2 weeks ago
This is most likely a driver bug, nothing niri can help.
It only occurs on my desktop and only with Niri, but I agree that the root cause is likely in the drivers. I will poke around more and will let you know if I find anything.
I don't think it is a driver bug, I have the same cursor corruption on Nvidia GPU (proprietary driver). Also I can't reproduce on other compositors
Manjaro Nvidia 960 Intel i7-6700k
Does it work fine on cosmic too?
Any updates on this? I've seen some cases of this corrupted cursor myself, sometimes when connecting an external output to a sleeping (powersaving) dGPU in a laptop. But I'm not sure it's something on niri side.
Still happens to me. I didn't see it happening in Cosmic but is hard to reproduce during normal use. I don't use sleep
Steps to reproduce reliably in niri:
Enable warp-mouse-to-focus
Shutdown computer ( logout or reboot is not enough)
After start up don't move the mouse and open firefox with a shortcut
The cursor moves to the window and appears corrupted
Moving the cursor until it changes shape fixes it
Update: I saw the glitch in Cosmic too, maybe it's something in smithay
Well yeah it's probably not a niri issue so I'll close it (feel free to reopen if it does turn out to be a niri issue). I still suspect it's something in the driver.
When I wake my PC from sleep, the cursor is corrupted. It remains this way until the cursor image is changed.
Taking a screenshot was impossible, so here is a photo:
System Information