Problem installing dependency beignet-opencl-icd

Server Version#: 1.21.3.4046 (Ubuntu Linux)
Player Version#: Web/PS4

I manually updated PMS today, and the install gave the alerts –

PlexMediaServer install: WARNING: Package ‘Beignet’, required for hardware transcoding of HDR content, is missing.
PlexMediaServer install: Please install package: ‘beignet-opencl-icd’
PlexMediaServer install: WARNING: The OpenCL library, required for hardware transcoding of HDR content, is missing.
PlexMediaServer install: Please install package: ‘ocl-icd-libopencl1’

But when I tried apt-get install -y beignet-opencl-icd (on Ubuntu 18.04.5 LTS), I am told:

Package beignet-opencl-icd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘beignet-opencl-icd’ has no installation candidate

I’m kinda at a loss, because my whole reason for this box was to handle transcoding. I can’t find other ways to install these packages, or other locations for them. Have they been obsolesced for 18.04.5 LTS in favor of LTS version 20? Am I S-O-L without updating Ubuntu? [I *was* able to install ocl-icd-libopencl1]

Entire update output:

(Reading database … 107993 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.21.3.4046-3c1c83ba4_amd64.deb …
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.21.3.4046-3c1c83ba4) over (1.21.3.4021-5a0a3e4b2) …
Setting up plexmediaserver (1.21.3.4046-3c1c83ba4) …
PlexMediaServer install: PlexMediaServer-1.21.3.4046-3c1c83ba4 - 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: video
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 QSV Hardware: Not found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: OpenCL library: Not Installed
PlexMediaServer install: Beignet package: Not Installed
PlexMediaServer install:
PlexMediaServer install: WARNING: Package ‘Beignet’, required for hardware transcoding of HDR content, is missing.
PlexMediaServer install: Please install package: ‘beignet-opencl-icd’
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: Completing final configuration.
PlexMediaServer install: PlexMediaServer-1.21.3.4046-3c1c83ba4 - Installation successful. Errors: 0, Warnings: 2
Processing triggers for libc-bin (2.27-3ubuntu1.4) …
Processing triggers for mime-support (3.60ubuntu1) …

That’s odd.

I created a new Ubuntu 18.04 VM, got it all its updates then installed PMS.

Here’s the console log:

root@ubuntu:~/Downloads# ls
plexmediaserver_1.21.3.4046-3c1c83ba4_amd64.deb
root@ubuntu:~/Downloads# dpkg -i plexmediaserver_1.21.3.4046-3c1c83ba4_amd64.deb 
Selecting previously unselected package plexmediaserver.
(Reading database ... 126370 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.21.3.4046-3c1c83ba4_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.21.3.4046-3c1c83ba4) ...
Setting up plexmediaserver (1.21.3.4046-3c1c83ba4) ...
PlexMediaServer install: PlexMediaServer-1.21.3.4046-3c1c83ba4 - 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:         video
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 QSV Hardware:  Not found
PlexMediaServer install:   Nvidia GPU card:     Not Found
PlexMediaServer install:  
PlexMediaServer install:   OpenCL library:      Not Installed
PlexMediaServer install:   Beignet package:     Not Installed
PlexMediaServer install:  
PlexMediaServer install: WARNING: Package 'Beignet', required for hardware transcoding of HDR content, is missing.
PlexMediaServer install:          Please install package:  'beignet-opencl-icd'
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: Completing final configuration.
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
PlexMediaServer install: PlexMediaServer-1.21.3.4046-3c1c83ba4 - Installation successful.  Errors: 0, Warnings: 2
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
root@ubuntu:~/Downloads# apt install beignet-opencl-icd ocl-icd-libopencl1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  beignet-opencl-icd ocl-icd-libopencl1
0 upgraded, 2 newly installed, 0 to remove and 22 not upgraded.
Need to get 16.0 MB of archives.
After this operation, 60.4 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 beignet-opencl-icd amd64 1.3.2-2 [16.0 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 ocl-icd-libopencl1 amd64 2.2.11-1ubuntu1 [30.3 kB]
Fetched 16.0 MB in 1s (13.9 MB/s)        
Selecting previously unselected package beignet-opencl-icd:amd64.
(Reading database ... 129522 files and directories currently installed.)
Preparing to unpack .../beignet-opencl-icd_1.3.2-2_amd64.deb ...
Unpacking beignet-opencl-icd:amd64 (1.3.2-2) ...
Selecting previously unselected package ocl-icd-libopencl1:amd64.
Preparing to unpack .../ocl-icd-libopencl1_2.2.11-1ubuntu1_amd64.deb ...
Unpacking ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
Setting up ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
Setting up beignet-opencl-icd:amd64 (1.3.2-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
root@ubuntu:~/Downloads# 

silly question? 64 bit ?

Yes, 64-bit [AMD Opteron X3421]
I backed up my metadata & am toying with uninstalling and starting with a clean install. But I’m thinking that might be overkill.

The package and metadata (the info about your media) are stored separately so if you had an existing library defined, you could back it up and then later restore it.

As for why Ubuntu isn’t installing these, I can only conclude it is a problem with the installation itself.

Have you made any modifications to the repository definitions in /etc/apt ?

Right. PLEX has worked great for 2+ years, and my library is ~5TB. (with the media on a separate partition from the PLEX & Ubuntu install)
To my recollection, I made no modifications to /etc/apt. However, I have been using an updater from GitHub. Something may have gone awry there, or modified /etc/apt.

If you want to burn down the host and redo it.

  1. Pick a path where you want to save your metadata (should have plenty of space). The NAS / other storage is fine.

  2. run through this (it’s common sense)

sudo bash
systemctl stop plexmediaserver
cd /var/lib/plexmediaserver
tar cf /path/where/you/save/PlexLibrary.tar ./Library
  1. Now rebuild the host and reinstall PMS + the dependent packages.

  2. Restore PMS

sudo bash
cd /var/lib/plexmediaserver
systemctl stop plexmediaserver
mv Library Library.unused
tar xf /path/to/saved/PlexLibrary.tar
chown plex:plex ./Library
systemctl start plexmediaserver

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.