PMS Packaging 07-2022 update - Forum Preview & Testing

@Whysyn @nakedninja42

Thank you both for your testing and reporting here.

These two reports are the final confirmation I needed to proceed with submitting this to QA for approval.

Before I submit to QA, would you both please check your /etc/apt/sources.list.d/plexmediaserver.list file?

You should find the repo definition is now defined using a GPG key with the actual Plex package signing key in /usr/share/keyrings.

@Whysyn

Regarding your transcoding issue, would you please create a fresh topic and ping me to that thread ? (@chuckpa)

In your OP, please include the DEBUG logs zip file which captures the playback problem you’re having.

Here’s my plexmediaserver.list, looks good! (Didn’t enable it yet though.)

# When enabling this repo,  Ubuntu 20+ / Debian 10+ will automatically install the signing key
# All older versions require manual installation of the key using wget:
# wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add -
#
# Uncomment this next line to enable the repository then update apt:  sudo apt update.
#deb [arch=amd64 signed-by=/usr/share/keyrings/plexmediaserver.gpg] https://downloads.plex.tv/repo/deb/ public main

Here you go @ChuckPa

# When enabling this repo please remember to add the PlexPublic.Key into the apt setup.
# wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add -
#deb [arch=amd64 signed-by=/usr/share/keyrings/plexmediaserver.gpg] https://downloads.plex.tv/repo/deb/ public main

That’s perfect.

The default is disabled but the path to the gpg key is already setup for apt

If you were to edit the file, removing the [ ....... ] signed-by info, when you next install the package, you’d find it updates only that part of the definition without changing enabled/disabled status.

Ignore the transcoding issue, I’m the idiot. Plex installer gave instructions on installing all the debs from Intel’s github, but I missed the fact that I didn’t have Ubuntu’s ocl-icd-libopencl1 package installed… works like a champ now.

(FYI - This i5 NUC 11 is pretty impressive. Looks like I can handle 2-3 simultaneous HDR tone maps. Only one of my TVs doesn’t do HDR though, so I’m in really good shape!)

ALL:

In reviewing my checklist,

I still need someone to check the installation on Intel N and G series (Celeron) CPUs

What’s the difference between the new beta ? Anything new from this package ?

The differences here, which are my development/preview , and not yet in production release are as stated in the first post:

I am hoping to get someone with a ā€œNā€ cpu can confirm everything is correctly identified.

In the old thread @DjidaneJex had an N CPU…

i have i5-1135G7 do you need that?

The 1135G7 is different than what I’m seeking. That processor has been verified.

I need the Pentium G series. Processors like: IntelĀ® PentiumĀ® Processor G4560

Thanks for offering.

I may be offtopic with this, but since the other thread got closed, I didn’t know where else to put this: The current production install script (version 1.28.0.5973) is throwing an error in the post-install script:

/var/lib/dpkg/info/plexmediaserver.postinst: 311: [: Illegal number: ()

I thought you might want to know about this, Chuck. If not, please disregard/delete.

Full output, for reference:

sascha@copperhead /m/p/temp> sudo dpkg -i *.deb
[sudo] password for sascha: 
(Reading database ... 232479 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.28.0.5973-52ca4217f_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
/var/lib/dpkg/tmp.ci/preinst: line 618: [: (): integer expression expected
/var/lib/dpkg/tmp.ci/preinst: line 625: [: (): integer expression expected
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.28.0.5973-52ca4217f) over (1.27.0.5873-8f821a871) ...
Setting up plexmediaserver (1.28.0.5973-52ca4217f) ...
PlexMediaServer install: PlexMediaServer-1.28.0.5973-52ca4217f - Installation starting.
PlexMediaServer install: 
PlexMediaServer install: Now installing based on:
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:   Processor:           Intel(R)
PlexMediaServer install:   Intel i915 Hardware: Found
PlexMediaServer install:   Nvidia GPU card:     Not Found
/var/lib/dpkg/info/plexmediaserver.postinst: 311: [: Illegal number: ()
PlexMediaServer install:  
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: INFO: Please be advised, Intel Compute Runtime packages for version 21.49.21786 have been marked with 'hold' status.
PlexMediaServer install:       This will preserve PMS operation by preventing normal 'apt' updates from overwriting them.
PlexMediaServer install:       PMS will automatically manage (un)hold status for you.   To manage manually,  see 'man apt-mark'.
PlexMediaServer install: PlexMediaServer-1.28.0.5973-52ca4217f - Installation successful.  Errors: 0, Warnings: 0
Processing triggers for mime-support (3.64ubuntu1) ...

@cryptochrome

There is no good place to put that so putting it here is by far the best choice

Please share /tmp/plexinstaller.log.
Also please share the results of:

cat /proc/cpuinfo | grep 'model name' | uniq

You can see something went wrong here :

PlexMediaServer install:   Processor:           Intel(R)

I have a good idea what it is :frowning:

@cryptochrome ALL:

Below please find PMS 1.28.0.5952-c14994e38.
This matches the current PMS Beta version with all my changes applied.

There should be no issues with 11th generation or above Intel processors where the naming convention has changed while retaining full identification of all older processors.

Please test and report.

Hey Chuck,

here is the installer log:

sascha@copperhead ~> cat /tmp/plexinstaller.log
# Plex Media Server installation configuration info:  Thu 21 Jul 2022 12:11:52 AM CEST
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=12700
DistroName="ubuntu"
DistroVersion="2004"
HaveHardware=1
HaveTranscoderPref=0
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=1
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
HaveIntelCeleron=0
HaveIntelPentium=0
Havei915=1
HaveNvidia=0
CPUSKU=()
NeedOpenCL=0
NeedBeignet=0
NeedIntelCompute=0
HaveBeignet=1
HaveOpenCL=1
HaveIntelGmmlib=1
HaveIntelIGCCore=1
HaveIntelIGCOpenCL=1
HaveIntelOpenCL=1
HaveIntelCompute=1
RequiredIntelGmmlib="21.3.3"
RequiredIntelIGCCore="1.0.9441"
RequiredIntelIGCOpenCL="1.0.9441"
RequiredIntelOpenCL="21.49.21786"
VersionIntelGmmlib="21.3.3"
VersionIntelIGCCore="1.0.9441"
VersionIntelIGCOpenCL="1.0.9441"
VersionIntelOpenCL="21.49.21786"
Platform="NUC11PAHi5"
Processor="Intel(R)"
Distro="Ubuntu 20.04.4 LTS"
Kernel="Linux copperhead 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux"
Memory="31731 5572 24085"

And here the /proc/cpuinfo:

model name	: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz

Will give this a try after work :slight_smile:

@cryptochrome

Yep, It’s as I thought.

I apologize for not having originally understood all the different ways Intel is naming their processors now.

In this update, I completely rewrote the CPU identification section to be more flexible.

As long as Intel keeps up with their CPU-GPU structure (e.g. i7-7700) then it will work for even an i11-22141 :wink: .

Alright. Plex will run fine, regardless, right? It’s just the script checking for the CPU glitching?

PMS will run fine IF Intel Compute Runtime is already installed.
There would be problems on a new installation.

The CPU detection drives:

  1. Whether or not Intel Compute Runtime is needed.
  2. If Intel Compute Runtime is needed, preinstall sets the flags (plexinstaller.log) so postinstall makes final checks and locks Intel Compute Runtime packages (apt-mark hold) to prevent apt update/apt upgrade from breaking it.

This latest I just uploaded is:

  1. The full package change with the additional changes since my initial trial.
  2. Updated to include PMS 1.28.0
1 Like

TO ALL:

Progress Report:

  1. Reviewed the changes with QA.
  2. QA has approved these packaging changes
  3. Updated packaging scripts will be in the next PMS
    – 1.28.1 if there’s still time
    – 1.28.2 at the latest
1 Like