Plex Media Player packages for Linux

Hey @pnisima. I’ve checked the build logs as CUDA should be there together with Wayland support
https://travis-ci.org/knapsu/plex-media-player-appimage/builds/376223597

It appears the packages are built without it. Will look into this and fix the problem.

@maiandros it looks like you are experiencing a known problem with the “sign in” button where AppImage is not being able to start system web browser.
As a workaround please switch the player to fullscreen mode and sign in with a 4-digit activation code.

@Knapsu thanks for the response.
The fact is that I have tried the workaround you propose with no success. It keeps being Full Black or partially black (the fields where I should enter the 4 digit code) so I cannot proceed. I will try to take snapshots of the screen and upload them.
Btw I have downloaded and booted a live-CD of Mint 18.3 Mate and I did manage to login but again the screen keeps flickering with black boxes throu the screen.

@Knapsu here are the screenshots:
First from Lubuntu:

us.v-cdn.net/6025034/uploads/editor/ql/lqdlrflkcd9r.png
us.v-cdn.net/6025034/uploads/editor/6j/ssidu19wfv0a.png
us.v-cdn.net/6025034/uploads/editor/op/6mj2psbndl6p.png
us.v-cdn.net/6025034/uploads/editor/pw/6023jyxu9x3s.png

And these are from Mint:

us.v-cdn.net/6025034/uploads/editor/31/ub17hkjfv108.png
us.v-cdn.net/6025034/uploads/editor/6j/98zz9ldmlypk.png
us.v-cdn.net/6025034/uploads/editor/rr/uhq8ww7l93il.png
us.v-cdn.net/6025034/uploads/editor/zw/yljwzs223iyx.png

Question about this AppImage format, and PMP in general.

Does PMP use an embedded version of MPV, or does it use the MPV installed in /etc/mpv ? I have problems with hardware acceleration.

Thanks!

@TonioRoffo the embedded shared library libmpv.so.

@maiandros thanks for providing the screenshots, they are helpful. Will think about this. My first guess this is some incompatibility between embedded graphic libraries and the actual system display drivers. Did you run the LiveCD in a virtual machine or directly on your physical machine?

Thanks @Knapsu - I’ll look further into my HW acceleration problems then. Only copyback seems to work on my intel/nvidia Ubuntu build

Hello Knapsu, hello everybody. I’m having some troubles while running PMP from your latest .AppImage file.

Here’s what i got when i launch it from terminal :

[exal@linux AppImage]$ sudo ./Plex_Media_Player_2.10.0.849-e02dbeca_x64.AppImage [sudo] password for exal: /tmp/.mount_Plex_MS53jXr/usr/bin//plexmediaplayer.wrapper: line 125: 14074 Aborted (core dumped) LD_LIBRARY_PATH="" zenity --question --title="$TITLE" --text="$TEXT" 2> /dev/null /tmp/.mount_Plex_MS53jXr/usr/bin//plexmediaplayer.wrapper: line 125: 14078 Aborted (core dumped) LD_LIBRARY_PATH="" zenity --question --title="$TITLE" --text="$TEXT" 2> /dev/null /tmp/.mount_Plex_MS53jXr/usr/bin/plexmediaplayer: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

i checked and glibc is in version 2.27-8. Any idea about what’s wrong ? Thanks.

@Ex4l your library path variable appears to be empty. You are using sudo which is not needed and also does not pass environment variables (you used it without -E switch) which might be the reason. Try running it without sudo.

@Knapsu said:
@Ex4l your library path variable appears to be empty. You are using sudo which is not needed and also does not pass environment variables (you used it without -E switch) which might be the reason. Try running it without sudo.

Thanks for your answer, i tried without it before but no more success :

[exal@linux AppImage]$ ./Plex_Media_Player_2.10.0.849-e02dbeca_x64.AppImage /tmp/.mount_Plex_M9Hd6e4/usr/bin/plexmediaplayer: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

I’m trying to run the .appImage on a Fedora 28 btw (i tried to edit my previous post but i can’t), i didn’t knew sudo don’t pass the environment variables, thanks for that :smile: .

@Knapsu said:
@maiandros thanks for providing the screenshots, they are helpful. Will think about this. My first guess this is some incompatibility between embedded graphic libraries and the actual system display drivers. Did you run the LiveCD in a virtual machine or directly on your physical machine?

I have tried as installed OSes and as LiveCDes…always with the same result.
Thanks again for the efforts @Knapsu . I will be running another PlexMediaPlayer (something I hoped to avoid) until the problem gets solved. I will be following…

@Ex4l said:

@Knapsu said:
@Ex4l your library path variable appears to be empty. You are using sudo which is not needed and also does not pass environment variables (you used it without -E switch) which might be the reason. Try running it without sudo.

Thanks for your answer, i tried without it before but no more success :

[exal@linux AppImage]$ ./Plex_Media_Player_2.10.0.849-e02dbeca_x64.AppImage /tmp/.mount_Plex_M9Hd6e4/usr/bin/plexmediaplayer: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

I’m trying to run the .appImage on a Fedora 28 btw (i tried to edit my previous post but i can’t), i didn’t knew sudo don’t pass the environment variables, thanks for that :smile: .

Try this:
sudo dnf install libnsl

Worked for me on Fedora 28!

@hainesk967 said:

@Ex4l said:

@Knapsu said:
@Ex4l your library path variable appears to be empty. You are using sudo which is not needed and also does not pass environment variables (you used it without -E switch) which might be the reason. Try running it without sudo.

Thanks for your answer, i tried without it before but no more success :

[exal@linux AppImage]$ ./Plex_Media_Player_2.10.0.849-e02dbeca_x64.AppImage /tmp/.mount_Plex_M9Hd6e4/usr/bin/plexmediaplayer: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

I’m trying to run the .appImage on a Fedora 28 btw (i tried to edit my previous post but i can’t), i didn’t knew sudo don’t pass the environment variables, thanks for that :smile: .

Try this:
sudo dnf install libnsl

Worked for me on Fedora 28!

Thanks for your answer, i did’nt know too you can install libs via dnf, now it’s lauching, but i got a core dumped message as follows :

[exal@localhost AppImage]$ ./Plex_Media_Player_2.10.0.849-e02dbeca_x64.AppImage Logging to /home/exal/.local/share/plexmediaplayer/logs/plexmediaplayer.log Aborted (core dumped)

Any idea (i checked the logs and there are nothing wrong in it i think) ?

I was finally able to run Plex AppImage again.

Running the extracted AppImage through strace gave me an idea.

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2251, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2251, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2251, ...}) = 0
futex(0x1c53e9c, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x1c53e98, FUTEX_OP_SET<<28|0<<12|FUTEX_OP_CMP_GT<<24|0x1) = 1
futex(0x1c53e70, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x1c53700, FUTEX_WAKE_PRIVATE, 1) = 1
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 15
bind(15, {sa_family=AF_UNIX, sun_path="/tmp/pmp_inputSocket_djviking.sock"}, 110) = -1 EADDRINUSE (Address already in use)
close(15)                               = 0
unlink("/tmp/pmp_inputSocket_djviking.sock") = -1 EPERM (Operation not permitted)
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 15
bind(15, {sa_family=AF_UNIX, sun_path="/tmp/pmp_inputSocket_djviking.sock"}, 110) = -1 EADDRINUSE (Address already in use)
close(15)                               = 0
unlink("/tmp/pmp_inputSocket_djviking.sock") = -1 EPERM (Operation not permitted)
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 15
bind(15, {sa_family=AF_UNIX, sun_path="/tmp/pmp_inputSocket_djviking.sock"}, 110) = -1 EADDRINUSE (Address already in use)
close(15)                               = 0
unlink("/tmp/pmp_inputSocket_djviking.sock") = -1 EPERM (Operation not permitted)

I went into /tmp and deleted all the /tmp/pmp_inputSocket* files, and all .mount_Plex directories
fusemount -u /tmp/.mount_Plex.APawNkW
rm -rf /tmp/.mount_Plex.APawNkW
rm -rf pmp*

I’m getting the following error on debian 9.4.0, with the last two releases.

./Plex_Media_Player_2.11.0.867-f27f8d2a_x64.AppImage/tmp/.mount_Plex_MyO4rB0/usr/bin/plexmediaplayer: symbol lookup error: /tmp/.mount_Plex_MyO4rB0/usr/lib/libEGL.so.1: undefined symbol: drmGetDevice2>
Thanks in advance

i get some flickering in the UI. i am using the integrated graphics of intel cpu (i7 7700) could that have anything to do with it? i am also running on a 4k TV. (linux mint 18.x).

appreciate the work/effort in this. it’s laughable that there isn’t an official Plex player for linux in 2018…

@stevie- said:
i get some flickering in the UI. i am using the integrated graphics of intel cpu (i7 7700) could that have anything to do with it? i am also running on a 4k TV. (linux mint 18.x).

appreciate the work/effort in this. it’s laughable that there isn’t an official Plex player for linux in 2018…

Hey mate, curious if you are getting hardware acceleration on your setup? I’m not, and on a similar setup.

If I use MPV otherwise I have to specifically tell it to use hardware acceleration in the config otherwise it doesn’t.

Cheers.

@stevie- said:
i get some flickering in the UI. i am using the integrated graphics of intel cpu (i7 7700) could that have anything to do with it? i am also running on a 4k TV. (linux mint 18.x).

appreciate the work/effort in this. it’s laughable that there isn’t an official Plex player for linux in 2018…

I have the same flickering problem in the UI, but running NVIDIA graphics with the NVIDIA proprietary drivers.
Intel Core i7-6850K
NVIDIA GTX 1080 (390.48)

Hi guys. I am currently on holidays and will be able to look more into PMP no sooner than next weekend. Sorry.
@hainesk967 thanks for helping @Ex4l
@DJViking glad to see you have managed to pinpoint the FUSE problem.

Regarding libEGL.so issues I’ll be blacklisting this library as suggersted by


It might also help with UI flickering as this must be some graphics library / driver related thing.

I’ve also found out that PMP is built with hardware acceleration disabled by Travis CI. This is surely some Travis environment specific bug as locally when run it builds with HW enabled. Will investigate this.