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 792227 - Black screen with pixel noise when playing videos with 1.12.4
Black screen with pixel noise when playing videos with 1.12.4
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
1.12.4
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 793257 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2018-01-05 03:29 UTC by queboocha
Modified: 2018-02-27 13:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (1.44 MB, image/png)
2018-01-05 03:29 UTC, queboocha
Details
GStreamer 1.12.3 log - first few secs of video playback in Totem (2.80 MB, application/x-xz)
2018-01-05 03:31 UTC, queboocha
Details
GStreamer 1.12.4 log - first few secs of video playback in Totem (2.14 MB, application/x-xz)
2018-01-05 03:32 UTC, queboocha
Details

Description queboocha 2018-01-05 03:29:28 UTC
Created attachment 366353 [details]
Screenshot

When playing videos in Totem with GStreamer 1.12.4, the image is corrupted (see attached picture; audio works fine). The same videos work just fine after downgrading the following packages to 1.12.3:

gstreamer
gst-plugins-base-libs
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gst-libav
gst-plugins-ugly
gstreamer-vaapi

I can observe the above with a number of different .mov and .mp4's. Among others, the issue can be reproduced with this sample mp4 video: https://cloud.blender.org/p/glass-half/5645e616c379cf0386babbf7

Attaching GST_DEBUG=*:6 logs recorded with both GStreamer versions.

--

OS: Arch Linux (Antergos)
Kernel: 4.14.9-1-ARCH
Mesa: 17.3.1
Totem: 3.26.0
Comment 1 queboocha 2018-01-05 03:31:26 UTC
Created attachment 366354 [details]
GStreamer 1.12.3 log - first few secs of video playback in Totem
Comment 2 queboocha 2018-01-05 03:32:01 UTC
Created attachment 366355 [details]
GStreamer 1.12.4 log - first few secs of video playback in Totem
Comment 3 Tim-Philipp Müller 2018-02-08 15:28:11 UTC
Looks like in the 1.12.4 not-working case the VAAPI decoder is used, whereas in the 1.12.3 working case the libav avdec_h264 decoder is used.
Comment 4 Víctor Manuel Jáquez Leal 2018-02-08 16:10:47 UTC
I confirm it.

clutter-gst when negotiates GLUploadTextureMeta paints that noise in X.

I suspect is some recent change in mesa.
Comment 5 Víctor Manuel Jáquez Leal 2018-02-08 16:11:11 UTC
And affects 1.12 and master
Comment 6 Víctor Manuel Jáquez Leal 2018-02-08 16:14:22 UTC
A work around is to use EGL instead of GLX, exporting these environment variables:

$ CLUTTER_DRIVER=gles2 \
     GST_GL_PLATFORM=egl totem file.mkv
Comment 7 Víctor Manuel Jáquez Leal 2018-02-09 07:33:41 UTC
It seems I have to bisect mesa, to figure out what's happening :(
Comment 8 Timo Aaltonen 2018-02-09 21:56:59 UTC
already done:

https://bugs.freedesktop.org/show_bug.cgi?id=105013
Comment 9 Daniel van Vugt 2018-02-12 01:20:50 UTC
Yeah bug 105013 is the same bug as this. I just didn't find this one when I logged it because knowing the regression happened in Mesa, I did not search Gstreamer bugs.
Comment 10 Daniel van Vugt 2018-02-12 02:30:35 UTC
I mean https://bugs.freedesktop.org/show_bug.cgi?id=105013 :)
Comment 11 Víctor Manuel Jáquez Leal 2018-02-12 06:01:09 UTC
Thanks a bunch, Daniel! :DD
Comment 12 Víctor Manuel Jáquez Leal 2018-02-12 06:04:27 UTC
I've closed this bug since it is related with mesa and not gstreamer-vaapi. But if the problem continues after the mesa's fix, please, reopen it.
Comment 13 Víctor Manuel Jáquez Leal 2018-02-27 13:58:40 UTC
*** Bug 793257 has been marked as a duplicate of this bug. ***