You are not logged in.

#1 2019-05-20 19:10:37

sleepforlife
Member
Registered: 2011-09-27
Posts: 107

gstreamer-vaapi bug

I've installed gstreamer-vaapi. When I open the video from totem, it gives the image as below.


Ekran-G-r-nt-s-2019-05-20-22-01-11.png


vainfo

$ vainfo
vainfo: VA-API version: 1.4 (libva 2.4.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.3.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileH264StereoHigh         :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileVP8Version0_3          :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointEncSlice
      VAProfileVP9Profile2            :	VAEntrypointVLD 

totem;

$ totem

(totem:25495): Gtk-WARNING **: 22:01:44.181: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)

How can I solve?

Offline

#2 2019-05-21 12:11:57

stas-t
Member
Registered: 2019-05-21
Posts: 5

Re: gstreamer-vaapi bug

I've made a patch from this commit:
https://gitlab.freedesktop.org/gstreame … 025f5cf3f9

And then rebuilt the patched package.
The upstream ticket is https://gitlab.freedesktop.org/gstreame … issues/157.

UPD: I didn't create a bug on Arch - sorry for that. I just patched it for myself. But the fix is “tagged for backport“ so eventually it should land on Arch Linux as well.

Last edited by stas-t (2019-05-21 12:15:20)

Offline

#3 2019-05-21 22:31:16

sleepforlife
Member
Registered: 2011-09-27
Posts: 107

Re: gstreamer-vaapi bug

my english is not good I'm sorry.
what can I do to solve this problem

Offline

#4 2019-06-13 23:28:23

svito
Member
From: Ukraine
Registered: 2018-12-25
Posts: 19

Re: gstreamer-vaapi bug

To fix it now until new version arrives, install asp package and base-devel group, then run:

asp checkout gstreamer-vaapi

Change current directory into newly created via cd gstreamer-vaapi, open PKGBUILD with editor of your choice (nano PKGBUILD), add following line as last one in prepare() array right after other git commands:

git cherry-pick 838045b9e2d3b14e4dc95270ba8e86025f5cf3f9

Save your changes, exit the editor, then run makepkg -s in directory where PKGBUILD is located, lastly install newly created package with pacman -U

Last edited by svito (2019-06-13 23:31:20)

Offline

#5 2019-06-13 23:59:26

svito
Member
From: Ukraine
Registered: 2018-12-25
Posts: 19

Re: gstreamer-vaapi bug

I've noticed crashes when seeking through videos with gstreamer-vaapi, so I recommend to use mpv or clients based on it like gnome-mpv as alternative instead.

Offline

Board footer

Powered by FluxBB