ok I can’t speak to the difference between the NUC chip and the i5-11500 I have installed.
I have noticed a massive improvement in stability between my old set up on i7-7700k (IHD 630) vs the IHD750 in the i5-11500.
The steps with the [optional] token are included for completeness, but may not apply to your configuration.
I always ALWAYS backup any file before I edit it; I recommend you do the same. Typos happen and it’s always good to be able to restore the backup file and start over… 
I’ve put three *** at the start of any step where I think you should back up the file before you edit it.
I also judiciously use clonezilla to back up the entire disk at milestone points and have noted that too.
Here are the steps at a high level:
- install Ubuntu 20.10 server live iso burned to USB thumb drive
(update to latest installer available online,
use entire disk,
install OpenSSH server)
- refresh available packages
sudo apt update; apt list --upgradable
- update packages
sudo apt upgrade
- [optional] install optional packages you may or may not want/need
sudo apt install avahi-daemon mdns-scan wpasupplicant nfs-common
- [optional] set timezone
sudo timedatectl set-timezone America/Vancouver
- [optional] adjust /etc/nsswitch.conf, /etc/netplan/ to meet needs
- [optional] create mount point directories and adjust /etc/fstab to nfs mount remote file systems holding media as required
- [optional] mount (new) file systems in /etc/fstab
sudo mount --all -v
CLONEZILLA here - basic OS install complete
– here’s where the interesting bits are –
- Update to kernel 5.11.13…
download these 4 packages and install
sudo su -
mkdir /tmp/kernel
cd /tmp/kernel
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11.13/amd64/linux-headers-5.11.13-051113-generic_5.11.13-051113.202104101231_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11.13/amd64/linux-headers-5.11.13-051113_5.11.13-051113.202104101231_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11.13/amd64/linux-image-unsigned-5.11.13-051113-generic_5.11.13-051113.202104101231_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11.13/amd64/linux-modules-5.11.13-051113-generic_5.11.13-051113.202104101231_amd64.deb
-
install with dpkg command
sudo dpkg -i /tmp/kernel/*.deb
-
*** Set “GRUB_CMDLINE_LINUX_DEFAULT=“i915.force_probe=4c8a” to /etc/default/grub – this depends on what PCI ID is reported for your IHD
(comment out first line, duplicate and populate with the i915.force_probe string value as below:
How do I find out the value?
root@ubuntu02:~# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 4c8a (rev 04)
Use the 4 character hex value reported… 4c8a in this case.
#GRUB_CMDLINE_LINUX_DEFAULT=""
# 2021-04-17 BLT; addition to find/activate i5-11500 iHD
# https://forums.plex.tv/t/4k-hdr-hevc-hw-transcoding-is-broken-on-i5-11600k-rocket-lake/707057
GRUB_CMDLINE_LINUX_DEFAULT="i915.force_probe=4c8a"
-
update grub config
sudo update-grub
-
*** Update /etc/environment - add LIBVA_DRIVER_NAME variable
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
# 2021-04-17 BLT; added to find/activate i5-11500 iHD
# https://forums.plex.tv/t/4k-hdr-hevc-hw-transcoding-is-broken-on-i5-11600k-rocket-lake/707057
LIBVA_DRIVER_NAME="iHD"
- Get the Intel Neo video drivers; two options: 1) add the Intel PPA or just download the drivers. I found the first time that the Intel PPA worked just fine, but the second time I was blocked from it and could not use (ie, 403 Forbidden HTTP status code)
sudo su -
mkdir /tmp/intel
cd /tmp/intel
wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo apt-key add -
apt-add-repository 'deb https://repositories.intel.com/graphics/ubuntu focal main'
https://github.com/intel/compute-runtime/releases/download/21.15.19533/intel-gmmlib_20.4.1_amd64.deb
https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.6812/intel-igc-core_1.0.6812_amd64.deb
https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.6812/intel-igc-opencl_1.0.6812_amd64.deb
https://github.com/intel/compute-runtime/releases/download/21.15.19533/intel-opencl_21.15.19533_amd64.deb
https://github.com/intel/compute-runtime/releases/download/21.15.19533/intel-ocloc_21.15.19533_amd64.deb
https://github.com/intel/compute-runtime/releases/download/21.15.19533/intel-level-zero-gpu_1.1.19533_amd64.deb
https://github.com/intel/compute-runtime/releases/download/21.15.19533/ww15.sum
here’s what my sources look like right now:
root@ubuntu02:~# apt-add-repository --list
deb http://ca.archive.ubuntu.com/ubuntu groovy universe main multiverse restricted
deb http://ca.archive.ubuntu.com/ubuntu groovy-updates universe main multiverse restricted
deb http://ca.archive.ubuntu.com/ubuntu groovy-backports universe main multiverse restricted
deb http://ca.archive.ubuntu.com/ubuntu groovy-security universe main multiverse restricted
deb https://repositories.intel.com/graphics/ubuntu focal main
deb http://download.webmin.com/download/repository sarge contrib
- Check checksums
sudo sha256sum -c ww15.sum
intel-gmmlib_20.4.1_amd64.deb: OK
intel-igc-core_1.0.6812_amd64.deb: OK
intel-igc-opencl_1.0.6812_amd64.deb: OK
intel-level-zero-gpu_1.1.19533_amd64.deb: OK
intel-ocloc_21.15.19533_amd64.deb: OK
intel-opencl_21.15.19533_amd64.deb: OK
-
install with dpkg command
sudo dpkg -i /tmp/intel/*.deb
-
get any updated packages (again)
sudo apt update; sudo apt upgrade
-
ok… some more missing bits…
sudo apt install intel-media-va-driver-non-free libmfx1 intel-level-zero-gpu level-zero libdrm-intel1 vainfo
-
reboot
sudo reboot 0
-
check the environment:
root@ubuntu02:~# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.10.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.1.2 (67dbfde)
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointFEI
VAProfileHEVCMain : VAEntrypointEncSliceLP
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointEncSliceLP
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile1 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileVP9Profile3 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointEncSlice
VAProfileHEVCMain422_10 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointEncSlice
VAProfileHEVCMain422_12 : VAEntrypointVLD
VAProfileHEVCMain422_12 : VAEntrypointEncSlice
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_12 : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointVLD
VAProfileHEVCSccMain : VAEntrypointEncSliceLP
VAProfileHEVCSccMain10 : VAEntrypointVLD
VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP
VAProfileHEVCSccMain444 : VAEntrypointVLD
VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointVLD
VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP
CLONEZILLA here - OS + kernel + video drivers complete
- Ready to install PMS…
I installed 1.22.0.4163 - as that seemed to be the most stable release… and I was willing to give up experimental HDR tone mapping for stability. There may be newer releases that do not crash with HDR tone mapping enabled. “YMMV”
sudo dpkg -i plexmediaserver_1.22.0.4163-d8c4875dd_amd64.deb
Other actions that may be required…
- add users to the render group (I add myself and the media user to the group… after I create the media user.)
- adjust the systemctl override.conf file (I set
Umask=0002 so the optimized version directories don’t negatively interact with the NFS file systems I’m using.)
- Finally I restored my Library folder from my old server to its new home at
/var/lib/plexmediaserver
sudo su -
systemctl stop plexmediaserver
cd /var/lib/plexmediaserver
mv -v ./Library ./Library.yyyy-mm-dd_01.backup
tar xvzf ./PMS_Library_backup.tgz
CLONEZILLA here - OS + kernel + video drivers + Plex software + Plex configuration complete
sudo wget -q -O- http://www.webmin.com/jcameron-key.asc | sudo apt-key add
sudo echo deb http://download.webmin.com/download/repository sarge contrib |
sudo tee /etc/apt/sources.list.d/webmin.list
sudo apt update
sudo apt install webmin lm-sensors smartmontools
sudo sensors-detect
CLONEZILLA here - OS + kernel + video + PMS install/config + webmin admin console
So that’s about it… 20 easy steps. ha.
Let me know if you have questions… I’m not an expert, but I can expand on the steps I did and the output I got if it’s not clear.
- Also open to suggestions for improvement.
- Hope this complicated sequence can be rationalized once Intel, Linux & Plex catch up to 11th generation Intel CPU hardware.