Jump to content

Cannot get QSV ENCODING to function properly on unRAID


Recommended Posts

Posted

If I use QSV for ENCODING I get constant micro stuttering, but it isn't an issue at all if I set only ENCODING to VAAPI on Unraid.

Things i've tried;

  • Turning off throttling
  • Turning off tonemapping
    chmod -R 777 /dev/dri

     

  • Transcoding to RAM
  • Transcoding to disk
  • Other media servers
  • Other docker images of EMBY
  • Turning off subtitle extraction
  •  

Hardware;

  • i5-14500
  • 128Gb (4 x 32Gb) DDR4 at 2667mhz
  • 2 x 22TB Ironwolf Pro
  • 1 x 4TB Lexar NVME
  • Unraid 7.0

Additional Info;

  • intel-gpu-top: Intel Alderlake_s (Gen12) @ /dev/dri/card0 -    0/   0 MHz;   0% RC6;  0.00/ 6.97 W;        0 irqs/s
  • ls -l /dev/dri 
    total 0
    drwxrwxrwx 2 root root        80 Feb  5 20:24 by-path/
    crwxrwxrwx 1 root video 226,   0 Feb  5 20:24 card0
    crwxrwxrwx 1 root video 226, 128 Feb  5 20:24 renderD128

Note that although I have a Raptor Lake CPU it shows up everywhere as Alderlake??

embyserver docker.jpg

tonemapping.jpg

Transcoding Options.jpg

jahagafut-diagnostics-20250206-0916.zip qsv encoding.txt vaapi encoding.txt

Posted

Hi, are you able to install our native package to see how things compare? Just as a test?

Posted
2 hours ago, Luke said:

Hi, are you able to install our native package to see how things compare? Just as a test?

I'm currently using the official one, yes

Posted
On 2/6/2025 at 4:11 PM, jahagafut said:

I'm currently using the official one, yes

@jahagafutby native I mean non-docker. Can you please test that? Thanks !

Posted (edited)

@LukeSince opp is using unRaid I don't think that is possible or wise.

unRaid boots of a USB stick, and after boot it lives in RAM.

There is not a OS drive in unRaid. 

Edited by Neminem
Posted (edited)

@jahagafuttry with vaapi thats how it got it working.

I see you tried vaapi and got that working 😊

Edited by Neminem
Posted
On 2/6/2025 at 4:26 PM, jahagafut said:

Note that although I have a Raptor Lake CPU it shows up everywhere as Alderlake??

 

Bought it used or on some dodgy website?
It's a well known trick to remove the heatspreader and replace it with a new one so they can sell the CPU as a newer generation.

Not that it matters much for this topic, alder lake should be plenty fast for transcoding.

Posted

@yockerguess I bought a dut too.

Emby transcoding devices

image.png.268e3fa4be85c0e394796ab22e7b201d.png

unRaid device 

image.png.8ff11e2b9f5fc0ef0dd896f8508a4401.png

I would guess emby is misidentifying our gpu, and that messes with transcoding with QS enabled.

  • Confused 1
Posted (edited)

Ohh wow this is strange

unRaid shows AlderLake as VGA, but all other things are RaptorLake

image.png.76557dcb9fc9b2c409f168f9a2d0f241.png

 

Edited by Neminem
Posted

@NeminemHuh, never seen that before. Wonder if it's a bug in Linux or some leftover in the CPU from previous generation or something.

I will eat my words about the dodgy site purchase for sure! :)

  • Like 1
Posted

I've seen a convo about this before and I think it's an Intel thing.

 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...