[GH-ISSUE #11701] (already solved) Tdarr script doesn't enable QSV acceleration in all circumstances #2464

Closed
opened 2026-02-26 12:52:33 +03:00 by kerem · 0 comments
Owner

Originally created by @adgriff2 on GitHub (Feb 8, 2026).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/11701

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

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

Tdarr

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/tdarr.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/8.4.16/368e3c45c15b895c (running kernel: 6.8.12-18-pve)

📝 Provide a clear and concise description of the issue.

When trying to use qsv hardware acceleration with ffmpeg args:
-hwaccel qsv -hwaccel_output_format qsv

you get this error:
[AVHWDeviceContext @ 0x5987253e4d80] Error creating a MFX session: -9.

vaapi works fine. Other containers on this same host work fine with qsv. The key was installing package libmfx-gen1.2 in the container. Just wanted to share so it pops up even if this is closed.

🔄 Steps to reproduce the issue.

Step 1: Run tdarr script in my environment (not sure what extent of details are relevant)
Step 2: try to encode a video with qsv acceleration

Paste the full error output (if available).

[AVHWDeviceContext @ 0x5987253e4d80] Error creating a MFX session: -9.
Device creation failed: -1313558101.
Failed to set value 'qsv=hw@va' for option 'init_hw_device': Unknown error occurred
Error parsing global options: Unknown error occurred

🖼️ Additional context (optional).

No response

Originally created by @adgriff2 on GitHub (Feb 8, 2026). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/11701 ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? Tdarr ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/tdarr.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/8.4.16/368e3c45c15b895c (running kernel: 6.8.12-18-pve) ### 📝 Provide a clear and concise description of the issue. When trying to use qsv hardware acceleration with ffmpeg args: -hwaccel qsv -hwaccel_output_format qsv you get this error: [AVHWDeviceContext @ 0x5987253e4d80] Error creating a MFX session: -9. vaapi works fine. Other containers on this same host work fine with qsv. The key was installing package libmfx-gen1.2 in the container. Just wanted to share so it pops up even if this is closed. ### 🔄 Steps to reproduce the issue. Step 1: Run tdarr script in my environment (not sure what extent of details are relevant) Step 2: try to encode a video with qsv acceleration ### ❌ Paste the full error output (if available). [AVHWDeviceContext @ 0x5987253e4d80] Error creating a MFX session: -9. Device creation failed: -1313558101. Failed to set value 'qsv=hw@va' for option 'init_hw_device': Unknown error occurred Error parsing global options: Unknown error occurred ### 🖼️ Additional context (optional). _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2464
No description provided.