niri
niri copied to clipboard
Going between direct scanout and compositing causes a several second freeze
Sometimes a fullscreened window causes lag when switching to another window, it freezes for about 5 seconds and then everything is back to normal, and also the other way around, when switching from another window to the fullscreened window.
The video isn't lagging, that's what I see on my monitor. I move the cursor in circles so it's easier to show how it freezes and unfreezes. Also the audio doesn't have any issues, so I guess it is only niri freezing.
https://github.com/YaLTeR/niri/assets/104018233/8cf67b1e-367d-46a0-9b0d-e4a6a13b9519
System Information
- niri version: niri 0.1.5 (https://github.com/YaLTeR/niri/commit/fd6c8c7790ae4e7dca1f242263f41411a1bab96e)
- GPU: AMD RX 6800
- CPU: AMD Ryzen 7 3800X