Plexmediaplayer 2.58.0.dev-38e019da on wayland archlinux opens and auto-closes

Server Version#: plex-media-server-plexpass 1.21.0.3616-1
Player Version#: plexmediaplayer 2.58.0.dev-38e019da

Can you please escalate this to your dev team - plex qt9.5 is now out of support. I suspect many linux systems will start having issues from this point forward

As of this morning I have an issue where starting the plex-media-player it tries to open the window and segment faults and aborts. The player was working last night.

It seems the problem is likely QT5 versions that plex supports are too old.

  • I have tried to use the flatpak version (hoping it would containerize away the issue - no luck though (same error messages came through as per below)
➜ flatpak run tv.plex.PlexMediaPlayer 
QSocketNotifier: Can only be used with threads started with QThread
libpng warning: iCCP: known incorrect sRGB profile
Logging to /home/stuart/.var/app/tv.plex.PlexMediaPlayer/data/plexmediaplayer/logs/plexmediaplayer.log
Logging to /home/stuart/.var/app/tv.plex.PlexMediaPlayer/data/plexmediaplayer/logs/pmphelper.log

Please note I am using the below running off gnome3 wayland

➜ uname -a
Linux  5.9.10-arch1-1 #1 SMP PREEMPT Sun, 22 Nov 2020 14:16:59 +0000 x86_64 GNU/Linux

Archlinux

It seems my archlinux system is using qt5.15 - the qt5.9.5 version that plex officially supports is now out of support.

Plex really needs to upgrade their qt5 library support and in the meantime it would be a great move to provide a docker image that people can use (versus just asking customers to organise one for themselves). If there is a plex provided docker image for the player - please provide a link and update github to reference it.

ref: Support of Qt 5.9 LTS Ends in May 2020

Building on Linux

Plex Media Player officially requires Qt 5.9.5. Our users have indicated that Qt 5.10 and Qt 5.11 also builds correctly. However, Qt 5.11.0 and 5.11.1 versions are incompatible and should be avoided. Qt 5.12 may work for you. Please consider building PMP within a dedicated VM or Docker container if your system has a Qt version installed newer than 5.9.5. Downgrading a system Qt will cause issues in other applications depending on a newer Qt version.

These instructions are for Ubuntu 16.04 LTS and up. They were tested on a fresh install without extra options and with auto-updates applied.
ref: GitHub - plexinc/plex-media-player: Next generation Plex Desktop/Embedded Client

My installed versions of qt5 are below

local/qt4 4.8.7-32
    A cross-platform application and UI framework
local/qt5-base 5.15.2-1 (qt qt5)
    A cross-platform application and UI framework

Output from terminal when trying to start

➜ plexmediaplayer   
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
libpng warning: iCCP: known incorrect sRGB profile
Logging to /home/stuart/.local/share/plexmediaplayer/logs/plexmediaplayer.log
Logging to /home/stuart/.local/share/plexmediaplayer/logs/pmphelper.log
[1]    9308 segmentation fault (core dumped)  plexmediaplayer

History of plex installs (the last install is after the problem to try to brute-force troubleshoot the issue)

➜ less /var/log/pacman.log |grep plex
[2020-08-18T21:30:33+1200] [PACMAN] Running 'pacman -U --noconfirm --config /etc/pacman.conf -- /home/stuart/.cache/yay/plex-media-player/plex-media-player-2.58.0-3-x86_64.pkg.tar.zst'
[2020-08-18T21:30:33+1200] [ALPM] installed plex-media-player (2.58.0-3)
[2020-11-25T08:19:50+1300] [PACMAN] Running 'pacman --upgrade --noconfirm -- /home/stuart/.cache/paru/clone/plex-media-player/plex-media-player-2.58.0-3-x86_64.pkg.tar.zst'
[2020-11-25T08:19:54+1300] [ALPM] reinstalled plex-media-player (2.58.0-3)

Upgrades performed between plex-media-player working and not working

➜ less /var/log/pacman.log | grep 2020-11-24 | grep upgraded

[2020-11-24T21:42:25+1300] [ALPM] upgraded linux (5.9.9.arch1-1 -> 5.9.10.arch1-1)
[2020-11-24T21:42:25+1300] [ALPM] upgraded acpi_call (1.2.1-4 -> 1.2.1-5)
[2020-11-24T21:42:25+1300] [ALPM] upgraded alsa-card-profiles (13.99.3+14+geaa6d5d6c-1 -> 14.0-1)
[2020-11-24T21:42:25+1300] [ALPM] upgraded libpulse (13.99.3+14+geaa6d5d6c-1 -> 14.0-1)
[2020-11-24T21:42:25+1300] [ALPM] upgraded libxkbcommon (1.0.2-1 -> 1.0.3-1)
[2020-11-24T21:42:26+1300] [ALPM] upgraded electron9 (9.3.4-2 -> 9.3.5-1)
[2020-11-24T21:42:26+1300] [ALPM] upgraded libxkbcommon-x11 (1.0.2-1 -> 1.0.3-1)
[2020-11-24T21:42:31+1300] [ALPM] upgraded linux-headers (5.9.9.arch1-1 -> 5.9.10.arch1-1)
[2020-11-24T21:42:32+1300] [ALPM] upgraded linux-lts (5.4.78-1 -> 5.4.79-1)
[2020-11-24T21:42:36+1300] [ALPM] upgraded linux-lts-headers (5.4.78-1 -> 5.4.79-1)
[2020-11-24T21:42:36+1300] [ALPM] upgraded pulseaudio (13.99.3+14+geaa6d5d6c-1 -> 14.0-1)
[2020-11-24T21:42:36+1300] [ALPM] upgraded pulseaudio-bluetooth (13.99.3+14+geaa6d5d6c-1 -> 14.0-1)

I have attached the log as well.

(File removed)

All working again - after the latest plex-media-player update

Thanks very much!

➜ paru -Qi plex-media-player
Name            : plex-media-player
Version         : 2.58.0-4

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