qtile: Nvidia drivers cause lag / slowdown when resizing or dragging windows
The issue:
I am using EndeavourOS’s community Qtile config and have only changed some keybindings currently, but I had the same issue on Fedora with another config, so I am pretty sure this is an issue with either Qtile or the nvidia drivers / how I installed the drivers.
Qtile version: 0.22.1
So far I tried installing the nvidia drivers in two different ways:
pacman -S nvidia nvidia-utils nvidia-settings xorg-server-devel opencl-nvidia
- From Lutris recommendation for Arch:
sudo pacman -S --needed nvidia-dkms nvidia-utils lib32-nvidia-utils nvidia-settings vulkan-icd-loader lib32-vulkan-icd-loader
The issue is highly pronounced when for example watching a video on the second monitor (with mpv) or having discord open. Disabling hardware acceleration on discord removes the issue with discord.
Video example with nvidia drivers: https://youtu.be/4nPN730OHIg
Example with nouveau drivers: https://youtu.be/eGI8tQhGBDQ
I would be fine with using nouveau drivers except that high refresh rate does not seem to be working as smoothly.
Required:
- I have searched past issues to see if this bug has already been reported.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 2
- Comments: 28 (13 by maintainers)
Sorry for the radio silence…
I am happy to merge #4141 so that at least a large part of your issues are fixed. I have not yet managed to fix the remaining issue you’re having with the ‘stutter’.
I still need some confirmation from users that #4141 is a good way to fix it though…
@Dolvur No, I don’t have any issues dragging the window between monitors. But both of my monitors are 60HZ, maybe that’s the reason
That tiling breakage should be fixed with #4164
You would add
x11_drag_polling_rate = 60
to your qtile config file, not the xorg config.You can try to disable picom if it’s enabled and/or disable composition pipeline in nvidia-settings