[Wayland-bugs] [Bug 773205] New: GLES2 aborts with "Gdk-ERROR: Error flushing display: Broken pipe" quickly

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 19 07:34:30 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=773205

            Bug ID: 773205
           Summary: GLES2 aborts with "Gdk-ERROR: Error flushing display:
                    Broken pipe" quickly
    Classification: Platform
           Product: gtk+
           Version: 3.22.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: manday at openmail.cc
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

No X11 libraries, therefore no GLX and MESA is compiled without OpenGL support
and only GLES2 support (libepoxy was patched to compile under these
circumstances by applying the for instance
https://github.com/anholt/libepoxy/pull/80 - but that shouldn't affect the
matter at hand).

libepoxy also had another bug, which would fail to report the correct value
from epoxy_egl_get_current_gl_context_api (s.a.
https://github.com/anholt/libepoxy/pull/90). Consequential attempts to load
libGL.so would crash any GTK program. For the sake of testing GLES2
capabilities, epoxy_egl_get_current_gl_context_api was modified and hardcoded
to return EGL_OPENGL_ES_API to the effect that GTK/epoxy would no longer
attempt to load libGL.so - (hopefully), this shouldn't affect the matter at
hand, either.

Then, with, for example WebkitGTK+ / MiniBrowser starting the program does
succeed (in the sense that it does not crash due to missing libGL.so). It also
seems to be able to render pages.

However (for example), right clicking on the page to bring up the context menu
will terminate the program with

Gdk-ERROR **: Error flushing display: Broken pipe.

The backtrace is inconclusive as far as I can see, from bottom to top:

main -> gtk_main -> g_main_loop_run -> ?? (glib) -> g_main_context_prepare ->
gdk_event_source_prepare(wayland/gdkeventsource.c:66) -> g_log ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20161019/6d330436/attachment-0001.html>


More information about the wayland-bugs mailing list