Bug 951150 - Totem 3.18.0-2.1 does not show .mp4 videos with VA-API acceleration
Summary: Totem 3.18.0-2.1 does not show .mp4 videos with VA-API acceleration
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Current
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-20 08:45 UTC by Bruno Pesavento
Modified: 2016-10-14 10:23 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Totem log (4.49 KB, text/plain)
2015-12-07 09:08 UTC, Marcos Mello
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Pesavento 2015-10-20 08:45:08 UTC
Starting with Tumbleweed snapshot 20151012 Totem 3.18.0-2.1 does not show video of .mp4 files when gstreamer-plugins-vaapi 0.6.0-1.1 is installed.
Sound plays OK, so stream decoding etc. seem to work.
Videos that don't call for VAAPI (e.g. VP8 screencast) play OK.
Uninstalling gstreamer-plugins-vaapi, so using software rendering, .mp4 videos play OK (with Packman Essentials codecs).
Totem seems unable to find a correct visual to sink the gstreamer pipeline, or to write to the correct video surface.
As a side note Totem is unable to do a screenshot but is able to do a thumbnail gallery.

Gstreamer per se is not broken, since e.g. 
gst-launch-1.0 filesrc location=./<your_video>.mp4 ! qtdemux ! vaapidecode ! autovideosink
plays videos correctly.

VAAPI per se is not broken, since Firefox 41.0.1 plays the same videos with video acceleration with no problems.

Currently using TW 20151014, Gnome 3.18 on i7 4720HQ (+Intel HD4600 Haswell Mobile GPU).
Occasional "Gstreamer general errors" with the same setup were seen since TW 20151002.
Comment 1 Marcos Mello 2015-12-07 09:08:00 UTC
Created attachment 658551 [details]
Totem log
Comment 2 Marcos Mello 2015-12-07 09:09:37 UTC
Same issue on Leap 42.1.

Attached log created with "GST_DEBUG_NO_COLOR=1 GST_DEBUG=*:2 totem" per https://wiki.gnome.org/Apps/Videos/BugReporting .

My hardware:

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)

vainfo output:

libva info: VA-API version 0.38.0
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
vainfo: VA-API version: 0.38 (libva 1.6.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Mobile - 1.6.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD


Relevant packages versions:

totem-3.16.4-2.3.x86_64
libva1-1.6.0-3.2.x86_64
vaapi-intel-driver-1.6.0-3.2.x86_64
gstreamer-plugins-vaapi-0.5.10-3.2.x86_64
Comment 3 Marcos Mello 2015-12-07 13:53:23 UTC
I forgot to say that SD videos play (MP4/H.264/AAC). HD videos do not.
Comment 5 Bjørn Lie 2015-12-26 11:29:57 UTC
Try the new gst-vaapi that landed in M:L yesterday

https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-vaapi
Comment 6 Marcos Mello 2015-12-26 16:19:23 UTC
(In reply to Bjørn Lie from comment #5)
> Try the new gst-vaapi that landed in M:L yesterday
> 
> https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-
> vaapi

Fixed! Now H.264 HD videos work fine. Please push this version to 42.1 updates.
Comment 7 Bjørn Lie 2015-12-26 16:37:22 UTC
(In reply to Marcos Mello from comment #6)
> (In reply to Bjørn Lie from comment #5)
> > Try the new gst-vaapi that landed in M:L yesterday
> > 
> > https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-
> > vaapi
> 
> Fixed! Now H.264 HD videos work fine. Please push this version to 42.1
> updates.

Not a good idea since packman has gst-1.6 and Leap has gst-1.4

What you can do is to ask the packman people to get it linked into there.
Comment 8 Marguerite Su 2015-12-28 16:57:21 UTC
Hi,

gstreamer-plugins-vaapi is now available in packman, linking with the one in multimedia:libs on OBS.

please remember to switch it to Packman's when the update is public to the end users.

mark as resolved

Marguerite
Comment 9 Gerald Pfeifer 2016-10-14 10:23:10 UTC
The issue seems back, cf. bug #1004686. (But I'm keeping this closed,
since it may be a different root cause.)