Plex Media Player packages for Linux

@Knapsu Thank you for providing this appImage! I’m using it happily on Ubuntu 16.04LTS (with a Cinnamon desktop). It works very well!

I have a Logitech K520 wireless keyboard with dedicated media keys (play/pause, rewind, fast forward) and I would like those keys to control the media player. The keys work with other desktop clients (Spotify, Google Play, Amazon). Do you (or anyone else reading this) know what I need to do to enable support for those keys?

Scott, you will need to create a custom inputmap see https://support.plex.tv/hc/en-us/articles/216459997-Create-your-own-inputmap, there is all the information you need, chances are the input is detected as standard ‘Keyboard’ so copy keyboard.json from /home/user/.local/share/plexmediaplayer/inputmap/examples/ to /home/user/.local/share/plexmediaplayer/inputmap/ and customise as detailed in the page I linked to, hope that helps

Hey @Liamk23. The thing is that I do not have a remote to check this :frowning: AFAIK there is no LIRC dependency when building PMP binaries. I’ll ask my friends if anyone has an IR receiver and remote to borrow it.

Scott, you can try to launch the app with QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb Plex_Media_Player.AppImage and see if this helps or not.

@Liamk23 said:
Scott, you will need to create a custom inputmap see https://support.plex.tv/hc/en-us/articles/216459997-Create-your-own-inputmap, there is all the information you need, chances are the input is detected as standard ‘Keyboard’ so copy keyboard.json from /home/user/.local/share/plexmediaplayer/inputmap/examples/ to /home/user/.local/share/plexmediaplayer/inputmap/ and customise as detailed in the page I linked to, hope that helps

Thanks for your pointer, @Liamk23! I was hoping for some documentation, so at least I could ask specific questions instead of general questions.

@Knapsu said:
Scott, you can try to launch the app with QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb Plex_Media_Player.AppImage and see if this helps or not.

Thanks, @Knapsu. I tried this and it did not help. It did print this message to the terminal:

QApplication: invalid style override passed, ignoring it.

I will try customizing the keyboard input map configuration next (thanks to @Liamk23’s pointer to the docs).

awesome job! work rally well. thank-you for the time and effort

I can confirm the error when attempting to use Windowed mode on KDEneon:

This application failed to start because it could not find or load the Qt platform plugin “xcb”
in “”.

Reinstalling the application may fix this problem.
Aborted (core dumped)

Anyone know a fix for the startup error “Failed to locate CA bundle.” ?

Hi @Knapsu, great work and thanks for your efforts.

Working perfectly for me, other than not being able to get HW acceleration to work. I can select the option, but when I get on screen information I can only see ‘hardware acceleration (no).

I have tried toggling some of the other video options with no success. Other apps seems OK with using HW acceleration including MPV VAAPI.

Any ideas? Not sure where to start looking. On Mint 18.3 on an Intel NUC (HD graphics).

Any help appreciated!

(edit: display sync also seems to have no effect, does not show up/activate when enabled in settings)

Cheers,

(edit: parts of log)

2018-01-25 14:59:57 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Loading hwdec driver ‘vaapi-egl’
2018-01-25 14:59:57 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Loading failed.
2018-01-25 14:59:57 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Loading hwdec driver ‘cuda-nvdec’
2018-01-25 14:59:57 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb/cuda-nvdec: Failed to load CUDA symbols
2018-01-25 14:59:57 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Loading failed.
2018-01-25 14:59:57 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Loading hwdec driver ‘vdpau-glx’
2018-01-25 14:59:57 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Loading failed.

2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Opening video decoder h264
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Looking at hwdec h264-nvdec…
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Could not create device.
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Looking at hwdec h264-vdpau…
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Could not create device.
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Looking at hwdec h264-vaapi…
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Could not create device.
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Looking at hwdec h264-nvdec-copy…
2018-01-25 15:00:31 [ ERROR ] PlayerComponent.cpp @ 589 - ffmpeg: AVHWDeviceContext: Cannot load libcuda.so.1
2018-01-25 15:00:31 [ ERROR ] PlayerComponent.cpp @ 589 - ffmpeg: AVHWDeviceContext: Could not dynamically load CUDA
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Could not create device.
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Looking at hwdec h264-vdpau-copy…
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Window size: 1920x1080
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Video source: 0x0 (0:0)
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Video display: (0, 0) 1x1 -> (0, 0) 1920x1080
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Video scale: 1920.000000/1080.000000
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: OSD borders: l=-1073740864 t=0 r=-1073740864 b=0
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - opengl-cb: Video borders: l=0 t=0 r=0 b=0
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Error when calling vdp_device_create_x11: 1
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Could not create device.
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Looking at hwdec h264-vaapi-copy…
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Could not create device.
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Looking at hwdec h264_cuvid-cuda…
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Could not create device.
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Looking at hwdec h264_v4l2m2m-v4l2m2m-copy…
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Trying hardware decoding via h264_v4l2m2m-v4l2m2m-copy.
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Using underlying hw-decoder ‘h264_v4l2m2m’
2018-01-25 15:00:31 [ ERROR ] PlayerComponent.cpp @ 589 - ffmpeg/video: h264_v4l2m2m: Could not find a valid device
2018-01-25 15:00:31 [ ERROR ] PlayerComponent.cpp @ 589 - ffmpeg/video: h264_v4l2m2m: can’t configure decoder
2018-01-25 15:00:31 [ ERROR ] PlayerComponent.cpp @ 589 - vd: Could not open codec.
2018-01-25 15:00:31 [ DEBUG ] PlayerComponent.cpp @ 583 - vd: Falling back to software decoding

Not sure if PMP issue or package issue so posted in another topic as well. (can provide full log if that would help)

G.

Hey @oshunluvr , I use KDE neon myself. Could not recreate your issue. Tried Live CD but without success. If you could message me directly and send more info (PMP exact version, etc).

@LowVibe75 , Intel drivers use only VAAPI. Need to check it on some hardware.

Unfortunately Plex Conan repository appears to be down making me unable to build anything new at the moment…

I am having the same problem as @oshunluvr on KDE Neon. In fact I have two machines both KDE Neon that are up to date with updates, and neither will work. Both get the same error…

This application failed to start because it could not find or load the Qt platform plugin “xcb”
in “”.

Upon first starting this I am able to reach the sign in screen, but not actually sign in if I am not running full screen. With every version available for download I get the following on the console:
/usr/bin/google-chrome-stable: symbol lookup error: /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined symbol: hb_font_funcs_set_variation_glyph_func
I have chrome installed and functioning, as it is my primary browser.

As others indicated, I worked around by running full screen, signing in, and things seem to be working well now.

Thank you for the work on this, it is much nicer than running the plex web app.

Crashes on launch every time after the first launch:

./Plex_Media_Player_2.2.1.758-5dad2d62_x86-64.AppImage 
Segmentation fault (core dumped)

@h4bear, @FastAndLight, @Xen0sys :
Thanks for the info. Wrote everything down and I promise to look deeper into this. Still need to wait for Plex to fix their Conan repository as I can’t make builds without it.

No one has a solution for the startup error “Failed to locate CA bundle.” ?

Any idea how I can get this working on Raspbian, Jessie or Stretch? I can make the download executable but executing it doesn’t seem to do anything… Is there a service I should check for, to see if it is actually running? Appreciate it!

@Plexplorer the AppImage is made for x86-64 processors. I guess you are trying to run it on Rasbperry Pi which has an ARM processor. This is a different architecture and will not work.

@Plexplorer said:
Any idea how I can get this working on Raspbian, Jessie or Stretch? I can make the download executable but executing it doesn’t seem to do anything… Is there a service I should check for, to see if it is actually running? Appreciate it!

You can try the instructions on to github page, but the plex conan server is down. I am trying to build a PMP on the Asus Tinkerboard… awaiting for the server to go live.

Does that player supports CEC module installed in NUC ? as the native PMP distributed by Plex does !
I would like to install my NUC with Linux and put on it that PMP version that is V2 (Plex has still not released V2 for embedded platforms) but I need to be sure CEC control will work on it so I can continue to use my TV remote to control it :wink:

Thanks