![]() |
SOLVED: need help with hardware accelerated transcoding using AMD card - 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: SOLVED: need help with hardware accelerated transcoding using AMD card (/t-solved-need-help-with-hardware-accelerated-transcoding-using-amd-card) |
need help with hardware accelerated transcoding using AMD card - physicsme - 2024-09-08 I'm using Jellyfin on a Truenas Scale system via virtualization. I'm having trouble transcoding stuff using an AMD card. Nvidia is working just fine on the same installation. Here's the transcode log: Code: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -init_hw_device drm=dr:/dev/dri/renderD128 -init_hw_device vaapi=va@dr -init_hw_device vulkan=vk@dr -filter_hw_device vk -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"(filename redacted).mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_vaapi -tag:v:0 hvc1 -rc_mode VBR -b:v 36433184 -maxrate 36433184 -bufsize 72866368 -profile:v:0 main -sei -a53_cc -force_key_frames:0 "expr:gte(t,n_forced*3)" -flags:v -global_header -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,hwmap=derive_device=vulkan,format=vulkan,libplacebo=upscaler=none:downscaler=none:format=bgra:tonemapping=bt.2390:peak_detect=0:color_primaries=bt709:color_trc=bt709:colorspace=bt709,hwmap=derive_device=vaapi,format=vaapi,scale_vaapi=format=nv12" -codec:a:0 libfdk_aac -ac 6 -ab 640000 -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 "/cache/transcodes/946755f83897f1da43a30c43a8d82787%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/cache/transcodes/946755f83897f1da43a30c43a8d82787.m3u8" Here is my vainfo output : Code: Trying display: drm I'm aware that there's no encoding profile. What could lead to this problem? RE: need help with hardware accelerated transcoding using AMD card - Efficient_Good_5784 - 2024-09-08 (2024-09-08, 07:17 PM)physicsme Wrote: I'm using Jellyfin on a Truenas Scale system via virtualization.Do you have multiple GPU devices on the same system? RE: need help with hardware accelerated transcoding using AMD card - physicsme - 2024-09-08 (2024-09-08, 07:36 PM)Efficient_Good_5784 Wrote:(2024-09-08, 07:17 PM)physicsme Wrote: I'm using Jellyfin on a Truenas Scale system via virtualization.Do you have multiple GPU devices on the same system? My motherboard does have an Aspeed integrated display as part of the BMC. I'm using an AMD CPU with no iGPU (Ryzen 5 4500) but strangely I still see an iGPU listed in lspci. Code: 14:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] (rev c7) If you were asking about the Nvidia GPU. I wasn't using it along side the AMD one. I pulled it out and rebooted the system before testing the AMD card. RE: need help with hardware accelerated transcoding using AMD card - TheDreadPirate - 2024-09-08 If I'm reading AMD's git correctly, the RX6400 doesn't have ANY encoding capability?!?! https://github.com/GPUOpen-LibrariesAndSDKs/AMF/wiki/GPU-and-APU-HW-Features-and-Support#amd-gpu-multimedia-hardware-features Which makes sense. The vainfo output does not indicate any encoding support. If it did you would see "VAEntrypointEncSliceLP". But your vainfo output only indicates decoding with "VAEntrypointVLD". RE: need help with hardware accelerated transcoding using AMD card - physicsme - 2024-09-08 (2024-09-08, 07:36 PM)Efficient_Good_5784 Wrote:(2024-09-08, 07:17 PM)physicsme Wrote: I'm using Jellyfin on a Truenas Scale system via virtualization.Do you have multiple GPU devices on the same system? (2024-09-08, 07:53 PM)TheDreadPirate Wrote: If I'm reading AMD's git correctly, the RX6400 doesn't have ANY encoding capability?!?! looks like this is the reason. I wasn't reading the specs very carefully when I bought the card for some casual gaming. Way to go AMD! So that's how Nvidia's getting away charging crazy prices for entry level cards like rtx 3050, rtx a400 etc.... https://www.reddit.com/r/buildapc/comments/xpkafi/rx_6400_has_no_encoding_need_help_for_a_workaround/ https://news.ycombinator.com/item?id=39135243 |