GPU - Bazzite GPU Configuration¶
Overview¶
Bazzite supports NVIDIA, AMD, and Intel GPUs. This skill covers NVIDIA driver configuration, Optimus laptops, GPU switching, and related drivers.
Quick Reference¶
| Command | Description |
|---|---|
ujust config-nvidia | Configure NVIDIA drivers |
ujust nvidia | Alias for configure-nvidia |
ujust toggle-nvk | Switch between NVIDIA/NVK images |
ujust config-nvidia-optimus | Configure Optimus power management |
ujust config-broadcom-wl | Enable/disable Broadcom WiFi driver |
ujust enable-supergfxctl | Enable GPU switcher for hybrid laptops |
ujust _mesa-git | Mesa testing builds |
NVIDIA Configuration¶
Configure NVIDIA¶
Options: - kargs - Set kernel arguments - test-cuda - Test CUDA functionality - firefox-vaapi - Enable Firefox hardware acceleration
Kernel Arguments¶
Sets recommended kernel parameters for NVIDIA: - nvidia_drm.modeset=1 - nvidia_drm.fbdev=1
Test CUDA¶
Runs CUDA sample to verify GPU compute.
Firefox VA-API¶
Enables hardware video acceleration in Firefox.
NVK (Open-Source)¶
Toggle NVK¶
NVK: - Mesa's open-source Vulkan driver for NVIDIA - Requires newer GPUs (Turing+) - Part of nvidia-open images
NVIDIA: - Proprietary drivers - CUDA support - Better compatibility for older GPUs
Reboot required after switching.
Optimus Laptops¶
Configure Optimus¶
Options: - power-management - Power state management
Enable GPU Switcher¶
supergfxctl allows: - Switching between iGPU and dGPU - Power management modes - Profile selection
Modes: - Integrated - Intel/AMD iGPU only (power saving) - Hybrid - Both GPUs, NVIDIA on-demand - Dedicated - NVIDIA only (performance)
Broadcom WiFi¶
Configure Broadcom¶
Required for certain Broadcom wireless chips that don't work with open-source drivers.
Options: - enable - Enable Broadcom WL driver - disable - Disable and use open-source
Mesa Testing¶
Mesa Git Builds¶
Options: - Download latest Mesa Git - Install for testing - Cleanup old builds
Warning: For testing only. May cause instability.
Common Workflows¶
Fresh NVIDIA Setup¶
# Configure kernel args
ujust config-nvidia kargs
# Reboot
systemctl reboot
# Test CUDA
ujust config-nvidia test-cuda
# Enable Firefox HW accel
ujust config-nvidia firefox-vaapi
Laptop Power Saving¶
# Enable GPU switcher
ujust enable-supergfxctl
# Use supergfxctl to select mode
supergfxctl -m integrated
Try NVK Driver¶
Verification¶
Check NVIDIA Driver¶
Check GPU in Use¶
Check Power Mode¶
# With supergfxctl
supergfxctl -g
# NVIDIA power state
cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status
Troubleshooting¶
NVIDIA Driver Not Loading¶
Check secure boot:
Check kernel args:
Reinstall:
Black Screen After NVK Switch¶
Boot to previous deployment: 1. At GRUB, select previous boot entry 2. Once booted:
Optimus Not Switching¶
Check supergfxctl:
Manual switch:
CUDA Not Working¶
Check installation:
Reinstall CUDA toolkit if needed.
Cross-References¶
- bazzite:boot - Secure boot key enrollment
- bazzite:gaming - Gaming performance
- bazzite-ai:configure - GPU containers
When to Use This Skill
Use when the user asks about: - "NVIDIA driver", "configure nvidia", "nvidia setup" - "NVK", "nouveau", "open source nvidia" - "Optimus", "laptop GPU", "hybrid graphics" - "GPU switching", "supergfxctl", "dedicated GPU" - "Broadcom WiFi", "wireless driver" - "CUDA not working", "nvidia-smi", "GPU compute" - "Firefox video", "hardware acceleration", "VA-API"