VLC fails to play media
Submitted by Konstantin Svist
Assigned to Chris Wilson @ickle
Description
Created attachment 120671
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 https://fedoraproject.org/wiki/Bumblebee
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
Attachment 120671, "xorg.0.log":
Xorg.0.log