I’ve been working to update the Ubuntu/Debian packaging to account for how Ubuntu 22.04 repository packages have changed.
I’ve selected 1.26.1.5772 for testing purposes as its database is compatible with 1.26.0 and above.
EDIT:
Changes incorporated
The preinstaller is now sensitive to:
– CPU (including Alderlake)
– Distribution
– Release version
Using these three pieces of data, the preinstaller now compares what’s installed against what is needed and reports accordingly.
The familiar - “Installed” and “Not Installed” is upgraded.
– Reports “Installed” if the correct version is found
– Reports “Need: version, Have: version”
– Reports “Not Installed” if not found or not completely installed. (‘ii’ status)
Postinstall will mark the Intel-Compute-Runtime dependencies ‘hold’ status to prevent apt update/upgrade from breaking your working system.
Currently supported –
Any CPU, CometLake or higher - signal as Intel Compute Runtime
20.04 and below, KabyLake → GeminiLake - signal as Beignet + libopencl1
20.10 and above, KabyLake and above - signal as Intel Compute Runtime
Correct error reporting when module(s) are incorrect version or missing.
I would appreciate seeing:
The copy/paste of the console session from running the script as ‘sudo’ (use </> code formatting button
The contents of /tmp/plexinstaller.log
Report of success or failure with actual operation.
Thank you in advance for your help.
The package to download is here:
— Version 1.26.1 removed — packaging not valid for all use cases.
Fixes:
24-May-2022
Fixed parsing of held packages when querying version info.
Use proper intel-opencl-icd instead of intel-opencl
25-May-2022
Changed version testing method to use dpkg-query
Quieted shell output when marking packages in background after dpkg exits.
07-Jun-2022
01-Jul-2022
This development effort is complete.
PMS 1.27.2 (Beta download) contains the culmination of our work here.
Please expect one minor but (to be hotfixed in the next few days).
Beignet was being flagged as needed on certain Ubuntu 22.04 installations.
Something doesn’t seem right with the detection, isn’t this from the output showing it is there?
And just to validate, tried your .deb package, and it seems to be complaining that my library version that is installed is newer than what the script expects.
Setting up plexmediaserver (1.26.1.5772-872b93b91) ...
PlexMediaServer install: PlexMediaServer-1.26.1.5772-872b93b91 - Installation starting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install: Installation Type: New
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: OpenCL: Installed
PlexMediaServer install: Intel Gmmlib: Need: 21.3.3, Have: 22.0.2
PlexMediaServer install: Intel IGC Core: Need: 1.0.9441, Have: 1.0.10409
PlexMediaServer install: Intel IGC OpenCL: Need: 1.0.9441, Have: 1.0.10409
PlexMediaServer install: Intel OpenCL: Need: 21.49.21786, Have: 22.14.22890
PlexMediaServer install:
PlexMediaServer install: WARNING: The Intel GMM library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-gmmlib' from https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-gmmlib_21.3.3_amd64.deb
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' from https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-core_1.0.9441_amd64.deb
PlexMediaServer install:
PlexMediaServer install: WARNING: The Intel IGC OpenCL library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-igc-opencl' from https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-opencl_1.0.9441_amd64.deb
PlexMediaServer install:
PlexMediaServer install: WARNING: The Intel OpenCL library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install: Please install package: 'intel-opencl' from https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-opencl-icd_21.49.21786_amd64.deb
PlexMediaServer install: Intel Compute Runtime packages are available from: https://github.com/intel/compute-runtime/releases
PlexMediaServer install: Please be certain to install them in the listed order.
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
PlexMediaServer install: PlexMediaServer-1.26.1.5772-872b93b91 - Installation successful. Errors: 0, Warnings: 8
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Tautulli is a bit nicer as it has a historical view, so I can go back to a specific play and see what it was doing, was it transcoding, was it using hardware etc. Makes troubleshooting a little easier with the historical data.
Grabbed some test content, 4k h265 HDR, and it basically crashed out the plex service. So it’s not quite happy as yet. Still, it’s progress, prior to 5.18 kernel I couldn’t get any hardware transcode without it crashing the whole system.