Skip to content

Encoding fails on Intel iGPU UHD 630 of i5 8500T #46

@andreamassaro9

Description

@andreamassaro9

Hello everyone, I’m experiencing consistent VAAPI encoding failures using vertd on an Intel iGPU.
The service starts correctly and detects the GPU and VAAPI device, but hardware-accelerated encoders fail at runtime.

The input video is .mp4 and the tested output formats are mkv and mpeg-2.

Environment details and full logs are included below.

services:
vertd:
container_name: vertd-video
image: ghcr.io/vert-sh/vertd:latest
environment:
- ADMIN_PASSWORD=3339973555aA!
- PUBLIC_URL=https://myvertvideo.xcv.bnm.plk
ports:
- "24153:24153"
devices:
- /dev/dri:/dev/dri

START

[2026-01-26T08:47:25Z INFO vertd] starting vertd
[2026-01-26T08:47:25Z INFO vertd] working w/ ffmpeg 6.1.1-3ubuntu5 and ffprobe 6.1.1-3ubuntu5
[2026-01-26T08:47:25Z INFO vertd] detected an Intel GPU -- if this isn't your vendor, open an issue.
[2026-01-26T08:47:25Z INFO vertd] using VA-API device path: /dev/dri/renderD128
[2026-01-26T08:47:25Z INFO vertd::http] http server listening on 0.0.0.0:24153

TO MKV

[2026-01-26T08:47:42Z INFO vertd::converter] running 'ffmpeg -hide_banner -loglevel error -progress pipe:1 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i input/49d14cc6-0c4f-4788-81ff-3a34b7f7b72c.mp4 -c:v h264_vaapi -c:a aac -strict experimental -preset medium -b:v 10519045 -map_metadata 0 -map_chapters 0 output/49d14cc6-0c4f-4788-81ff-3a34b7f7b72c.mkv'
[2026-01-26T08:47:42Z ERROR vertd::converter] [h264_vaapi @ 0x57119bbbdd00] Driver does not support any RC mode compatible with selected options (supported modes: CQP).
[2026-01-26T08:47:42Z ERROR vertd::converter] [vost#0:0/h264_vaapi @ 0x57119bb7c400] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[2026-01-26T08:47:42Z ERROR vertd::converter] Error while filtering: Invalid argument
[2026-01-26T08:47:42Z ERROR vertd::converter] [out#0/matroska @ 0x57119bb2b800] Nothing was written into output file, because at least one of its streams received no packets.
[2026-01-26T08:47:42Z ERROR vertd::http::services::websocket] job 49d14cc6-0c4f-4788-81ff-3a34b7f7b72c failed
[2026-01-26T08:47:42Z ERROR vertd::http::services::websocket] failed to handle job failure: environment variable not found

TO MPEG-2

[2026-01-26T08:48:39Z WARN vertd::converter::speed] MPEG format does not support speed settings
[2026-01-26T08:48:39Z INFO vertd::converter] running 'ffmpeg -hide_banner -loglevel error -progress pipe:1 -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i input/cec0e90d-2d13-45f3-a189-2d54bfdc73e3.mp4 -c:v mpeg2_vaapi -c:a mp2 -b:v 10519045 -map_metadata 0 -map_chapters 0 output/cec0e90d-2d13-45f3-a189-2d54bfdc73e3.mpeg'
[2026-01-26T08:48:39Z ERROR vertd::converter] [mpeg2_vaapi @ 0x6425da9f62c0] No usable encoding entrypoint found for profile VAProfileMPEG2Main (1).
[2026-01-26T08:48:39Z ERROR vertd::converter] [vost#0:0/mpeg2_vaapi @ 0x6425da9b77c0] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[2026-01-26T08:48:39Z ERROR vertd::converter] Error while filtering: Function not implemented
[2026-01-26T08:48:39Z ERROR vertd::converter] [out#0/mpeg @ 0x6425da9646c0] Nothing was written into output file, because at least one of its streams received no packets.
[2026-01-26T08:48:39Z ERROR vertd::http::services::websocket] job cec0e90d-2d13-45f3-a189-2d54bfdc73e3 failed
[2026-01-26T08:48:39Z ERROR vertd::http::services::websocket] failed to handle job failure: environment variable not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions