HEVC GPU export fails/hangs on Linux with NVIDIA GTX 1080 (VAAPI initialization error)
Author: ericbenz54321-createCreated Jun 20, 2026Updated Aug 31, 2026
Labelsbug
Is there an existing issue for this?
- I have searched the existing issues
Have you tried the latest dev build?
- I have tried the latest dev build from here
Do you have latest GPU drivers installed?
- I have the latest GPU drivers installed, I'm absolutely sure.
Have you checked the documentation?
- I have read the FAQ and Troubleshooting and didn't find my issue there.
Gyroflow version
1.6.3 (gh2453)
What operating system are you using?
Linux Mint 22.3
What GPU are you using?
NVIDIA GeForce GTX 1080
What happened?
When exporting with GPU encoding enabled (HEVC, NVENC/CUDA), the decoder repeatedly fails to initialize VAAPI ("Failed to initialise VAAPI connection: -1 (unknown libva error)"), falls back through VDPAU/CUDA/None multiple times per frame batch, and export takes extremely long (~95 seconds for a 16-second clip) or appears to hang. Disabling "Use GPU encoding" and using software encoding works fine and is actually faster.
Relevant log output
(gyroflow:82261): dbind-WARNING **: 21:13:37.204: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Keine Berechtigung
19:13:37 [DEBUG] (1) gyroflow_core::gpu::opencl: OpenCL devices: Ok("NVIDIA CUDA") Ok("OpenCL 3.0 CUDA 12.2.149") ["NVIDIA GeForce GTX 1080"]
19:13:38 [INFO] GPU list: ["[OpenCL] NVIDIA CUDA NVIDIA GeForce GTX 1080: 3.0", "[wgpu] NVIDIA GeForce GTX 1080 (Vulkan)", "[wgpu] llvmpipe (LLVM 20.1.2, 256 bits) (Vulkan)", "[wgpu] NVIDIA GeForce GTX 1080/PCIe/SSE2 (Gl)"]
19:13:50 [WARN] IMU duration 17034.126209262035 is different than video duration (17034)
19:13:56 [DEBUG] (1) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:13:57 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x72755c003a00] stream 0, timescale not set
19:13:57 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_VULKAN (vulkan) with format Some(AV_PIX_FMT_VULKAN)
19:13:57 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:13:57 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
19:13:57 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5c7584d0e940] stream 0, timescale not set
19:13:57 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_CUDA (cuda) with format Some(AV_PIX_FMT_CUDA)
19:13:57 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:13:57 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
19:13:57 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x72755c532100] stream 0, timescale not set
19:13:57 [ERROR] [VAAPI @ 0x72755c9d4cc0] Failed to initialise VAAPI connection: -1 (unknown libva error).
19:13:57 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_VDPAU (vdpau) with format Some(AV_PIX_FMT_VDPAU)
19:13:57 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:13:57 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
19:13:57 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x72755ea0dac0] stream 0, timescale not set
19:13:57 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_VDPAU (vdpau) with format Some(AV_PIX_FMT_VDPAU)
19:13:57 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:13:57 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
19:13:57 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x72755de6c0c0] stream 0, timescale not set
19:13:57 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_NONE () with format None
19:13:57 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:13:57 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
19:13:59 [WARN] Job is already rendering 1179070513
19:13:59 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x72755c2ed380] stream 0, timescale not set
19:13:59 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_VULKAN (vulkan) with format Some(AV_PIX_FMT_VULKAN)
19:13:59 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:13:59 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
19:13:59 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x72755c9f6f80] stream 0, timescale not set
19:13:59 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_CUDA (cuda) with format Some(AV_PIX_FMT_CUDA)
19:13:59 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:13:59 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
19:13:59 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x72755f2b9000] stream 0, timescale not set
19:13:59 [ERROR] [VAAPI @ 0x72755eab63c0] Failed to initialise VAAPI connection: -1 (unknown libva error).
19:13:59 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_VDPAU (vdpau) with format Some(AV_PIX_FMT_VDPAU)
19:13:59 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:13:59 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
19:14:00 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x72755f04b380] stream 0, timescale not set
19:14:00 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_VDPAU (vdpau) with format Some(AV_PIX_FMT_VDPAU)
19:14:00 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:14:00 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
19:14:00 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x72755e1a26c0] stream 0, timescale not set
19:14:00 [DEBUG] (2) gyroflow::rendering::ffmpeg_processor: Selected HW backend AV_HWDEVICE_TYPE_NONE () with format None
19:14:00 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:14:00 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversion
19:14:00 [WARN] [mov,mp4,m4a,3gp,3g2,mj2 @ 0x72755f047340] stream 0, timescale not set
19:14:00 [DEBUG] (2) gyroflow::rendering: Possible encoders with Nvidia: [("hevc_nvenc", true), ("hevc_vaapi", true), ("hevc_vulkan", true), ("hevc_v4l2m2m", true), ("libx265", false)]
19:14:00 [DEBUG] (2) gyroflow::rendering: video_codec: Some("hevc_nvenc"), processing_order: PreConversionSource: gyroflow/gyroflow