Bug 93490

Summary: VLC fails to play media
Product: xorg Reporter: Konstantin Svist <fry.kun>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.0.log none

Description Konstantin Svist 2015-12-23 23:12:15 UTC
Created attachment 120671 [details]
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
Comment 1 Martin Peres 2019-11-27 13:41:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/issues/81.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.