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 796033 - Totem window is all black in Wayland sessions on Sandy Bridge (and Clarkdale) CPUs
Totem window is all black in Wayland sessions on Sandy Bridge (and Clarkdale)...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
1.14.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-11 18:42 UTC by Cristian Aravena Romero
Modified: 2018-11-03 15:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
$dpkg -l | grep ayland (90.79 KB, image/png)
2018-05-11 19:00 UTC, Cristian Aravena Romero
Details

Description Cristian Aravena Romero 2018-05-11 18:42:18 UTC
Hello,

Open bug in launchpad.net
https://bugs.launchpad.net/bugs/1770725

Regards,
--
Cristian Aravena Romero (caravena)
Comment 1 Cristian Aravena Romero 2018-05-11 18:52:34 UTC
Hello,

- Not work wity Wayland
- Work with Xorg

Regards,
--
Cristian Aravena Romero (caravena)
Comment 2 Nicolas Dufresne (ndufresne) 2018-05-11 18:56:39 UTC
Please extract and summarize the bug information. This will save time to volunteer looking at your report. This will also make Triaging possible. We deal with a lot of bug report, this will help the bug be addressed sooner.
Comment 3 Cristian Aravena Romero 2018-05-11 19:00:06 UTC
Created attachment 371945 [details]
$dpkg -l | grep ayland
Comment 4 Sebastian Dröge (slomo) 2018-05-12 07:33:36 UTC
Thanks for taking the time to report this.
This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read https://bugzilla.gnome.org/page.cgi?id=bug-writing.html and add a more useful description to this bug. When providing a better description, please reset the status of this bug report from NEEDINFO to its previous status.
Comment 5 Daniel van Vugt 2018-05-26 10:05:12 UTC
Maybe wait till we've collected some basic info in the downstream bug:
https://launchpad.net/bugs/1770725
Comment 6 Daniel van Vugt 2018-05-30 01:43:58 UTC
Summary from Launchpad:

Using a Sandy Bridge CPU, which supports H.264 High Profile (according to vainfo), gstreamer1.0-vaapi accelerated playback works in Xorg sessions, but not Wayland sessions.

The problem, I guess, is that the EGL path might be using some features not available on Sandy Bridge (like half precision floats, or other shader/GL features).
Comment 7 Daniel van Vugt 2018-05-31 01:34:49 UTC
I have now verified the bug with my own hardware.

It only occurs on a Sandy Bridge CPU in Wayland sessions (EGL). After moving the hard drive into an Ivy Bridge machine it then works. So the problem is specific to Sandy Bridge + EGL.
Comment 8 Daniel van Vugt 2018-05-31 03:34:06 UTC
I wonder if this is the problem:

gstvaapiwindow_egl.c:

static const gchar *vert_shader_text =
    "#ifdef GL_ES                                      \n"
    "precision mediump float;                          \n"
...
static const gchar *frag_shader_text_rgba =
    "#ifdef GL_ES                                      \n"
    "precision mediump float;                          \n"

If mediump equates to 16-bit (half precision) floats on Intel, then those shaders won't work on pre-Ivy Bridge CPUs.
Comment 9 Nicolas Dufresne (ndufresne) 2018-05-31 15:56:03 UTC
Would be really nice to change that and see if you can get it working somehow.
Comment 10 Daniel van Vugt 2018-06-01 03:51:53 UTC
Furthermore I can confirm the bug occurs with:
  clutterautovideosink
  glimagesink

but does not happen with:
  ximagesink
  xvimagesink

So that suggests the problem is localized to GL.

Sorry I can't afford more time on this bug right now.
Comment 11 Cristian Aravena Romero 2018-08-16 18:30:57 UTC
Hello,

How can I help with this?

Regards,
--
Cristian Aravena Romero (caravena)
Comment 12 Cristian Aravena Romero 2018-10-11 19:54:14 UTC
Hello,

The report is marked with 'Status: NEEDINFO'. What information do you need to add/correct this request?

Best regards,
--
Cristian Aravena Romero (caravena)
Comment 13 Cristian Aravena Romero 2018-10-11 19:55:31 UTC
Thanks!
--
Cristian Aravena Romero (caravena)
Comment 14 GStreamer system administrator 2018-11-03 15:54:21 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/95.