[Bug,98604,VDPAU,radeonsi] Fullscreen flash video fails when hardware acceleration is enabled.
diff mbox

Message ID bug-98604-502-r8GUEqqNNH@http.bugs.freedesktop.org/
State New
Headers show

Commit Message

bugzilla-daemon@freedesktop.org Nov. 5, 2016, 11:08 p.m. UTC
https://bugs.freedesktop.org/show_bug.cgi?id=98604

--- Comment #1 from Chris Rankin <rankincj@googlemail.com> ---
I think this bug is related to DRI3, because this change "fixes" the problem:

       dev->vscreen = vl_dri2_screen_create(display, screen);

Patch
diff mbox

diff --git a/src/gallium/state_trackers/vdpau/device.c
b/src/gallium/state_trackers/vdpau/device.c
index 81b7582..cd5afe2 100644
--- a/src/gallium/state_trackers/vdpau/device.c
+++ b/src/gallium/state_trackers/vdpau/device.c
@@ -64,7 +64,7 @@  vdp_imp_device_create_x11(Display *display, int screen,
VdpDevice *device,
    pipe_reference_init(&dev->reference, 1);

 #if defined(HAVE_DRI3)
-   dev->vscreen = vl_dri3_screen_create(display, screen);
+   //dev->vscreen = vl_dri3_screen_create(display, screen);
 #endif
    if (!dev->vscreen)