Hardware Transcoding FFmpeg error, renderD128 - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Hardware Transcoding FFmpeg error, renderD128 (/t-hardware-transcoding-ffmpeg-error-renderd128) |
Hardware Transcoding FFmpeg error, renderD128 - Zinic - 2024-03-21 After the third day of troubleshooting, I kneel before any who can help me! Hardware Acceleration transcoding does not work for QSV and VAAPI. I've tried every solution online for the specific error I'm getting and nothing works. The solution for other people boiled down to a permissions issue. Specifically, this is my error: Code: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:"/Movies/4k UHD/Ralph Breaks The Internet (2018) {imbd-tt5848272} [UHD].mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset 7 -look_ahead 0 -b:v 59616000 -maxrate 59616000 -bufsize 119232000 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -ab 384000 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/ae334f858828729cdeb54348e71e7345%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/ae334f858828729cdeb54348e71e7345.m3u8" Info on my setup: Intel Core i5-12400 (Alder Lake) 64 GB RAM Running on TrueNAS-SCALE-23.10.2 Community App 10.8.13.1 (up to date) (uses docker) Code: admin@truenas[~]$ lspci -nn | grep -Ei "3d|display|vga" What I have tried: Code: sudo usermod -aG render jellyfin <---- Based on suggestions but jellyfin user is not found In app settings, I added environmental "device" with value "/dev/dridev/dri" I've tried VAApi too and get the "No VA display found for device /dev/dri/renderD128." ffmpeg error Why am I still having an issue with this FFmpeg error if I've given it permissions and a path to renderD128? RE: Hardware Transcoding FFmpeg error, renderD128 - TheDreadPirate - 2024-03-21 Can you switch from the community app to the official jellyfin/jellyfin docker image? Some users have had issues with getting the community app to properly use their GPUs. The official docker image has all the Intel drivers built in. RE: Hardware Transcoding FFmpeg error, renderD128 - Zinic - 2024-03-22 I tried setting up a custom app but it was too complicated. TrueNas removed the ability to manage your own docker recently. But I fixed the problem and hardware acceleration is working now. The problem was I didn't allocate any GPU. In the Resources Configuration section, I swore I didn't see any other option beside the default "Allocate 0 GPU". But now when I looked back, there are other options to choose from. I selected to allocate 1 GPU for Intel, and it works. 4 days now and this was it. So anticlimactic. RE: Hardware Transcoding FFmpeg error, renderD128 - Efficient_Good_5784 - 2024-03-22 (2024-03-22, 03:45 AM)Zinic Wrote: I tried setting up a custom app but it was too complicated. TrueNas removed the ability to manage your own docker recently.Truenas Scale does let you use custom Docker apps, but not with Docker. The GUI lets you pull any container image from any container repo on the internet (ie. Docker Hub, Github's ghcr.io, etc). Once you have the image downloaded onto your Truenas server, you can launch and run custom apps with it. The catch is that (as of the current TN Scale version) the images will be ran with Kubernetes instead. Over on the Truenas subreddit, one of the ix-systems employees have made comments that show Docker might come back in the future, so maybe we'll be allowed to choose if we want to run an image using Kubernetes or Docker. RE: Hardware Transcoding FFmpeg error, renderD128 - Zinic - 2024-03-24 (2024-03-22, 05:40 AM)Efficient_Good_5784 Wrote:Yeah, the settings I needed to set for Kubernetes was too complicated for me. At least with Docker there are plenty of guides and troubleshooting help online. It'd be nice if they brought Docker back. I'm okay using their apps in the meantime if they work.(2024-03-22, 03:45 AM)Zinic Wrote: I tried setting up a custom app but it was too complicated. TrueNas removed the ability to manage your own docker recently.Truenas Scale does let you use custom Docker apps, but not with Docker. The GUI lets you pull any container image from any container repo on the internet (ie. Docker Hub, Github's ghcr.io, etc). |