PMS Packaging 07-2022 update - Forum Preview & Testing

TO ALL:

Below please find ALPHA build (pre-QA Testing).
After this build passes testing , with any possible PMS corrections, it will become PlexPass Beta.

I request everyone give it “one final test” to confirm packaging is working exactly as it should be without any surprises / mistakes.

When 1.28.1 is released to beta, this thread will be closed.

1 Like

Hardware acceleration is broken on this build. Previous build plexmediaserver_1.28.0.5952-c14994e38_amd64.deb worked fine. Lmk if you need anything else to debug

saiks@ubuntu:~/Downloads$ cat /tmp/plexinstaller.log
# Plex Media Server installation configuration info:  Sun Jul 31 02:23:41 PM EDT 2022
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=12800
DistroName="ubuntu"
DistroVersion="2204"
HaveHardware=1
HaveTranscoderPref=1
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=11657
NeedOpenCL=0
NeedBeignet=0
NeedIntelCompute=1
HaveBeignet=0
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="NUC11TNKi7"
Processor="11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz"
Distro="Ubuntu 22.04.1 LTS"
Kernel="Linux ubuntu 5.15.0-40-lowlatency #43-Ubuntu SMP PREEMPT Thu Jun 16 17:07:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux"
Memory="15626 2430 8604"

I need DEBUG logs which capture this.

Everyone who’s tested it has reported success

See attached
Plex Media Server Logs_2022-07-31_14-31-36.zip (1.1 MB)

PMS is performing hardware transcoding (vaapi driver).

Are you not seeing the indicator on the activity status?

Jul 31, 2022 14:28:05.662 [0x7f9e8f12fb00] DEBUG - [Req#18d/Transcode] [FFMPEG] - Format 0x36313459 -> unknown.
Jul 31, 2022 14:28:05.662 [0x7f9e8f12fb00] DEBUG - [Req#18d/Transcode] [FFMPEG] - Format 0x50424752 -> unknown.
Jul 31, 2022 14:28:05.662 [0x7f9e8f12fb00] DEBUG - [Req#18d/Transcode] [FFMPEG] - Format 0x50524742 -> unknown.
Jul 31, 2022 14:28:05.662 [0x7f9e8f12fb00] DEBUG - [Req#18d/Transcode] [FFMPEG] - Created surface 0.
Jul 31, 2022 14:28:05.662 [0x7f9e8f12fb00] DEBUG - [Req#18d/Transcode] [FFMPEG] - Direct mapping possible.
Jul 31, 2022 14:28:05.663 [0x7f9e8f12fb00] DEBUG - [Req#18d/Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Jul 31, 2022 14:28:05.663 [0x7f9e8f12fb00] DEBUG - [Req#18d/Transcode/JobRunner] Job running: EAE_ROOT=/tmp/pms-3d244ceb-9d80-42d9-bdd9-89e7f749fd70/EasyAudioEncoder EnableExtendedVaFormats=1 FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/a48fbc4-4359-linux-x86_64/' LIBVA_DRIVERS_PATH=/usr/lib/plexmediaserver/lib/dri NEOReadDebugKeys=1 X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 hevc -hwaccel:0 vaapi -hwaccel_fallback_threshold:0 10 -hwaccel_output_format:0 vaapi -hwaccel_device:0 vaapi -codec:1 truehd_eae -eae_prefix:1 g0g49vopum4hie71bbbxmcqy_ -analyzeduration 20000000 -probesize 20000000 -i "/ds1621/multimedia/Movies/MKV Movies/Sing 2/Sing 2.mkv" -filter_complex "[0:0]hwupload[0];[0]scale_vaapi=w=2368:h=1280:format=p010[1];[1]hwmap=derive_device=opencl[2];[2]tonemap_opencl=tonemap=mobius:format=nv12:m=bt709:p=bt709:r=tv[3];[3]hwmap=derive_device=vaapi:reverse=1[4];[4]hwupload[5]" -map "[5]" -codec:0 h264_vaapi -b:0 20000k -r:0 23.975999999999999 -force_key_frames:0 "expr:gte(t,n_forced*1)" -filter_complex "[0:1] aresample=async=1:ocl='stereo':rematrix_maxval=0.000000dB:osr=48000[6]" -map "[6]" -metadata:s:1 language=eng -codec:1 aac -b:1 256k -f dash -seg_duration 1 -dash_segment_type mp4 -init_seg_name 'init-stream$RepresentationID$.m4s' -media_seg_name 'chunk-stream$RepresentationID$-$Number%05d$.m4s' -window_size 5 -delete_removed false -skip_to_segment 1 -time_delta 0.0625 -manifest_name "http://127.0.0.1:32400/video/:/transcode/session/g0g49vopum4hie71bbbxmcqy/0d5e6585-84f9-47d1-825d-840f093d383e/manifest?X-Plex-Http-Pipeline=infinite" -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 dash -start_at_zero -copyts -vsync cfr -init_hw_device vaapi=vaapi: -filter_hw_device vaapi -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/g0g49vopum4hie71bbbxmcqy/0d5e6585-84f9-47d1-825d-840f093d383e/progress
Jul 31, 2022 14:28:05.663 [0x7f9e8f12fb00] DEBUG - [Req#18d/Transcode/JobRunner] Jobs: Starting child process with pid 159024
Jul 31, 2022 14:28:05.669 [0x7f9e8e9a4b00] DEBUG - Request: [127.0.0.1:36936 (Loopback)] PUT /video/:/transcode/session/g0g49vopum4hie71bbbxmcqy/0d5e6585-84f9-47d1-825d-840f093d383e/progress?status=startup (10 live) #185 Signed-in Token (Saiks) (Ubuntu) (range: bytes=0-) 
Jul 31, 2022 14:28:05.669 [0x7f9e8f458b00] DEBUG - Completed: [127.0.0.1:36936] 204 PUT /video/:/transcode/session/g0g49vopum4hie71bbbxmcqy/0d5e6585-84f9-47d1-825d-840f093d383e/progress?status=startup (10 live) 0ms 203 bytes (pipelined: 1) (range: bytes=0-) 

No, no indicator and CPU ramps up see images below


Thanks for letting me know.

Since 1.28.1 is an Alpha (pre-QA) build, it might not be 100%
I’ll do some testing here and see if I can recreate what you are seeing.
To date, I’ve not been able to but will find a video as close to yours as I can and see what happens

Thanks for all your help. You truly are a jewel at Plex hope they treating you as such

I’ve reached out to the transcoding team.
From 1.28.0 → 1.28.1 the Intel IHD driver was updated.

Seems there’s an issue with that update.

Got you… Thanks for the update

FYI… installed plexmediaserver_1.28.1.6018-c1f308c6a_amd64.deb today and its still reporting beignet-opencl-icd is needed on my setup which it should not. I’ve a dedicated nvidia card so is not needed.

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'plexmediaserver' instead of '/data/Personal/Software/ubuntu/plexmediaserver_1.28.1.6018-c1f308c6a_amd64.deb'
Recommended packages:
  beignet-opencl-icd
The following packages will be upgraded:
  plexmediaserver
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/85.0 MB of archives.
After this operation, 3,253 kB disk space will be freed.
Get:1 /data/Personal/Software/ubuntu/plexmediaserver_1.28.1.6018-c1f308c6a_amd64.deb plexmediaserver amd64 1.28.1.6018-c1f308c6a [85.0 MB]
(Reading database ... 236938 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.28.1.6018-c1f308c6a_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.28.1.6018-c1f308c6a) over (1.28.0.5999-97678ded3) ...
Setting up plexmediaserver (1.28.1.6018-c1f308c6a) ...
PlexMediaServer install: PlexMediaServer-1.28.1.6018-c1f308c6a - 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) Core(TM) i7-9750H CPU @ 2.60GHz
PlexMediaServer install:   Intel i915 Hardware: Not found
PlexMediaServer install:   Nvidia GPU card:     Found
PlexMediaServer install:  
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.28.1.6018-c1f308c6a - Installation successful.  Errors: 0, Warnings: 0
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

plexinstaller.log (1.3 KB)

I’m trying to figure out a solution.

It might be best to remove the auto-install for those older systems.

I’ve no concerns with that but others might.

This maybe an oversimplification but could the final check after you do everything else your doing now be something like, if Nvidia GPU card is found and Intel i915 Hardware is not found then just don’t recommend beignet-opencl-icd ?

@anon5074910

The problem I have is apt/dpkg themselves handle all “recommended” packages.
Beignet & OpenCL are in that list.

Those are done outside the scope of what I can see

If I could have done a nested install, I would have

Remove from package list and put into documentation as prerequisites ?

Of course that brings its own problems but might be cleaner purely from a package perspective.

@anon5074910

That’s how it originally was.

The packaging still checks for and alerts if not present.

It was decided by Engineering to make them self/automatic installing.

I’m trying to get them to reconsider

1 Like

I know that you’ve already gotten it pointed at the transcoding from the HID drive, but I wanted to second that I can confirm this issue existed for me as well. I’m on a brand new install on a NUC11TNKv7 with PVE7, Ubuntu 22.04 in an LXC, and downgrading the package from that latest beta (1.28.1.6018-c1f308c6a) to the older 1.28.0.5952-c14994e38 build worked for me as well.

I don’t know how long this problem has existed as it has been a while since I’ve actually tried doing it myself, but as of the latest (public) version somewhere along the line HDR Tone Mapping stopped hardware transcoding on i5-7500 (UHD630). When I turn HDR transcoding off again the same files HW transcode fine. This used to work fine since the original installer changes for Intel Compute were introduced.

Plex Media Server installation configuration info: Wed 17 Aug 2022 10:31:14 AM EDT

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=12800
DistroName=“ubuntu”
DistroVersion=“2204”
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=7500
NeedOpenCL=0
NeedBeignet=0
NeedIntelCompute=1
HaveBeignet=0
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=“Standard PC (i440FX + PIIX, 1996)”
Processor=“Intel(R) Core™ i5-7500T CPU @ 2.70GHz”
Distro=“Ubuntu 22.04.1 LTS”
Kernel=“Linux binaryplex 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux”
Memory=“7944 588 714”

PMS 1.28.1 has a core problem with transcoding.
It’s not packaging.

Doh. Is a deb for the previous release hosted somewhere? It seems it has been long enough between updates that my apt cache has already been cleaned out.