Emby Transcoding using intel i7 8700k


Recommended Posts

Hi Guys, I wanted to do transcoding via quicksync and exchanged an intel i5 9600k for an intel i7 8700k since 9th gen cpu are not supported yet and am having difficulties getting hardware transcoding to show up in emby. I have an asrock z390m itx motherboard and i have enabled igpu in the bios. I have the /dev/dri directory showing up and have added the following to my go file and syslinux file.

 

syslinux file

label Unraid OS
  menu default
  kernel /bzimage
  append pci=realloc=off initrd=/bzroot i915.alpha_support=1

 

go file

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &
# enable module for iGPU
modprobe i915
chmod -R 777 /dev/dri
chown -R nobody:users /dev/dri

 

additionally in my /dev/dri this is what i see
root@Tower:/dev/dri# ls -l
total 0
drwxrwxrwx 2 nobody users       80 Mar 25 15:45 by-path/
crw-rw---- 1 root   video 226,   0 Mar 25 15:45 card0
crwxrwxrwx 1 nobody users 226, 128 Mar 25 15:45 renderD128

 

when i look at system devices under tools i also see the intel 630

IOMMU group 2:[8086:3e92] 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Desktop)

 

The last thing is what Ii put in my emby configuration

I checked the advanced button and then added

under extra paramaters --device /dev/dri:/dev/dri

Instead of extra parameters i also tried

adding a device /dev/dri/

 

After all this I am not seeing under the transcoding tab of emby and selecting advanced for hw transcoding the intel gpu.

 

I am really stuck at this point and don't know how to proceed. Any help would really be appreciated. 

 

Screen Shot 2019-03-25 at 11.00.37 PM.png

Link to comment
13 minutes ago, nanoblock said:

After all this I am not seeing under the transcoding tab of emby and selecting advanced for hw transcoding the intel gpu.

Obvious question:

Do you have an Emby Premiere subscription?  Since version 4.0 of Emby, hardware transcoding is only supported for Emby Premiere users.

 

By the way I believe the alpha support is no longer required in syslinux.cfg with 8th generation CPUs.

Link to comment
28 minutes ago, nanoblock said:

go file

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &
# enable module for iGPU
modprobe i915
chmod -R 777 /dev/dri
chown -R nobody:users /dev/dri

Also, you need to reorder your go file to be safe

#!/bin/bash
# enable module for GPU
modprobe i915
chmod -R 777 /dev/dri

# Start the Management Utility
/usr/local/bin/emhttp &

no need to do the chown if you are doing the chmod

 

Link to comment
5 minutes ago, nanoblock said:

What should the system file look like without the alpha? I’ll make both changes and reboot. 

label unRAID OS
  menu default
  kernel /bzimage
  append initrd=/bzroot

 

You may still need the 'pci=realloc=off' after append for other reasons but you should no longer need 'i915.alpha_support=1' after bzroot for the iGPU to work.

Link to comment

i changed what you guys mentioned and still no luck.

 

here is my go file now 

root@Tower:/boot/config# cat go
#!/bin/bash
# enable module for iGPU
modprobe i915
chmod -R 777 /dev/dri

# Start the Management Utility
/usr/local/sbin/emhttp &

 

this is my system file

default menu.c32
menu title Lime Technology, Inc.
prompt 0
timeout 50
label Unraid OS
  menu default
  kernel /bzimage
  append initrd=/bzroot
label Unraid OS GUI Mode
  kernel /bzimage
  append pcie_acs_override=downstream,multifunction initrd=/bzroot,/bzroot-gui
label Unraid OS Safe Mode (no plugins, no GUI)
  kernel /bzimage
  append initrd=/bzroot unraidsafemode
label Unraid OS GUI Safe Mode (no plugins)
  kernel /bzimage
  append initrd=/bzroot,/bzroot-gui unraidsafemode
label Memtest86+
  kernel /memtest

Link to comment

Guys i was using the binhex docker of emby and now changed to emby/embyserver and i think its working now. I do see some spikes on the cpu but i dont know if this is normal and what i would expect to see? Also seems like the video is very laggy.

 

Screen Shot 2019-03-26 at 3.06.03 PM.png

Edited by nanoblock
Link to comment

Nano,

 

I also struggled with this for my Xeon E3-1275 & ASRockRack  C236WSI.   Now that you have the device passed through correctly to the Emby Docker, you need to specify a transcode directory:

 

Create a New Share (SSD Cache Only) called Transcode (or whatever you want to call it)

Stop Emby Docker

Add new path to your transcode share:

1881798071_EmbyTranscode1.thumb.png.8af8b7c29ac53f913330ab2171707ff8.png

Start Emby Docker

Inside Emby Server Admin - change the Transcoding temporary path directory to your new path:

1969060228_Embytranscode.thumb.png.326e74ffec82d9f28898b3131517a2a0.png

 

See if your transcoding performance improves.

 

Pancho

 

 

 

Edited by pancho
Link to comment

I added a new share "transcode" and mapped it in emby and seems good now! When i have a movie playing that transcodes and i leave the hardware transcoding off i am seeing about 50% utilization on my CPU and when i turn the hardware on i am seeing about 10%. Is that what i should expect to see? 

Link to comment

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.