celluloid-player / celluloid

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

Segmentation fault after second use of `f` hotkey #284

Closed paulcarroty closed 1 year ago

paulcarroty commented 7 years ago

Overview Description:

$ gnome-mpv 

(gnome-mpv:5506): Gtk-CRITICAL **: gtk_container_propagate_draw: assertion '_gtk_widget_get_parent (child) == GTK_WIDGET (container)' failed
Segmentation fault (core dumped)

Steps to Reproduce:

  1. Open the gnome-mpv
  2. Open any playlist/media
  3. Use the f for full screen more than one time

Actual Results: crash Expected Results: enable/disable the full screen

Version: 0.12

Additional Information: gtk3 3.22 mpv 0.24, 0.25 Fedora 27

gnome-mpv commented 7 years ago

I can't reproduce this.

Please create a backtrace and post it here. (Recompile with --enable-debug, then run gdb -ex run -ex bt gnome-mpv and make it crash.)

paulcarroty commented 7 years ago
Thread 1 "gnome-mpv" received signal SIGSEGV, Segmentation fault.
0x00007f28128b3703 in gtk_container_propagate_draw (
    container=container@entry=0x555555a2e440 [GmpvMainWindow], 
    child=0x555556289340, cr=cr@entry=0x555555bdf000) at gtkcontainer.c:3792
3792      g_return_if_fail (GTK_IS_WIDGET (child));
#0  0x00007f28128b3703 in gtk_container_propagate_draw (container=container@entry=0x555555a2e440 [GmpvMainWindow], child=0x555556289340, cr=cr@entry=0x555555bdfMissing separate debuginfos, use: dnf debuginfo-install libbluray-1.0.0-2.fc27.x86_64 libldb-1.1.30-1.fc27.x86_64 pcre-8.40-7.fc27.x86_64 systemd-libs-233-2.fc27.x86_64 x264-libs-0.148-18.20170226git90a61ec.fc27.x86_64
---Type <return> to continue, or q <return> to quit---
000) at gtkcontainer.c:3792
#1  0x00007f28128b3932 in gtk_container_draw (widget=0x555555a2e440 [GmpvMainWindow], cr=0x555555bdf000) at gtkcontainer.c:3658
#2  0x00007f2812add1b3 in gtk_window_draw (widget=0x555555a2e440 [GmpvMainWindow], cr=0x555555bdf000) at gtkwindow.c:10213
#3  0x00007f2812acf3db in gtk_widget_draw_internal (widget=0x555555a2e440 [GmpvMainWindow], cr=0x555555bdf000, clip_to_size=<optimized out>)
    at gtkwidget.c:7018
#4  0x00007f2812ad8748 in gtk_widget_render (widget=widget@entry=0x555555a2e440 [GmpvMainWindow], window=0x555555b0d340 [GdkWaylandWindow], region=<optimized out>) at gtkwidget.c:17515
#5  0x00007f2812978db9 in gtk_main_do_event (event=<optimized out>)
    at gtkmain.c:1824
#6  0x00007f281248d425 in _gdk_event_emit (event=event@entry=0x7fffffffd790)
    at gdkevents.c:73
#7  0x00007f281249d765 in _gdk_window_process_updates_recurse_helper (window=0x555555b0d340 [GdkWaylandWindow], expose_region=<optimized out>)
    at gdkwindow.c:3849
#8  0x00007f281249e966 in gdk_window_process_updates_internal (window=0x555555b0d340 [GdkWaylandWindow]) at gdkwindow.c:3995
#9  0x00007f281249eb60 in gdk_window_process_updates_with_mode (window=<optimized out>, recurse_mode=<optimized out>) at gdkwindow.c:4189
#13 0x00007f28110b62ef in <emit signal ??? on instance 0x555555849270 [GdkFrameC---
#14 0x00007f281249624f in _gdk_frame_clock_emit_paint (frame_clock=frame_clock@entry=0x555555849270 [GdkFrameClockIdle]) at gdkframeclock.c:640
#15 0x00007f2812496981 in gdk_frame_clock_paint_idle (data=0x555555849270)
    at gdkframeclockidle.c:430
#16 0x00007f2812481ae0 in gdk_threads_dispatch (data=data@entry=0x5555559acd20)
    at gdk.c:743
#17 0x00007f2810dc102d in g_timeout_dispatch (source=0x555556735d80, callback=0x7f2812481ac0 <gdk_threads_dispatch>, user_data=0x5555559acd20) at gmain.c:4715
#18 0x00007f2810dc05c7 in g_main_dispatch (context=0x5555557ed3e0)
    at gmain.c:3234
#19 0x00007f2810dc05c7 in g_main_context_dispatch (context=context@entry=0x55555---Type <return> to continue, or q <return> to quit---
57ed3e0) at gmain.c:3899
#20 0x00007f2810dc0968 in g_main_context_iterate (context=context@entry=0x5555557ed3e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at gmain.c:3972
#21 0x00007f2810dc09fc in g_main_context_iteration (context=context@entry=0x5555557ed3e0, may_block=may_block@entry=1) at gmain.c:4033
#22 0x00007f28113836fd in g_application_run (application=0x5555557eb0e0 [GmpvApplication], argc=<optimized out>, argv=<optimized out>) at gapplication.c:2381
#23 0x0000555555563e20 in main (argc=1, argv=0x7fffffffe028) at gmpv_main.c:35
(gdb) 
gnome-mpv commented 7 years ago

Does this happen if you first press Ctrl+H to hide the controls before toggling fullscreen?

paulcarroty commented 7 years ago

@gnome-mpv in all cases with f shortcut - with and without the Ctrl+H.

gnome-mpv commented 7 years ago

Does 11e77f60856a7a4f0b01fd34e38582e568767237 fix the problem for you?

paulcarroty commented 7 years ago

No GUI, just the screen blinking. Compiled from latest https://github.com/gnome-mpv/gnome-mpv/commit/4fde0ec57b5f214960ba42117233d27c04e4d0fa.

Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7f6d42a64700 (LWP 24306)]
[New Thread 0x7f6d42263700 (LWP 24307)]
[New Thread 0x7f6d41a62700 (LWP 24308)]
[New Thread 0x7f6d33a88700 (LWP 24309)]
[New Thread 0x7f6d33287700 (LWP 24310)]
[New Thread 0x7f6d3263b700 (LWP 24312)]
[New Thread 0x7f6d31e3a700 (LWP 24313)]
[New Thread 0x7f6d31639700 (LWP 24314)]
[Thread 0x7f6d31639700 (LWP 24314) exited]
[New Thread 0x7f6d31639700 (LWP 24315)]
[Thread 0x7f6d3263b700 (LWP 24312) exited]
[Thread 0x7f6d31639700 (LWP 24315) exited]
[Thread 0x7f6d31e3a700 (LWP 24313) exited]
[Thread 0x7f6d33a88700 (LWP 24309) exited]
[New Thread 0x7f6d33a88700 (LWP 24316)]
[New Thread 0x7f6d31e3a700 (LWP 24317)]
[New Thread 0x7f6d31639700 (LWP 24318)]
[New Thread 0x7f6d3263b700 (LWP 24319)]
[Thread 0x7f6d3263b700 (LWP 24319) exited]
[New Thread 0x7f6d3263b700 (LWP 24320)]
[Thread 0x7f6d31e3a700 (LWP 24317) exited]
[Thread 0x7f6d3263b700 (LWP 24320) exited]
[Thread 0x7f6d31639700 (LWP 24318) exited]
[Thread 0x7f6d33a88700 (LWP 24316) exited]
[New Thread 0x7f6d33a88700 (LWP 24321)]
[New Thread 0x7f6d31639700 (LWP 24322)]
[New Thread 0x7f6d3263b700 (LWP 24323)]
[New Thread 0x7f6d31e3a700 (LWP 24324)]
[Thread 0x7f6d31e3a700 (LWP 24324) exited]
[New Thread 0x7f6d31e3a700 (LWP 24325)]
[Thread 0x7f6d31639700 (LWP 24322) exited]
[Thread 0x7f6d31e3a700 (LWP 24325) exited]
[Thread 0x7f6d3263b700 (LWP 24323) exited]
[Thread 0x7f6d33a88700 (LWP 24321) exited]
[New Thread 0x7f6d33a88700 (LWP 24326)]
[New Thread 0x7f6d3263b700 (LWP 24327)]
[New Thread 0x7f6d31e3a700 (LWP 24328)]
[New Thread 0x7f6d31639700 (LWP 24329)]
[Thread 0x7f6d31639700 (LWP 24329) exited]
[New Thread 0x7f6d31639700 (LWP 24330)]
[Thread 0x7f6d3263b700 (LWP 24327) exited]
[Thread 0x7f6d31639700 (LWP 24330) exited]
[Thread 0x7f6d31e3a700 (LWP 24328) exited]
[Thread 0x7f6d33a88700 (LWP 24326) exited]
[New Thread 0x7f6d33a88700 (LWP 24331)]
[New Thread 0x7f6d31e3a700 (LWP 24332)]
[New Thread 0x7f6d31639700 (LWP 24333)]
[New Thread 0x7f6d3263b700 (LWP 24334)]
[Thread 0x7f6d3263b700 (LWP 24334) exited]
[New Thread 0x7f6d3263b700 (LWP 24335)]
[Thread 0x7f6d31e3a700 (LWP 24332) exited]
[Thread 0x7f6d3263b700 (LWP 24335) exited]
[Thread 0x7f6d31639700 (LWP 24333) exited]
[Thread 0x7f6d33a88700 (LWP 24331) exited]
[New Thread 0x7f6d33a88700 (LWP 24336)]
[New Thread 0x7f6d31639700 (LWP 24337)]
[New Thread 0x7f6d3263b700 (LWP 24338)]
[New Thread 0x7f6d31e3a700 (LWP 24339)]
[Thread 0x7f6d31e3a700 (LWP 24339) exited]
[New Thread 0x7f6d31e3a700 (LWP 24340)]
[Thread 0x7f6d31639700 (LWP 24337) exited]
[Thread 0x7f6d31e3a700 (LWP 24340) exited]
[Thread 0x7f6d3263b700 (LWP 24338) exited]
[Thread 0x7f6d33a88700 (LWP 24336) exited]
[New Thread 0x7f6d33a88700 (LWP 24341)]
[New Thread 0x7f6d3263b700 (LWP 24342)]
[New Thread 0x7f6d31e3a700 (LWP 24343)]
[New Thread 0x7f6d31639700 (LWP 24344)]
[Thread 0x7f6d31639700 (LWP 24344) exited]
[New Thread 0x7f6d31639700 (LWP 24345)]
[Thread 0x7f6d3263b700 (LWP 24342) exited]
[Thread 0x7f6d31639700 (LWP 24345) exited]
[Thread 0x7f6d31e3a700 (LWP 24343) exited]
[Thread 0x7f6d33a88700 (LWP 24341) exited]
[New Thread 0x7f6d33a88700 (LWP 24346)]
[New Thread 0x7f6d31e3a700 (LWP 24347)]
[New Thread 0x7f6d31639700 (LWP 24348)]
[New Thread 0x7f6d3263b700 (LWP 24349)]
[Thread 0x7f6d3263b700 (LWP 24349) exited]
[New Thread 0x7f6d3263b700 (LWP 24350)]
[Thread 0x7f6d31e3a700 (LWP 24347) exited]
[Thread 0x7f6d3263b700 (LWP 24350) exited]
[Thread 0x7f6d31639700 (LWP 24348) exited]
[Thread 0x7f6d33a88700 (LWP 24346) exited]
[New Thread 0x7f6d33a88700 (LWP 24351)]
[New Thread 0x7f6d31639700 (LWP 24352)]
[New Thread 0x7f6d3263b700 (LWP 24353)]
[New Thread 0x7f6d31e3a700 (LWP 24354)]
[Thread 0x7f6d31e3a700 (LWP 24354) exited]
[New Thread 0x7f6d31e3a700 (LWP 24355)]
[Thread 0x7f6d31639700 (LWP 24352) exited]
[Thread 0x7f6d31e3a700 (LWP 24355) exited]
[Thread 0x7f6d3263b700 (LWP 24353) exited]
[Thread 0x7f6d33a88700 (LWP 24351) exited]
[New Thread 0x7f6d33a88700 (LWP 24356)]
[New Thread 0x7f6d3263b700 (LWP 24357)]
[New Thread 0x7f6d31e3a700 (LWP 24358)]
[New Thread 0x7f6d31639700 (LWP 24359)]
[Thread 0x7f6d31639700 (LWP 24359) exited]
[New Thread 0x7f6d31639700 (LWP 24360)]
[Thread 0x7f6d3263b700 (LWP 24357) exited]
[Thread 0x7f6d31639700 (LWP 24360) exited]
[Thread 0x7f6d31e3a700 (LWP 24358) exited]
[Thread 0x7f6d33a88700 (LWP 24356) exited]
[New Thread 0x7f6d33a88700 (LWP 24361)]
[New Thread 0x7f6d31e3a700 (LWP 24362)]
[New Thread 0x7f6d31639700 (LWP 24363)]
[New Thread 0x7f6d3263b700 (LWP 24364)]
[Thread 0x7f6d3263b700 (LWP 24364) exited]
[New Thread 0x7f6d3263b700 (LWP 24365)]
[Thread 0x7f6d31e3a700 (LWP 24362) exited]
[Thread 0x7f6d3263b700 (LWP 24365) exited]
[Thread 0x7f6d31639700 (LWP 24363) exited]
[Thread 0x7f6d33a88700 (LWP 24361) exited]
[New Thread 0x7f6d33a88700 (LWP 24366)]
[New Thread 0x7f6d31639700 (LWP 24367)]
[New Thread 0x7f6d3263b700 (LWP 24368)]
[New Thread 0x7f6d31e3a700 (LWP 24369)]
[Thread 0x7f6d31e3a700 (LWP 24369) exited]
[New Thread 0x7f6d31e3a700 (LWP 24370)]
[Thread 0x7f6d31639700 (LWP 24367) exited]
[Thread 0x7f6d31e3a700 (LWP 24370) exited]
[Thread 0x7f6d3263b700 (LWP 24368) exited]
[Thread 0x7f6d33a88700 (LWP 24366) exited]
[New Thread 0x7f6d33a88700 (LWP 24371)]
[New Thread 0x7f6d3263b700 (LWP 24372)]
[New Thread 0x7f6d31e3a700 (LWP 24373)]
[New Thread 0x7f6d31639700 (LWP 24374)]
[Thread 0x7f6d31639700 (LWP 24374) exited]
[New Thread 0x7f6d31639700 (LWP 24375)]
[Thread 0x7f6d3263b700 (LWP 24372) exited]
[Thread 0x7f6d31639700 (LWP 24375) exited]
[Thread 0x7f6d31e3a700 (LWP 24373) exited]
[Thread 0x7f6d33a88700 (LWP 24371) exited]
[New Thread 0x7f6d33a88700 (LWP 24376)]
[New Thread 0x7f6d31e3a700 (LWP 24377)]
[New Thread 0x7f6d31639700 (LWP 24378)]
[New Thread 0x7f6d3263b700 (LWP 24379)]
[Thread 0x7f6d3263b700 (LWP 24379) exited]
[New Thread 0x7f6d3263b700 (LWP 24380)]
[Thread 0x7f6d31e3a700 (LWP 24377) exited]
[Thread 0x7f6d3263b700 (LWP 24380) exited]
[Thread 0x7f6d31639700 (LWP 24378) exited]
[Thread 0x7f6d33a88700 (LWP 24376) exited]
[New Thread 0x7f6d33a88700 (LWP 24381)]
[New Thread 0x7f6d31639700 (LWP 24382)]
[New Thread 0x7f6d3263b700 (LWP 24383)]
[New Thread 0x7f6d31e3a700 (LWP 24384)]
[Thread 0x7f6d31e3a700 (LWP 24384) exited]
[New Thread 0x7f6d31e3a700 (LWP 24385)]

Thread 78 "mpv/vo" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f6d3263b700 (LWP 24383)]
0x00007f6d670f4ae2 in xcb_send_request_with_fds64 () from /lib64/libxcb.so.1
#0  0x00007f6d670f4ae2 in xcb_send_request_with_fds64 () at /lib64/libxcb.so.1
#1  0x00007f6d670f4c79 in xcb_send_request () at /lib64/libxcb.so.1
#2  0x00007f6d670fab93 in xcb_get_geometry () at /lib64/libxcb.so.1
#3  0x00007f6d227ec6ec in loader_dri3_drawable_init () at /lib64/libEGL_mesa.so.0
#4  0x00007f6d227eba67 in dri3_create_surface.isra () at /lib64/libEGL_mesa.so.0
#5  0x00007f6d227ebbc6 in dri3_create_window_surface () at /lib64/libEGL_mesa.so.0
#6  0x00007f6d227d6a87 in _eglCreateWindowSurfaceCommon () at /lib64/libEGL_mesa.so.0
#7  0x00007f6d6baa6ec9 in mpegl_init () at /lib64/libmpv.so.1
#8  0x00007f6d6baa492d in init_backend () at /lib64/libmpv.so.1
#9  0x00007f6d6baa4abb in mpgl_init () at /lib64/libmpv.so.1
#10 0x00007f6d6bac1b29 in preinit () at /lib64/libmpv.so.1
#11 0x00007f6d6babe250 in vo_thread () at /lib64/libmpv.so.1
#12 0x00007f6d6b4be369 in start_thread () at /lib64/libpthread.so.0
#13 0x00007f6d6b1f3daf in clone () at /lib64/libc.so.6
gnome-mpv commented 7 years ago

Looks like it's mpv's thread that's getting segfault this time.

Judging from the backtrace, I think it's probably related to this: https://bugs.freedesktop.org/show_bug.cgi?id=98321

paulcarroty commented 7 years ago

@gnome-mpv I tried this

$ mpv image.png --idle --keep-open

Then pressing the `_` key multiple times in the CLI on terminal

and mpv still working, no segmentation fault. This bug related only for old Mesa.

gnome-mpv commented 7 years ago

With 4fde0ec57b5f214960ba42117233d27c04e4d0fa, put --msg-level=all=v in Extra MPV Options, run G_MESSAGES_DEBUG=all gnome-mpv, crash it, and post the log messages here.


and mpv still working, no segmentation fault.

The referenced mpv bug report suggests that it may not be very easy to get it to crash under some conditions. Try this: mpv --idle --keep-open pic.png --input-file=<(for i in $(seq 100); do echo "cycle video"; sleep 0.1; done)

This bug related only for old Mesa.

I don't think it is completely clear that the bug only applies to the old mesa version. The version used by the reporter is very old, but there is no indication that the bug has been found/fixed since.

paulcarroty commented 7 years ago
(gnome-mpv:11490): Gtk-DEBUG: Connecting to session manager
** INFO: Starting GNOME MPV 0.12
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "CanQuit"
** (gnome-mpv:11490): DEBUG: Adding property "CanSetFullscreen"
** (gnome-mpv:11490): DEBUG: Adding property "CanRaise"
** (gnome-mpv:11490): DEBUG: Adding property "Fullscreen"
** (gnome-mpv:11490): DEBUG: Adding property "HasTrackList"
** (gnome-mpv:11490): DEBUG: Adding property "Identity"
** (gnome-mpv:11490): DEBUG: Adding property "DesktopEntry"
** (gnome-mpv:11490): DEBUG: Adding property "SupportedUriSchemes"
** (gnome-mpv:11490): DEBUG: Adding property "SupportedMimeTypes"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "PlaybackStatus"
** (gnome-mpv:11490): DEBUG: Adding property "Rate"
** (gnome-mpv:11490): DEBUG: Adding property "Metadata"
** (gnome-mpv:11490): DEBUG: Adding property "Volume"
** (gnome-mpv:11490): DEBUG: Adding property "MinimumRate"
** (gnome-mpv:11490): DEBUG: Adding property "MaximumRate"
** (gnome-mpv:11490): DEBUG: Adding property "CanGoNext"
** (gnome-mpv:11490): DEBUG: Adding property "CanGoPrevious"
** (gnome-mpv:11490): DEBUG: Adding property "CanPlay"
** (gnome-mpv:11490): DEBUG: Adding property "CanPause"
** (gnome-mpv:11490): DEBUG: Adding property "CanSeek"
** (gnome-mpv:11490): DEBUG: Adding property "CanControl"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "Tracks"
** (gnome-mpv:11490): DEBUG: Adding property "CanEditTracks"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.TrackList
** INFO: Failed to retrieve property "time-pos" using mpv format 5. Reason: core not uninitialized.
** INFO: Failed to retrieve property "time-pos" using mpv format 5. Reason: core not uninitialized.
** (gnome-mpv:11490): DEBUG: Applying default option --vo=opengl,vdpau,vaapi,xv,x11,opengl-cb,
** (gnome-mpv:11490): DEBUG: Applying default option --osd-level=1
** (gnome-mpv:11490): DEBUG: Applying default option --softvol=yes
** (gnome-mpv:11490): DEBUG: Applying default option --force-window=immediate
** (gnome-mpv:11490): DEBUG: Applying default option --input-default-bindings=yes
** (gnome-mpv:11490): DEBUG: Applying default option --audio-client-name=gnome-mpv
** (gnome-mpv:11490): DEBUG: Applying default option --title=${media-title}
** (gnome-mpv:11490): DEBUG: Applying default option --autofit-larger=75%
** (gnome-mpv:11490): DEBUG: Applying default option --window-scale=1
** (gnome-mpv:11490): DEBUG: Applying default option --pause=yes
** (gnome-mpv:11490): DEBUG: Applying default option --ytdl=yes
** (gnome-mpv:11490): DEBUG: Applying default option --load-scripts=no
** (gnome-mpv:11490): DEBUG: Applying default option --osd-bar=no
** (gnome-mpv:11490): DEBUG: Applying default option --input-cursor=no
** (gnome-mpv:11490): DEBUG: Applying default option --cursor-autohide=no
** (gnome-mpv:11490): DEBUG: Applying default option --softvol-max=100
** (gnome-mpv:11490): DEBUG: Applying default option --config=yes
** (gnome-mpv:11490): DEBUG: Applying default option --screenshot-template=gnome-mpv-shot%n
** (gnome-mpv:11490): DEBUG: Applying default option --config-dir=/home/paul/.config/gnome-mpv
** INFO: Loading config file: /etc/mpv/mpv.conf
** (gnome-mpv:11490): DEBUG: Using temporary input config file: /tmp/.AI2R1Y
** (gnome-mpv:11490): DEBUG: Applying extra mpv options: --msg-level=all=v
** (gnome-mpv:11490): DEBUG: Applying option --msg-level=all=v
** INFO: Forcing --vo=opengl-cb
** INFO: Failed to retrieve property "current-vo" as string.
** INFO: Using mpv 0.25.0
** (gnome-mpv:11490): DEBUG: Setting volume to 100.000000
** (gnome-mpv:11490): DEBUG: Initialized opengl-cb
** (gnome-mpv:11490): DEBUG: Activating action toggle-fullscreen
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "Fullscreen"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2
** Message: [cplayer] Run command: script-message, flags=9, args=[gmpv-action, toggle-fullscreen]
** Message: [opengl-cb] GL_VERSION='3.3 (Core Profile) Mesa 17.1.3'
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "aid"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "vid"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "sid"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "core-idle"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "PlaybackStatus"
** (gnome-mpv:11490): DEBUG: Adding property "CanSeek"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "idle-active"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "PlaybackStatus"
** (gnome-mpv:11490): DEBUG: Adding property "CanSeek"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "fullscreen"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "pause"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "loop"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "playlist"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "Tracks"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.TrackList
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "playlist-count"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "CanGoPrevious"
** (gnome-mpv:11490): DEBUG: Adding property "CanGoNext"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "speed"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "Rate"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "track-list"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "vo-configured"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "volume"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "Volume"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** Message: [opengl-cb] Detected desktop OpenGL 3.3.
** Message: [opengl-cb] GL_VENDOR='Intel Open Source Technology Center'
** Message: [opengl-cb] GL_RENDERER='Mesa DRI Intel(R) Sandybridge Mobile '
** Message: [opengl-cb] GL_SHADING_LANGUAGE_VERSION='3.30'
** Message: [opengl-cb] Loaded extension GL_ARB_get_program_binary.
** Message: [opengl-cb] Loaded extension GL_ARB_debug_output.
** Message: [opengl-cb] Loaded extension GL_MP_MPGetNativeDisplay.
** Message: [opengl-cb] 16 bit texture depth: 16.
** Message: [opengl-cb] Testing FBO format 0x805b
** Message: [opengl-cb] Create FBO: 16x16 (16x16)
** Message: [opengl-cb] Using FBO format 0x805b.
** Message: [opengl-cb] No advanced processing required. Enabling dumb mode.
** Message: [opengl-cb] Loading hwdec driver 'vaapi-egl'
** Message: [opengl-cb/vaapi-egl] Trying to open a x11 VA display...
** Message: [opengl-cb/vaapi-egl] Trying to open a wayland VA display...
** Message: [opengl-cb/vaapi-egl/vaapi] libva: VA-API version 0.40.0
** Message: [opengl-cb/vaapi-egl/vaapi] libva: va_getDriverName() returns 0
** Message: [opengl-cb/vaapi-egl/vaapi] libva: Trying to open /usr/lib64/dri/i965_drv_video.so
** Message: [opengl-cb/vaapi-egl/vaapi] libva: Found init function __vaDriverInit_0_40
** Message: [opengl-cb/vaapi-egl/vaapi] libva: va_openDriver() returns 0
** Message: [opengl-cb/vaapi-egl/vaapi] VA API version 0.40
** Message: [opengl-cb/vaapi-egl/vaapi] 9 image formats available:
** Message: [opengl-cb/vaapi-egl/vaapi]   YV12
** Message: [opengl-cb/vaapi-egl/vaapi]   I420
** Message: [opengl-cb/vaapi-egl/vaapi]   NV12
** Message: [opengl-cb/vaapi-egl/vaapi]   YUY2
** Message: [opengl-cb/vaapi-egl/vaapi]   UYVY
** Message: [opengl-cb/vaapi-egl/vaapi]   422H
** Message: [opengl-cb/vaapi-egl/vaapi]   RGBX
** Message: [opengl-cb/vaapi-egl/vaapi]   BGRX
** Message: [opengl-cb/vaapi-egl/vaapi]   P010
** Message: [ffmpeg] AVHWDeviceContext: Matched "Intel i965 driver for Intel(R) Sandybridge Mobile - 1.8.2" as known driver "Intel i965 (Quick Sync)".
** Message: [opengl-cb/vaapi-egl] using VAAPI EGL interop
** Message: [opengl-cb/vaapi-egl] Supported formats:
** Message: [opengl-cb/vaapi-egl]  yuv420p
** Message: [opengl-cb/vaapi-egl]  nv12
** Message: [opengl-cb/vaapi-egl]  yuv422p
** Message: [opengl-cb/vaapi-egl]  p010
** Message: [cplayer] Warning: property 'loop' was replaced with 'loop-playlist' and might be removed in the future.
** Message: [opengl-cb] Reported display depth: 8
** (gnome-mpv:11490): DEBUG: Sent 'f' key down to mpv
** (gnome-mpv:11490): DEBUG: Activating action toggle-fullscreen
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "Fullscreen"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2
** Message: [cplayer] Run command: keydown, flags=0, args=[f]
** Message: [cplayer] Run command: script-message, flags=9, args=[gmpv-action, toggle-fullscreen]
** (gnome-mpv:11490): DEBUG: Sent 'f' key up to mpv
** Message: [cplayer] Run command: keyup, flags=0, args=[f]
** (gnome-mpv:11490): DEBUG: Set mouse location to (409, 411)
** Message: [cplayer] Run command: mouse, flags=0, args=[409, 411, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (380, 381)
** Message: [cplayer] Run command: mouse, flags=0, args=[380, 381, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (344, 352)
** Message: [cplayer] Run command: mouse, flags=0, args=[344, 352, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (309, 325)
** Message: [cplayer] Run command: mouse, flags=0, args=[309, 325, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (237, 275)
** Message: [cplayer] Run command: mouse, flags=0, args=[237, 275, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (204, 255)
** Message: [cplayer] Run command: mouse, flags=0, args=[204, 255, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (176, 238)
** Message: [cplayer] Run command: mouse, flags=0, args=[176, 238, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (151, 224)
** Message: [cplayer] Run command: mouse, flags=0, args=[151, 224, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (102, 198)
** Message: [cplayer] Run command: mouse, flags=0, args=[102, 198, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (68, 180)
** Message: [cplayer] Run command: mouse, flags=0, args=[68, 180, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (59, 176)
** Message: [cplayer] Run command: mouse, flags=0, args=[59, 176, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (57, 175)
** Message: [cplayer] Run command: mouse, flags=0, args=[57, 175, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (57, 174)
** Message: [cplayer] Run command: mouse, flags=0, args=[57, 174, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (57, 170)
** Message: [cplayer] Run command: mouse, flags=0, args=[57, 170, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (57, 163)
** Message: [cplayer] Run command: mouse, flags=0, args=[57, 163, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (57, 152)
** Message: [cplayer] Run command: mouse, flags=0, args=[57, 152, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (54, 125)
** Message: [cplayer] Run command: mouse, flags=0, args=[54, 125, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (47, 108)
** Message: [cplayer] Run command: mouse, flags=0, args=[47, 108, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (35, 91)
** Message: [cplayer] Run command: mouse, flags=0, args=[35, 91, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (24, 69)
** Message: [cplayer] Run command: mouse, flags=0, args=[24, 69, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (2, 29)
** Message: [cplayer] Run command: mouse, flags=0, args=[2, 29, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (0, 12)
** Message: [cplayer] Run command: mouse, flags=0, args=[0, 12, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (0, 3)
** Message: [cplayer] Run command: mouse, flags=0, args=[0, 3, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (24, 18)
** Message: [cplayer] Run command: mouse, flags=0, args=[24, 18, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (24, 21)
** Message: [cplayer] Run command: mouse, flags=0, args=[24, 21, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (24, 23)
** Message: [cplayer] Run command: mouse, flags=0, args=[24, 23, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (24, 22)
** Message: [cplayer] Run command: mouse, flags=0, args=[24, 22, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (24, 17)
** Message: [cplayer] Run command: mouse, flags=0, args=[24, 17, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (24, 14)
** Message: [cplayer] Run command: mouse, flags=0, args=[24, 14, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (24, 10)
** Message: [cplayer] Run command: mouse, flags=0, args=[24, 10, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (24, 7)
** Message: [cplayer] Run command: mouse, flags=0, args=[24, 7, -1, single]
** (gnome-mpv:11490): DEBUG: Set mouse location to (24, 2)
** Message: [cplayer] Run command: mouse, flags=0, args=[24, 2, -1, single]
** (gnome-mpv:11490): DEBUG: Sent global key up to mpv
** Message: [cplayer] Run command: keyup, flags=9, args=[]
** (gnome-mpv:11490): DEBUG: Sent global key up to mpv
** Message: [cplayer] Run command: keyup, flags=9, args=[]
** (gnome-mpv:11490): DEBUG: Sent global key up to mpv
** Message: [cplayer] Run command: keyup, flags=9, args=[]
** Message: [cplayer] Set property: pause=false -> 1
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "pause"
** INFO: Loading file (append=FALSE): /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/136 Creating the Color Game Pt. 1.mp4
** INFO: Loading file (append=TRUE): /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/137 Creating the Color Game Pt. 2.mp4
** INFO: Loading file (append=TRUE): /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/138 Creating the Color Game Pt. 3.mp4
** INFO: Loading file (append=TRUE): /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/139 Creating the Color Game Pt. 4.mp4
** INFO: Loading file (append=TRUE): /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/140 Creating the Color Game Pt. 5.mp4
** INFO: Loading file (append=TRUE): /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/141 Creating the Color Game Pt. 6.mp4
** INFO: Loading file (append=TRUE): /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/142 Creating the Color Game Pt. 7.mp4
** INFO: Loading file (append=TRUE): /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/143 Color Game Project Part 8.mp4
** INFO: Loading file (append=TRUE): /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/144 Creating the Color Game Pt. 9.mp4
** Message: [cplayer] Set property: pause=false -> 1
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "idle-active"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "PlaybackStatus"
** (gnome-mpv:11490): DEBUG: Adding property "CanSeek"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** Message: [cplayer] Run command: loadfile, flags=0, args=[/home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/136 Creating the Color Game Pt. 1.mp4, replace, ]
** Message: [global] config path: 'watch_later' -> '/home/paul/.config/gnome-mpv/watch_later'
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "media-title"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "playlist"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "Tracks"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.TrackList
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "playlist-count"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "CanGoPrevious"
** (gnome-mpv:11490): DEBUG: Adding property "CanGoNext"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "playlist-pos"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "CanGoPrevious"
** (gnome-mpv:11490): DEBUG: Adding property "CanGoNext"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** Message: [cplayer] Playing: /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/136 Creating the Color Game Pt. 1.mp4
** Message: [cplayer] Running hook: ytdl_hook/on_load
** Message: [cplayer] Run command: loadfile, flags=0, args=[/home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/137 Creating the Color Game Pt. 2.mp4, append, ]
** Message: [cplayer] Run command: hook-ack, flags=0, args=[on_load]
** Message: [cplayer] Run command: loadfile, flags=0, args=[/home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/138 Creating the Color Game Pt. 3.mp4, append, ]
** Message: [cplayer] Run command: loadfile, flags=0, args=[/home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/139 Creating the Color Game Pt. 4.mp4, append, ]
** Message: [bdmv/bluray] Opening /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/136 Creating the Color Game Pt. 1.mp4
** Message: [cplayer] Run command: loadfile, flags=0, args=[/home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/140 Creating the Color Game Pt. 5.mp4, append, ]
** Message: [cplayer] Run command: loadfile, flags=0, args=[/home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/141 Creating the Color Game Pt. 6.mp4, append, ]
** Message: [cplayer] Run command: loadfile, flags=0, args=[/home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/142 Creating the Color Game Pt. 7.mp4, append, ]
** Message: [cplayer] Run command: loadfile, flags=0, args=[/home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/143 Color Game Project Part 8.mp4, append, ]
** Message: [cplayer] Run command: loadfile, flags=0, args=[/home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/144 Creating the Color Game Pt. 9.mp4, append, ]
** Message: [file] Opening /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/136 Creating the Color Game Pt. 1.mp4
** Message: [file] Stream opened successfully.
** Message: [demux] Trying demuxers for level=normal.
** (gnome-mpv:11490): DEBUG: Retrieved video size: 1280x720
** (gnome-mpv:11490): DEBUG: Retrieved option --window-scale=1.000000
** (gnome-mpv:11490): DEBUG: Retrieved option --autofit-larger=75%x0
** (gnome-mpv:11490): DEBUG: Target video area size: 1024x576
** (gnome-mpv:11490): DEBUG: Set video size multiplier to 0.800000
** (gnome-mpv:11490): DEBUG: Resizing window to 1024x576
** (gnome-mpv:11490): DEBUG: Retrieved video size: 1280x720
** (gnome-mpv:11490): DEBUG: Retrieved option --window-scale=1.000000
** (gnome-mpv:11490): DEBUG: Retrieved option --autofit-larger=75%x0
** (gnome-mpv:11490): DEBUG: Target video area size: 1024x576
** (gnome-mpv:11490): DEBUG: Set video size multiplier to 0.800000
** (gnome-mpv:11490): DEBUG: Resizing window to 1024x576
** Message: [lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
** Message: [demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
** Message: [cplayer] Opening done: /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/136 Creating the Color Game Pt. 1.mp4
** Message: [find_files] Loading external files in /home/paul/Videos/the-web-developer-bootcamp/15 Color Game Project/
** Message: [global] config path: 'sub' -/-> '/home/paul/.config/gnome-mpv/sub'
** Message: [cplayer] Running hook: ytdl_hook/on_preloaded
** Message: [cplayer] Run command: hook-ack, flags=0, args=[on_preloaded]
** Message: [cplayer]  (+) Video --vid=1 (*) (h264 1280x720 30.000fps)
** Message: [cplayer]  (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
** Message: [vd] Container reported FPS: 30.000000
** Message: [vd] Codec list:
** Message: [vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
** Message: [vd]     h264_qsv (h264) - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (Intel Quick Sync Video acceleration)
** Message: [vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
** Message: [vd] Opening video decoder h264
** Message: [vd] Probing 'vaapi'...
** Message: [vd] Trying hardware decoding.
** Message: [vd] Selected video codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
** Message: [ad] Codec list:
** Message: [ad]     aac - AAC (Advanced Audio Coding)
** Message: [ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
** Message: [ad] Opening audio decoder aac
** Message: [ad] Requesting 1 threads for decoding.
** Message: [ad] Selected audio codec: aac (AAC (Advanced Audio Coding))
** Message: [cplayer] Starting playback...
** Message: [vd] Pixel formats supported by decoder: vdpau vaapi_vld yuv420p
** Message: [vd] Codec profile: Constrained Baseline (0x242)
** Message: [vd] Requesting pixfmt 'vaapi_vld' from decoder.
** Message: [ffmpeg/video] h264: Reinit context to 1280x720, pix_fmt: vaapi_vld
** Message: [vd] Using hardware decoding (vaapi).
** Message: [vd] Decoder format: 1280x720 vaapi[nv12] bt.709/bt.709/bt.1886/limited CL=mpeg2/4/h264
** Message: [vd] Using container aspect ratio.
** Message: [vf] Video filter chain:
** Message: [vf]   [in] 1280x720 vaapi[nv12] bt.709/bt.709/bt.1886/limited CL=mpeg2/4/h264
** Message: [vf]   [out] 1280x720 vaapi[nv12] bt.709/bt.709/bt.1886/limited CL=mpeg2/4/h264
** Message: [cplayer] VO: [opengl-cb] 1280x720 vaapi[nv12]
** Message: [cplayer] VO: Description: OpenGL Callbacks for libmpv
** Message: [cplayer] set video colors output-levels=0 
** Message: [opengl-cb] Window size: 1366x626
** Message: [opengl-cb] Video source: 1280x720 (1:1)
** Message: [opengl-cb] Video display: (0, 0) 1280x720 -> (127, 0) 1112x626
** Message: [opengl-cb] Video scale: 0.868750/0.869444
** Message: [opengl-cb] OSD borders: l=127 t=0 r=127 b=0
** Message: [opengl-cb] Video borders: l=127 t=0 r=127 b=0
** Message: [opengl-cb] Testing FBO format 0x805b
** Message: [opengl-cb] Create FBO: 16x16 (16x16)
** Message: [opengl-cb] Using FBO format 0x805b.
** Message: [opengl-cb] No advanced processing required. Enabling dumb mode.
** Message: [cplayer] first video frame after restart shown
** Message: [af] Audio filter chain:
** Message: [af]   [in] 44100Hz stereo 2ch floatp
** Message: [af]   [out] 44100Hz stereo 2ch floatp
** Message: [opengl-cb] new shader program:
** Message: [opengl-cb] [  1] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
** Message: [opengl-cb] [  2] color.gb = 1.000000 * vec4(texture(texture1, texcoord1)).rg;
** Message: [opengl-cb] [  3] // color conversion
** Message: [opengl-cb] [  4] color = color.rgba;
** Message: [opengl-cb] [  5] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
** Message: [opengl-cb] [  6] color.a = 1.0;
** Message: [opengl-cb] [  7] // color mapping
** Message: [af]   [ao] 44100Hz stereo 2ch floatp
** Message: [ao] Trying audio driver 'pulse'
** Message: [ao/pulse] requested format: 44100 Hz, stereo channels, floatp
** Message: [ao/pulse] Library version: 10.0.0
** Message: [ao/pulse] Proto: 32
** Message: [ao/pulse] Server proto: 4294967295
** Message: [ao/pulse] Channel layouts:
** Message: [ao/pulse]  - #fl
** Message: [ao/pulse]  - #fr
** Message: [ao/pulse]  - #fc
** Message: [ao/pulse]  - #lfe
** Message: [ao/pulse]  - #bl
** Message: [ao/pulse]  - #br
** Message: [ao/pulse]  - #flc
** Message: [ao/pulse]  - #frc
** Message: [ao/pulse]  - #bc
** Message: [ao/pulse]  - #sl
** Message: [ao/pulse]  - #sr
** Message: [ao/pulse]  - #tc
** Message: [ao/pulse]  - #tfl
** Message: [ao/pulse]  - #tfc
** Message: [ao/pulse]  - #tfr
** Message: [ao/pulse]  - #tbl
** Message: [ao/pulse]  - #tbc
** Message: [ao/pulse]  - #tbr
** Message: [ao/pulse] result: stereo
** Message: [ao/pulse] device buffer: 5513 samples.
** Message: [ao/pulse] using soft-buffer of 8820 samples.
** Message: [cplayer] AO: [pulse] 44100Hz stereo 2ch float
** Message: [cplayer] AO: Description: PulseAudio audio output
** Message: [vo/opengl-cb] mpv_opengl_cb_draw() not being called or stuck.
** Message: [af] Adding filter lavrresample 
** Message: [af] Audio filter chain:
** Message: [af]   [in] 44100Hz stereo 2ch floatp
** Message: [af]   [lavrresample] 44100Hz stereo 2ch float [a]
** Message: [af]   [out] 44100Hz stereo 2ch float
** Message: [af]   [ao] 44100Hz stereo 2ch float
** Message: [cplayer] starting audio playback
** Message: [cplayer] playback restart complete
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "aid"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "vid"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "sid"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "chapters"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "core-idle"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "PlaybackStatus"
** (gnome-mpv:11490): DEBUG: Adding property "CanSeek"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "duration"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "metadata"
** (gnome-mpv:11490): DEBUG: Adding metadata tag "major_brand"
** (gnome-mpv:11490): DEBUG: Adding metadata tag "minor_version"
** (gnome-mpv:11490): DEBUG: Adding metadata tag "compatible_brands"
** (gnome-mpv:11490): DEBUG: Adding metadata tag "creation_time"
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "Metadata"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2.Player
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "track-list"
** (gnome-mpv:11490): DEBUG: Received mpv property change event for "vo-configured"

(gnome-mpv:11490): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
** Message: [opengl-cb] Window size: 1024x510
** Message: [opengl-cb] Video source: 1280x720 (1:1)
** Message: [opengl-cb] Video display: (0, 0) 1280x720 -> (59, 0) 906x510
** Message: [opengl-cb] Video scale: 0.707812/0.708333
** Message: [opengl-cb] OSD borders: l=59 t=0 r=59 b=0
** Message: [opengl-cb] Video borders: l=59 t=0 r=59 b=0
** Message: [opengl-cb] Window size: 1024x576
** Message: [opengl-cb] Video source: 1280x720 (1:1)
** Message: [opengl-cb] Video display: (0, 0) 1280x720 -> (0, 0) 1024x576
** Message: [opengl-cb] Video scale: 0.800000/0.800000
** Message: [opengl-cb] OSD borders: l=0 t=0 r=0 b=0
** Message: [opengl-cb] Video borders: l=0 t=0 r=0 b=0
** (gnome-mpv:11490): DEBUG: Sent 'f' key down to mpv
** (gnome-mpv:11490): DEBUG: Activating action toggle-fullscreen
** (gnome-mpv:11490): DEBUG: Preparing property change event
** (gnome-mpv:11490): DEBUG: Adding property "Fullscreen"
** (gnome-mpv:11490): DEBUG: Emitting property change event on interface org.mpris.MediaPlayer2
** Message: [cplayer] Run command: keydown, flags=0, args=[f]
** Message: [cplayer] Run command: script-message, flags=9, args=[gmpv-action, toggle-fullscreen]

(gnome-mpv:11490): Gtk-CRITICAL **: gtk_container_propagate_draw: assertion '_gtk_widget_get_parent (child) == GTK_WIDGET (container)' failed
Segmentation fault (core dumped)
gnome-mpv commented 7 years ago

(gnome-mpv:11490): Gtk-CRITICAL **: gtk_container_propagate_draw: assertion '_gtk_widget_get_parent (child) == GTK_WIDGET (container)' failed

Is this with 4fde0ec57b5f214960ba42117233d27c04e4d0fa? This message should no longer appear after 11e77f60856a7a4f0b01fd34e38582e568767237.

paulcarroty commented 7 years ago

<CENSORED>

It works with enabled client-side decorations!

gnome-mpv commented 7 years ago

I see. I'm still getting that message when CSD is disabled (but still no crash). I suppose that if I fix that the problem will be solved for non-CSD mode too.

paulcarroty commented 7 years ago

Logs from the latest release, I can't test the https://github.com/gnome-mpv/gnome-mpv/commit/4fde0ec57b5f214960ba42117233d27c04e4d0fa because no GUI.

Try this: mpv --idle --keep-open pic.png --input-file=<(for i in $(seq 100); do echo "cycle video"; sleep 0.1; done)

Works great, no crashes. Guess the problem isn't too deep, maybe something GTK-related.

gnome-mpv commented 7 years ago

Does f01f8568e2270b336425591b4ef8a195647ecd62 fix the problem?

paulcarroty commented 7 years ago

No, the same screen blinking.

** (gnome-mpv:24368): DEBUG: Applying default option --vo=opengl,vdpau,vaapi,xv,x11,opengl-cb,
** (gnome-mpv:24368): DEBUG: Applying default option --osd-level=1
** (gnome-mpv:24368): DEBUG: Applying default option --softvol=yes
** (gnome-mpv:24368): DEBUG: Applying default option --force-window=immediate
** (gnome-mpv:24368): DEBUG: Applying default option --input-default-bindings=yes
** (gnome-mpv:24368): DEBUG: Applying default option --audio-client-name=gnome-mpv
** (gnome-mpv:24368): DEBUG: Applying default option --title=${media-title}
** (gnome-mpv:24368): DEBUG: Applying default option --autofit-larger=75%
** (gnome-mpv:24368): DEBUG: Applying default option --window-scale=1
** (gnome-mpv:24368): DEBUG: Applying default option --pause=yes
** (gnome-mpv:24368): DEBUG: Applying default option --ytdl=yes
** (gnome-mpv:24368): DEBUG: Applying default option --load-scripts=no
** (gnome-mpv:24368): DEBUG: Applying default option --osd-bar=no
** (gnome-mpv:24368): DEBUG: Applying default option --input-cursor=no
** (gnome-mpv:24368): DEBUG: Applying default option --cursor-autohide=no
** (gnome-mpv:24368): DEBUG: Applying default option --softvol-max=100
** (gnome-mpv:24368): DEBUG: Applying default option --config=yes
** (gnome-mpv:24368): DEBUG: Applying default option --screenshot-template=gnome-mpv-shot%n
** (gnome-mpv:24368): DEBUG: Using temporary input config file: /tmp/.YY2U1Y
** INFO: Loading config file: /etc/mpv/mpv.conf
** (gnome-mpv:24368): DEBUG: Applying extra mpv options: 
** INFO: Forcing --vo=opengl-cb
Segmentation fault (core dumped)
gnome-mpv commented 7 years ago

Post a backtrace too.

paulcarroty commented 7 years ago
Starting program: /usr/bin/gnome-mpv 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7f10bbc1c700 (LWP 23671)]
[New Thread 0x7f10bb41b700 (LWP 23672)]
[New Thread 0x7f10bac1a700 (LWP 23673)]
[New Thread 0x7f10b902e700 (LWP 23674)]
[New Thread 0x7f10b882d700 (LWP 23675)]
[New Thread 0x7f10abfff700 (LWP 23676)]
[New Thread 0x7f10ab2dd700 (LWP 23678)]
[New Thread 0x7f10aaadc700 (LWP 23679)]
[New Thread 0x7f10aa2db700 (LWP 23680)]
[Thread 0x7f10abfff700 (LWP 23676) exited]
[Thread 0x7f10aa2db700 (LWP 23680) exited]
[New Thread 0x7f10aa2db700 (LWP 23681)]
[Thread 0x7f10ab2dd700 (LWP 23678) exited]
[Thread 0x7f10aa2db700 (LWP 23681) exited]
[Thread 0x7f10aaadc700 (LWP 23679) exited]
[Thread 0x7f10b902e700 (LWP 23674) exited]
[New Thread 0x7f10b902e700 (LWP 23682)]
[New Thread 0x7f10aaadc700 (LWP 23683)]
[New Thread 0x7f10aa2db700 (LWP 23684)]
[New Thread 0x7f10ab2dd700 (LWP 23685)]
[Thread 0x7f10ab2dd700 (LWP 23685) exited]
[New Thread 0x7f10ab2dd700 (LWP 23686)]
[Thread 0x7f10aaadc700 (LWP 23683) exited]
[Thread 0x7f10ab2dd700 (LWP 23686) exited]
[Thread 0x7f10aa2db700 (LWP 23684) exited]
[Thread 0x7f10b902e700 (LWP 23682) exited]
[New Thread 0x7f10b902e700 (LWP 23687)]
[New Thread 0x7f10aa2db700 (LWP 23688)]
[New Thread 0x7f10ab2dd700 (LWP 23689)]
[New Thread 0x7f10aaadc700 (LWP 23690)]
[Thread 0x7f10aaadc700 (LWP 23690) exited]
[New Thread 0x7f10aaadc700 (LWP 23691)]
[Thread 0x7f10aa2db700 (LWP 23688) exited]
[Thread 0x7f10aaadc700 (LWP 23691) exited]
[Thread 0x7f10ab2dd700 (LWP 23689) exited]
[Thread 0x7f10b902e700 (LWP 23687) exited]
[New Thread 0x7f10b902e700 (LWP 23692)]
[New Thread 0x7f10ab2dd700 (LWP 23693)]
[New Thread 0x7f10aaadc700 (LWP 23694)]
[New Thread 0x7f10aa2db700 (LWP 23695)]
[Thread 0x7f10aa2db700 (LWP 23695) exited]
[New Thread 0x7f10aa2db700 (LWP 23696)]
[Thread 0x7f10ab2dd700 (LWP 23693) exited]
[Thread 0x7f10aa2db700 (LWP 23696) exited]
[Thread 0x7f10aaadc700 (LWP 23694) exited]
[Thread 0x7f10b902e700 (LWP 23692) exited]
[New Thread 0x7f10b902e700 (LWP 23697)]
[New Thread 0x7f10aaadc700 (LWP 23698)]
[New Thread 0x7f10aa2db700 (LWP 23699)]
[New Thread 0x7f10ab2dd700 (LWP 23700)]
[Thread 0x7f10ab2dd700 (LWP 23700) exited]
[New Thread 0x7f10ab2dd700 (LWP 23701)]
[Thread 0x7f10aaadc700 (LWP 23698) exited]
[Thread 0x7f10ab2dd700 (LWP 23701) exited]
[Thread 0x7f10aa2db700 (LWP 23699) exited]
[Thread 0x7f10b902e700 (LWP 23697) exited]
[New Thread 0x7f10b902e700 (LWP 23702)]
[New Thread 0x7f10aa2db700 (LWP 23703)]
[New Thread 0x7f10ab2dd700 (LWP 23704)]
[New Thread 0x7f10aaadc700 (LWP 23705)]
[Thread 0x7f10aaadc700 (LWP 23705) exited]
[New Thread 0x7f10aaadc700 (LWP 23706)]
[Thread 0x7f10aaadc700 (LWP 23706) exited]
[New Thread 0x7f10aaadc700 (LWP 23707)]
[Thread 0x7f10aa2db700 (LWP 23703) exited]
[Thread 0x7f10aaadc700 (LWP 23707) exited]
[Thread 0x7f10ab2dd700 (LWP 23704) exited]
[Thread 0x7f10b902e700 (LWP 23702) exited]
[New Thread 0x7f10b902e700 (LWP 23708)]
[New Thread 0x7f10ab2dd700 (LWP 23709)]
[New Thread 0x7f10aaadc700 (LWP 23710)]
[New Thread 0x7f10aa2db700 (LWP 23711)]
[Thread 0x7f10aa2db700 (LWP 23711) exited]
[New Thread 0x7f10aa2db700 (LWP 23712)]
[Thread 0x7f10ab2dd700 (LWP 23709) exited]
[Thread 0x7f10aa2db700 (LWP 23712) exited]
[Thread 0x7f10aaadc700 (LWP 23710) exited]
[Thread 0x7f10b902e700 (LWP 23708) exited]
[New Thread 0x7f10b902e700 (LWP 23713)]
[New Thread 0x7f10aaadc700 (LWP 23714)]
[New Thread 0x7f10aa2db700 (LWP 23715)]
[New Thread 0x7f10ab2dd700 (LWP 23716)]
[Thread 0x7f10ab2dd700 (LWP 23716) exited]
[New Thread 0x7f10ab2dd700 (LWP 23717)]

Thread 45 "mpv/vo" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f10aa2db700 (LWP 23715)]
0x00007f10e02adae2 in xcb_send_request_with_fds64 (c=0x7f109c008240, flags=flags@entry=1, 
    vector=vector@entry=0x7f10aa2da730, req=req@entry=0x7f10e02c0340 <xcb_req>, num_fds=num_fds@entry=0, 
    fds=fds@entry=0x0) at xcb_out.c:274
274         if(longlen <= c->setup->maximum_request_length)
#0  0x00007f10e02adae2 in xcb_send_request_with_fds64 (c=0x7f109c008240, flags=flags@entry=1, vector=vector@entry=0x7f10aa2da730, req=req@entry=0x7f10e02c0340 <xcb_req>, num_fds=num_fds@entry=0, fds=fds@entry=0x0) at xcb_out.c:274
#1  0x00007f10e02adc6b in xcb_send_request64 (c=<optimized out>, flags=flags@entry=1, vector=vector@entry=0x7f10aa2da730, req=req@entry=0x7f10e02c0340 <xcb_req>) at xcb_out.c:349
#2  0x00007f10e02adc79 in xcb_send_request (c=<optimized out>, flags=flags@entry=1, vector=vector@entry=0x7f10aa2da730, req=req@entry=0x7f10e02c0340 <xcb_req>) at xcb_out.c:355
#3  0x00007f10e02b3b93 in xcb_get_geometry (c=<optimized out>, drawable=<optimized out>) at xproto.c:2990
#4  0x00007f109722e6ec in loader_dri3_drawable_init (conn=<optimized out>, drawable=drawable@entry=35651586, dri_screen=0x7f109c5ae8c0, is_different_gpu=<optimized out>, dri_config=0x7f109c590490, ext=ext@entry=0x7f109c3345c8, vtable=0x7f1097443da0 <egl_dri3_vtable>, draw=0x7f109c608988) at loader_dri3_helper.c:181
#5  0x00007f109722da67 in dri3_create_surface (disp=<optimized out>, type=type@entry=4, conf=0x7f109c5918f0, native_surface=0x2200002, attrib_list=<optimized out>, drv=<optimized out>) at drivers/dri2/platform_x11_dri3.c:198
#6  0x00007f109722dbc6 in dri3_create_window_surface (drv=<optimized out>, disp=<optimized out>, conf=<optimized out>, native_window=<optimized out>, attrib_list=<optimized out>) at drivers/dri2/platform_x11_dri3.c:249
#7  0x00007f1097218a87 in _eglCreateWindowSurfaceCommon (disp=0x7f109c27bff0, config=<optimized out>, native_window=0x2200002, attrib_list=0x0) at main/eglapi.c:899
#8  0x00007f10e4c5fec9 in mpegl_init (ctx=0x7f109c35db30, flags=<optimized out>)
    at ../video/out/opengl/context_x11egl.c:119
#9  0x00007f10e4c5d92d in init_backend (vo=vo@entry=0x7f109801a3c0, driver=0x7f10e4f1c2c0 <mpgl_driver_x11egl>, probing=probing@entry=true, vo_flags=64, vo_flags@entry=0) at ../video/out/opengl/context.c:175
#10 0x00007f10e4c5dabb in mpgl_init (vo=vo@entry=0x7f109801a3c0, backend_name=<optimized out>, vo_flags=0)
    at ../video/out/opengl/context.c:215
#11 0x00007f10e4c7ab29 in preinit (vo=0x7f109801a3c0) at ../video/out/vo_opengl.c:386
#12 0x00007f10e4c77250 in vo_thread (ptr=0x7f109801a3c0) at ../video/out/vo.c:903
#13 0x00007f10e4677369 in start_thread (arg=0x7f10aa2db700) at pthread_create.c:464
#14 0x00007f10e43acdaf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
gnome-mpv commented 7 years ago

Looks like it is the same as the previous backtrace, i.e. the segfault originates from an mpv thread. At this point, I can't think of anything else that could possibly cause this but the mesa bug I mentioned earlier.

Would you be able to do bisect to find out which commit caused this (the screen blinking)?

paulcarroty commented 7 years ago

https://github.com/gnome-mpv/gnome-mpv/commit/4fde0ec57b5f214960ba42117233d27c04e4d0fa - the beginning of blinking

Something was broken straight away after latest release. For the records I'll rebuild and try the 0.12 on this machine tomorrow.