nanoblock Posted March 26, 2019 Share Posted March 26, 2019 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. Quote Link to comment
nanoblock Posted March 26, 2019 Author Share Posted March 26, 2019 Additionally seeing this in the logs which im not sure if this has anything to do with it. Quote Link to comment
Hoopster Posted March 26, 2019 Share Posted March 26, 2019 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. Quote Link to comment
nanoblock Posted March 26, 2019 Author Share Posted March 26, 2019 Yup I have premier. Could the alpha be causing the issue? What should it look like without the alpha? Is there any issues with the version of emby I’m running possibley? Quote Link to comment
ken-ji Posted March 26, 2019 Share Posted March 26, 2019 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 Quote Link to comment
nanoblock Posted March 26, 2019 Author Share Posted March 26, 2019 What should the system file look like without the alpha? I’ll make both changes and reboot. Quote Link to comment
Hoopster Posted March 26, 2019 Share Posted March 26, 2019 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. Quote Link to comment
nanoblock Posted March 26, 2019 Author Share Posted March 26, 2019 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 Quote Link to comment
nanoblock Posted March 26, 2019 Author Share Posted March 26, 2019 Any suggestions guys? Also poking around emby forums and i am not sure if am reading correctly but there may be some issues with this not being supported but i am not sure. Can anyone confirm that has this working. Quote Link to comment
nanoblock Posted March 26, 2019 Author Share Posted March 26, 2019 (edited) 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. Edited March 26, 2019 by nanoblock Quote Link to comment
pancho Posted March 26, 2019 Share Posted March 26, 2019 (edited) 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: Start Emby Docker Inside Emby Server Admin - change the Transcoding temporary path directory to your new path: See if your transcoding performance improves. Pancho Edited March 26, 2019 by pancho Quote Link to comment
nanoblock Posted March 28, 2019 Author Share Posted March 28, 2019 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? Quote Link to comment
Recommended Posts
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.