Created
June 22, 2026 02:29
-
-
Save steelbrain/5455e5b9106bf0f425bed6f2986fc232 to your computer and use it in GitHub Desktop.
Install & use NVK over NVIDIA drivers in cachyos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. Install NVK userspace (Mesa nouveau Vulkan driver, + 32-bit for Steam) | |
| sudo pacman -S --needed vulkan-nouveau lib32-vulkan-nouveau | |
| # 2a. Un-blacklist nouveau by shadowing the proprietary file from /etc | |
| # (/etc/modprobe.d wins over /usr/lib/modprobe.d for the same filename) | |
| sudo tee /etc/modprobe.d/nvidia-utils.conf >/dev/null <<'EOF' | |
| # Shadows /usr/lib/modprobe.d/nvidia-utils.conf to drop "blacklist nouveau". | |
| # Delete this file to restore the proprietary nvidia driver. | |
| EOF | |
| # 2b. Stop the proprietary nvidia modules from binding the GPU | |
| sudo tee /etc/modprobe.d/nvk.conf >/dev/null <<'EOF' | |
| blacklist nvidia | |
| blacklist nvidia_drm | |
| blacklist nvidia_modeset | |
| blacklist nvidia_uvm | |
| EOF | |
| # 3. Rebuild initramfs and reboot into nouveau + NVK | |
| sudo mkinitcpio -P | |
| sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment