CachyOS CHWD GPU Migration - ryzendew/Linux-Tips-and-Tricks GitHub Wiki
CachyOS CHWD GPU Migration Guide
Complete beginner-friendly guide to using CHWD (CachyOS Hardware Detection) for GPU migration and driver management.
Table of Contents
- Understanding CHWD
- GPU Migration Basics
- Using CHWD for GPU Migration
- Driver Management
- Troubleshooting
Understanding CHWD
What is CHWD?
CHWD (CachyOS Hardware Detection) is a tool for hardware detection and driver management.
What it does:
- Detects hardware: Identifies graphics cards
- Installs drivers: Automatically installs correct drivers
- GPU migration: Switches between GPUs
- Driver management: Manages graphics drivers
See CachyOS Tools Guide for basic CHWD usage.
GPU Migration Basics
What is GPU Migration?
GPU migration switches between different graphics cards.
When needed:
- Dual GPU systems: Switch between integrated and dedicated
- Driver changes: Switch between driver versions
- Testing: Test different GPU configurations
GPU Types
Integrated GPU:
- Built into CPU
- Lower performance
- Power efficient
Dedicated GPU:
- Separate graphics card
- Higher performance
- More power consumption
Using CHWD for GPU Migration
Detecting GPUs
Detect hardware:
sudo chwd -h
What this does:
- Scans system for hardware
- Identifies graphics cards
- Shows detected GPUs
GPU Migration
Migrate to NVIDIA:
sudo chwd -h -a nvidia
What this does:
- Detects hardware
- Installs NVIDIA drivers
- Configures NVIDIA GPU
Migrate to AMD:
sudo chwd -h -a amd
What this does:
- Detects hardware
- Installs AMD drivers
- Configures AMD GPU
Migrate to Intel:
sudo chwd -h -a intel
What this does:
- Detects hardware
- Installs Intel drivers
- Configures Intel GPU
After Migration
Reboot required:
sudo reboot
What this does:
- Reboots system
- Loads new drivers
- Activates new GPU
Verify migration:
# For NVIDIA
nvidia-smi
# For Intel/AMD
glxinfo | grep "OpenGL renderer"
Driver Management
Removing Drivers
Remove NVIDIA drivers:
sudo chwd -h -r nvidia
What this does:
- Removes NVIDIA drivers
- Cleans up driver files
- Prepares for migration
Remove AMD drivers:
sudo chwd -h -r amd
What this does:
- Removes AMD drivers
- Cleans up driver files
- Prepares for migration
Driver Information
List installed drivers:
chwd -l
What this does:
- Lists installed drivers
- Shows driver information
- Helps identify current setup
Troubleshooting
Migration Failed
Check hardware:
lspci | grep -i vga
What this does:
- Lists graphics cards
- Verifies GPU detection
- Helps identify issues
Check drivers:
pacman -Q | grep -i nvidia
pacman -Q | grep -i mesa
What this does:
- Lists installed drivers
- Verifies driver installation
- Helps troubleshoot
GPU Not Detected
Rescan hardware:
sudo chwd -h
What this does:
- Rescans for hardware
- Updates hardware database
- May detect previously missed GPUs
Manual driver installation:
# For NVIDIA
sudo pacman -S nvidia nvidia-utils
# For AMD
sudo pacman -S mesa vulkan-radeon
What this does:
- Manually installs drivers
- Bypasses CHWD if needed
- Alternative installation method
Additional Resources
- CachyOS Tools Guide - CHWD overview
- CachyOS Dual GPU Setup - Dual GPU configuration
- CachyOS Post-Installation - Driver installation
Summary
This guide covered:
- Understanding CHWD - What CHWD is and what it does
- GPU migration basics - What GPU migration is
- Using CHWD - How to migrate between GPUs
- Driver management - Managing graphics drivers
- Troubleshooting - Common issues and solutions
Key Takeaways:
- CHWD simplifies GPU migration
- Use
-aflag to add/migrate to GPU - Use
-rflag to remove drivers - Reboot after migration
- Verify migration with GPU tools
- Check hardware detection if issues occur
This guide is based on the CachyOS Wiki and expanded with detailed explanations for beginners. For the most up-to-date information, always refer to the official CachyOS documentation.