OBS Studio (Flatpak) uses the host NVIDIA driver for hardware encoding. No container GPU passthrough needed.
- NVIDIA driver installed:
nvidia-smishould show your GPU - OBS installed:
flatpak install flathub com.obsproject.Studio
nvidia-smi
# Should show driver version 535+ for modern NVENC supportflatpak run com.obsproject.Studio- Go to Settings → Output
- Click Streaming tab
- Under Encoder, you should see:
NVIDIA NVENC H.264(new)NVIDIA NVENC H.264 (FFmpeg)(older but works)
If not present, check troubleshooting below.
- Add a source (e.g., Display Capture)
- Click Start Recording
- Record for 10 seconds
- Check file: should be small (hardware encoding is efficient)
- In OBS Stats, CPU usage should be low (~5-10% vs 50%+ for x264)
Possible causes:
- Driver too old: Update via
sudo zypper up nvidia-* - Flatpak permissions: Check if Flatpak can access GPU
flatpak override --user --device=all com.obsproject.Studio
- Wayland quirks: Try running OBS on Xorg session instead (logout → select Xorg at login)
Fix: Restart OBS after updating driver:
flatpak kill com.obsproject.Studio
flatpak run com.obsproject.Studio# View logs
flatpak run com.obsproject.Studio --verbose
# Or check saved logs
~/.var/app/com.obsproject.Studio/config/obs-studio/logs/For streaming/recording:
- Encoder: NVIDIA NVENC H.264
- Rate Control: CBR (constant bitrate)
- Bitrate: 6000 Kbps for 1080p60 (adjust based on internet)
- Preset: Quality (slower = better quality, but NVENC is fast anyway)
- Profile: high
- GPU: 0 (auto-selects your GPU)
- NVENC offloads encoding to GPU → CPU stays free for other tasks
- Latency is lower than x264 CPU encoding
- Quality is comparable to x264 "veryfast" preset
- For archival quality, use x264 "slow" or "slower" (but CPU-intensive)