Bug 101226

Summary: Totem can't play some media with gstreamer1.0-vaapi installed, throws: Internal Data Stream Error
Product: libva Reporter: Manmath Sahu <manmaths>
Component: xvbaAssignee: Gwenole Beauchesne <gb.devel>
Status: REOPENED --- QA Contact:
Severity: major    
Priority: high    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
URL: http://forums.debian.net/viewtopic.php?f=6&t=133274
Whiteboard:
i915 platform: i915 features:

Description Manmath Sahu 2017-05-29 13:47:46 UTC
Totem can't play media files, if gstreamer1.0-vaapi is installed. If I purge gstreamer1.0-vaapi, it plays all the media files, but of course, the CPU spikes high as much as 50%. Please help me how I can play media files with proper video acceleration (i.e., with gstreamer1.0-vaapi installed).

FYI, my system is Debian Testing (Stretch), up-to-date to this date.

The gstreamer packages installed on my system are:

gir1.2-gstreamer-1.0
gstreamer1.0-clutter-3.0
gstreamer1.0-libav
gstreamer1.0-vaapi
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-base
gstreamer1.0-plugins-good
gstreamer1.0-plugins-ugly
gstreamer1.0-pulseaudio
gstreamer1.0-x
libgstreamer-plugins-bad1.0-0
libgstreamer-plugins-base1.0-0
libgstreamer1.0-0

Vaapi packages I've installed are:

libva-drm1
libva-wayland1
libva-x11-1
libva1
i965-va-driver

The Totem packages I've installed are:

libtotem-plparser-common
libtotem-plparser18
libtotem0
totem
totem-common

When I run totem in commandline, it shows:

manmath@debian:~/Windows/Videos/Movies$ totem Alexander_and_the_Terrible_Horrible.mp4 
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0

(totem:8543): libpeas-WARNING **: Type not found in introspection: 'PeasActivatable'

(totem:8543): libpeas-WARNING **: Method 'PeasActivatable.deactivate' was not found

My system configuration:

Devices:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)

Motherboard: H61M-DS2 Gigabyte board
CPU: Intel(R) Pentium(R) CPU G620 @ 2.60GHz
Memory: Kingston 8GB DDR3 (2x4)
Comment 1 Matt Turner 2017-05-30 20:07:41 UTC
Mesa implements OpenGL. VAAPI is not implemented by Mesa for i965.

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.