Page MenuHomeSolus

plex-media-player fails to work/compile with Qt 5.11
Closed, ResolvedPublic

Description

Plex Media Player fails to work when compiled or using Qt 5.11 libraries due to major changes in 5.11.

[17938:18165:0526/232935.585345:ERROR:gl_surface_qt.cpp(305)] eglCreatePbufferSurface failed and surfaceless context not available
[17938:18165:0526/232935.585356:ERROR:gl_surface_qt.cpp(312)] Requested OpenGL implementation is not supported. Implementation: 0

Fills up the terminal when run from a terminal either after clicking a user to login as (multi-user plex), or upon startup.

Related reports upstream:
https://github.com/plexinc/plex-media-player/issues/743

Secondary bug reports:
https://aur.archlinux.org/packages/plex-media-player/

Event Timeline

sunnyflunk triaged this task as Unbreak Now! priority.
sunnyflunk edited projects, added Software; removed Lacks Project.
sunnyflunk added a subscriber: sunnyflunk.

I'll use this to track qt5_use_module also.

Note the outcome may be to pull PMP from Solus if the authors only support a single (and old) version of every library that it uses, while refusing to even acknowledge use of any other version.

Tried the official AppImage, but it too fails to work with different errors:

libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
Logging to /home/psi-jack/.local/share/plexmediaplayer/logs/plexmediaplayer.log
Logging to /home/psi-jack/.local/share/plexmediaplayer/logs/pmphelper.log
XPCOMGlueLoad error for file /usr/lib64/firefox/libmozgtk.so:
/usr/lib/libpango-1.0.so.0: undefined symbol: fribidi_get_par_embedding_levels_ex
Couldn't load XPCOM.
XPCOMGlueLoad error for file /usr/lib64/firefox/libmozgtk.so:
/usr/lib/libpango-1.0.so.0: undefined symbol: fribidi_get_par_embedding_levels_ex
Couldn't load XPCOM.
XPCOMGlueLoad error for file /usr/lib64/firefox/libmozgtk.so:
/usr/lib/libpango-1.0.so.0: undefined symbol: fribidi_get_par_embedding_levels_ex
Couldn't load XPCOM.

Correction: AppImage does actually work. There's an issue with the Sign In button that you have to flip it to TV mode, use the code it provides and link it that way.

Okay, I just tested it with the newest 2.12.1 release and it's starting without any problems or tons of errors, but as soon as I click my user icon the program crashes.

sysop@eismann-pc ~/solbuild/plex-media-player $ plexmediaplayer 
Logging to /home/sysop/.local/share/plexmediaplayer/logs/plexmediaplayer.log
[0616/120957.722692:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/sysop/#1745506 (deleted)
  Error: No such file or directory
[6272:6272:0616/120957.776163:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context.
[6272:6340:0616/120957.805281:ERROR:gl_surface_egl_qt.cpp(77)] GLContextHelper::getEGLDisplay() failed.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[6272:6340:0616/121003.454245:ERROR:gl_surface_qt.cpp(312)] Requested OpenGL implementation is not supported. Implementation: 0
*** stack smashing detected ***: <unknown> terminated
Received signal 6
#0 0x7f5fdb24962e <unknown>
#1 0x7f5fd9bd2546 <unknown>
#2 0x7f5fdb249b17 <unknown>
#3 0x7f5fe471e7c0 <unknown>
#4 0x7f5fe2b45d47 gsignal
#5 0x7f5fe2b476b1 abort
#6 0x7f5fe2b90747 <unknown>
#7 0x7f5fe2c3b161 <unknown>
#8 0x7f5fe2c3b122 __stack_chk_fail
#9 0x7f5fd9c21840 <unknown>
#10 0x7f5fdbd237fd <unknown>
#11 0x7f5fddc2ea81 <unknown>
#12 0x7f5fddc31a5e <unknown>
#13 0x7f5fddc2d09b <unknown>
#14 0x7f5fddc2aae5 <unknown>
#15 0x7f5fddc2befa <unknown>
#16 0x7f5fddc2dd05 <unknown>
#17 0x7f5fdb249cff <unknown>
#18 0x7f5fdb26c552 <unknown>
#19 0x7f5fdb26ce95 <unknown>
#20 0x7f5fdb26d007 <unknown>
#21 0x7f5fdb2686a1 <unknown>
#22 0x7f5fdb28fb4b <unknown>
#23 0x7f5fdb2b38af <unknown>
#24 0x7f5fdb2af291 <unknown>
#25 0x7f5fe47136ca <unknown>
#26 0x7f5fe2c27cef clone
  r8: 0000000000000000  r9: 00007f5f177fc630 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007f5f177fc8d0 r13: 0000000000001000 r14: 0000000000000000 r15: 0000000000000030
  di: 0000000000000002  si: 00007f5f177fc630  bp: 00007f5f177fca60  bx: 00007f5f177fc8d0
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f5fe2b45d47  sp: 00007f5f177fc630
  ip: 00007f5fe2b45d47 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[1:1:0100/000000.486837:ERROR:command_buffer_proxy_impl.cc(133)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.

It's indeed a bit.. shitty.

Actually being able to look at it for a few moments, I'm seeing something else.

I get this far:

4 configurations interest me:

  • Plasma with nVidia gfx
  • Plasma without nVidia gfx
  • Not Plasma with nVidia gfx
  • Not Plasma without nVidia gfx

Also try loading Plex via this,
QT_QPA_PLATFORM=xcb plexmediaplayer --windowed --desktop

yacn added a subscriber: yacn.Jun 19 2018, 3:51 PM

Crashes once it connects to the Plex Media Server and starts to display media titles available. The screenshot you're showing above is wanting to find a PMS server, but none found, and is not where I am when PMP crashes. As mentioned in IRC, but adding here for documenting. :)

yacn added a comment.Jun 22 2018, 11:38 PM

Not a solution but as a workaround, I've installed Kodi along with the Plex for Kodi Add-On which works perfectly.

I will push Qt 5.11.1 and rebuild/update plex to see if it makes any difference

Ok, I set up a plex server, did a full stack update for Qt5, Updated PMP to latest...

I cannot make it crash on unstable (though I never could to begin with).

Psi-Jack added a comment.EditedJul 1 2018, 1:54 PM

Hmmm.. Still getting crashes on my side. In my case, PMP starts, brings up the user selection for multiuser (Plex Pass feature). I've tested this on Nvidia and Intel GPU systems.

Here is the initial startup, which brings me to the user selection:

Logging to /home/psi-jack/.local/share/plexmediaplayer/logs/plexmediaplayer.log
Logging to /home/psi-jack/.local/share/plexmediaplayer/logs/pmphelper.log
[0701/095158.362552:WARNING:stack_trace_posix.cc(699)] Failed to open file: /tmp/.glQFnf2n (deleted)
  Error: No such file or directory
[0701/095158.362622:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/psi-jack/#10777297 (deleted)
  Error: No such file or directory
[8110:8110:0701/095158.460945:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context.
[8110:8186:0701/095158.504628:ERROR:nss_util.cc(727)] After loading Root Certs, loaded==false: NSS error code: -8018
[8110:8202:0701/095158.512012:ERROR:gl_surface_egl_qt.cpp(77)] GLContextHelper::getEGLDisplay() failed.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile

After selecting a user, immediately this happens:

[8110:8202:0701/095212.247765:ERROR:gl_surface_qt.cpp(299)] Requested OpenGL implementation is not supported. Implementation: 0
*** stack smashing detected ***: <unknown> terminated
Received signal 6
#0 0x7f1da87fc94e <unknown>
#1 0x7f1da7185486 <unknown>
#2 0x7f1da87fce37 <unknown>
#3 0x7f1db1d077c0 <unknown>
#4 0x7f1db010ad47 gsignal
#5 0x7f1db010c6b1 abort
#6 0x7f1db0155747 <unknown>
#7 0x7f1db0200161 <unknown>
#8 0x7f1db0200122 __stack_chk_fail
#9 0x7f1da71d4920 <unknown>
#10 0x7f1da92d6cfd <unknown>
#11 0x7f1dab1e2541 <unknown>
#12 0x7f1dab1e551e <unknown>
#13 0x7f1dab1e0b5b <unknown>
#14 0x7f1dab1de5a5 <unknown>
#15 0x7f1dab1df9ba <unknown>
#16 0x7f1dab1e17c5 <unknown>
#17 0x7f1da87fd01f <unknown>
#18 0x7f1da881f872 <unknown>
#19 0x7f1da88201b5 <unknown>
#20 0x7f1da8820327 <unknown>
#21 0x7f1da881b9c1 <unknown>
#22 0x7f1da8842e6b <unknown>
#23 0x7f1da8866bcf <unknown>
#24 0x7f1da88625b1 <unknown>
#25 0x7f1db1cfc6ca <unknown>
#26 0x7f1db01eccef clone
  r8: 0000000000000000  r9: 00007f1ceb7fc630 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007f1ceb7fc8d0 r13: 0000000000001000 r14: 0000000000000000 r15: 0000000000000030
  di: 0000000000000002  si: 00007f1ceb7fc630  bp: 00007f1ceb7fca60  bx: 00007f1ceb7fc8d0
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f1db010ad47  sp: 00007f1ceb7fc630
  ip: 00007f1db010ad47 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

@Psi-Jack please also try:

QT_QPA_PLATFORM=xcb plexmediaplayer --windowed --desktop

cail added a subscriber: cail.EditedJul 4 2018, 4:06 PM

I have been having the same issue with Plex Media Player. Whenever I click inside the window at the "Select User" screen it crashes.

PMP version 2.12.1-8
Solus 3.9999
AMD Ryzen 7 1700
Radeon RX 580 Series (POLARIS10, DRM 3.25.0, 4.17.2-78.current, LLVM 6.0.0)
qt 5.11.1

QT_QPA_PLATFORM=xcb plexmediaplayer --windowed --desktop
Logging to /home/cmcd/.local/share/plexmediaplayer/logs/plexmediaplayer.log
[0704/115525.913458:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/cmcd/#5509816 (deleted)
  Error: No such file or directory
[2094:2094:0704/115525.968653:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context.
[2094:2158:0704/115526.002332:ERROR:gl_surface_egl_qt.cpp(77)] GLContextHelper::getEGLDisplay() failed.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[2094:2158:0704/115529.717205:ERROR:gl_surface_qt.cpp(299)] Requested OpenGL implementation is not supported. Implementation: 0
*** stack smashing detected ***: <unknown> terminated
Received signal 6
#0 0x7f4add25394e <unknown>
#1 0x7f4adbbdc486 <unknown>
#2 0x7f4add253e37 <unknown>
#3 0x7f4ae675e7c0 <unknown>
#4 0x7f4ae4b61d47 gsignal
#5 0x7f4ae4b636b1 abort
#6 0x7f4ae4bac747 <unknown>
#7 0x7f4ae4c57161 <unknown>
#8 0x7f4ae4c57122 __stack_chk_fail
#9 0x7f4adbc2b920 <unknown>
#10 0x7f4addd2dcfd <unknown>
#11 0x7f4adfc39541 <unknown>
#12 0x7f4adfc3c51e <unknown>
#13 0x7f4adfc37b5b <unknown>
#14 0x7f4adfc355a5 <unknown>
#15 0x7f4adfc369ba <unknown>
#16 0x7f4adfc387c5 <unknown>
#17 0x7f4add25401f <unknown>
#18 0x7f4add276872 <unknown>
#19 0x7f4add2771b5 <unknown>
#20 0x7f4add277327 <unknown>
#21 0x7f4add2729c1 <unknown>
#22 0x7f4add299e6b <unknown>
#23 0x7f4add2bdbcf <unknown>
#24 0x7f4add2b95b1 <unknown>
#25 0x7f4ae67536ca <unknown>
#26 0x7f4ae4c43cef clone
  r8: 0000000000000000  r9: 00007f4a65ff9630 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007f4a65ff98d0 r13: 0000000000001000 r14: 0000000000000000 r15: 0000000000000030
  di: 0000000000000002  si: 00007f4a65ff9630  bp: 00007f4a65ff9a60  bx: 00007f4a65ff98d0
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f4ae4b61d47  sp: 00007f4a65ff9630
  ip: 00007f4ae4b61d47 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

They just released version 2.14, but according to the issues and release notes it doesn't seem like anything has changed:
https://github.com/plexinc/plex-media-player/releases/tag/v2.14.1.880-301a4b6c

Just to add my voice; this is still occurring.

(plexmediaplayer:23134): Gtk-WARNING **: 10:03:36.793: Unable to locate theme engine in module_path: "murrine",

(plexmediaplayer:23134): Gtk-WARNING **: 10:03:36.795: Unable to locate theme engine in module_path: "murrine",

(plexmediaplayer:23134): Gtk-WARNING **: 10:03:36.795: Unable to locate theme engine in module_path: "murrine",
Logging to /home/bryan/.local/share/plexmediaplayer/logs/plexmediaplayer.log
[0806/100337.022491:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/bryan/#8416938 (deleted)
  Error: No such file or directory
[23134:23134:0806/100337.082841:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context.
[23134:23187:0806/100337.116903:ERROR:gl_surface_egl_qt.cpp(77)] GLContextHelper::getEGLDisplay() failed.
[23134:23187:0806/100344.508978:ERROR:gl_surface_qt.cpp(299)] Requested OpenGL implementation is not supported. Implementation: 0
*** stack smashing detected ***: <unknown> terminated
Received signal 6
#0 0x7f7c0b66994e <unknown>
#1 0x7f7c09ff2486 <unknown>
#2 0x7f7c0b669e37 <unknown>
#3 0x7f7c14b777c0 <unknown>
#4 0x7f7c12f7ad47 gsignal
#5 0x7f7c12f7c6b1 abort
#6 0x7f7c12fc5747 <unknown>
#7 0x7f7c13070161 <unknown>
#8 0x7f7c13070122 __stack_chk_fail
#9 0x7f7c0a041920 <unknown>
#10 0x7f7c0c143cfd <unknown>
#11 0x7f7c0e04f541 <unknown>
#12 0x7f7c0e05251e <unknown>
#13 0x7f7c0e04db5b <unknown>
#14 0x7f7c0e04b5a5 <unknown>
#15 0x7f7c0e04c9ba <unknown>
#16 0x7f7c0e04e7c5 <unknown>
#17 0x7f7c0b66a01f <unknown>
#18 0x7f7c0b68c872 <unknown>
#19 0x7f7c0b68d1b5 <unknown>
#20 0x7f7c0b68d327 <unknown>
#21 0x7f7c0b6889c1 <unknown>
#22 0x7f7c0b6afe6b <unknown>
#23 0x7f7c0b6d3bcf <unknown>
#24 0x7f7c0b6cf5b1 <unknown>
#25 0x7f7c14b6c6ca <unknown>
#26 0x7f7c1305ccef clone
  r8: 0000000000000000  r9: 00007f7b697f8630 r10: 0000000000000008 r11: 0000000000000246
 r12: 00007f7b697f88d0 r13: 0000000000001000 r14: 0000000000000000 r15: 0000000000000030
  di: 0000000000000002  si: 00007f7b697f8630  bp: 00007f7b697f8a60  bx: 00007f7b697f88d0
  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f7c12f7ad47  sp: 00007f7b697f8630
  ip: 00007f7c12f7ad47 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.

How does the web client fare? https://app.plex.tv

yacn added a comment.Aug 9 2018, 4:11 AM

The web app isn't ideal because most things won't direct play in a browser meaning the server has to transcode the file.

Many videos cannot be directly played in Plex/Web because the browser cannot handle them. You are not seeing the player options because your media server does not support transcoding. By default, Plex/Web will try to directly play your videos if possible, but it is forced to transcode in most cases.

Plex Forums

The best alternative I've found while waiting for Plex to get it together is to use Kodi with the Plex plugin which works for now, but I'd rather just use PMP.

JoshStrobl closed this task as Resolved.Aug 10 2018, 7:31 AM
JoshStrobl added a subscriber: JoshStrobl.

Deprecated from repo as per T6762. Will no longer be in stable post-sync.

I would suggest looking at and following this thread if you are interested in using this software going forward.

https://github.com/plexinc/plex-media-player/issues/681