What is GPU acceleration? Using your graphics card to encode videos much faster than CPU-only encoding. See hardware acceleration in the glossary.
Performance boost: A movie that takes 2 hours to encode on CPU finishes in 15-20 minutes with GPU hardware acceleration.
Supported Hardware
NVIDIA
NVENC (Best Quality)
- GTX 1050+
- RTX 20/30/40 series
- Requires NVIDIA drivers 450+
Intel
Quick Sync (QSV)
- 6th gen (Skylake)+
- Built into CPU (no separate GPU needed)
- Arc GPUs support AV1
AMD
VCE/VCN
- RX 400/500/5000/6000/7000 series
- Limited support
Checking Hardware Support
NVIDIA GPUs
Check if your NVIDIA GPU is detected:If
nvidia-smi shows your GPU, you’re ready to enable hardware acceleration.Intel Quick Sync
Check if Intel QSV is available:AMD GPUs
Check if AMD GPU is detected:Docker GPU Passthrough
To use hardware acceleration, you need to give Docker access to your GPU.NVIDIA Setup
1
Install NVIDIA Container Toolkit
2
Update docker-compose.yml
Add GPU passthrough to your What this does: Gives the BitBonsai backend access to your NVIDIA GPU for hardware encoding.
docker-compose.yml:3
Restart BitBonsai
4
Verify GPU is Accessible
Intel Quick Sync Setup
1
Enable iGPU in BIOS
- Enter BIOS/UEFI settings
- Enable Integrated Graphics or iGPU
- Set Primary Display to iGPU (if you have dedicated GPU)
- Save and reboot
Why? Intel Quick Sync requires the iGPU to be enabled even if you have a dedicated GPU.
2
Verify /dev/dri Device
3
Update docker-compose.yml
Add device passthrough:What this does: Gives BitBonsai access to Intel Quick Sync for hardware encoding.
4
Restart BitBonsai
AMD Setup
1
Install ROCm Drivers
2
Update docker-compose.yml
Add device passthrough:
3
Restart BitBonsai
Enable in BitBonsai
After configuring Docker GPU passthrough:1
Open BitBonsai Settings
Navigate to Settings → Encoding in the web UI
2
Enable Hardware Acceleration
- Toggle Hardware Acceleration: ON
- Select your GPU type:
- NVIDIA → NVENC
- Intel → QSV (Quick Sync)
- AMD → VCE/VCN
3
Select Codec
- HEVC (H.265): Supported by all GPUs
- AV1: Only Intel Arc GPUs (A380/A750/A770)
Verify it’s working: Check the Encoding tab → active jobs should show 40-100 FPS (vs 5-15 FPS CPU-only).
Performance Comparison
1080p Movie (2 hours, 10 GB H.264 → HEVC)
| Hardware | Speed | Time | Quality |
|---|---|---|---|
| Intel i5-12400 (CPU) | 15 FPS | 75 min | Excellent |
| NVIDIA RTX 3060 (GPU) | 80 FPS | 15 min | Near-identical |
| Intel i5-12400 (QSV) | 45 FPS | 25 min | Very good |
| AMD RX 6600 XT (VCE) | 35 FPS | 35 min | Good |
Best value: NVIDIA RTX 3060 provides excellent quality at 5x CPU speed for ~$300.
4K Movie (2 hours, 50 GB H.264 → HEVC)
| Hardware | Speed | Time | Quality |
|---|---|---|---|
| Intel i9-13900K (CPU) | 5 FPS | 5 hours | Excellent |
| NVIDIA RTX 4090 (GPU) | 60 FPS | 40 min | Near-identical |
| Intel i9-13900K (QSV) | 15 FPS | 2 hours | Very good |
Troubleshooting
GPU Not Detected in Container
Symptom: BitBonsai shows “No GPU detected” in settings Fix:Encoding Still Slow After Enabling GPU
Possible causes:- Hardware acceleration not enabled in Settings → Encoding
- Wrong GPU type selected (e.g., selected NVENC but have Intel QSV)
- GPU is being used by another process (gaming, video editing)
- Check Settings → Encoding → Hardware Acceleration is ON
- Verify correct GPU type is selected
- Close other GPU-intensive applications
Poor Quality with Hardware Encoding
Symptom: Encoded videos have visible compression artifacts Fix:- Lower CRF value (Settings → Encoding → Quality)
- Try CRF 18-20 instead of default 23
- Switch to slower preset (NVIDIA: use
p7instead ofp4) - For critical content, use CPU encoding instead
Related Guides
- Codec Selection - HEVC vs AV1 quality comparison
- Multi-Node Setup - Add more worker nodes with GPUs
- Monitoring - Track GPU encoding performance
- Troubleshooting - Fix GPU passthrough issues