Totem displays a green screen on H264 videos with gstreamer1.0-vaapi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gstreamer-vaapi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On a Ubuntu 18.04 (amd64) laptop, all H264 videos read by Totem display a green screen (but the audio is fine, and the subtitles are displayed above the green screen). VLC reads them properly. Totem reads them properly on another Ubuntu 18.04 computer.
If I remove the package gstreamer1.0-vaapi, the videos are read properly.
If I install it back (version 1.14.1-
There is no error message in the kernel log, or in the standard output of Totem.
I suppose the hardware decoding is failing?
All the packages are up-to-date.
The laptop is a Lenovo X201 with a Core i5 M 540 CPU, with no other graphics card.
All videos should be read properly (with hardware acceleration if possible, but it should fallback to software decoding if something goes wrong).
vainfo output :
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ironlake Mobile - 2.1.0
vainfo: Supported profile and entrypoints
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfileNone : VAEntrypointVid
After some more tests, the green screen does not affect all the H264 videos, but only some of them.
It does not seem to depend on the container (Matroska or Quicktime), on the FPS, on the H264 profile or on the encoding software.
It seems to me that it depends on the resolution (not 100% sure anyway) :
All the 1920x1080 videos I tested gave a green screen. And also the following resolutions : 720x302, 720x384, 712x574.
All the 1280x720 videos I tested were working fine. And also the following resolutions : 640x480, 320x240, 720x576.
Removing the gstreamer1.0-vaapi package is a working workaround.