[Webkit-unassigned] [Bug 178896] [WPE] Can't run dyz

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 21 19:19:49 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=178896

--- Comment #23 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Created attachment 327440

  --> https://bugs.webkit.org/attachment.cgi?id=327440&action=review

EGLGetDisplay test program

I've been trying to run Carlos's branch of dyz using the fdo backeend... but after making some hacks to try to make it start, all I've been able to do is see it crash. The problem is that the call to EGLGetDisplay() in wlglue.cpp always returns NULL. This is a really hacked up environment, but I suspect it's the same problem that's breaking vanilla dyz following the simple reproducer up above.

I've attached a test program that just calls wl_display_connect, then eglGetDisplay, then prints the results. It works just fine on Fedora 27 outside of the WebKit JHBuild environment:

$ gcc `pkg-config --cflags --libs wayland-egl egl` eglgetdisplaytest.c
$ ./a.out
wayland_display=0x24dddd0
egl_display=0x24ea6a0

But inside the JHBuild environment, EGLGetDisplay always fails:

$ Tools/jhbuild/jhbuild-wrapper --wpe run gcc `pkg-config --cflags --libs wayland-egl egl` eglgetdisplaytest.c
$ Tools/jhbuild/jhbuild-wrapper --wpe run ./a.out
wayland_display=0xcf8dd0
egl_display=(nil)

I conclude that EGL does not work inside the WPE JHBuild environment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171122/8cfaff91/attachment-0001.html>


More information about the webkit-unassigned mailing list