$ gst-play-1.0 bbb_sunflower_1080p_60fps_normal.mp4
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/dan/Videos/bbb_sunflower_1080p_60fps_normal.mp4
Redistribute latency...
Redistribute latency...
ERROR Internal error: could not render surface for file:///home/dan/Videos/bbb_sunflower_1080p_60fps_normal.mp4
ERROR debug information: ../../../gst/vaapi/gstvaapisink.c(1482): gst_vaapisink_show_frame_unlocked (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:vbin/GstVaapiSink:vaapisink0
The Intel i965 VA-API driver works well in Xorg sessions (Unity7 and Gnome Shell). But it refuses to load when in a Wayland session:
$ totem bbb_sunflower_ 1080p_60fps_ normal. mp4 name=(null)
libva error: va_getDriverName() failed with unknown libva error,driver_
$ env LIBVA_DRIVER_ NAME=i965 totem bbb_sunflower_ 1080p_60fps_ normal. mp4 DRM_AUTH_ TYPE(ctx, VA_DRM_AUTH_DRI1) || VA_CHECK_ DRM_AUTH_ TYPE(ctx, VA_DRM_AUTH_DRI2) || VA_CHECK_ DRM_AUTH_ TYPE(ctx, VA_DRM_ AUTH_CUSTOM) ' failed.
totem: intel_driver.c:112: intel_driver_init: Assertion `VA_CHECK_
Aborted (core dumped)
$ gst-play-1.0 bbb_sunflower_ 1080p_60fps_ normal. mp4 Videos/ bbb_sunflower_ 1080p_60fps_ normal. mp4 /home/dan/ Videos/ bbb_sunflower_ 1080p_60fps_ normal. mp4 ./gst/vaapi/ gstvaapisink. c(1482) : gst_vaapisink_ show_frame_ unlocked (): /GstPlayBin: playbin/ GstPlaySink: playsink/ GstBin: vbin/GstVaapiSi nk:vaapisink0
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/dan/
Redistribute latency...
Redistribute latency...
ERROR Internal error: could not render surface for file://
ERROR debug information: ../../.
ProblemType: Bug ature: Ubuntu 4.10.0- 22.24-generic 4.10.15
DistroRelease: Ubuntu 17.10
Package: i965-va-driver 1.8.1-1
ProcVersionSign
Uname: Linux 4.10.0-22-generic x86_64
ApportVersion: 2.20.5-0ubuntu4
Architecture: amd64
Date: Fri Jun 16 13:40:38 2017
InstallationDate: Installed on 2017-05-03 (44 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170502)
SourcePackage: intel-vaapi-driver
UpgradeStatus: No upgrade log present (probably fresh install)