Created attachment 136429 [details]
Backtrace when the assert is reached
The command :
mpv --vo=xv bisounours_le_film.avi
makes gnome-shell crash because of an unexpected exit of XWayland.
This exit is due to a FatalError("GLSL compile failure\n") of glamor_compile_glsl_prog (see backtrace attached)
X.Org X Server 1.19.6
Mesa 17.3.1 (Radeon RX 460)
Please attach the corresponding Xwayland stdout/stderr output.
Created attachment 136443 [details]
stderr of XWayland
Thanks for taking care of this problem.
I didn't find the way for getting XWayland output from gnome-shell.
Instead, I used a gdb trick with dup2 of stderr, so I don't have full output but I have the interessed part.
There is nothing inside stdout.
It seems that sample is a keyword in newer OpenGL so it can't be used as name for a variable.
source : https://bugs.freedesktop.org/show_bug.cgi?id=91778
Created attachment 136444 [details] [review]
Patch for renaming sample variable
It tested this patch and it works
and your Signed-off-by tag to the commit log, then send the patch to the xorg-devel mailing list for review.
Resolved in commit https://cgit.freedesktop.org/xorg/xserver/commit/?id=dbfbe58b94ec07a45fd6170f96bffec55051724e