Server Version#:
Player Version#:
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>
Windows PLEX server was just too much maintenance. Ubuntu runs and never fails. Set BIOS to boot automatically after power failure if you never want to touch it. Run update/upgrade whenever you feel like it.
-
Buy NUC11ATKC4 $219 (with RAM & SSD)
-
Load Ubuntu (free) and update/upgrade
-
Load media local, external, or NAS
-
Install Plex (free)
-
Configure NFS (only if using NAS)
a. Configure NAS advertising on your NAS (proprietary to your NAS)
b. Commands (using example IP and locations):
sudo apt install nfs-common
sudo mkdir /mymediafolder
mount -t nfs -o mountvers=3 192.168.1.5:/mnt/NAS/Shares/Share_Drive /mymediafolder
sudo gedit
when text editor opens, go to OPEN and open /etc/fstab and add the following line:
92.168.1.5:/mnt/NAS/Shares/Share_Drive /mymediafolder nfs mountvers=3 0 0
mount /mymediafolder
mount 192.168.1.5:/mnt/NAS/Shares/Share_Drive -
Open PLEX web interface and add libraries
-
Install kernel
a. Commands:
cd ~
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16.20/amd64/linux-headers-5.16.20-051620-generic_5.16.20-051620.202204131933_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16.20/amd64/linux-headers-5.16.20-051620_5.16.20-051620.202204131933_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16.20/amd64/linux-image-unsigned-5.16.20-051620-generic_5.16.20-051620.202204131933_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.16.20/amd64/linux-modules-5.16.20-051620-generic_5.16.20-051620.202204131933_amd64.deb
sudo apt install inxi
sudo apt install vainfo
sudo apt install curl
sudo apt install intel-gpu-tools
sudo apt install intel-media-va-driver-non-free libmfx1
sudo apt install intel-media-va-driver-non-free -
Install Intel Compute Runtime
a. Commands:
cd ~
wget https://github.com/intel/compute-runtime/releases/download/22.16.22992/libigdgmm12_22.1.2_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.10988/intel-igc-core_1.0.10988_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.10988/intel-igc-opencl_1.0.10988_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/22.16.22992/intel-opencl-icd-dbgsym_22.16.22992_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/22.16.22992/intel-opencl-icd_22.16.22992_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/22.16.22992/intel-level-zero-gpu-dbgsym_1.3.22992_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/22.16.22992/intel-level-zero-gpu_1.3.22992_amd64.deb
sudo dpkg -i *.deb
sudo apt update
sudo apt upgrade
sudo -i
sudo reboot now
MAKE SURE TO TURN OFF SECURE BOOT IN BIOS AND BOOT THE NEW KERNEL
b. Commands:
sudo nano /etc/default/grub
Add i915.force_probe=4680 to the line GRUB_CMDLINE_LINUX_DEFAULT line, it will look something like this:
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash i915.force_probe=4680”
SAVE AND EXIT
sudo update-grub
sudo reboot now -
Install Intel drivers
a. Commands:
sudo apt-get install -y gpg-agent wget
wget -qO - https://repositories.intel.com/graphics/intel-graphics.key |
sudo gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg
echo ‘deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/graphics/ubuntu focal-legacy main’ |
sudo tee /etc/apt/sources.list.d/intel.gpu.focal.list
sudo apt-get update
sudo apt-get install
intel-opencl-icd
intel-level-zero-gpu level-zero
intel-media-va-driver-non-free libmfx1 libmfxgen1 libvpl2stat -c “%G” /dev/dri/render*
groups ${USER}MAKE SURE TO REPLACE ‘USER’ ABOVE WITH THE USER NAME YOU’RE WORKING WITH
-
CREATE AND EDIT DOCUMENT CALLED “i915.conf” IN “/etc/modprobe.d”
a. Do this by following these directions/commands:
gedit
Add 1 line: options i915 enable_guc=2
Save as i915.conf in modprobe.d
sudo update-initramfs -u
sudo apt update
sudo apt upgrade
sudo reboot now
you should now be able to transcode. all sw vrsions are 1 year old but confirmed working. after update/upgrade, your drivers should update accordingly.
credit/links:
https://kernel.ubuntu.com/~kernel-ppa/mainline/
https://dgpu-docs.intel.com/installation-guides/ubuntu/ubuntu-jammy-arc.html