Plex Media Player packages for Linux

Hi @Knapsu,
First off all, thanks for your hard work.
I’m trying to install the flatpak version of PMP but i am facing an error. I had add the repository but when I try the to install, I receive the following message:

error: The application tv.plex.PlexMediaPlayer/x86_64/release requires the runtime org.kde.Platform/x86_64/5.12 which was not found

The problem is I that already had this runtime installed in my computer as you can see in my flatpak list:

Name                                                 Application ID                                                  Version                     Branch             Installation
Bitwarden                                            com.bitwarden.desktop                                           1.20.0                      stable             user
Calibre                                              com.calibre_ebook.calibre                                       4.22.0                      stable             user
Discord                                              com.discordapp.Discord                                          0.0.11                      stable             user
Gtk Whats                                            com.gigitux.gtkwhats                                            1.0                         stable             user
Forklift                                             com.github.Johnn3y.Forklift                                     1.0.0                       stable             user
PDF Arranger                                         com.github.jeromerobert.pdfarranger                             1.6.2                       stable             user
Foliate                                              com.github.johnfactotum.Foliate                                 2.4.2                       stable             user
Drawing                                              com.github.maoschanz.drawing                                    0.4.13                      stable             user
Avvie                                                com.github.taiko2k.avvie                                        1.6                         stable             user
Locale                                               com.github.taiko2k.tauonmb.Locale                                                           stable             user
Flatseal                                             com.github.tchx84.Flatseal                                      1.6.1                       stable             user
GreenWithEnvy                                        com.leinardi.gwe                                                0.15.1                      stable             user
OBS Studio                                           com.obsproject.Studio                                           25.0.8                      stable             user
HandBrake                                            fr.handbrake.ghb                                                1.3.3                       stable             user
FreeTube                                             io.freetubeapp.FreeTube                                         0.7.3 Beta                  stable             user
Celluloid                                            io.github.celluloid_player.Celluloid                            0.19                        stable             user
LBRY                                                 io.lbry.lbry-app                                                0.47.1                      stable             user
Gaupol                                               io.otsaloma.gaupol                                              1.8                         stable             user
MediaConch                                           net.mediaarea.MediaConch                                        18.03                       stable             user
MediaInfo                                            net.mediaarea.MediaInfo                                         20.08                       stable             user
Scribus                                              net.scribus.Scribus                                             1.5.6.svn                   stable             user
Girens for Plex                                      nl.g4d.Girens                                                   1.1.7                       stable             user
Audacity                                             org.audacityteam.Audacity                                       2.4.2                       stable             user
Codecs                                               org.audacityteam.Audacity.Codecs                                                            stable             user
MKVToolNix                                           org.bunkus.mkvtoolnix-gui                                       49.0.0                      stable             user
darktable                                            org.darktable.Darktable                                         3.2.1                       stable             user
fre:ac                                               org.freac.freac                                                 1.1.2                       stable             user
Piper                                                org.freedesktop.Piper                                           0.4                         stable             user
Freedesktop Platform                                 org.freedesktop.Platform                                        19.08.12                    19.08              user
default                                              org.freedesktop.Platform.GL.default                                                         19.08              user
nvidia-440-100                                       org.freedesktop.Platform.GL.nvidia-440-100                                                  1.4                user
Adwaita icon theme                                   org.freedesktop.Platform.Icontheme.Adwaita                                                  1.0                user
html5-codecs                                         org.freedesktop.Platform.html5-codecs                                                       18.08              user
openh264                                             org.freedesktop.Platform.openh264                               2.1.0                       2.0                user
Freedesktop SDK                                      org.freedesktop.Sdk                                             19.08.12                    19.08              user
FreeFileSync                                         org.freefilesync.FreeFileSync                                   11.0                        stable             user
GNU Image Manipulation Program                       org.gimp.GIMP                                                   2.10.20                     stable             user
Manual                                               org.gimp.GIMP.Manual                                                                        2.10               user
GNOME Boxes                                          org.gnome.Boxes                                                 3.36.6                      stable             user
GNOME Calculator                                     org.gnome.Calculator                                            3.36.0                      stable             user
Calendar                                             org.gnome.Calendar                                              3.36.2                      stable             user
GNOME Characters                                     org.gnome.Characters                                            3.34.0                      stable             user
Cheese                                               org.gnome.Cheese                                                3.34.0                      stable             user
Contacts                                             org.gnome.Contacts                                              3.36                        stable             user
Déjà Dup Backups                                     org.gnome.DejaDup                                               42.2                        stable             user
GNOME Dictionary                                     org.gnome.Dictionary                                            3.26.0                      stable             user
Firmware                                             org.gnome.Firmware                                              3.36.0                      stable             user
GNOME Logs                                           org.gnome.Logs                                                  3.34.0                      stable             user
GNOME Maps                                           org.gnome.Maps                                                  3.36.2                      stable             user
GNOME Application Platform version 3.34              org.gnome.Platform                                                                          3.34               user
GNOME Application Platform version 3.36              org.gnome.Platform                                                                          3.36               user
GNOME Power Statistics                               org.gnome.PowerStats                                            3.32.0                      stable             user
Sound Recorder                                       org.gnome.SoundRecorder                                         3.34.0                      stable             user
Videos                                               org.gnome.Totem                                                 3.34.0                      stable             user
Codecs                                               org.gnome.Totem.Codecs                                                                      stable             user
Weather                                              org.gnome.Weather                                               3.36.1                      stable             user
GNOME Clocks                                         org.gnome.clocks                                                3.36.2                      stable             user
Eye of GNOME                                         org.gnome.eog                                                   3.36.2                      stable             user
GNOME Fonts                                          org.gnome.font-viewer                                           3.34.0                      stable             user
Apostrophe                                           org.gnome.gitlab.somas.Apostrophe                               2.2.0.3                     stable             user
Adwaita dark GTK theme                               org.gtk.Gtk3theme.Adwaita-dark                                                              3.22               user
Pop Gtk theme                                        org.gtk.Gtk3theme.Pop-dark                                                                  3.22               user
Inkscape                                             org.inkscape.Inkscape                                           1.0                         stable             user
Adwaita theme                                        org.kde.KStyle.Adwaita                                                                      5.12               user
Adwaita theme                                        org.kde.KStyle.Adwaita                                                                      5.14               user
KDE Application Platform                             org.kde.Platform                                                                            5.12               user
KDE Application Platform                             org.kde.Platform                                                                            5.14               user
QGnomePlatform                                       org.kde.PlatformTheme.QGnomePlatform                                                        5.12               user
QGnomePlatform                                       org.kde.PlatformTheme.QGnomePlatform                                                        5.14               user
QtSNI                                                org.kde.PlatformTheme.QtSNI                                                                 5.12               user
QtSNI                                                org.kde.PlatformTheme.QtSNI                                                                 5.14               user
QGnomePlatform-decoration                            org.kde.WaylandDecoration.QGnomePlatform-decoration                                         5.12               user
QGnomePlatform-decoration                            org.kde.WaylandDecoration.QGnomePlatform-decoration                                         5.14               user
digiKam                                              org.kde.digikam                                                 7.0.0-rc                    stable             user
Kid3                                                 org.kde.kid3                                                    3.8.3                       stable             user
Krita                                                org.kde.krita                                                   4.3.0                       stable             user
ONLYOFFICE Desktop Editors                           org.onlyoffice.desktopeditors                                   5.6.0                       stable             user
Zoom                                                 us.zoom.Zoom                                                    5.2.446620.0816             stable             user

Do you have any clue how to solve this problem?

I found a way to install, I install is as --user:

flatpak install --user https://flatpak.knapsu.eu/plex-media-player.flatpakref

and now its working!

1 Like

@emiliogonzalezjunior Good to know you solved it on your own :slightly_smiling_face:

What is your Linux distribution just out of curiosity? In Ubuntu the flatpak command operates by default on system level without any problems.

@knapsu I’m using Pop OS 20.04

Does this work on OSMC? It runs Debian with KODI as its main application.

If so - does it also support “Live TV & DVR”?

Thanks!

OSMC doesn’t have XWindows. This is your largest barrier.

1 Like

Hello PMP people,

I’m trying to run this package on my machine (Ubuntu 18.04.5 LTS), it’s hooked to my receiver and I’m able to use VLC to play movies that have DTS and AC3 streams and the receiver sees it. When I use PMP to try to play a video from my Plex server (that has a 5.1 audio stream) the first video frame shows and freezes and never starts playing. I can get it to play by:

  1. setting the audio to basic which results in stereo audio when playing 5.1 streams - which only plays the REAR AUDIO channels
  2. setting the audio to HDMI and deselecting all the passthrough options which also results in stereo with only REAR AUDIO channels playing.
  3. playing a video file that doesn’t have a 5.1 nor 7.1 audio options (only stereo)

Anyone know how to get around this problem? This app is unusable for me because of this problem. I’m not sure how to go about debugging it, I’ve captured some logs of the app playing with rear stereo as well as the app freezing but looking at them in contrast it’s unclear to me if it’s reporting an error.

Thanks,
-Greg

Great program by the way, I’m loving it but why doesn’t skip intro work on it? Is that because this program doesn’t support it?

PMP hasn’t been updated since before Skip Intro existed. Plex no longer maintains it.

I forgot that part. That’s really sad, actually.

What happened to PMP 3.0? Hasn’t been updated in 6 months… maybe they’ve abandoned that too?

I’m a little confused. I downloaded one of the nightly builds to try out but it keeps loading the 2.58.0 version. I deleted the stuff in my home folder. What am I doing wrong?

I’ll also add I too had the same issue running also pop OS 20.04.

running:

flatpak install --user https://flatpak.knapsu.eu/plex-media-player.flatpakref

allowed me to install.

Thanks

Hi all- (I know plex no longer supports PMP and this is probably more a Linux newbie q but appreciate any guidance):

I updated my HTPC+home server from Win7 to OpenSuse Leap 15.2 recently. First real foray into Linux beyond trying Ubuntu years ago.

I could not get PMP to run for my primary user in Leap with any of the installation methods described on knapsu’s page (appImage, flatpak or these packages). The appimage just shows a spinning “loading”-type icon and the others gave a “Failed to load…” error that I can’t reproduce atm.

HOWEVER: I tried it under a different login/user and the appimages (~2.45+) run just fine. After opening TCP 32414 & 32500 I can see “debian” as a player in iOS and android plex apps. Yay!

Now I’d love to get it to run (at login) for “user A” - any pointers on where to troubleshoot? Thanks!

Hi, I have a issue with internal CEC adapter from pulse eight on my NUC8i5BE with flatpak PMP.
CEC works with PMP app image and kodi but not with flatpac PMP, I prefer flatpak PMP because it can do hardware decoding and app image can’t. @Knapsu is CEC working out of flatpac install or do i need to do anything else?

@Knapsu

You have done a TERRIFIC job! Using your example, I have begged other developers to consider your cross-platform approach. I was wondering if there was a simple way to change scaling with your AppImage? I recently was given a larger monitor, and the plex app automagically scaled to a bothersome size. Any hope?

Hi @Allex. Flatpak apps runs in a sandbox. Unfortunately there are no permissions that allow to expose USB devices that libCEC wants to use. That is why it does not work. AppImage on the other hand has no security model and can freely communicate with any device in the system. I am unable to fix this currently. Maybe in thr future.

Has anyone gotten hw acceleration playback working on the ryzen 4500u/4700u? It was working fine on my previous laptop that used an old AMD carrizo APU.

I’m using KDE Neon (Ubuntu 20.04 base), 5.8 kernel. This is the flatpak version

libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Mesa Gallium driver 20.2.1 - kisak-mesa PPA for AMD RENOIR (DRM 3.38.0, 5.8.0-23-generic, LLVM 11.0.0)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc

1 Like

Hi,

I have upgraded ubuntu to the 20.10 release and as a result PMP does not start anymore. It produces the following error output when starting from command line.

find: /tmp/.mount_Plex_MYUMC7y/usr/lib/libselinux.so.1: no version information available (required by find)
sed: /tmp/.mount_Plex_MYUMC7y/usr/lib/libselinux.so.1: no version information available (required by sed)
sed: /tmp/.mount_Plex_MYUMC7y/usr/lib/libselinux.so.1: no version information available (required by sed)
Logging to /home/joerg/.local/share/plexmediaplayer/logs/plexmediaplayer.log
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
[3:3:0100/000000.192450:ERROR:zygote_linux.cc(621)] Zygote could not fork: process_type renderer numfds 3 child_pid -1
[3:3:0100/000000.192563:ERROR:zygote_linux.cc(653)] write: Broken pipe (32)
Aborted (core dumped)

I can make it work again by executing the following before PMP:

export MESA_LOADER_DRIVER_OVERRIDE=i965

This works when starting PMP from command line, but I could not figure out how to modify the dektop integration so that also there this environment variable is set before PMP is started. Does anybody have a recommendation?

Am I the only one experiencing this with the new Ubuntu version? I use the Appimage of PMP version 2.58.

To my understanding the environment variable downgrades the display driver. I am not entirely sure what to do to fix this in general. Maybe a recompile of PMP with latest libraries?

2 Likes

@Knapsu I managed to to fix hardware decoding and audio passthrough with NUC8i5BE in Fedora 33 after two week of trying different operating systems, this is the only one in Linux that works out of box. It only works in plex from RPM Fusion repo, it doesn’t work from Appimage or flatpak plex. Could you implement this in your images in the future.Thank you for your help.