Often after I've found an interesting video on youtube.com I pause the video in the browser, copy the url and use mpv to watch it. This worked well until recently I tried your freshplayerplugin. After trying it I went back to my previous setup (flash 11 + libvdpau-va-gl) since I'm not getting automatic updates for pepperflash on my distro. I'm not sure if this is related to my test with freshplayerplugin but now every time when I'm starting mpv (which also uses vaapi) I'm getting a GPU HANG and a segfault in libflashplayer.so. Here is some data:
[VS] {full} VdpOutputSurfaceRenderBitmapSurface destination_surface=4, destination_rect=(0,0,854,510),
source_surface=6, source_rect=(0,0,854,510)
blend_state.blend_factor_source_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE
blend_state.blend_factor_destination_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
blend_state.blend_factor_source_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE
blend_state.blend_factor_destination_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
blend_state.blend_equation_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_ADD
blend_state.blend_equation_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_ADD
blend_constant = ( 0,000000, 0,000000, 0,000000, 0,000000)
flags = VDP_OUTPUT_SURFACE_RENDER_ROTATE_0
colors=[]
[VS] {full} VdpPresentationQueueDisplay presentation_queue=3, surface=4, clip_width=0, clip_height=0,
earliest_presentation_time=0
[VS] {full} VdpPresentationQueueBlockUntilSurfaceIdle presentation_queue=3, surface=5
[VS] {full} VdpOutputSurfaceRenderOutputSurface destination_surface=5, destination_rect=(0,0,854,480),
source_surface=7, source_rect=(0,0,854,480)
blend_state.blend_factor_source_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE
blend_state.blend_factor_destination_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ZERO
blend_state.blend_factor_source_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE
blend_state.blend_factor_destination_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ZERO
blend_state.blend_equation_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_ADD
blend_state.blend_equation_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_ADD
blend_constant = ( 0,000000, 0,000000, 0,000000, 0,000000)
flags = VDP_OUTPUT_SURFACE_RENDER_ROTATE_0
colors=[]
[VS] {full} VdpOutputSurfaceRenderBitmapSurface destination_surface=5, destination_rect=(0,0,854,510),
source_surface=6, source_rect=(0,0,854,510)
blend_state.blend_factor_source_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE
blend_state.blend_factor_destination_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
blend_state.blend_factor_source_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE
blend_state.blend_factor_destination_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
blend_state.blend_equation_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_ADD
blend_state.blend_equation_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_ADD
blend_constant = ( 0,000000, 0,000000, 0,000000, 0,000000)
flags = VDP_OUTPUT_SURFACE_RENDER_ROTATE_0
colors=[]
[VS] {full} VdpPresentationQueueDisplay presentation_queue=3, surface=5, clip_width=0, clip_height=0,
earliest_presentation_time=0
[VS] {full} VdpPresentationQueueBlockUntilSurfaceIdle presentation_queue=3, surface=4
[VS] {full} VdpOutputSurfaceRenderOutputSurface destination_surface=4, destination_rect=(0,0,854,480),
source_surface=7, source_rect=(0,0,854,480)
blend_state.blend_factor_source_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE
blend_state.blend_factor_destination_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ZERO
blend_state.blend_factor_source_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE
blend_state.blend_factor_destination_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ZERO
blend_state.blend_equation_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_ADD
blend_state.blend_equation_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_ADD
blend_constant = ( 0,000000, 0,000000, 0,000000, 0,000000)
flags = VDP_OUTPUT_SURFACE_RENDER_ROTATE_0
colors=[]
This sequence repeats for ever.
.
.
.
[VS] {full} VdpOutputSurfaceRenderBitmapSurface destination_surface=5, destination_rect=(0,0,854,510),
source_surface=6, source_rect=(0,0,854,510)
blend_state.blend_factor_source_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE
blend_state.blend_factor_destination_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
blend_state.blend_factor_source_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE
blend_state.blend_factor_destination_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
blend_state.blend_equation_color=VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_ADD
blend_state.blend_equation_alpha=VDP_OUTPUT_SURFACE_RENDER_BLEND_EQUATION_ADD
blend_constant = ( 0,000000, 0,000000, 0,000000, 0,000000)
flags = VDP_OUTPUT_SURFACE_RENDER_ROTATE_0
colors=[]
intel_do_flush_locked failed: input/output error
###!!! [Parent][MessageChannel::Call] Error: Channel error: cannot send/recv
[25870.342018] [drm] stuck on render ring
[25870.346229] [drm] GPU HANG: ecode 5:0:0x9ffdffff, in plugin-containe [12310], reason: Ring hung, action: reset
[25870.346334] [drm:i915_set_reset_status [i915]] *ERROR* gpu hanging too fast, banning!
[25870.358712] drm/i915: Resetting chip after gpu hang
[25870.372973] plugin-containe[12326]: segfault at 7fa59d3586fb ip 00007fa5ad0f32e0 sp 00007fa59bffcb30 error 4 in libflashplayer.so[7fa5acf13000+1189000]