<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - VLC fails to play media"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93490">93490</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>VLC fails to play media
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fry.kun@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=120671" name="attach_120671" title="xorg.0.log">attachment 120671</a> <a href="attachment.cgi?id=120671&action=edit" title="xorg.0.log">[details]</a></span>
xorg.0.log

Hardware:
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core
Processor Integrated Graphics Controller [8086:0416] (rev 06)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104M [GeForce
GTX 870M] [10de:1199] (rev ff)


Software:
Fedora 23, fully updated
kernel 4.2.8-300.fc23.x86_64
VLC: 2.2.2 Weatherwax (revision 2.2.1-161-g360f42e)
intel driver: git

nvidia driver: bumblebee, nonfree, as per
<a href="https://fedoraproject.org/wiki/Bumblebee">https://fedoraproject.org/wiki/Bumblebee</a>


When trying to play certain video files in VLC, I get no video and this output:

...
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
[00007fe38ce7a3a8] avcodec decoder: Using OpenGL/VAAPI/libswscale backend for
VDPAU for hardware decoding.
[h264 @ 0x7fe38ce8ad20] hardware accelerator failed to decode picture
[h264 @ 0x7fe38cf16e60] hardware accelerator failed to decode picture
...

The last line repeats for as long as VLC is trying to play the file

Running "primusrun vlc" (to use nvidia card) makes the video work fine

possibly related errors in Xorg.0.log:
(EE) intel(0): [DRI2] DRI2SwapComplete: bad drawable</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>