** Tags added: focal

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to totem in Ubuntu.
https://bugs.launchpad.net/bugs/1930091

Title:
  Totem (videos) doesn't correctly activate hardware accelleration in
  gstreamer

Status in gstreamer-vaapi package in Ubuntu:
  Confirmed

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-
  widget.c:2098:bvw_update_tags: Pipeline sent audio tags update with no
  changes

  (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-Aspire-V5-573G:~/Videos$ 
  tux@tux-Aspire-V5-573G:~/Videos$ 
  tux@tux-Aspire-V5-573G:~/Videos$ totem --gst-debug-level=1 
Test-TS_in_100sec_h264.mp4

  (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-Aspire-V5-573G:~/Videos$ 
  tux@tux-Aspire-V5-573G:~/Videos$ 
  tux@tux-Aspire-V5-573G:~/Videos$ totem --gst-debug-level=2 
Test-TS_in_100sec_h264.mp4
  0:00:00.255306411 19021 0x563257eee100 WARN                 basesrc 
gstbasesrc.c:3600:gst_base_src_start_complete:<source> pad not activated yet
  0:00:00.255651516 19021 0x563257eee100 WARN                 basesrc 
gstbasesrc.c:3600:gst_base_src_start_complete:<source> pad not activated yet
  0:00:00.283533162 19021 0x563258fe0360 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type tmcd
  0:00:00.283570302 19021 0x563258fe0360 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
  0:00:00.283593896 19021 0x563258fe0360 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type sgpd
  0:00:00.283607809 19021 0x563258fe0360 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type sbgp
  0:00:00.283619727 19021 0x563258fe0360 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type nmhd
  0:00:00.283630403 19021 0x563258fe0360 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type tmcd
  0:00:00.283689023 19021 0x563258fe0360 WARN                 qtdemux 
qtdemux.c:3237:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults 
for stream 1
  0:00:00.283822449 19021 0x563258fe0360 WARN                 qtdemux 
qtdemux.c:3237:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults 
for stream 2
  0:00:00.283936255 19021 0x563258fe0360 WARN                 qtdemux 
qtdemux.c:3237:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults 
for stream 3
  0:00:00.491871465 19021 0x563257eee100 WARN                   totem 
bacon-video-widget.c:2098:bvw_update_tags: Pipeline sent audio tags update with 
no changes

  (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.c:628:gst_ffmpegauddec_drain:<avdec_aac0> send packet failed, could 
not drain decoder
  0:01:58.021585797 19021 0x563258489b30 WARN                   pulse 
pulsesink.c:702:gst_pulsering_stream_underflow_cb:<audio-sink-actual-sink-pulse>
 Got underflow
  tux@tux-Aspire-V5-573G:~/Videos$ 


  terminal messages with gst.play-1.0:

  tux@tux-Aspire-V5-573G:~/Videos$ 
  tux@tux-Aspire-V5-573G:~/Videos$ 
  tux@tux-Aspire-V5-573G:~/Videos$ gst-play-1.0 --gst-debug-level=1 
Test-TS_in_100sec_h264.mp4
  Geben Sie »k« ein, um die Liste der Tastenkombinationen zu sehen.
  Momentan wird /home/tux/Videos/Test-TS_in_100sec_h264.mp4 wiedergegeben
  Redistribute latency...
  Redistribute latency...
  0:01:57.5 / 0:01:57.6           
  Das Ende der Wiedergabeliste wurde erreicht.

  tux@tux-Aspire-V5-573G:~/Videos$ gst-play-1.0 --gst-debug-level=2 
Test-TS_in_100sec_h264.mp4
  Geben Sie »k« ein, um die Liste der Tastenkombinationen zu sehen.
  Momentan wird /home/tux/Videos/Test-TS_in_100sec_h264.mp4 wiedergegeben
  0:00:00.029009130 19190 0x5600d5b774f0 WARN                 basesrc 
gstbasesrc.c:3600:gst_base_src_start_complete:<source> pad not activated yet
  0:00:00.029496474 19190 0x5600d5b774f0 WARN                 basesrc 
gstbasesrc.c:3600:gst_base_src_start_complete:<source> pad not activated yet
  0:00:00.044690597 19190 0x5600d5b7bb00 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type tmcd
  0:00:00.044725770 19190 0x5600d5b7bb00 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
  0:00:00.044741701 19190 0x5600d5b7bb00 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type sgpd
  0:00:00.044759202 19190 0x5600d5b7bb00 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type sbgp
  0:00:00.044777341 19190 0x5600d5b7bb00 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type nmhd
  0:00:00.044784908 19190 0x5600d5b7bb00 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type tmcd
  0:00:00.044833107 19190 0x5600d5b7bb00 WARN                 qtdemux 
qtdemux.c:3237:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults 
for stream 1
  0:00:00.044930752 19190 0x5600d5b7bb00 WARN                 qtdemux 
qtdemux.c:3237:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults 
for stream 2
  0:00:00.045017580 19190 0x5600d5b7bb00 WARN                 qtdemux 
qtdemux.c:3237:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults 
for stream 3
  0:00:00.055880389 19190 0x5600d5b7bb00 WARN                   vaapi 
gstvaapiutils.c:77:gst_vaapi_warning: 
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
  0:00:00.057560764 19190 0x5600d5b7bb00 WARN                   vaapi 
gstvaapiutils.c:77:gst_vaapi_warning: 
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
  0:00:00.060167881 19190 0x5600d5b7bb00 WARN                   vaapi 
gstvaapiutils.c:77:gst_vaapi_warning: 
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
  Redistribute latency...
  Redistribute latency...
  0:01:56.637885046 19190 0x7fd51c00ccc0 WARN                   libav 
gstavauddec.c:628:gst_ffmpegauddec_drain:<avdec_aac0> send packet failed, could 
not drain decoder
  0:01:57.780043645 19190 0x7fd50800da00 WARN                   pulse 
pulsesink.c:702:gst_pulsering_stream_underflow_cb:<pulsesink0> Got underflow
  0:01:57.5 / 0:01:57.6           
  Das Ende der Wiedergabeliste wurde erreicht.

  
  tux@tux-Aspire-V5-573G:~/Videos$ 
  tux@tux-Aspire-V5-573G:~/Videos$ 
  tux@tux-Aspire-V5-573G:~/Videos$ parole --gst-debug-level=2 
Test-TS_in_100sec_h264.mp4
  0:00:00.272431868 19312 0x55dc6df450c0 WARN                 basesrc 
gstbasesrc.c:3600:gst_base_src_start_complete:<source> pad not activated yet
  0:00:00.272778236 19312 0x55dc6df450c0 WARN                 basesrc 
gstbasesrc.c:3600:gst_base_src_start_complete:<source> pad not activated yet
  0:00:00.332707958 19312 0x55dc6e7f6400 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type tmcd
  0:00:00.332742385 19312 0x55dc6e7f6400 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type pasp
  0:00:00.332859214 19312 0x55dc6e7f6400 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type sgpd
  0:00:00.332898477 19312 0x55dc6e7f6400 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type sbgp
  0:00:00.332933865 19312 0x55dc6e7f6400 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type nmhd
  0:00:00.332966674 19312 0x55dc6e7f6400 WARN                 qtdemux 
qtdemux_types.c:239:qtdemux_type_get: unknown QuickTime node type tmcd
  0:00:00.333040219 19312 0x55dc6e7f6400 WARN                 qtdemux 
qtdemux.c:3237:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults 
for stream 1
  0:00:00.333170363 19312 0x55dc6e7f6400 WARN                 qtdemux 
qtdemux.c:3237:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults 
for stream 2
  0:00:00.333285215 19312 0x55dc6e7f6400 WARN                 qtdemux 
qtdemux.c:3237:qtdemux_parse_trex:<qtdemux0> failed to find fragment defaults 
for stream 3
  0:00:00.353062850 19312 0x55dc6e7f6400 WARN                   vaapi 
gstvaapiutils.c:77:gst_vaapi_warning: 
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
  0:00:00.354519291 19312 0x55dc6e7f6400 WARN                   vaapi 
gstvaapiutils.c:77:gst_vaapi_warning: 
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
  0:00:00.383394200 19312 0x55dc6e7f6400 WARN                   vaapi 
gstvaapiutils.c:77:gst_vaapi_warning: 
/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

  ** (parole:19312): WARNING **: 18:40:25.990: Inhibiting power management 
failed GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.freedesktop.PowerManagement was not provided by any .service files
  0:01:56.921324220 19312 0x55dc6e7fec00 WARN                   libav 
gstavauddec.c:628:gst_ffmpegauddec_drain:<avdec_aac0> send packet failed, could 
not drain decoder
  0:01:58.059686087 19312 0x7f1158030520 WARN                   pulse 
pulsesink.c:702:gst_pulsering_stream_underflow_cb:<audio-actual-sink-pulse> Got 
underflow
  tux@tux-Aspire-V5-573G:~/Videos$ 


  Hope the bug will be fixed in Ubuntu 20.04!

  My machine:

  tux@tux-Aspire-V5-573G:~/Videos$ 
  tux@tux-Aspire-V5-573G:~/Videos$ 
  tux@tux-Aspire-V5-573G:~/Videos$ neofetch
              .-/+oossssoo+/-.               tux@tux-Aspire-V5-573G 
          `:+ssssssssssssssssss+:`           ---------------------- 
        -+ssssssssssssssssssyyssss+-         OS: Ubuntu 20.04.2 LTS x86_64 
      .ossssssssssssssssssdMMMNysssso.       Host: Aspire V5-573G TBD by 
     /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.4.0-73-generic 
    +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 4 hours, 41 mins 
   /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 2874 (dpkg), 13 (snap) 
  .ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.0.17 
  +sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1920x1080 
  ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 
  ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter 
  +sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Radiant-MATE 
  .ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru [GTK2/3] 
   /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Yaru [GTK2/3] 
    +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: gnome-terminal 
     /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: Intel i5-4200U (4) @ 2.600GHz 
      .ossssssssssssssssssdMMMNysssso.       GPU: NVIDIA GeForce GT 750M 
        -+sssssssssssssssssyyyssss+-         GPU: Intel Haswell-ULT 
          `:+ssssssssssssssssss+:`           Memory: 2507MiB / 7845MiB 
              .-/+oossssoo+/-.
                                                                     
                                                                     

  
  tux@tux-Aspire-V5-573G:~/Videos$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1930091/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to