Ubuntu 22.04 Packaging - development & preview

That was the log from the latest version off the plex repository. Here’s the one from your build.

# Plex Media Server installation configuration info:  Tue May 31 03:50:20 PM EDT 2022
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=1
OverrideFile="/etc/systemd/system/plexmediaserver.service.d/override.conf"
PlexUser="plex"
PlexGroup="plex"
VideoGroup="render"
AppSuppDir="/x/plex-data/plexmediaserver"
PlexTempDir="/dev/shm"
LangEncoding="en_US.UTF-8"
ExistingVersion=12602
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
Havei915=1
HaveNvidia=0
Processor=Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
CPUSKU=9600
NeedOpenCL=1
NeedBeignet=1
NeedIntelCompute=0
HaveBeignet=1
HaveOpenCL=1
HaveIntelGmmlib=0
HaveIntelIGCCore=0
HaveIntelIGCOpenCL=0
HaveIntelOpenCL=0
HaveIntelCompute=0
RequiredIntelGmmlib="21.3.3"
RequiredIntelIGCCore="1.0.9441"
RequiredIntelIGCOpenCL="1.0.9441"
RequiredIntelOpenCL="21.49.21786"
VersionIntelGmmlib="21.1.3"
VersionIntelIGCCore="1.0.7423"
VersionIntelIGCOpenCL="1.0.7423"
VersionIntelOpenCL="22.14.22890"
Platform="System Product Name"
Processor="Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz"
Distro="Ubuntu 22.04 LTS"
Kernel="Linux x.x.com 5.15.0-30-generic #31-Ubuntu SMP Thu May 5 10:00:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux"
Memory="64163 53161 7376"

And here’s how it went after installing the .deb files originally mentioned in the warnings

----- Installing updated intel packages
$ sudo dpkg -i *.deb
(Reading database ... 228370 files and directories currently installed.)
Preparing to unpack intel-gmmlib_21.3.3_amd64.deb ...
Unpacking intel-gmmlib (21.3.3) over (21.1.3) ...
Preparing to unpack intel-igc-core_1.0.9441_amd64.deb ...
Unpacking intel-igc-core (1.0.9441) over (1.0.7423) ...
Preparing to unpack intel-igc-opencl_1.0.9441_amd64.deb ...
Unpacking intel-igc-opencl (1.0.9441) over (1.0.7423) ...
dpkg: warning: downgrading intel-opencl-icd from 22.14.22890-1 to 21.49.21786
Preparing to unpack intel-opencl-icd_21.49.21786_amd64.deb ...
Unpacking intel-opencl-icd (21.49.21786) over (22.14.22890-1) ...
Setting up intel-gmmlib (21.3.3) ...
Setting up intel-igc-core (1.0.9441) ...
Setting up intel-igc-opencl (1.0.9441) ...
Setting up intel-opencl-icd (21.49.21786) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...

----- reinstalling plex

$ sudo dpkg -i plexmediaserver_1.26.1.5772-872b93b91_amd64.deb
(Reading database ... 228370 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.26.1.5772-872b93b91_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.26.1.5772-872b93b91) over (1.26.1.5772-872b93b91) ...
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:   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:        /x/plex-data/plexmediaserver
PlexMediaServer install:   Temp Directory:      /dev/shm  (set in Preferences.xml)
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Config file used:    /etc/systemd/system/plexmediaserver.service.d/override.conf
PlexMediaServer install:   Intel i915 Hardware: Found
PlexMediaServer install:   Nvidia GPU card:     Not Found
PlexMediaServer install:
PlexMediaServer install:   OpenCL:              Installed
PlexMediaServer install:   Beignet:             Installed
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.26.1.5772-872b93b91 - Installation successful.  Errors: 0, Warnings: 0
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

------ install log


# Plex Media Server installation configuration info:  Tue May 31 10:51:29 PM EDT 2022
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=1
OverrideFile="/etc/systemd/system/plexmediaserver.service.d/override.conf"
PlexUser="plex"
PlexGroup="plex"
VideoGroup="render"
AppSuppDir="/x/plex-data/plexmediaserver"
PlexTempDir="/dev/shm"
LangEncoding="en_US.UTF-8"
ExistingVersion=12601
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
Havei915=1
HaveNvidia=0
Processor=Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz
CPUSKU=9600
NeedOpenCL=1
NeedBeignet=1
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="System Product Name"
Processor="Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz"
Distro="Ubuntu 22.04 LTS"
Kernel="Linux x.x.com 5.15.0-30-generic #31-Ubuntu SMP Thu May 5 10:00:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux"
Memory="64163 53281 7654"

Thank you.

The Plex repo is “production” status.

My package, when we’re done here (which we seem to be), will be submitted to QA and become the new “production” package.

Do you see any problems with it (the package)?

Hardware transcoding is working as expected, as is everything else. Always happy to help beta test :wink:

Hello,

I installed the package with an N5105 CPU (Jasper lake) on Ubuntu 22.04, I have no hardware transcode :

(Lecture de la base de données... 76513 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de plexmediaserver_1.26.1.5772-872b93b91_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Dépaquetage de plexmediaserver (1.26.1.5772-872b93b91) sur (1.26.1.5772-872b93b91) ...
Paramétrage de 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:   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: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.26.1.5772-872b93b91 - Installation successful.  Errors: 0, Warnings: 0
# Plex Media Server installation configuration info:  jeu. 02 juin 2022 14:55:37 UTC
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=12601
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=0
HaveIntelXeon=0
Havei915=1
HaveNvidia=0
Processor=Intel(R) Celeron(R) N5105 @ 2.00GHz
CPUSKU=5105
NeedOpenCL=0
NeedBeignet=0
NeedIntelCompute=0
HaveBeignet=0
HaveOpenCL=1
HaveIntelGmmlib=0
HaveIntelIGCCore=0
HaveIntelIGCOpenCL=0
HaveIntelOpenCL=0
HaveIntelCompute=0
RequiredIntelGmmlib="21.3.3"
RequiredIntelIGCCore="1.0.9441"
RequiredIntelIGCOpenCL="1.0.9441"
RequiredIntelOpenCL="21.49.21786"
VersionIntelGmmlib="22.0.2"
VersionIntelIGCCore="1.0.11279"
VersionIntelIGCOpenCL="1.0.11279"
VersionIntelOpenCL="22.21.23269"
Platform="GX55"
Processor="Intel(R) Celeron(R) N5105 @ 2.00GHz"
Distro="Ubuntu 22.04 LTS"
Kernel="Linux clank 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux"
Memory="7730 343 6452"

@DjidaneJex

OOPS…

You do not have all the required 21.49.21786 installedd.
Your Ubuntu distro updated gmmlib to 22.0.2. (needs apt-mark hold applied to the 21.49.21786 version)

That said, I am somehow not properly detecting JasperLake CPUs

I will address that now.

Thanks, I reinstalled the correct versions of the packages, still no transcoding, but i’m ready for a fix :slightly_smiling_face: :

(Lecture de la base de données... 76548 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de plexmediaserver_1.26.1.5772-872b93b91_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Dépaquetage de plexmediaserver (1.26.1.5772-872b93b91) sur (1.26.1.5772-872b93b91) ...
Paramétrage de 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:   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: 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.26.1.5772-872b93b91 - Installation successful.  Errors: 0, Warnings: 0
# Plex Media Server installation configuration info:  jeu. 02 juin 2022 15:16:24 UTC
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=12601
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=0
HaveIntelXeon=0
Havei915=1
HaveNvidia=0
Processor=Intel(R) Celeron(R) N5105 @ 2.00GHz
CPUSKU=5105
NeedOpenCL=0
NeedBeignet=0
NeedIntelCompute=0
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="GX55"
Processor="Intel(R) Celeron(R) N5105 @ 2.00GHz"
Distro="Ubuntu 22.04 LTS"
Kernel="Linux clank 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux"
Memory="7730 348 5296"

@DjidaneJex

Would you do me a quick favor please ? ( I found what I need to fix. I would like to confirm what /proc/cpuinfo returns)

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

No problem !

$ cat /proc/cpuinfo | grep -i 'model name'  | uniq
model name      : Intel(R) Celeron(R) N5105 @ 2.00GHz

Thank you!

If you’ll be available for a bit, I’ll have an updated package to test with.

I know there are core PMS transcoder corrections for JasperLake which aren’t in this version I’m using. This package will get your ICR versions set properly for PMS.

When this packaging goes to QA & release status, both PMS and my work will come together :fire: LOL

EDIT I may need a bit… This isn’t a 2-line fix. I’ll ping you when ready
shakes fist at Celery CPUs

–obsolete - removed –

I installed it, it seems to be better, but I still don’t have hardware transcoding, i see a small video engine use with intel_gpu_top when i switch from direct play to transcode but it only stays for 1 second :

(Lecture de la base de données... 76548 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de plexmediaserver_1.26.1.5772-872b93b91_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Dépaquetage de plexmediaserver (1.26.1.5772-872b93b91) sur (1.26.1.5772-872b93b91) ...
Paramétrage de 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:   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:           N5105
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: 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.26.1.5772-872b93b91 - Installation successful.  Errors: 0, Warnings: 0
# Plex Media Server installation configuration info:  jeu. 02 juin 2022 16:34:32 UTC
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=12601
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=0
HaveIntelXeon=0
HaveIntelCeleron=1
Havei915=1
HaveNvidia=0
CPUSKU=5105
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="GX55"
Processor="N5105"
Distro="Ubuntu 22.04 LTS"
Kernel="Linux clank 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux"
Memory="7730 361 5998"

Thank you for this part of the task.

If you were to now upgrade to the newer PMS version, which has JasperLake fix for the transcoder – you should have what you need.

The problem you were having was because Ubuntu 22.04 changed & mixed up the versions of ICR. My package prevents that from happening (the ‘apt-mark’ setting)

My next step is to give this to QA . They approve and give to Engineering to create the packages with.

I tried to update to the latest public and beta versions and… still no hardware transcode :frowning:

Let’s be careful here.

  1. You get HW transcoding without the tonemapping regardless.
  2. Tone mapping is a separate option.

What do you show in “Settings - Server - Transcoder - Show Advanced” ?

  1. Tonemapping not checked.
  2. Use Hardware Acceleration if available is checked ?

If so, Please make certain DEBUG logging is enabled, and VERBOSE logging is disabled (Settings - General - Show Advanced)

SAVE button if you make any changes.

Now try one last time and then download the logs ZIP file from PMS.
Attach it here and I will look.

Ok, I disabled tonemapping, hw acceleration was already checked, I enabled debug logging and tried to transcode. I found theses lines in the logs :
[Transcode] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
[Transcoder] [h264_vaapi @ 0x7ff4b42bacc0] Driver does not support any RC mode compatible with selected options (supported modes: CQP).

Here are the full logs after 1 try :
Plex Media Server Logs_2022-06-02_17-20-00.zip (908.0 KB)

Thank you.

This is interesting:

Here, it works.

Identifier=th1rf57shuqr8c7cilgm7jak
Jun 02, 2022 17:17:31.643 [0x7f6a54ad4b38] DEBUG - [Transcode] We're going to try to auto-select a subtitle.
Jun 02, 2022 17:17:31.643 [0x7f6a54ad4b38] DEBUG - [Transcode] Audio Stream: 16400, Subtitle Stream: -1
Jun 02, 2022 17:17:31.650 [0x7f6a54ad4b38] DEBUG - [Transcode] Found session GUID of uf1dtgl0csnq7mx4xq3akgyv in session start.
Jun 02, 2022 17:17:31.651 [0x7f6a54ad4b38] DEBUG - [Transcode] Cleaning directory for session uf1dtgl0csnq7mx4xq3akgyv ()
Jun 02, 2022 17:17:31.651 [0x7f6a54ad4b38] DEBUG - [Transcode] Starting a transcode session uf1dtgl0csnq7mx4xq3akgyv at offset -1.0 (state=3)
Jun 02, 2022 17:17:31.652 [0x7f6a54ad4b38] DEBUG - [Transcode] TPU: hardware transcoding: using hardware decode accelerator vaapi
Jun 02, 2022 17:17:31.652 [0x7f6a54ad4b38] DEBUG - [Transcode] TPU: hardware transcoding: zero-copy support present
Jun 02, 2022 17:17:31.652 [0x7f6a54ad4b38] DEBUG - [Transcode] TPU: hardware transcoding: using zero-copy transcoding
Jun 02, 2022 17:17:31.652 [0x7f6a54ad4b38] DEBUG - [Transcode] [Universal] Using local file path instead of URL: /media/videos/films/Le Garçon et la Bête (2015)/Le Garçon et la Bête (2015).mkv
Jun 02, 2022 17:17:31.652 [0x7f6a54ad4b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jun 02, 2022 17:17:31.655 [0x7f6a54ad4b38] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Jun 02, 2022 17:17:31.656 [0x7f6a54ad4b38] DEBUG - [Transcode/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/1cca1da-4321-linux-x86_64/' LIBVA_DRIVERS_PATH=/usr/lib/plexmediaserver/lib/dri X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 h264 -hwaccel:0 vaapi -hwaccel_fallback_threshold:0 10 -hwaccel_output_format:0 vaapi -hwaccel_device:0 vaapi -codec:3 dca -analyzeduration 20000000 -probesize 20000000 -i '/media/videos/films/Le Garçon et la Bête (2015)/Le Garçon et la Bête (2015).mkv' -filter_complex "[0:0]hwupload[0];[0]scale_vaapi=w=1920:h=1036:format=nv12[1];[1]hwupload[2]" -map "[2]" -codec:0 h264_vaapi -b:0 20000k -r:0 23.975999999999999 -force_key_frames:0 "expr:gte(t,n_forced*3)" -filter_complex "[0:3] aresample=async=1:ocl='stereo':rematrix_maxval=0.000000dB:osr=48000[3]" -map "[3]" -metadata:s:1 language=fra -codec:1 aac -b:1 256k -f dash -seg_duration 3 -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/uf1dtgl0csnq7mx4xq3akgyv/23e288b3-6c0c-4d97-83b1-fa9622ad371e/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/uf1dtgl0csnq7mx4xq3akgyv/23e288b3-6c0c-4d97-83b1-fa9622ad371e/progress
Jun 02, 2022 17:17:31.657 [0x7f6a54ad4b38] DEBUG - [Transcode/JobRunner] Jobs: Starting child process with pid 1358

Here, it cannot be seen.

Jun 02, 2022 17:17:31.841 [0x7f6a531afb38] DEBUG - Stopping transcode session uf1dtgl0csnq7mx4xq3akgyv
Jun 02, 2022 17:17:31.841 [0x7f6a531afb38] DEBUG - Starting a transcode session uf1dtgl0csnq7mx4xq3akgyv at offset 0.0 (state=3)
Jun 02, 2022 17:17:31.841 [0x7f6a531afb38] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Jun 02, 2022 17:17:31.841 [0x7f6a531afb38] DEBUG - [Universal] Using local file path instead of URL: /media/videos/films/Le Garçon et la Bête (2015)/Le Garçon et la Bête (2015).mkv
Jun 02, 2022 17:17:31.841 [0x7f6a531afb38] DEBUG - Codecs: hardware transcoding: testing API vaapi
Jun 02, 2022 17:17:31.842 [0x7f6a531afb38] DEBUG - TPU: hardware transcoding: final decoder: , final encoder: 
Jun 02, 2022 17:17:31.842 [0x7f6a531afb38] DEBUG - [JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/1cca1da-4321-linux-x86_64/' LIBVA_DRIVERS_PATH=/usr/lib/plexmediaserver/lib/dri X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 h264 -codec:3 dca -analyzeduration 20000000 -probesize 20000000 -i '/media/videos/films/Le Garçon et la Bête (2015)/Le Garçon et la Bête (2015).mkv' -filter_complex "[0:0]scale=w=1920:h=1036:force_divisible_by=4[0];[0]format=pix_fmts=yuv420p|nv12[1]" -map "[1]" -codec:0 libx264 -crf:0 16 -r:0 23.975999999999999 -preset:0 veryfast -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,n_forced*3)" -filter_complex "[0:3] aresample=async=1:ocl='stereo':rematrix_maxval=0.000000dB:osr=48000[2]" -map "[2]" -metadata:s:1 language=fra -codec:1 aac -b:1 256k -f dash -seg_duration 3 -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/uf1dtgl0csnq7mx4xq3akgyv/23e288b3-6c0c-4d97-83b1-fa9622ad371e/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/uf1dtgl0csnq7mx4xq3akgyv/23e288b3-6c0c-4d97-83b1-fa9622ad371e/progress
Jun 02, 2022 17:17:31.843 [0x7f6a531afb38] DEBUG - [JobRunner] Jobs: Starting child process with pid 1372

I will go inquire.

May I please see the XML (<media> through </media> part) ?

The movie media xml ?

<Media id="15677" duration="7184054" bitrate="25478" width="1920" height="1036" aspectRatio="1.85" audioChannels="6" audioCodec="dca-ma" videoCodec="h264" videoResolution="1080" container="mkv" videoFrameRate="24p" audioProfile="ma" videoProfile="main">
<Part accessible="1" exists="1" id="15677" key="/library/parts/15677/1613150736/file.mkv" duration="7184054" file="/media/videos/films/Le Garçon et la Bête (2015)/Le Garçon et la Bête (2015).mkv" size="22879652597" audioProfile="ma" container="mkv" deepAnalysisVersion="6" requiredBandwidths="30865,29682,28705,27997,27472,27094,26003,25676" videoProfile="main">
<Stream id="16397" streamType="1" default="1" codec="h264" index="0" bitrate="16006" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1040" codedWidth="1920" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="23.976" hasScalingMatrix="0" height="1036" level="40" profile="main" refFrames="1" requiredBandwidths="14632,13342,12311,11752,11404,11078,10493,10493" scanType="progressive" width="1920" displayTitle="1080p (H.264)" extendedDisplayTitle="1080p (H.264)"> </Stream>
<Stream id="16398" streamType="2" codec="dca" index="1" channels="2" bitrate="768" language="Français" languageTag="fr" languageCode="fra" audioChannelLayout="stereo" bitDepth="16" profile="ma" requiredBandwidths="1098,1079,1079,1079,1079,1079,1079,1079" samplingRate="48000" title="Stéréo" displayTitle="Français (DTS-HD MA Stereo)" extendedDisplayTitle="Stéréo (Français DTS-HD MA Stereo)"> </Stream>
<Stream id="16399" streamType="2" codec="dca" index="2" channels="2" bitrate="768" language="Français" languageTag="fr" languageCode="fra" audioChannelLayout="stereo" bitDepth="16" profile="dts" requiredBandwidths="768,768,768,768,768,768,768,768" samplingRate="48000" title="Stéréo" displayTitle="Français (DTS Stereo)" extendedDisplayTitle="Stéréo (Français DTS Stereo)"> </Stream>
<Stream id="16400" streamType="2" selected="1" default="1" codec="dca" index="3" channels="6" bitrate="1536" language="Français" languageTag="fr" languageCode="fra" audioChannelLayout="5.1(side)" bitDepth="24" profile="ma" requiredBandwidths="4735,4605,4275,4251,4251,4251,4251,4251" samplingRate="48000" title="Surround 5.1" displayTitle="Français (DTS-HD MA 5.1)" extendedDisplayTitle="Surround 5.1 (Français DTS-HD MA)"> </Stream>
<Stream id="16401" streamType="2" codec="dca" index="4" channels="6" bitrate="1536" language="Français" languageTag="fr" languageCode="fra" audioChannelLayout="5.1(side)" bitDepth="24" profile="dts" requiredBandwidths="1509,1509,1509,1509,1509,1509,1509,1509" samplingRate="48000" title="Surround 5.1" displayTitle="Français (DTS 5.1)" extendedDisplayTitle="Surround 5.1 (Français DTS)"> </Stream>
<Stream id="16402" streamType="2" codec="dca" index="5" channels="2" bitrate="256" language="Français" languageTag="fr" languageCode="fra" audioChannelLayout="stereo" bitDepth="16" profile="dts" requiredBandwidths="256,256,256,256,256,256,256,256" samplingRate="48000" title="Stéréo" displayTitle="Français (DTS Stereo)" extendedDisplayTitle="Stéréo (Français DTS Stereo)"> </Stream>
<Stream id="16403" streamType="2" codec="dca" index="6" channels="2" bitrate="768" language="Japonais" languageTag="ja" languageCode="jpn" audioChannelLayout="stereo" bitDepth="16" profile="ma" requiredBandwidths="1080,1059,1059,1059,1059,1059,1059,1059" samplingRate="48000" title="Stéréo" displayTitle="Japonais (DTS-HD MA Stereo)" extendedDisplayTitle="Stéréo (Japonais DTS-HD MA Stereo)"> </Stream>
<Stream id="16404" streamType="2" codec="dca" index="7" channels="2" bitrate="768" language="Japonais" languageTag="ja" languageCode="jpn" audioChannelLayout="stereo" bitDepth="16" profile="dts" requiredBandwidths="768,768,768,768,768,768,768,768" samplingRate="48000" title="Stéréo" displayTitle="Japonais (DTS Stereo)" extendedDisplayTitle="Stéréo (Japonais DTS Stereo)"> </Stream>
<Stream id="16405" streamType="2" codec="dca" index="8" channels="6" bitrate="1536" language="Japonais" languageTag="ja" languageCode="jpn" audioChannelLayout="5.1(side)" bitDepth="24" profile="ma" requiredBandwidths="4715,4590,4264,4245,4245,4245,4245,4245" samplingRate="48000" title="Surround 5.1" displayTitle="Japonais (DTS-HD MA 5.1)" extendedDisplayTitle="Surround 5.1 (Japonais DTS-HD MA)"> </Stream>
<Stream id="16406" streamType="2" codec="dca" index="9" channels="6" bitrate="1536" language="Japonais" languageTag="ja" languageCode="jpn" audioChannelLayout="5.1(side)" bitDepth="24" profile="dts" requiredBandwidths="1509,1509,1509,1509,1509,1509,1509,1509" samplingRate="48000" title="Surround 5.1" displayTitle="Japonais (DTS 5.1)" extendedDisplayTitle="Surround 5.1 (Japonais DTS)"> </Stream>
<Stream id="16407" streamType="3" codec="pgs" index="10" language="Français" languageTag="fr" languageCode="fra" requiredBandwidths="41,41,41,41,41,41,41,41" displayTitle="Français (PGS)" extendedDisplayTitle="Français (PGS)"> </Stream>
</Part>
</Media>

Thanks. I’ve forwarded to the transcoder team.

When they reply to me, I’ll ping you.

@DjidaneJex

I got feedback and then had a chat with the transcoder team.

I’m told the deficiency is with the Intel Media Driver on the Jasper Lake CPUs.

In particular, those modes “RC” and “CQP” are the problem; they aren’t supported by that CPU.

The team did tell me they are working on an alternative which, unfortunately, isn’t ready yet.