Handbrake will use H.265 QSV 1080p (can see the GPU usage using sudo intel_gpu_top)
Same settings (passthrough checkbox ticked) and ARM crashes out (error at bottom of post).
GPU is Intel 630
After reading many webpages, I checked using the shell for QSV, using HandBrakeCLI --help | grep -A12 “Select video encoder”
Both say “qsv: is available on this system”
Handbrake has this line : “qsv_h264”… but ARM doesn’t, which I am guessing is the issue.
I’ve seen topics about installing libvpl by hand but also that it is not recommended for TrueNas apps.
Error from ARM is
ARM encountered a fatal error processing Thor. Check the logs for more details. Command ‘nice HandBrakeCLI -i /home/arm/media/raw/movie/movie_t02.mkv -o ‘/home/arm/media/transcode/movies/movie/movie_t02.mkv’ --preset “H.265 QSV 1080p” --subtitle scan -F --subtitle-burned --audio-lang-list eng --all-audio >> /home/arm/logs/movie.log 2>&1’ returned non-zero exit status 3.
Does anyone know how to fix this please? CPU transcoding is far too slow.
I can run GPU Encode from the Handbrake GUI but it fails in the CLI.I monitor GPU activity with Toparr. Besides the difference in fps throughput is 10x.
ls -l /dev/dri
total 0
crw-rw---- 1 root video 226, 0 Oct 22 14:46 card0
crw-rw---- 1 root input 226, 128 Oct 22 14:46 renderD128
In the Ripper settings for HB_ARGS_DVD if I include --encoder qsv_h265 it fails. If I remove it it passes and completes. I get the same failures as renketsu above.
Ok, something interesting. If I execute the command "HandbrakeCLI --help | grep -A12 “Select video encoder” in the Handbrake shell I get -
-e, --encoder Select video encoder:
svt_av1
svt_av1_10bit
qsv_av1
qsv_av1_10bit
ffv1
x264
x264_10bit
qsv_h264
x265
x265_10bit
x265_12bit
qsv_h265
HandBrake has exited.
So it sees the QSV encoder. If I run it in the ARM shell I get-
-e, --encoder Select video encoder:
svt_av1
svt_av1_10bit
ffv1
x264
x264_10bit
x265
x265_10bit
x265_12bit
mpeg4
mpeg2
VP8
VP9
HandBrake has exited.
Does not see the QSV encoder. What am I missing? I have Passthrough checked in both app setups.
According to the wiki link I have in post #10 of this thread:
Intel libvpl (newer CPUs and discrete GPUs)
Note, that the requirements for qsv with newer Intel CPUs are different from qsv with discrete GPUs.
Unfortunately, support for those isn’t completely figured out yet. You can follow the main issue (#909) or look for guides in issues or discussions. There are some working examples, but this still needs testing.
This may be a case where the ARM developers haven’t finished coding the support for your GPU yet.
After reading a few other posts, it looks like ARM ships with an older Intel VPL stack. It needs to be updated to the latest stack. There is a Procedure but my install is in Truenas Scale so I don’t know how to update it.