Switching Between NVIDIA and AMD GPUs
Prerequisites
Section titled “Prerequisites”- Your replacement GPU is properly installed and connected.
- Ensure your system is fully up to date
Terminal window sudo pacman -Syu
Migration Steps
Section titled “Migration Steps”While the AMD drivers are included in the Linux Kernel, you may need to clean up the old NVIDIA configuration and ensure that the necessary AMD packages are installed.
- Check which NVIDIA driver profile is currently installed:
Terminal window sudo chwd --list-installed - Remove the specific profile using the
-rflag:Terminal window sudo chwd -r <profile-name> - Shutdown your system and proceed to install your AMD GPU.
- After booting. Use chwd to automatically detect your GPU and install the correct AMD packages.
Terminal window sudo chwd -a - After installing the new drivers, update your initramfs and bootloader configuration
CachyOS includes a pacman hook that automatically rebuilds initramfs when drivers are added or removed. This ensures the correct drivers are loaded at boot.
- GRUB:
sudo grub-mkconfig -o /boot/grub/grub.cfg - systemd-boot:
sudo sdboot-manage gen - Limine:
sudo limine-mkinitcpio
- GRUB:
- Reboot to apply changes.
Terminal window sudo reboot - After rebooting, verify that the AMD drivers are active.
or
Terminal window vulkaninfo | grep "deviceName"If you see your AMD GPU listed, the drivers are working correctly.Terminal window glxinfo | grep "OpenGL renderer"
- Clean the remaining AMD packages.
Terminal window sudo chwd -r amd - Shutdown your system and proceed to install your NVIDIA GPU.
- After booting. Use chwd to automatically detect your GPU and install the correct NVIDIA packages.
Terminal window sudo chwd -a - After installing the new drivers, update your initramfs and bootloader configuration
CachyOS includes a pacman hook that automatically rebuilds initramfs when drivers are added or removed. This ensures the correct drivers are loaded at boot.
- GRUB:
sudo grub-mkconfig -o /boot/grub/grub.cfg - systemd-boot:
sudo sdboot-manage gen - Limine:
sudo limine-mkinitcpio
- GRUB:
- Reboot to apply changes.
Terminal window sudo reboot - After rebooting, verify that the NVIDIA drivers are active.
or
Terminal window nvidia-smiIf you see your NVIDIA GPU listed, the drivers are working correctly.Terminal window glxinfo | grep "OpenGL renderer"