Totem (videos) doesn't correctly activate hardware accelleration in gstreamer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gstreamer-vaapi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If I play videos (mp4) with totem in Intel graphics (i965) Haswell Chip the hardware acelleration is not completly activated in gstreamer. In intel-gpu-tools (command intel_gpu_top) it shows, that only the Engine "Render/3D" is activated but not the Engine "Videos" and "Blitter" in the driver. So the cpu consumption is markable higher if I play the same video with gstreamer plaver "gst-play-1.0". With gst-play-1.0 the Engine "Video" and "Blitter" is sometimes additional activated to the Engine "Render/3D" and the consumption in Render/3D is reduced in comparison to play the video with totem!
It seems the failure lies in: 0:00:00.491871465 19021 0x563257eee100 WARN totem bacon-video-
(totem:19021): Gtk-WARNING **: 18:25:27.922: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
In program "parole" (another video player with gstreamer) the vaapi driver is used correctly
In debug-mode for totem for gstreamer there are shown several warning messages in the terminal.
terminal messages (with totem):
tux@tux-
tux@tux-
tux@tux-
(totem:18959): Gtk-WARNING **: 18:23:02.053: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
tux@tux-
tux@tux-
tux@tux-
0:00:00.255306411 19021 0x563257eee100 WARN basesrc gstbasesrc.
0:00:00.255651516 19021 0x563257eee100 WARN basesrc gstbasesrc.
0:00:00.283533162 19021 0x563258fe0360 WARN qtdemux qtdemux_
0:00:00.283570302 19021 0x563258fe0360 WARN qtdemux qtdemux_
0:00:00.283593896 19021 0x563258fe0360 WARN qtdemux qtdemux_
0:00:00.283607809 19021 0x563258fe0360 WARN qtdemux qtdemux_
0:00:00.283619727 19021 0x563258fe0360 WARN qtdemux qtdemux_
0:00:00.283630403 19021 0x563258fe0360 WARN qtdemux qtdemux_
0:00:00.283689023 19021 0x563258fe0360 WARN qtdemux qtdemux.
0:00:00.283822449 19021 0x563258fe0360 WARN qtdemux qtdemux.
0:00:00.283936255 19021 0x563258fe0360 WARN qtdemux qtdemux.
0:00:00.491871465 19021 0x563257eee100 WARN totem bacon-video-
(totem:19021): Gtk-WARNING **: 18:25:27.922: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
0:01:56.879677733 19021 0x7f760c008460 WARN libav gstavauddec.
0:01:58.021585797 19021 0x563258489b30 WARN pulse pulsesink.
tux@tux-
terminal messages with gst.play-1.0:
tux@tux-
tux@tux-
tux@tux-
Geben Sie »k« ein, um die Liste der Tastenkombinationen zu sehen.
Momentan wird /home/tux/
Redistribute latency...
Redistribute latency...
0:01:57.5 / 0:01:57.6
Das Ende der Wiedergabeliste wurde erreicht.
tux@tux-
Geben Sie »k« ein, um die Liste der Tastenkombinationen zu sehen.
Momentan wird /home/tux/
0:00:00.029009130 19190 0x5600d5b774f0 WARN basesrc gstbasesrc.
0:00:00.029496474 19190 0x5600d5b774f0 WARN basesrc gstbasesrc.
0:00:00.044690597 19190 0x5600d5b7bb00 WARN qtdemux qtdemux_
0:00:00.044725770 19190 0x5600d5b7bb00 WARN qtdemux qtdemux_
0:00:00.044741701 19190 0x5600d5b7bb00 WARN qtdemux qtdemux_
0:00:00.044759202 19190 0x5600d5b7bb00 WARN qtdemux qtdemux_
0:00:00.044777341 19190 0x5600d5b7bb00 WARN qtdemux qtdemux_
0:00:00.044784908 19190 0x5600d5b7bb00 WARN qtdemux qtdemux_
0:00:00.044833107 19190 0x5600d5b7bb00 WARN qtdemux qtdemux.
0:00:00.044930752 19190 0x5600d5b7bb00 WARN qtdemux qtdemux.
0:00:00.045017580 19190 0x5600d5b7bb00 WARN qtdemux qtdemux.
0:00:00.055880389 19190 0x5600d5b7bb00 WARN vaapi gstvaapiutils.
0:00:00.057560764 19190 0x5600d5b7bb00 WARN vaapi gstvaapiutils.
0:00:00.060167881 19190 0x5600d5b7bb00 WARN vaapi gstvaapiutils.
Redistribute latency...
Redistribute latency...
0:01:56.637885046 19190 0x7fd51c00ccc0 WARN libav gstavauddec.
0:01:57.780043645 19190 0x7fd50800da00 WARN pulse pulsesink.
0:01:57.5 / 0:01:57.6
Das Ende der Wiedergabeliste wurde erreicht.
tux@tux-
tux@tux-
tux@tux-
0:00:00.272431868 19312 0x55dc6df450c0 WARN basesrc gstbasesrc.
0:00:00.272778236 19312 0x55dc6df450c0 WARN basesrc gstbasesrc.
0:00:00.332707958 19312 0x55dc6e7f6400 WARN qtdemux qtdemux_
0:00:00.332742385 19312 0x55dc6e7f6400 WARN qtdemux qtdemux_
0:00:00.332859214 19312 0x55dc6e7f6400 WARN qtdemux qtdemux_
0:00:00.332898477 19312 0x55dc6e7f6400 WARN qtdemux qtdemux_
0:00:00.332933865 19312 0x55dc6e7f6400 WARN qtdemux qtdemux_
0:00:00.332966674 19312 0x55dc6e7f6400 WARN qtdemux qtdemux_
0:00:00.333040219 19312 0x55dc6e7f6400 WARN qtdemux qtdemux.
0:00:00.333170363 19312 0x55dc6e7f6400 WARN qtdemux qtdemux.
0:00:00.333285215 19312 0x55dc6e7f6400 WARN qtdemux qtdemux.
0:00:00.353062850 19312 0x55dc6e7f6400 WARN vaapi gstvaapiutils.
0:00:00.354519291 19312 0x55dc6e7f6400 WARN vaapi gstvaapiutils.
0:00:00.383394200 19312 0x55dc6e7f6400 WARN vaapi gstvaapiutils.
** (parole:19312): WARNING **: 18:40:25.990: Inhibiting power management failed GDBus.Error:
0:01:56.921324220 19312 0x55dc6e7fec00 WARN libav gstavauddec.
0:01:58.059686087 19312 0x7f1158030520 WARN pulse pulsesink.
tux@tux-
Hope the bug will be fixed in Ubuntu 20.04!
My machine:
tux@tux-
tux@tux-
tux@tux-
-
.osssssssss
/sssssssssss
+ssssssssshmy
/sssssssshNMMM
.ssssssssdMMMNh
+sssshhhyNMMNys
ossyNMMMNyMMhss
ossyNMMMNyMMhss
+sssshhhyNMMNys
.ssssssssdMMMNh
/sssssssshNMMM
+sssssssssdmy
/sssssssssss
.osssssssss
-
tux@tux-
Confirmed, VAAPI-accelerated decode isn't working in 20.04 Gstreamer apps for some reason.
I recommend using 'mpv' instead where it still works well.