Plex Media Player packages for Linux

Hi,
Fist of all thank you very much for maintaining a Linux version of the PMP.
I am using the flatpak installation in ubuntu 19.04 after having troubles with appimage. However, I wonder if it is correct that PMP is only available in version 2.34? Or am i doing something wrong?
best regards, Jörg

i would think if you used the terminal code from the below you would get the latest. i’m running the appimage using appimagelauncher so i honestly couldn’t tell you.

Thanks for your help. I tried the latest appimage version of PMP and it works. I had switched to flatpak in the past, because appimage did not start and it produced errors. But this seems to be solved now.

1 Like

I discovered a problem between my Windows and Linux client, where video doesn’t play on the Linux version using your ports. It’s a very standard system, I assume - Ubuntu 18.04 with updated HWE stacks (kernel & xorg) running on an i7-3770 using the integrated graphics. Tested with Plex_Media_Player_2.44.0.1018-8f77cbb9_x64 as well as 2.41 which I was running prior to today.

The video appears static blue on Linux, while it plays normally on my Windows machine. Details about the video stream…

ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 52 min
Bit rate : 5 444 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.105
Stream size : 4.68 GiB (79%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : SMPTE ST 2084
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000
Mastering display luminance : min: 0.0050 cd/m2, max: 4000.0000 cd/m2
Maximum Content Light Level : 4850 cd/m2
Maximum Frame-Average Light Level : 1668 cd/m2

I assume there is something about the HDR profile that’s making it act up. Since it’s working on my Windows machine, and PMP doesn’t provide a lot of options to play around with, I thought this would be the place to ask.

Edit: I tested another HDR video that I was sure I watched before, and it doesn’t work either. It uses the same encoding, too.

I’m running PCLinuxOS on my laptop.

Plex_Media_Player_2.34.0 and previous versions all run fine.
Starting with version 2.35.1, all versions give a segmentation fault.

I’m just reporting the problem, I’m not able to debug it myself.
I’ll gladly do anything I can to help gather more information, but
without some guidance, I don’t know what else to do.

PCLinuxOS does not support flatpak, so I haven’t tried that.

Love and appreciate your work! Daily builds run great on Elementary OS.

Thanks!

@amorpheus, I have very similar problems with this type of media. I mean HEVC or h.265. The windows client can play it, the PMP on Ubuntu can not.
It is not a problem of Ubuntu (19.10), because I can play the files on it with other video players. It just does not work with the PMP.
Also for me it works well with PMP on Windows.
Did anybody have success to play these codecs with the PMP on Linux?
These codecs become more and more common and I think soon it is hard to work around them. Is there any solution in sight? I guess the core of the problem is that Plex refuses to support Linux officially. I totally appreciate the personal engagement of people who do the job of compiling a PLEX client for Linux.
I am a paying Plex user since the early days and for a long time very happy with it. But now I see Plex implementing exotic features and even taking capabilities away, while the very basic support for relevant modern codecs is not done. I am also not sure why Linux is neglected. It is a great system for building an own media client, that is much more capable than the out of the box solutions such as build in TV clients or such things. I guess Plex is making money from supporting commercial platforms, which are often in direct competition to the self-made enthusiast solutions. I do not have any other explanation for the decisions Plex is taking. I do not think it is a technical problem or even high effort to do so. So I can only suspect that this is the result of a business strategy.
I think Plex is still the best software infrastructure around for managing and distributing own media. But there are some showstoppers now that I can hardly ignore.
Any opinions on this topic or pointers towards a solution would be highly appreciated.

1 Like

Just installed your appimage version 2.45.0.1028 on my Ubuntu 18.04 and it is working flawless. Windowed or Full Screen login works great. No issues to report here. Great Job!!

Awesome image. Any chance of a test version using the PMP 3.0 branch?

1 Like

Awesome image. Any chance of a test version using the PMP 3.0 branch?

Have they published it to Git? I can’t see an active branch for it

Probably not then. Don’t worry, was just curious.

Will there be any support for 5.1 surround (Dolby?)

I am thinking of moving over from Windows to Linux.

I have an external surround sound card and would obviosuly need a Linux client to handle the Digital sound to my amp. Do we know if DD 5.1 and DTS is good for this version of Plex on Linux ?

Am also interested to know if this is supported!

1 Like

if you’re going to make the switch i’d suggest mint cinnamon or manjaro kde. the forums below are great starting point to get your answers before taking the plunge. i’d recommend dual booting both windows and whichever linux distro you chose. good luck with whichever distro you chose. if you wish to continue this discussion i suggest creating a thread in plex’s off topic section or whatever they call it here.

https://forums.linuxmint.com/index.php

Hi,

I would like to come back to the issues playing HEVC/h.265 videos.
It looks like the linux client can play it in general, but with exceptions. I am using latest Ubuntu 19.10 and latest client version 2.47.0.
Some HEVC files work without any problems. I downloaded a few HEVC sample files to test.

  • Some files only work when changing the player settings to disable direct play and direct stream. This causes the server to transcode with a huge server load. My server can however do it and the file plays. The files needing this were HEVC Main 10 HDR. But I am not sure if this codec variant is actually the problem, because I had other HDR samples which did play without any problems without transcoding.
  • If I leave direct play and/or direct stream settings enabled, the player plays the it somehow. the sound is there, but I get a black or blue picture instead of the video. The info screen (i key while playing) shows that it is playing HEVC right now. No transcoding is used in this case.
  • The web client running in firefox on the same linux machine plays everything, but also causes transcoding.
  • I am testing the PMP and web client on the same machine where the server is installed.
  • My PMP on a windows 10 laptop plays all files over LAN without the need of transcoding. It is PMP version 2.47.0.1035.
  • The web client on the windows machine plays the problematic files with transcoding. It behaves in this respect the the same as the web client on Linux.
  • All quality settings are set to maximum/original.
  • When transcoding is used, the quality is considerably lower. Espacially the colors appear washed out.
  • When transcoding is used the information screen of the player shows h.264 becausue this is what it is transcoded into. But for other HEVC files I have seen the player directly playing HEVC and saying so in the info panel (i key while playing)
  • On the linux machine all files play without problem when using other players, such as VLC.

So what is the conclusion?
For some HEVC files the linux PMP seem to need transcoding to play it correctly.
I could not figure out the exact limitations and codec variants yet. I have for example seen HDR files that play directly while others seem to need transcoding.
In the linux client I can make all files work by disabling direct play and direct stream, which seem to force transcoding into h.264.
If I lease these options enabled, the client plays the files without transcoding, but it is not producing video.

The PMP on windows can play everything without transcoding needed.

Any ideas what I can do in order to improve this? I mean the player on Linux should not need transcoding for playing some of the HEVC files. And the PMP actually agrees and tries to direct play these videos. It just cannot produce the video while audio is there.
Is there maybe something wrong or missing in the mvp or ffmpeg libraries or the codec libraries used to compile the linux PMP client?
Is there maybe something else wrong on my Ubuntu system that I can check. I tried with Wayland and X11 with the same results in the PMP.

best regards, Jörg

Hi, sorry to ask this question if answered somewhere already but if it has I’m not finding it. Here or anywhere else on google.

I dont have suspend or shutdown option on the PMP power menu. This is for either rpmfusion install or AppImage. However on Flatpak PMP they are present. Only problem with flatpak PMP is a UI rendering issue at full screen on my 4k monitor. For example with the flatpak at fullscreen on my 4k monitor the power menu doesn’t render properly. I can see most of the exit button but none of the other buttons because from the exit button down the scren is just grey color. The UI is not rendered. I also notice content thumbnails in the menusare slow to refresh/populate and with a flicker at full screen. In windowed mode or fullscreen on 1080p for example the UI renders fine.

So as you can see I cant win. With RPM package or AppImage everything is fine except the missing power menu options of suspend and shutdown and with the Flatpak fullscreen UI rendering is not good and buggy on HiDPI monitors.

Does anyone have any suggestions or tips? I haven not managed to get any scaling option to work with Flatpak app (if thats even possible). And with the flatpak is it possible its not making proper use of my gfx card due to the sandboxing? I’m running with a Nvidia GTX 970.

Thanks,

Paul.

P.S. I’m even willing to look into building PMP from source if there is a simple switch to enable for full power menu options. I jsut haven’t found yet.

got my dad to install this pmp on his mint desktop, but it won’t save settings and always asks to sign in.

anyone have an idea ?

version shown in settings is 3.104.2

2.45, 2.46 and 2.47 do not start on Ubuntu 18.04 on my friends NUC, older versions work (except for 4K).

JS: uncaught TypeError: Cannot read property ‘Lastsourcepivots’ of undefined.

reviewing the logs and find the following

2020-01-02 23:32:52 [ DEBUG ] InputComponent.cpp @ 255 - Adding host command: poweroff mapped to PowerComponentX11::PowerOff 
2020-01-02 23:32:52 [ DEBUG ] InputComponent.cpp @ 269 - Host command maps to method without arguments. 
2020-01-02 23:32:52 [ DEBUG ] InputComponent.cpp @ 255 - Adding host command: reboot mapped to PowerComponentX11::Reboot 
2020-01-02 23:32:52 [ DEBUG ] InputComponent.cpp @ 269 - Host command maps to method without arguments. 
2020-01-02 23:32:52 [ DEBUG ] InputComponent.cpp @ 255 - Adding host command: suspend mapped to PowerComponentX11::Suspend 
2020-01-02 23:32:52 [ DEBUG ] InputComponent.cpp @ 269 - Host command maps to method without arguments. 

And these power menu options are not present.

Does anyone know why?
I am reading the source code and I’m thinking it might be because PMP detects the OS as other than OpenELEC. Doe sthat seem right?

This is log output from AppImage 2.47

I’m runnign Gnome 3.34.2

Thanks.

Having the same on my HTPC