Bug 1354123

Summary: Gstreamer playback problem "intel_do_flush_locked failed: No such file or directory"
Product: [Fedora] Fedora Reporter: Iiro Laiho <iiro.laiho>
Component: gstreamer1-vaapiAssignee: Simon Farnsworth <simon>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 24CC: fraph24, kwizart, moez.roy, simon, wtaymans
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-10 12:47:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Iiro Laiho 2016-07-09 19:16:51 UTC
Description of problem:

I am unable to play h.264 videos with Totem, gstreamer codecs from RPMFusion or United RPMs and the integrated GPU of an Intel i3 4130T.

Version-Release number of selected component (if applicable):
gstreamer1-vaapi.x86_64 1.8.2-1.fc24


How reproducible:

First enable RPMFusion or United RPMs.

Then run:

# dnf install gstreamer{1,}-{ffmpeg,libav,plugins-{good,ugly,bad{,-free,-nonfree}}} --setopt=strict=0
# dnf install libva-intel-driver
$ totem toystory.mp4


Actual results:

On X11, Totem crashes immediately. On Wayland, audio plays for a few seconds before stopping. Black screen is shown instead of video.

Console output of Totem on X11:
DtsGetHWFeatures: Create File Failed
DtsGetHWFeatures: Create File Failed
Running DIL (3.22.0) Version
DtsDeviceOpen: Opening HW in mode 0
DtsDeviceOpen: Create File Failed
libva info: VA-API version 0.39.2
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_39
libva info: va_openDriver() returns 0
intel_do_flush_locked failed: No such file or directory

If I remove package libva-intel-driver but keep gstreamer1-vaapi, it fails probably because there is no driver. It emits a error pop-up window that tells that it "could not initialize supporting library" The output is following:

DtsGetHWFeatures: Create File Failed
DtsGetHWFeatures: Create File Failed
Running DIL (3.22.0) Version
DtsDeviceOpen: Opening HW in mode 0
DtsDeviceOpen: Create File Failed
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1


I am not fully sure if the problem is with this package, the codecs themselves or Fedora's gstreamer1-vaapi.

If I remove package gstreamer1-vaapi, the video plays, but of course without hardware acceleration.


Expected results:

The video should play correctly.


Additional info:

Test video used is here: http://www.html5videoplayer.net/videos/toystory.mp4

Bug report to United RPMs: https://github.com/UnitedRPMs/libva-intel-driver/issues/1

Bug report to RPMFusion: https://bugzilla.rpmfusion.org/show_bug.cgi?id=4113

Comment 1 Iiro Laiho 2016-07-10 12:47:23 UTC
On the United RPMs bug report (1) it became clear that it is bug with the Intel driver and not this package.

1) https://github.com/UnitedRPMs/libva-intel-driver/issues/1

Comment 2 Iiro Laiho 2016-07-10 18:14:50 UTC

*** This bug has been marked as a duplicate of bug 1309446 ***