After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 784429 - Totem player couldn't use VA-API hardware acceleration
Totem player couldn't use VA-API hardware acceleration
Status: RESOLVED OBSOLETE
Product: clutter-gst
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: clutter-gst-maint
clutter-gst-maint
Depends on:
Blocks:
 
 
Reported: 2017-07-01 19:43 UTC by Mikhail
Modified: 2021-05-25 17:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Totem htop 60% CPU usage each core (454.54 KB, image/png)
2017-07-01 19:43 UTC, Mikhail
Details
VLC htop (15-20% each core) (409.53 KB, image/png)
2017-07-01 19:44 UTC, Mikhail
Details

Description Mikhail 2017-07-01 19:43:46 UTC
Created attachment 354775 [details]
Totem htop 60% CPU usage each core

Totem player couldn't use VA-API hardware acceleration, but VLC player on same computer and video file can

$ totem --version
totem 3.24.0

$ vainfo 
libva info: VA-API version 0.40.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_40
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.40 (libva )
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Desktop - 1.8.2
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
Comment 1 Mikhail 2017-07-01 19:44:44 UTC
Created attachment 354776 [details]
VLC htop (15-20% each core)
Comment 2 Daniel van Vugt 2017-08-25 07:37:14 UTC
This issue has been fixed in Ubuntu 17.10, but you need fixes in a bunch of different components:
https://bugs.launchpad.net/bugs/1698287
https://bugs.launchpad.net/bugs/1701463
https://bugs.launchpad.net/bugs/1708091

And I think most of those fixes are still missing in non-Ubuntu distros.
Comment 3 Daniel van Vugt 2017-08-25 07:41:07 UTC
On the other hand, if you're only measuring CPU then it's possible VA-API is actually working in totem and this is then roughly a duplicate of:
https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1698282

Even when totem is working with VA-API it uses 10-20 times more CPU than other players. That's an issue I am working on separately.
Comment 4 Daniel van Vugt 2017-08-25 07:42:28 UTC
Actually not quite 10-20 times. It depends on the video, and how big your window is, and which display server you use...
Comment 5 André Klapper 2021-05-25 17:32:47 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/clutter-gst/-/issues/

Thank you for your understanding and your help.