RPM Error Tonemapping in HW- "Unable to get number of OpenCL platforms"-- Happens with all RPM Distributions

How do we backup or export a VM which is located on datastore1 ?

(my ESXi knowledge is limited)

My goal is to be able to backup & restore.

(since initial creation, I now have 10GbE LAN for everything so don’t really need to run it from the internal 1TB datastore1)

I have never been successful with this fully. The time I used it I went through the wizard and it worked kinda-- I had issues with network devices which I recreated. Now the lab at work does this for me.

Oh cool you got it working. The steps to install the drivers on F35 if you haven’t done it are:

dnf install dnf-plugins-core
dnf copr enable jdanecki/intel-opencl
dnf install intel-opencl level-zero intel-level-zero-gpu

Next thing I need help with (for the 7000 and 8000 CPUs) - Beignet,.

Know where that might be?

Not that I know of. The copr project that I saw doesn’t work
I was able to build beignet myself in F35, so it’s very possible.
Someone could create a copr project to build it for this. Not sure if anyone in plex team can do this.

I think plex though could change it’s architecture to not to use Beignet-- though my knowledge is lacking here. I know OpenCL 2.1 support is there for Intel 7th Generation.

I’m trying to get Engineering to free up the time to build Beignet / OpenCL for the NAS platforms. Still no progress.

IF ICR will work for the 7000’s and higher, meaning Beignet is not needed, then I am satisfied.

PMS doesn’t look for the specific packages by name. My installer does. It ensures the package(s) are installed for the transcoder to be able to get to the QSV ASIC (transcode) and the IGPU for tonemapping using OpenCL.

If it doesn’t need Beignet to get to the openCL layer for the tonemapping then great.

If that is the case, can you test if opencl works with 7th gen?

As for your script, looking at packages works, but for people who build (like me) or different distros, it would be better to check directly if the libraries exist using a combination of “ldconfig -p” where you can grep for libigc, libigdgmm, etc., and use a combination of “clinfo” which looks at /etc/OpenCL/vendors, and such as “LIBVA_DRIVER_NAME=iHD vainfo”

I thought about doing that then you run into the people , like Gentoo, who put their stuff all over the place.

I unfortunately NEED the standardization for support and documentation purposes.

[chuck@fedora ~]$ rpm -qa | grep -i intel
xorg-x11-drv-intel-2.99.917-51.20200205.fc35.x86_64
intel-gmmlib-21.3.2-1.fc35.x86_64
intel-igc-core-1.0.8708-1.fc35.x86_64
intel-igc-opencl-1.0.8708-1.fc35.x86_64
intel-opencl-21.38.21026-1.fc35.x86_64
intel-level-zero-gpu-1.2.21026-1.fc35.x86_64
[chuck@fedora ~]$ 

Those who are sufficiently skilled to know it’s right can safely ignore the warnings.
Those warnings don’t stop the installation. Warn != abort :wink:

I’ll continue to build the package here; create the postinstall; then start trial builds to see how badly I can break it.

When I get something that works, I’ll post it up ASAP

1 Like

Great glad you are making it. I will try it once done. Thanks.
I guess either way to check, there are issues.

I’ll build first package tonight. %post is almost done.

FYI. other things you’ll get.

  1. Nvidia detection.
  2. udev configuration

Hand’s off installing in a container (docker or LXC). It does know to avoid the udevadm bug.

1 Like

Base scripting work is ready. cleanup to finish. Testing begins

[root@fedora output-all]# dnf -y install plexmediaserver-1.25.0.5263-f0d9679db.x86_64.rpm
Last metadata expiration check: 2:50:47 ago on Wed 24 Nov 2021 05:36:40 PM EST.
Dependencies resolved.
===============================================================================================================================================================================================================================
 Package                                                Architecture                                  Version                                                        Repository                                           Size
===============================================================================================================================================================================================================================
Installing:
 plexmediaserver                                        x86_64                                        1.25.0.5263-f0d9679db                                          @commandline                                         96 M

Transaction Summary
===============================================================================================================================================================================================================================
Install  1 Package

Total size: 96 M
Installed size: 204 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                       1/1 
  Running scriptlet: plexmediaserver-1.25.0.5263-f0d9679db.x86_64                                                                                                                                                          1/1 
    PlexMediaServer install: Pre-installation Validation.
    PlexMediaServer install: Pre-installation Validation complete.

  Installing       : plexmediaserver-1.25.0.5263-f0d9679db.x86_64                                                                                                                                                          1/1 
  Running scriptlet: plexmediaserver-1.25.0.5263-f0d9679db.x86_64                                                                                                                                                          1/1 
  PlexMediaServer install: 1.25.0.5263-f0d9679db - Installation starting.
  PlexMediaServer install: 1.25.0.5263-f0d9679db - 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:   Processor:           Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz
  PlexMediaServer install:   Intel i915 Hardware: Found
  PlexMediaServer install:   Nvidia GPU card:     Not Found
  PlexMediaServer install:  
  PlexMediaServer install:   OpenCL:              Not Installed
  PlexMediaServer install:   Beignet:             Not Installed
  PlexMediaServer install: 
  PlexMediaServer install: WARNING: The OpenCL library, required for hardware transcoding of HDR content, is missing.
  PlexMediaServer install:          Please install package:  'ocl-icd-libopencl1'
  PlexMediaServer install:  
  PlexMediaServer install: INFO:    dpkg will install package 'ocl-icd-libopencl1' automatically
  PlexMediaServer install:          if available for your host upon successful installation of Plex Media Server.
  PlexMediaServer install: 
  PlexMediaServer install: WARNING: The Beignet-OpenCL library, required for hardware transcoding of HDR content, is missing.
  PlexMediaServer install:          Please install package:  'beignet-opencl-icd'
  PlexMediaServer install:  
  PlexMediaServer install: INFO:    dpkg will install package 'beignet-opencl-icd' automatically
  PlexMediaServer install:          if available for your host upon successful installation of Plex Media Server.
  PlexMediaServer install: Completing final configuration.
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /usr/lib/systemd/system/plexmediaserver.service.
  PlexMediaServer install: 1.25.0.5263-f0d9679db - Installation successful.  Errors: 0, Warnings: 2

  Verifying        : plexmediaserver-1.25.0.5263-f0d9679db.x86_64                                                                                                                                                          1/1 

Installed:
  plexmediaserver-1.25.0.5263-f0d9679db.x86_64                                                                                                                                                                                 

Complete!
[root@fedora output-all]# ps -ef | grep -i plex
plex        3351       1  3 20:27 ?        00:00:01 /usr/lib/plexmediaserver/Plex Media Server
plex        3377    3351  3 20:27 ?        00:00:01 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5263-f0d9679db /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/System.bundle
plex        3428    3351  0 20:27 ?        00:00:00 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.25.0.5263-f0d9679db 32600
plex        3581    3351  1 20:27 ?        00:00:00 Plex Plug-in [org.musicbrainz.agents.music] /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5263-f0d9679db /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/Musicbrainz.bundle
plex        3679    3351  1 20:27 ?        00:00:00 Plex Plug-in [tv.plex.agents.music] /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5263-f0d9679db /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/PlexMusic.bundle
plex        3709    3351  1 20:27 ?        00:00:00 Plex Plug-in [tv.plex.agents.movie] /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5263-f0d9679db /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/PlexMovieNew.bundle
plex        3713    3351  1 20:27 ?        00:00:00 Plex Plug-in [tv.plex.agents.series] /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5263-f0d9679db /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/PlexSeries.bundle
plex        3795    3351  2 20:27 ?        00:00:00 Plex Plug-in [com.plexapp.agents.thetvdb] /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5263-f0d9679db /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/TheTVDB.bundle
plex        3848    3351  6 20:28 ?        00:00:01 Plex Plug-in [com.plexapp.agents.imdb] /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.25.0.5263-f0d9679db /usr/lib/plexmediaserver/Resources/Plug-ins-f0d9679db/PlexMovie.bundle
root        3874    1909  0 20:28 pts/0    00:00:00 grep --color=auto -i plex
[root@fedora output-all]# 
1 Like

Looks good-- Only comment is the OpenCL library as I wrote above is “ocl-icd” not “ocl-icd-libopencl1”.
It shouldn’t say “dpkg” but rather yum/dnf.
I’m also not sure how you are going to bypass Beignet-- but that’s going to be from your testing :slight_smile:

Do you have a CometLake / RocketLake ?

I can’t get it to work without Beignet .

I have fixed the above warning messages – that was “noise”.
It’s otherwise up and running with the new RocketLake-capable transcoder.

I do have a Comet Lake processor

Care to spin up a new (test) server to avoid potentially contaminating your production and ride the wild software ? :smiling_imp:

Please check /tmp/plexinstaller.log. Its inventory should be exact.

1 Like

Looks good from what I see:

# rpm -Uvh plexmediaserver-1.25.0.5263-f0d9679db.x86_64.rpm 
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
    PlexMediaServer install: Pre-installation Validation.
    PlexMediaServer install: Pre-installation Validation complete.
Updating / installing...
   1:plexmediaserver-1.25.0.5263-f0d96################################# [ 50%]
  PlexMediaServer install: 1.25.0.5263-f0d9679db - Installation starting.
  PlexMediaServer install: 1.25.0.5263-f0d9679db - 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/lib/plexmediaserver/encdir  (set in Preferences.xml)
  PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
  PlexMediaServer install:   Processor:           Intel(R) Core(TM) i7-10700T CPU @ 2.00GHz
  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:        Installed
  PlexMediaServer install: Completing final configuration.
  PlexMediaServer install: Starting Plex Media Server.
  PlexMediaServer install: 1.25.0.5263-f0d9679db - Installation successful.  Errors: 0, Warnings: 0
Cleaning up / removing...
   2:plexmediaserver-1.25.0.5246-cb250################################# [100%]

# cat /tmp/plexinstaller.log 
# Plex Media Server installation configuration info:  Wed Nov 24 06:03:01 PM PST 2021
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="/var/lib/plexmediaserver/encdir"
LangEncoding="en_US.UTF-8"
ExistingVersion=0
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
CPUSKU=10700
NeedOpenCL=1
NeedBeignet=0
NeedIntelCompute=1
HaveIntelGmmlib=1
HaveIntelIGCCore=1
HaveIntelIGCOpenCL=1
HaveIntelOpenCL=1
HaveIntelOCLoc=
HaveIntelZeroGPU=1
HaveIntelCompute=1
HaveBeignet=0
HaveOpenCL=1
Platform="To Be Filled By O.E.M."
Processor="Intel(R) Core(TM) i7-10700T CPU @ 2.00GHz"
Distro="Fedora Linux 35 (Thirty Five)"
Kernel="Linux rave.truevibe.net 5.14.18-300.fc35.x86_64 #1 SMP Fri Nov 12 16:43:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux"
Memory="31722 2513 729"

A little bit of formatting to fix but otherwise looks good for fresh paintjob

But I’m still not able to do tonemapping which I just tested. I wasn’t sure if there is more for you to do to make that work: On quick look the logs said, Failed to get number of OpenCL platforms

Grab the logs please (DEBUG) so I can take them to the transcoder team.

I think that’s a known problem they have with this transcoder update.

You had tonemapping before?

I tested with version 1.22.0.4163 and the tonemap works in hardware.