Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Emby Hardware Acceleration working on j5005 with tweak

Featured Replies

The instructions here enabled hardware decoding on my j5005 board (UHD Graphics 605/Gemini Lake) but encoding produced garbled output.

 

I assumed it had something to do with Unraid or the 4.19 kernel but apparently not - it's solved by forcing Emby to use the container's i965_drv_video.so instead of iHD_drv_video.so.

 

NOTE 1: As of Emby 4.6.* which includes an iHD driver with fixes for Gemini Lake it's no longer necessary to disable iHD, so I've struck through the instructions below.

 

NOTE 2: if you're getting video-related freezes with unRAID 6.9 as I was - adding a dummy HDMI plug to my headless setup and updating Syslinux configuration as below seems to solve it:

label Unraid OS
  menu default
  kernel /bzimage
  append initrd=/bzroot intel_iommu=on,igfx_off

 

Here's how to do that:

 

# Launch an EmbyServer shell:

docker exec -it EmbyServer /bin/sh

# Inside the shell disable iHD_drv_video.so

cd lib/dri/
mv iHD_drv_video.so iHD_drv_video.so.disabled

 

# Restart EmbyServer

 

Now both hardware decode and encode should work.

 

NOTE: You must add intel_iommu=igfx_off to your syslinux.cfg (see this post for details)

NOTE: I'm using the official EmbyServer release in Community Apps

Edited by CS01-HS

  • 2 weeks later...
  • Author

Since this patch is required whenever the container's reinstalled I wrote a quick script for the User Scripts plugin.

 

#!/bin/bash

# Verify it's running
running=`docker container ls | grep EmbyServer | wc -l`
if [ "${running}" != "0" ]; then
  docker exec EmbyServer /bin/sh -c "mv /lib/dri/iHD_drv_video.so /lib/dri/iHD_drv_video.so.disabled" 2>/dev/null

  if [[ $? -eq 0 ]]; then 
    echo "EmbyServer: Detected iHD driver. Disabling and restarting EmbyServer..."
    docker restart EmbyServer
    echo "Done."
  fi
fi

exit 0

 

Edited by CS01-HS
tweak script

  • 4 months later...
  • Author

Follow up:

 

As of (at least) 6.9.0-beta30 adding intel_iommu=igfx_off to syslinux.cfg is no longer necessary with my j5005. 

  • 3 months later...
  • Author

Update:

As of Emby 4.6.* (currently in beta) which includes an iHD driver with fixes for Gemini Lake it's no longer necessary to disable iHD.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.