celluloid-player / celluloid

A simple GTK+ frontend for mpv
https://celluloid-player.github.io
GNU General Public License v3.0
1.1k stars 87 forks source link

Crash with opengl-cb on X11 #320

Open gipawu opened 6 years ago

gipawu commented 6 years ago

Overview Description: Crash sometimes when switching file on playlist with vo=opengl-cb in Xorg session

Steps to Reproduce:

  1. Switch file in playlist

Actual Results: Crash (not always but often) In command line this error: [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. gnome-mpv: xcb_io.c:165: dequeue_pending_request: Assertion!xcb_xlib_unknown_req_in_deq' failed.`

Expected Results: Obviously not a crash

Version: 0.13 flatpak version

Additional Information: Nvidia 387.12

gnome-mpv commented 6 years ago

I can't reproduce this with Intel iGPU, so it's probably something Nvidia-specific.

TingPing commented 6 years ago

Also can't repro with Nvidia 387.12 in Flatpak.

gipawu commented 6 years ago

A little update: it seems to happen only with vo=opengl-cb and hwdec=vdpau.

TingPing commented 6 years ago

A little update: it seems to happen only with vo=opengl-cb and hwdec=vdpau.

That was my exact config, the vdpau option does nothing since it tries and fails to load a non-existing lib.

gipawu commented 6 years ago

You are right, I managed to get vdpau working by copying libvdpau_nvidia.so.387.12 file from nvidia runtime to libvdpau_nvidia.so in gnome platform runtime lib directory (I know, it's a ugly workaround but it works for now)