Totem can't playback, throws: Internal Data Stream Error

Everything about X, Gnome, KDE, ... and everything running on it

Totem can't playback, throws: Internal Data Stream Error

Postby manmath » 2017-05-28 10:12

Hi,

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)

PS: Don't suggest me to use VLC. I want it to work with Totem only.
Last edited by manmath on 2017-05-28 13:16, edited 3 times in total.
manmath
 
Posts: 110
Joined: 2009-11-26 07:16

Re: Totem can't playback, throws: Internal Data Stream Error

Postby arochester » 2017-05-28 10:43

It might help to know something about the specs of your computer...
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 996
Joined: 2010-12-07 19:55

Re: Totem can't playback, throws: Internal Data Stream Error

Postby phenest » 2017-05-28 11:01

I don't use vaapi for the same reason, but the high CPU usage without it suggests you not using proper video hardware acceleration.
Please post the output of:
Code: Select all
lspci -k | grep -iEA3 "display|3d|vga"
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

Postby manmath » 2017-05-28 11:31

arochester wrote:It might help to know something about the specs of your computer...


Updated the question with the specs.
Last edited by manmath on 2017-05-28 11:38, edited 1 time in total.
manmath
 
Posts: 110
Joined: 2009-11-26 07:16

Re: Totem can't playback, throws: Internal Data Stream Error

Postby manmath » 2017-05-28 11:31

phenest wrote:I don't use vaapi for the same reason, but the high CPU usage without it suggests you not using proper video hardware acceleration.
Please post the output of:
Code: Select all
lspci -k | grep -iEA3 "display|3d|vga"


00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Subsystem: Gigabyte Technology Co., Ltd 2nd Generation Core Processor Family Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
manmath
 
Posts: 110
Joined: 2009-11-26 07:16

Re: Totem can't playback, throws: Internal Data Stream Error

Postby phenest » 2017-05-28 11:40

manmath wrote:the CPU spikes high as much as 50%

Does it stay at 50%? What CPU do you have?
Code: Select all
lscpu | grep -i "model name"
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

Postby manmath » 2017-05-28 11:44

phenest wrote:
manmath wrote:the CPU spikes high as much as 50%

Does it stay at 50%? What CPU do you have?
Code: Select all
lscpu | grep -i "model name"

Model name: Intel(R) Pentium(R) CPU G620 @ 2.60GHz
manmath
 
Posts: 110
Joined: 2009-11-26 07:16

Re: Totem can't playback, throws: Internal Data Stream Error

Postby phenest » 2017-05-28 11:59

Although 2.6GHz, you only have 2 cores. Have you ever used another OS on your computer, i.e. Windows, to have a comparison of CPU usage? That is, did you expect lower usage?
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

Postby manmath » 2017-05-28 12:03

phenest wrote:Although 2.6GHz, you only have 2 cores. Have you ever used another OS on your computer, i.e. Windows, to have a comparison of CPU usage? That is, did you expect lower usage?


Of course, it never exceeds 10% while play HD video on Windows in another partition. Interestingly, cpu usage on VLC while playing HD video content never spikes over 15%. Is it that vaapi implementation in gstreamer is incomplete or it's just me? Would anybody on your Debian Stretch test playing HD video with gstreamer1.0-vaapi package installed, and please let me know.
manmath
 
Posts: 110
Joined: 2009-11-26 07:16

Re: Totem can't playback, throws: Internal Data Stream Error

Postby phenest » 2017-05-28 12:16

I play DVD's with Totem. I've just installed the gstreamer vaapi package, and it still plays. But how would I know if it's using vaapi?
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

Postby manmath » 2017-05-28 12:19

phenest wrote:I play DVD's with Totem. I've just installed the gstreamer vaapi package, and it still plays. But how would I know if it's using vaapi?


Did you play that on Testing (Stretch)? If so, please share me the list of totem, gstreamer and vaapi packages you've installed on your system. So that I can check that with mine and may be able to fix it.
manmath
 
Posts: 110
Joined: 2009-11-26 07:16

Re: Totem can't playback, throws: Internal Data Stream Error

Postby phenest » 2017-05-28 12:24

Have you get the i965-va-driver installed?
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

Postby manmath » 2017-05-28 12:25

phenest wrote:Have you get the i965-va-driver installed?

Yes, I've that installed. BTW, would you please tell the cpu usage on your system while playing a HD video?
manmath
 
Posts: 110
Joined: 2009-11-26 07:16

Re: Totem can't playback, throws: Internal Data Stream Error

Postby phenest » 2017-05-28 12:46

Not much point as my computer is much more recent with a lot more power than yours. And I use nVidia for video, not Intel.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Totem can't playback, throws: Internal Data Stream Error

Postby manmath » 2017-05-28 12:52

phenest wrote:Not much point as my computer is much more recent with a lot more power than yours. And I use nVidia for video, not Intel.

Yes, exactly. In that case, video acceleration is done by vdpau (vdpau-va-driver, nvidia-vdpau-driver, libvdpau1 and libvdpau-va-gl1, but not vaapi). I too don't have any problem with video acceleration on my Sony Y Series netbook that came with AMD APU E-350.

Would somebody using vaapi on intel gpu (not discrete nVidia or ATi) please check if video acceleration works with gstreamer vaapi package?
manmath
 
Posts: 110
Joined: 2009-11-26 07:16

Next

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable