Tdarr Qsv didn't work for me (I714700-UHD770) #207

Closed
opened 2026-02-04 17:08:19 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @LordKimbou on GitHub (Dec 22, 2024).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

tdarr script

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/tdarr.sh)"

📝 Provide a clear and concise description of the issue.

The script installs correctly, but within tdarr I do not have acceleration. I use default settings, advanced, privileged and unprivileged.. nothing...

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Install default, or advanced...

I Entering the FFmpeg Help terminal I enter "-init_hw_device"

ffmpeg version 5.0.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2022 the FFmpeg developers

built with gcc 8 (Debian 8.3.0-6)

configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable- fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex - -enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable -libzvbi --enable-libzimg

libavutil 57. 17,100 / 57. 17,100

libavcodec 59. 18,100 / 59. 18,100

libavformat 59. 16,100 / 59. 16,100

libavdevice 59. 4,100 / 59. 4,100

libavfilter 8. 24,100 / 8. 24,100

libswscale 6.4.100 / 6.4.100

libswresample 4.3.100 / 4.3.100

libpostproc 56.3,100 / 56.3,100

Unrecognized option 'init_hw_device'.

Error splitting the argument list: Option not found


In the shell in proxmox:

root@proxmox:~# ls -l /dev/dri
total 0
drw-rw---- 2 root root 80 Dec 22 10:58 by-path
crw-rw---- 1 root video 226, 0 Dec 22 10:58 card0
crw-rw---- 1 root render 226, 128 Dec 22 10:58 renderD128

shell in tdarr
root@tdarr:~# ls -l /dev/dri
total 0
drw-rw---- 2 root root 80 Dec 22 10:58 by-path
crw-rw---- 1 root video 226, 0 Dec 22 10:58 card0
crw-rw---- 1 root render 226, 128 Dec 22 10:58 renderD128

On another Lxc I have Jellyfin running with acceleration, I have tried to install several Intel drivers, but nothing.. I would need to update ffmpeg, which I see is version 5, but I don't know how to do it. Am I doing something wrong?

Paste the full error output (if available).

No errors..

🖼️ Additional context (optional).

No response

Originally created by @LordKimbou on GitHub (Dec 22, 2024). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? tdarr script ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/tdarr.sh)" ### 📝 Provide a clear and concise description of the issue. The script installs correctly, but within tdarr I do not have acceleration. I use default settings, advanced, privileged and unprivileged.. nothing... ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Install default, or advanced... I Entering the FFmpeg Help terminal I enter "-init\_hw\_device" --- ffmpeg version 5.0.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2022 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable- fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex - -enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable -libzvbi --enable-libzimg libavutil 57. 17,100 / 57. 17,100 libavcodec 59. 18,100 / 59. 18,100 libavformat 59. 16,100 / 59. 16,100 libavdevice 59. 4,100 / 59. 4,100 libavfilter 8. 24,100 / 8. 24,100 libswscale 6.4.100 / 6.4.100 libswresample 4.3.100 / 4.3.100 libpostproc 56.3,100 / 56.3,100 Unrecognized option 'init\_hw\_device'. Error splitting the argument list: Option not found ---- In the shell in proxmox: root@proxmox:~# ls -l /dev/dri total 0 drw-rw---- 2 root root 80 Dec 22 10:58 by-path crw-rw---- 1 root video 226, 0 Dec 22 10:58 card0 crw-rw---- 1 root render 226, 128 Dec 22 10:58 renderD128 shell in tdarr root@tdarr:~# ls -l /dev/dri total 0 drw-rw---- 2 root root 80 Dec 22 10:58 by-path crw-rw---- 1 root video 226, 0 Dec 22 10:58 card0 crw-rw---- 1 root render 226, 128 Dec 22 10:58 renderD128 ---- On another Lxc I have Jellyfin running with acceleration, I have tried to install several Intel drivers, but nothing.. I would need to update ffmpeg, which I see is version 5, but I don't know how to do it. Am I doing something wrong? ### ❌ Paste the full error output (if available). No errors.. ### 🖼️ Additional context (optional). _No response_
Author
Owner

@MickLesk commented on GitHub (Dec 22, 2024):

Show pct config of LXC as default unprivilegeted install

@MickLesk commented on GitHub (Dec 22, 2024): Show pct config of LXC as default unprivilegeted install
Author
Owner

@LordKimbou commented on GitHub (Dec 22, 2024):

pct config 100
arch: amd64
cores: 2
dev0: /dev/dri/card0,gid=44
dev1: /dev/dri/renderD128,gid=104
features: keyctl=1,nesting=1
hostname: tdarr
memory: 2048
net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:64:46:5F,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: AlmacenNano:100/vm-100-disk-0.raw,size=4G
swap: 512
tags: arr;community-script
unprivileged: 1

I don't know why, There are some lines of script inside the configuration, and when I try to copy it here it looks weird..
#<div align='center'># <a href='https%3A//Helper-Scripts.com' target='_blank' rel='noopener noreferrer'># <img src='https%3A//raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/images/logo-81x112.png' alt='Logo' style='width%3A81px;height%3A112p># </a>## <h2 style='font-size%3A 24px; margin%3A 20px 0;'>Tdarr LXC</h2>## <p style='margin%3A 16px 0;'># <a href='https%3A//ko-fi.com/community_scripts' target='_blank' rel='noopener noreferrer'># <img src='https%3A//img.shields.io/badge/&#x2615;-Buy us a coffee-blue' alt='spend Coffee' /># </a># </p># # <span style='margin%3A 0 10px;'># <i class="fa fa-github fa-fw"style="color%3A #f5f5f5;"></i># <a href='https%3A//github.com/community-scripts/ProxmoxVE' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>># </span># <span style='margin%3A 0 10px;'># <i class="fa fa-comments fa-fw" style="color%3A #f5f5f5;"></i># <a href='https%3A//github.com/community-scripts/ProxmoxVE/discussions' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3># </span># <span style='margin%3A 0 10px;'># <i class="fa fa-exclamation-circle fa-fw" style="color%3A #f5f5f5;"></i># <a href='https%3A//github.com/community-scripts/ProxmoxVE/issues'target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00># </span>#</div>
I had to remove the line breaks so that it can be seen, this code is also inside the configuration, although it is all commented with '#'

@LordKimbou commented on GitHub (Dec 22, 2024): pct config 100 arch: amd64 cores: 2 dev0: /dev/dri/card0,gid=44 dev1: /dev/dri/renderD128,gid=104 features: keyctl=1,nesting=1 hostname: tdarr memory: 2048 net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:64:46:5F,ip=dhcp,type=veth onboot: 1 ostype: debian rootfs: AlmacenNano:100/vm-100-disk-0.raw,size=4G swap: 512 tags: arr;community-script unprivileged: 1 I don't know why, There are some lines of script inside the configuration, and when I try to copy it here it looks weird.. `#<div align='center'># <a href='https%3A//Helper-Scripts.com' target='_blank' rel='noopener noreferrer'># <img src='https%3A//raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/images/logo-81x112.png' alt='Logo' style='width%3A81px;height%3A112p># </a>## <h2 style='font-size%3A 24px; margin%3A 20px 0;'>Tdarr LXC</h2>## <p style='margin%3A 16px 0;'># <a href='https%3A//ko-fi.com/community_scripts' target='_blank' rel='noopener noreferrer'># <img src='https%3A//img.shields.io/badge/&#x2615;-Buy us a coffee-blue' alt='spend Coffee' /># </a># </p># # <span style='margin%3A 0 10px;'># <i class="fa fa-github fa-fw"style="color%3A #f5f5f5;"></i># <a href='https%3A//github.com/community-scripts/ProxmoxVE' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>># </span># <span style='margin%3A 0 10px;'># <i class="fa fa-comments fa-fw" style="color%3A #f5f5f5;"></i># <a href='https%3A//github.com/community-scripts/ProxmoxVE/discussions' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3># </span># <span style='margin%3A 0 10px;'># <i class="fa fa-exclamation-circle fa-fw" style="color%3A #f5f5f5;"></i># <a href='https%3A//github.com/community-scripts/ProxmoxVE/issues'target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00># </span>#</div>` I had to remove the line breaks so that it can be seen, this code is also inside the configuration, although it is all commented with '#'
Author
Owner

@MickLesk commented on GitHub (Dec 22, 2024):

?

@MickLesk commented on GitHub (Dec 22, 2024): ?
Author
Owner

@Tukajo commented on GitHub (Dec 27, 2024):

@LordKimbou

I was able to get mine working, I am happy to chat more directly if you need on the discord. I am using the same username. However, here's a small checklist:

  1. You are sure you are using a QSV enabled intel processor with intel UHD gfx enabled.
  2. You have installed any drivers needed for this processor depending on your OS
  3. The /dev/dri/ are passed into the container via proxmox
  4. The permissions are properly set to the user that is running tdarr
  5. The user running tdarr is a part of the correct group
  6. The linux container that holds tdarr has necessary VAAPI support drivers/libs installed (you can test this by installing vainfo and running vainfo, this should output a huge list of available encoding/decoding profiles).
  7. The tdarr instance is set to only use the hardware encoding profiles you support (nvenc for nvidia cards, vaapi for quicksync on linux, and QSV for quicksync on windows).
@Tukajo commented on GitHub (Dec 27, 2024): @LordKimbou I was able to get mine working, I am happy to chat more directly if you need on the discord. I am using the same username. However, here's a small checklist: 1. You are sure you are using a QSV enabled intel processor with intel UHD gfx enabled. 2. You have installed any drivers needed for this processor depending on your OS 3. The /dev/dri/ are passed into the container via proxmox 4. The permissions are properly set to the user that is running tdarr 5. The user running tdarr is a part of the correct group 6. The linux container that holds tdarr has necessary VAAPI support drivers/libs installed (you can test this by installing `vainfo` and running `vainfo`, this should output a huge list of available encoding/decoding profiles). 7. The tdarr instance is set to **only** use the hardware encoding profiles you support (`nvenc` for nvidia cards, `vaapi` for quicksync on linux, and `QSV` for quicksync on windows).
Author
Owner

@LordKimbou commented on GitHub (Dec 28, 2024):

Thank you very much, I finally got the Docker version working. I will try this script later, it may be a permissions problem, or the version of the "non free" drivers.
Regards.

@LordKimbou commented on GitHub (Dec 28, 2024): Thank you very much, I finally got the Docker version working. I will try this script later, it may be a permissions problem, or the version of the "non free" drivers. Regards.
Author
Owner

@damnsanga commented on GitHub (Dec 30, 2024):

After you run the script to setup a Tdarr lxc, to make use of QSV you should install jellyfin-ffmpeg, then update your tdarr server and node configuration files to point to jellyfin-ffmpeg.

Run,
apt update && apt install jellyfin-ffmpeg -y

@damnsanga commented on GitHub (Dec 30, 2024): After you run the script to setup a Tdarr lxc, to make use of QSV you should install jellyfin-ffmpeg, then update your tdarr server and node configuration files to point to jellyfin-ffmpeg. Run, apt update && apt install jellyfin-ffmpeg -y
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#207