Created
May 31, 2020 19:09
-
-
Save nairbspace/6afed439e244332f088fbee6b2bbd973 to your computer and use it in GitHub Desktop.
Script to delete iHD_drv_video.so on linuxserver/plex Docker containers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Bug with iHD_drv_video.so Intel media driver as of 2020-05-31. | |
## Need to force Plex to choose i965_drv_video.so on Gemini Lake CPUs. | |
## This is done by: | |
## adding this script to your /config/custom-cont-init.d/ folder on linuxserver/plex Docker containers | |
## or | |
## manually via command line by: | |
## docker exec -it name_of_plex_container /bin/bash -c "rm /usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so;exit 0" | |
## References: | |
## https://forums.plex.tv/t/hardware-transcoding-broken-on-intel-nuc-with-j5005-cpu-on-ubuntu-18-04-lts/487616/24 | |
## https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ | |
IHD_PATH='/usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so' | |
if [ -e $IHD_PATH ] | |
then | |
echo '**** iHD driver found, deleting file. ****' | |
rm $IHD_PATH | |
fi | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the help!