Thanks.
I think this next iteration will take us (nearly) there 
Give me another hour or two.
Thanks.
I think this next iteration will take us (nearly) there 
Give me another hour or two.
I’ve got some issues with this one:
PlexMediaServer install: Pre-installation Validation.
./preinst: 601: [: -gt: unexpected operator
PlexMediaServer install:
PlexMediaServer install: Configuration information discovered:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: render
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /tmp
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel i915 Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
./preinst: 858: [: -gt: unexpected operator
PlexMediaServer install: Intel Gmmlib: Not Installed
PlexMediaServer install: Intel IGC Core: Not Installed
./preinst: 870: [: -eq: argument expected
PlexMediaServer install: Intel IGC OpenCL: Not Installed
PlexMediaServer install: Intel OpenCL: Installed
PlexMediaServer install: Intel OCLoc: Installed
PlexMediaServer install: Intel Zero GPU: Installed
PlexMediaServer install:
PlexMediaServer install: WARNING: The Intel IGC Core, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-igc-core'
PlexMediaServer install: WARNING: The Intel IGC OpenCL library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-igc-opencl'
PlexMediaServer install: Pre-installation Validation complete. Errors: 0, Warnings: 2
# Plex Media Server installation configuration info: Thu 11 Mar 2021 08:17:53 PM CST
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=0
OverrideFile=""
PlexUser="plex"
PlexGroup="plex"
VideoGroup="render"
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/tmp"
LangEncoding="en_US.UTF-8"
ExistingVersion=12200
HaveHardware=1
HaveTranscoderPref=0
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=1
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
Havei915=1
HaveNvidia=0
CPUSKU=10710
NeedBeignet=0
NeedIntelCompute=1
HaveGmmlib=
HaveIntelIGCCore=
HaveIntelIGCOpenCL=
HaveIntelOpenCL=1
HaveIntelc=1
HaveIntelZeroGPU=1
HaveIntelCompute=0
HaveBeignetIcd=1
HaveOpenCL=1
HaveBeignet=1
Platform="NUC10i7FNH"
Processor="Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz"
Distro="Ubuntu 20.04.2 LTS"
Kernel="Linux nuc 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux"
Memory="31828 6577 2402"
Got my new system built tonight, here are the results. Seeing the same error as @riiviin
Also not super impressed by the performance of this new library vs beignet - seeing higher CPU usage on HDR → SDR than on my old CPU - though HW is being used which is good
dpkg -l | grep intel
ii intel-gmmlib 20.3.2 amd64 Intel(R) Graphics Memory Management Library Package
ii intel-gpu-tools 1.22-1+b1 amd64 tools for debugging the Intel graphics driver
ii intel-igc-core 1.0.6410 amd64 Intel(R) Graphics Compiler for OpenCL(TM)
ii intel-igc-opencl 1.0.6410 amd64 Intel(R) Graphics Compiler for OpenCL(TM)
ii intel-level-zero-gpu 1.0.19150 amd64 Intel(R) Graphics Compute Runtime
ii intel-microcode 3.20201118.1~deb10u1 amd64 Processor microcode firmware for Intel CPUs
ii intel-ocloc 21.09.19150 amd64 Intel(R) Graphics Compute Runtime
ii intel-opencl 21.09.19150 amd64 Intel(R) Graphics Compute Runtime
ii libdrm-intel1:amd64 2.4.97-1 amd64 Userspace interface to intel-specific kernel DRM services -- runtime
PlexMediaServer install: Pre-installation Validation.
./preinst: 601: [: -gt: unexpected operator
PlexMediaServer install:
PlexMediaServer install: Configuration information discovered:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: render
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /dev/shm (set in Preferences.xml)
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel i915 Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
./preinst: 858: [: -gt: unexpected operator
PlexMediaServer install: Intel Gmmlib: Not Installed
PlexMediaServer install: Intel IGC Core: Installed
./preinst: 870: [: -eq: argument expected
PlexMediaServer install: Intel IGC OpenCL: Not Installed
PlexMediaServer install: Intel OpenCL: Installed
PlexMediaServer install: Intel OCLoc: Installed
PlexMediaServer install: Intel Zero GPU: Installed
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete.
# Plex Media Server installation configuration info: Thu 11 Mar 2021 10:08:58 PM EST
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=0
OverrideFile=""
PlexUser="plex"
PlexGroup="plex"
VideoGroup="render"
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/dev/shm"
LangEncoding="en_US.UTF-8"
ExistingVersion=12200
HaveHardware=1
HaveTranscoderPref=1
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=1
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
Havei915=1
HaveNvidia=0
CPUSKU=10600
NeedBeignet=0
NeedIntelCompute=1
HaveGmmlib=
HaveIntelIGCCore=
HaveIntelIGCOpenCL=
HaveIntelOpenCL=1
HaveIntelc=1
HaveIntelZeroGPU=1
HaveIntelCompute=0
HaveBeignetIcd=1
HaveOpenCL=1
HaveBeignet=1
Platform="System Product Name"
Processor="Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz"
Distro="Debian GNU/Linux 10 (buster)"
Kernel="Linux Godzilla 5.10.0-4-amd64 #1 SMP Debian 5.10.19-1 (2021-03-02) x86_64 GNU/Linux"
OOOPS
[ $HaveGmmlib -gt 0 ] && [ $HaveIntelIGCCore -gt 0 ] && [ $HaveIntelIGCOpenCL -gt ] && \
Change to be (inside the 3rd conditional)
[ $HaveGmmlib -gt 0 ] && [ $HaveIntelIGCCore -gt 0 ] && [ $HaveIntelIGCOpenCL -gt 0 ] && \
Sorry
I am doing packaging. I am not an intel engineer / driver engineer for this effort.
Syntax error: L 601, 858, 870 : Corrected
This is why I need an appropriate CPU. All I have is a NUC8i7HVK (x2)
Only one error now for gmmlib
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install:
PlexMediaServer install: DEVELOPMENT V5 draft
PlexMediaServer install: Configuration information discovered:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: render
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /dev/shm (set in Preferences.xml)
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel i915 Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
./preinst: 859: [: -gt: unexpected operator
PlexMediaServer install: Intel Gmmlib: Not Installed
PlexMediaServer install: Intel IGC Core: Installed
PlexMediaServer install: Intel IGC OpenCL: Installed
PlexMediaServer install: Intel OpenCL: Installed
PlexMediaServer install: Intel OCLoc: Installed
PlexMediaServer install: Intel Zero GPU: Installed
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete.
would you try this one? I updated it just before you started typing.
I fixed the interface variables
L859 - The HaveIntelGmmlib Fixed that
expect line 871
V 7 -
ChuckPa-preinst.tar (40 KB)
Looks good now!
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install:
PlexMediaServer install: DEVELOPMENT V7 draft
PlexMediaServer install: Configuration information discovered:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: render
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /dev/shm (set in Preferences.xml)
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel i915 Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: Intel Gmmlib: Installed
PlexMediaServer install: Intel IGC Core: Installed
PlexMediaServer install: Intel IGC OpenCL: Installed
PlexMediaServer install: Intel OpenCL: Installed
PlexMediaServer install: Intel OCLoc: Installed
PlexMediaServer install: Intel Zero GPU: Installed
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete.
# Plex Media Server installation configuration info: Thu 11 Mar 2021 11:41:57 PM EST
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=0
OverrideFile=""
PlexUser="plex"
PlexGroup="plex"
VideoGroup="render"
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/dev/shm"
LangEncoding="en_US.UTF-8"
ExistingVersion=12200
HaveHardware=1
HaveTranscoderPref=1
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=1
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
Havei915=1
HaveNvidia=0
CPUSKU=10600
NeedBeignet=0
NeedIntelCompute=1
HaveIntelGmmlib=1
HaveIntelIGCCore=1
HaveIntelIGCOpenCL=1
HaveIntelOpenCL=1
HaveIntelOCLoc=1
HaveIntelZeroGPU=1
HaveIntelCompute=1
HaveBeignetIcd=1
HaveOpenCL=1
HaveBeignet=1
Platform="System Product Name"
Processor="Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz"
Distro="Debian GNU/Linux 10 (buster)"
Kernel="Linux Godzilla 5.10.0-4-amd64 #1 SMP Debian 5.10.19-1 (2021-03-02) x86_64 GNU/Linux"
What does Plexinstaller.log look like?
Everything should be defined
Thank you! I will call it a night 
Tomorrow I will start postinst

jkalchik@ceres:/tmp> sudo ./preinst
[sudo] password for root:
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install:
PlexMediaServer install: DEVELOPMENT V7 draft
PlexMediaServer install: Configuration information discovered:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: video
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /tmp
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel i915 Hardware: Not found
PlexMediaServer install: Nvidia GPU card: Found
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete.
jkalchik@ceres:/tmp> cat /tmp/plexinstaller.log
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=0
OverrideFile=""
PlexUser=“plex”
PlexGroup=“plex”
VideoGroup=“video”
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/tmp"
LangEncoding=“en_US.UTF-8”
ExistingVersion=0
HaveHardware=1
HaveTranscoderPref=0
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=1
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
Havei915=0
HaveNvidia=1
CPUSKU=
NeedBeignet=0
NeedIntelCompute=0
HaveIntelGmmlib=0
HaveIntelIGCCore=0
HaveIntelIGCOpenCL=0
HaveIntelOpenCL=0
HaveIntelOCLoc=0
HaveIntelZeroGPU=0
HaveIntelCompute=0
HaveBeignetIcd=0
HaveOpenCL=0
HaveBeignet=0
Platform=“System Product Name”
Processor=“Intel® Core™ i9-10900F CPU @ 2.80GHz”
Distro=“openSUSE Leap 15.2”
Kernel=“Linux ceres 5.3.18-lp152.66-default #1 SMP Tue Mar 2 13:18:19 UTC 2021 (73933a3) x86_64 x86_64 x86_64 GNU/Linux”
Memory=“31923 1297 384”
@ChuckPA: I can give you direct access to this host. Hit me up with a PM if that would help.
V7:
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install:
PlexMediaServer install: DEVELOPMENT V7 draft
PlexMediaServer install: Configuration information discovered:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: render
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /tmp
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel i915 Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: Intel Gmmlib: Installed
PlexMediaServer install: Intel IGC Core: Installed
PlexMediaServer install: Intel IGC OpenCL: Installed
PlexMediaServer install: Intel OpenCL: Installed
PlexMediaServer install: Intel OCLoc: Installed
PlexMediaServer install: Intel Zero GPU: Installed
PlexMediaServer install:
PlexMediaServer install: Pre-installation Validation complete.
# Plex Media Server installation configuration info: Fri 12 Mar 2021 08:26:31 AM CST
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=0
OverrideFile=""
PlexUser="plex"
PlexGroup="plex"
VideoGroup="render"
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/tmp"
LangEncoding="en_US.UTF-8"
ExistingVersion=12200
HaveHardware=1
HaveTranscoderPref=0
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=0
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
Havei915=1
HaveNvidia=0
CPUSKU=10710
NeedBeignet=0
NeedIntelCompute=1
HaveIntelGmmlib=1
HaveIntelIGCCore=1
HaveIntelIGCOpenCL=1
HaveIntelOpenCL=1
HaveIntelOCLoc=1
HaveIntelZeroGPU=1
HaveIntelCompute=1
HaveBeignetIcd=1
HaveOpenCL=1
HaveBeignet=1
Platform="NUC10i7FNH"
Processor="Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz"
Distro="Ubuntu 20.04.2 LTS"
Kernel="Linux nuc 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux"
Memory="31828 7159 1206"
@ChuckPa I’m a little late to the party, but here is my output. I do not know if it is correct as I don’t really know what to look for. (What I can say, however, is that Processor and Distro in the plexinstaller.log file, both look correct. And Nvidia GPU card: Not Found from the preinst output, is also correct. As for Intel i915 Hardware: Found - not sure about that, as the ark page doesn’t say anything about that. What the ark page does say, is that my CPU has Intel® UHD Graphics 630.```)
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install:
PlexMediaServer install: DEVELOPMENT V7 draft
PlexMediaServer install: Configuration information discovered:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: render
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /tmp
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Intel i915 Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: Intel Gmmlib: Not Installed
PlexMediaServer install: Intel IGC Core: Not Installed
PlexMediaServer install: Intel IGC OpenCL: Not Installed
PlexMediaServer install: Intel OpenCL: Not Installed
PlexMediaServer install: Intel OCLoc: Not Installed
PlexMediaServer install: Intel Zero GPU: Not Installed
PlexMediaServer install:
PlexMediaServer install: WARNING: The Intel GMM library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-gmmlib'
PlexMediaServer install: WARNING: The Intel IGC Core, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-igc-core'
PlexMediaServer install: WARNING: The Intel IGC OpenCL library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-igc-opencl'
PlexMediaServer install: WARNING: The Intel OpenCL library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-opencl'
PlexMediaServer install: WARNING: The Intel Ocloc library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-ocloc'
PlexMediaServer install: WARNING: The Intel Level 0Zero GPU library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-level-zero-gpu'
PlexMediaServer install: Pre-installation Validation complete. Errors: 0, Warnings: 6
and
Plex Media Server installation configuration info: Fri 12 Mar 2021 11:20:02 AM MST
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=0
OverrideFile=""
PlexUser="plex"
PlexGroup="plex"
VideoGroup="render"
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/tmp"
LangEncoding="en_US.UTF-8"
ExistingVersion=12200
HaveHardware=1
HaveTranscoderPref=0
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=0
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
Havei915=1
HaveNvidia=0
CPUSKU=10400
NeedBeignet=0
NeedIntelCompute=1
HaveIntelGmmlib=0
HaveIntelIGCCore=0
HaveIntelIGCOpenCL=0
HaveIntelOpenCL=0
HaveIntelOCLoc=0
HaveIntelZeroGPU=0
HaveIntelCompute=0
HaveBeignetIcd=1
HaveOpenCL=1
HaveBeignet=1
Platform="90NB0059US"
Processor="Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz"
Distro="Ubuntu 20.04.2 LTS"
Kernel="Linux lenovo-2021 5.6.0-1048-oem #52-Ubuntu SMP Thu Feb 18 11:37:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux"
Memory="11624 1739 7122"
The i915 being present means there is probably , but not guaranteed, a QSV-capable ASIC on board. It’s about 99% consistent.
The Kernel enumerates the i915 after discovery. As it continues down that path, if it is able to identify a rendering-capable device, it’s enumerated in /dev/dri. This is where PMS looks for QSV (/dev/dri/renderD128)
Your output does have the SKU correct. That SKU drives what Preinstall recommends for drivers (to get proper HW HDR support).
The drivers listed as warnings are printed in Installation Order (gmmlib first, igc-core second, etc)
A post was split to a new topic: Loss of HW transcoding
I’m about to build a system with a Coffee Lake Xeon chip that has a P630 integrated graphics. Do you need or want me to run this script on it?
You can run the script. It will tell you what you need to install.
What I’m now working on is incorporating the links so the package shows you where to go.
The full list (all 6 packages – only first 4 are needed) is :
Not sure if you’d rather have this in a new thread, but something in PMS 1.22.1.4200 seems to break 4K HDR HEVC hw transcoding on my NUC10. It starts working again when I dropped back down to 1.22.0.4163. At first I thought it might be from updating to the latest Intel compute packages, but it was Plex itself.
That’s not related at all. Sorry, new thread please.
You should notice that apt-get -y install ./filename.deb will get the new ‘recommended’ files if needed.
Noticed this as well, I dropped back down to 1.22.0.4163 as well and it works as before.
@ChuckPa, based on what you stated to taraba, I went ahead and installed the first 4 Intel compute runtime packages. And now, I’m getting (hw) transcoding on 4K HDR files. And I didn’t even install a newer version of Plex – it just started working! Until now, I was unaware that the fix was so simple. (Tangentially, the script said to install all 6, but you stated only 4 were needed. Why is that?)
So, I’d like to understand what the plan is. Is the plan to just make sure than when when the Plex Media Server .deb is installed, the user is instructed that certain additional libraries (the Intel ones) should be installed? Or will it be something even better, such as auto-installation of the Intel libs? Just curious.