ffmpeg -vaapi_device /dev/dri/renderD128 -i input.mkv -vf 'format=nv12,hwupload' -c:v hevc_vaapi -f mp4 -rc_mode 1 -qp 25 output.mp4
returns:
segmentation fault (core dumped) ffmpeg -vaapi_device /dev/dri/renderD128 -i -vf 'format=nv12,hwupload' -c:v
The problem is segfaults with ffmpeg with VA-API.
The reinstall of the libva-mesa-driver package.