I’m thinking the same thing with you . avoid the fork/exec.
I’ll remove the ‘cut’ from it and work as you have.
While I’ve not expressly called out “Pentium”, testing for N and G covers it.
Since we’re testing for the 5xxx and above, we’re at KBL and above CPUs which is what this is all about.
This block was still conditional on the HaveIntelCeleron=1 assignment earlier so it wouldn’t be executed for Pentium without the other changes.
I’ll add that. I won’t have any real support other than the local flag.
1 Like
Making final changes now.
If you’ll be available for a bit, I’ll provide a package to test.
Should that succeed, I’ll get QA to review (they’re already waiting)
No syntax errors.
Detection for my 8809G works correctly.
DistroVersion="2004"
HaveHardware=1
HaveTranscoderPref=0
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=0
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
HaveIntelCeleron=0
HaveIntelPentium=0
Havei915=1
HaveNvidia=0
CPUSKU=8809
NeedOpenCL=1
NeedBeignet=1
NeedIntelCompute=0
HaveBeignet=1
HaveOpenCL=1
HaveIntelGmmlib=1
HaveIntelIGCCore=1
HaveIntelIGCOpenCL=1
HaveIntelOpenCL=1
HaveIntelCompute=1
Looks good, thanks!
[trisk@menchi]% sudo dpkg -i plexmediaserver_1.27.0.5878-8f821a871_amd64.deb
(Reading database ... 113464 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.27.0.5878-8f821a871_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.27.0.5878-8f821a871) over (1.27.0.5878-8f821a871) ...
Setting up plexmediaserver (1.27.0.5878-8f821a871) ...
PlexMediaServer install: PlexMediaServer-1.27.0.5878-8f821a871 - 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: /var/tmp (set in Preferences.xml)
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Processor: G5905
PlexMediaServer install: Intel i915 Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: OpenCL: Installed
PlexMediaServer install: Intel Gmmlib: Installed
PlexMediaServer install: Intel IGC Core: Installed
PlexMediaServer install: Intel IGC OpenCL: Installed
PlexMediaServer install: Intel OpenCL ICD: Installed
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
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.27.0.5878-8f821a871 - Installation successful. Errors: 0, Warnings: 0
Processing triggers for mime-support (3.64ubuntu1) ...
Is this good enough to “Paint & Ship” ?

2 Likes
Yeah, I’ll shut up about the other “unnecessary” grep calls 
YOU DO THAT! 

I like deterministic code. case statements bother me because they’re so darn verbose
I’m verbose enough as it is 
Dumb question, if I wanted to get this version in docker plexmediaserver_1.27.0.5878-8f821a871_amd64 I would probably have to make my own until this is moved to prod?
@Cody_Plex
First,
The package supports upgrading a docker / LXC from within the container.
It knows it’s under the control of a container executive (the common ones) , or a custom shell control, or systemd.
In the case of a docker or LXC container, it knows how to handle being installed via the command line (dpkg).
Second:
Regarding this update, Today is the day Engineering gathers everything for the upcoming release of PMS.
I was able to confirm this update will be included in this very next PlexPass release.
I will keep this thread open to address any previously unforeseen issues which surface when PlexPass is released but close it as soon as the version becomes Public.
1 Like
Awesome! I believe you said this already but just want to confirm - this means we can update to the next public pass release and then once Plex can handle newer IRC versions, it will release the hold on 21.49 its own and I won’t have to manually keep track from there, correct? Just want to make sure I can take it off my mind’s watchlist lol
You are correct here.
When Engineering makes updates which require changes to Intel Compute Runtime, it will be reflected in the packaging from now on.
At some point, it is hoped Engineering will be able to fully integrate ICR with PMS distribution.
If they do then all external references could be removed.
AGAIN, IF THEY DO. I don’t know their plan but if they did then this what would happen.
FOR NOW, I will keep track of the packaging requirements and manage them from within the DEB package.
1 Like
Confirming: is this release that just got released the one we can upgrade to with these changes then?
It sounds like the earliest release this will be in is the next Beta.
This release is from the beta after the original comment which is why I am asking my dude.
@lickeedmast
1.27.1 had already been built before my changes were approved.
1.27.2 is about to be built.
These packaging changes will be included in this next build (1.27.2)
On a separate topic:
I am completing changes for how the repo is managed.
New versions of Ubuntu (20+) and Debian (10+) support and prefer using GPG to protect the package signing key.
The new scripting works.
-
Ubuntu 20+ / Debian 10+ will use the new construct
deb [arch=$HostArch signed-by=/usr/share/keyrings/plexmediaserver.gpg]
a. The key will be maintained as PMS is installed.
b. The repo file creation and removal will be handled in postinst . This avoids the DPKG message about keep/ignore/new as the package installs.
-
Other distros and older versions will continue to use apt-key
-
Package --purge is now working.
I’d very much like input on this before submitting to QA for implementation.
Speaking of which… when will Plex Pass users finally be able to update through the repo? 
@cryptochrome
PlexPass is not in the repo YET
The Downloads page makes it look that way but it’s not.
Unless management/engineering change their views on this…
You’ll never have a PlexPass repository.
The current method is the safeguard for users.
You must “Manually OPT-IN each time by downloading”.