Replies: 2 comments
-
|
Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Does Hyprland run smoothly with NVK drivers sir? Because I'm having problems with it and my monitors at this moment, so I'm looking for anything that could help… |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I've been using Hyprland+NVIDIA for over 6 months now, and ever since the shiny new Vulkan drivers came out I've been wanting to use them instead of my proprietary drivers (I don't really use my GPU intensely so it's okay for me) - but I've noticed that even while all the other DEs and WMs look smooth with NVK - Hyprland still suffered from stutters and lags, and I finally figured out why:
First - Install NVK Drivers (Duh)
I know the drivers are in the Linux kernel, but personally I like having the latest (-git) version for best performance.
On Arch you can install them with:
yay -S vulkan-nouveau-git lib32-vulkan-nouveau-gitSecond - Change the Mkinitcpio config file (/etc/mkinitcpio.conf)
Remember those modules we had to put there for the proprietary drivers (nvidia nvidia_uvm.. etc)? Well, it's time to replace them with a module called
nouveau- so like this:MODULES=(nouveau)Then execute mkinitcpio for your Kernels of choice (linux, linux-lts..):
sudo mkinitcpio -P linux(IMPORTANT) Third - Change Hyprland's environment variables
This is the step that removed my stutters for Hyprland
Remember, you're not a proprietary driver user now, you're using Vulkan - so comment out the lines you used for the proprietary drivers:
Fourth (prob optional) - Change GRUB's config
remove the
nvidia-drm.modeset=1part, then executesudo grub-mkconfig -o /boot/grub/grub.cfgFinally - Restart your computer, and enjoy the NVK drivers :)
Beta Was this translation helpful? Give feedback.
All reactions