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 772076 - playing videos breaks with with vaapi plugin (fglrx)
playing videos breaks with with vaapi plugin (fglrx)
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
1.6.3
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-27 18:48 UTC by Thomas
Modified: 2018-05-04 13:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas 2016-09-27 18:48:26 UTC
Gentoo x84_64 system with AMD GFX card (R9 285).

gst-play-1.0 test.mp4 gives:

Press 'k' to see a list of keyboard shortcuts.
Now playing /home/user/Downloads/test.mp4
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/fglrx_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
Redistribute latency...
ERROR Cannot access memory for read and write operation. for file:///home/user/Downloads/test.mp4
ERROR debug information: /var/tmp/portage/media-plugins/gst-plugins-libav-1.6.3/work/gst-libav-1.6.3/ext/libav/gstavviddec.c(1242): get_output_buffer (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdec_h264:avdec_h264-0:
The video memory allocated from downstream pool could not mapped forread and write.
Reached end of play list.

vainfo:
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/fglrx_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.38 (libva 1.6.2)
vainfo: Driver version: AMD MMD 1.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG4Simple            :	VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    :	VAEntrypointVLD
      VAProfileMPEG4Main              :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD

mpv --hwdec=vaapi runs fine, so it seems to be something gst specific.

By the way, is there a simple way to blacklist an installed plugin? I'd like to disable vaapi while it's not working without just deleting it and fighting my package manager.
Comment 1 Thomas 2016-09-27 19:00:19 UTC
Sorry for the bugzilla-spam, I mixed up libva, libav and vaapi :(. To confirm, this is a bug against gst-plugin vaapi 0.7.0. If I remove it from my system, playback works normally.
Comment 2 Víctor Manuel Jáquez Leal 2018-05-04 13:11:43 UTC
fglrx-driver is not supported anymore, please use mesa's driver (radeonsi)