Skip to main content
Speed up encoding by 5-10x using your computer’s graphics card (GPU) instead of just the CPU.
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+
Performance: 5-10x faster

Intel

Quick Sync (QSV)
  • 6th gen (Skylake)+
  • Built into CPU (no separate GPU needed)
  • Arc GPUs support AV1
Performance: 3-8x faster

AMD

VCE/VCN
  • RX 400/500/5000/6000/7000 series
  • Limited support
Performance: 3-6x faster
Quality trade-off: Hardware acceleration encodes slightly faster than CPU at the cost of minor quality reduction. For most content, this is imperceptible. See codec selection for quality comparisons.

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:
Intel iGPU: Built into your CPU. Even if you have a dedicated GPU, Intel Quick Sync can still be used for encoding.

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 docker-compose.yml:
What this does: Gives the BitBonsai backend access to your NVIDIA GPU for hardware encoding.
3

Restart BitBonsai

4

Verify GPU is Accessible

Unraid users: GPU passthrough is automatic if you enable NVIDIA support in Unraid settings.

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

If missing, install Intel drivers:
3

Update docker-compose.yml

Add device passthrough:
What this does: Gives BitBonsai access to Intel Quick Sync for hardware encoding.
4

Restart BitBonsai

Headless servers: If you don’t have a monitor connected, you may need a dummy HDMI plug to keep the iGPU active.

AMD Setup

1

Install ROCm Drivers

2

Update docker-compose.yml

Add device passthrough:
3

Restart BitBonsai

AMD quality: AMD hardware encoders have noticeably lower quality than NVIDIA/Intel. Use only if NVENC/QSV unavailable.

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)
See codec selection for details.
4

Start Encoding

Queue videos and start encoding. You should see:
  • 5-10x faster speeds (NVIDIA)
  • 3-8x faster speeds (Intel)
  • 3-6x faster speeds (AMD)
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)

Best value: NVIDIA RTX 3060 provides excellent quality at 5x CPU speed for ~$300.

4K Movie (2 hours, 50 GB H.264 → HEVC)


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)
Fix:
  1. Check Settings → Encoding → Hardware Acceleration is ON
  2. Verify correct GPU type is selected
  3. 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 p7 instead of p4)
  • For critical content, use CPU encoding instead