Bug 93490 - VLC fails to play media
Summary: VLC fails to play media
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
Depends on:
Reported: 2015-12-23 23:12 UTC by Konstantin Svist
Modified: 2019-11-27 13:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

xorg.0.log (31.89 KB, text/plain)
2015-12-23 23:12 UTC, Konstantin Svist
no flags Details

Description Konstantin Svist 2015-12-23 23:12:15 UTC
Created attachment 120671 [details]

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)

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.