***GUIDE*** Plex Hardware Acceleration using Intel Quick Sync


Recommended Posts

19 hours ago, ideasman said:

Noticed over the weekend that transcoding 4k content was not utilising hardware acceleration on our i5-11400.

 

If i disabled tone mapping in the plex options, it would work but who wants transcoded hdr content without tone mapping?

 

We use the linuxserver release and rolled back from 1.32.5.7349-8f4248874 to 1.32.5.7328-2632c9d3a which fixed it immediately.

  Ok looks like I need to look into moving my binhex plex to official plex docker to using this version as it seems rolling back binhex isn't working for me as expected.

Link to comment

hey all, trying to work through the 19 pages of this post, but kind of scratching my head.. I have an intel N5105 CPU with an  igpu which is good for hw transcoding.. I have followed as much as I can but still cannot get HW encoding working.. Is there an up to date guide on how to get it working?? 

Link to comment
16 hours ago, MooseKat said:

hey all, trying to work through the 19 pages of this post, but kind of scratching my head.. I have an intel N5105 CPU with an  igpu which is good for hw transcoding.. I have followed as much as I can but still cannot get HW encoding working.. Is there an up to date guide on how to get it working?? 

https://chuckdickey.com/2022/03/plex-hardware-transcoding-with-a-jasper-lake-intel-celeron-n5105-cpu-on-ubuntu-server

 

Also same command is in here like 2 pages before ;) 

Edited by flex420
Link to comment
2 hours ago, MooseKat said:

thanks for that, but when i try and run the last line, i get.. "sudo: update-initramfs: command not found"

i think the command referres to ubuntu - make sure you have edited the config file and make it persistant, also chmod 777 /dev/dri

 

 

 

Tried This? 

Edited by flex420
Link to comment
38 minutes ago, honorary-kicking8931 said:

Intel 1290k MSI Z-690-A board.

Official Plex Media Server. Installed Intel-GPU-Top, but when i go to the terminal and type in cd /dev/dri i get no such file or directory. What am I doing wrong here?

 

Do you have your integrated graphics set as primary in your BIOS?  It usually cannot be set to auto and should not be set to anything other than the integrated graphics.

  • Like 1
Link to comment
  • 2 weeks later...

I bought a mainboard off of AliExpress (CW-N5105-NAS, Topton NAS Motherboard N5105) and had trouble getting my internal GPU going. It has an 11th Gen Intel Jasper Lake with these specifications. This post in the libreelec forum provided part of the solution that finally helped me, because

ls -la /dev/dri

did nothing for me before.

 

I had to edit /syslinux/syslinux.cfg on the USB stick and make the first boot entry look like this (notice the 4th line)
 

label Unraid OS
  menu default
  kernel /bzimage
  append i915.enable_fbc=1 i915.enable_guc=2
  append initrd=/bzroot

 

And I also had to create this file with

 

echo "options i915 enable_fbc=1 enable_guc=2" > /etc/modprobe.d/i915.conf

 

Now everything works for me. 

 

devdri.thumb.PNG.f5fe0652f437cdbd1e6ddce506c85825.PNG

 

hwencode.PNG.b542f49599a3cf492fcc9e339c0fe765.PNG

 

intel_gpu_top.PNG.e4c1f6c21df7ca3af3848a186a661563.PNG

 

Hope this prevents a couple of headaches. Cheers

Edited by hanbo
added more screenshots and updated the text
  • Thanks 1
Link to comment
  • 2 weeks later...
  • 2 weeks later...
On 1/15/2022 at 8:51 PM, SimonF said:

As you are on rc2.

 

either add to syslinux 

 

or add to i915.conf in modprobed.

options i915 force_probe=4680

 

or blacklist i915 and load intel gpu top as per this post.

 

 

 

Is i915 force_probe=4680 still required fro igpu encode i am using 12400

Link to comment
1 minute ago, simo241 said:

 

Is i915 force_probe=4680 still required fro igpu encode i am using 12400

Which OS are you using, if 6.12+ then it should detect by default. If force probe is required it will show in logs

 

dmesg | grep i915.

 

root@computenode:~# ls /dev/dri
by-path/  card0  card1  card2  renderD128  renderD129  renderD130

 

This should show entries if working ok.

Link to comment
4 minutes ago, SimonF said:

Which OS are you using, if 6.12+ then it should detect by default. If force probe is required it will show in logs

 

dmesg | grep i915.

 

root@computenode:~# ls /dev/dri
by-path/  card0  card1  card2  renderD128  renderD129  renderD130

 

This should show entries if working ok.

is this what you mean 

IMG_0385.png

IMG_0387.png

IMG_0388.png

Edited by simo241
Link to comment
13 minutes ago, simo241 said:

 Thank you , so have same display error  here, same time power draw is at 100 with no utilization

 

 

IMG_0389.jpeg

Where are you seeing power draw @ 100 do you mean 100% RC6? That value is reverse of what you thing 100% is no power use

 

rc6 is a percentage of how little the GPU is requesting power

 

image.png

 

if option of max package or GPU it will show. 19.79W is package GPU is 0 in my intel_gpu_top values.

 

image.png

Link to comment
  • 2 weeks later...
On 8/29/2023 at 5:41 PM, Sildenafil said:

 

I'm trying to get plex transcoding to work with my asrock j5005 but i can't. I created the i915.conf file with this comand:

mkdir -p /boot/config/modprobe.d

echo "options i915 enable_fbc=1 enable_guc=3" > /boot/config/modprobe.d/i915.conf

 

I tried to change the guc=2 too, but still not working.

 

 

What am I doing wrong? The gpu works fine with unmanic

 

your problems solved?

Link to comment
  • 3 weeks later...
On 9/30/2023 at 4:21 PM, hanbo said:

echo "options i915 enable_fbc=1 enable_guc=2" > /etc/modprobe.d/i915.conf

 

Thanks for the info, I initially had problems with this as /etc/modprobe.d/i915.conf will not persist when you reboot.

 

So you want to create an i915.conf in /boot/config/modprobe.d/

 

echo "options i915 enable_fbc=1 enable_guc=2" > /boot/config/modprobe.d/i915.conf

 

or nano /boot/config/modprobe.d/i915.conf then type the following options i915 enable_fbc=1 enable_guc=2

 

That will be copied to /etc/modprobe.d/i915.conf when Unraid boots.

Edited by InsaneNutter
Issue resolved
Link to comment

My hw-transcode has stopped working, i have tried the things in this post. 

 

11th Gen Intel® Core™ i5-11600K

RocketLake-S GT1 [UHD Graphics 750]

Unraid Version: 6.12.4
Plex Version 1.32.7.7621

 

 

 

EDIT:
Found THIS!

Rolled back to version 1.32.5.7349-8f4248874-ls181 and now its working as it used to.

Still high cpu usage with subtitle(PSG) but thats maybe normal, should i try use SRT or any other subtitle format?

Edited by capt.shitface
Link to comment
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.