Summary: | Commit of Mesa broke Wayland's weston on some graphics cards | ||
---|---|---|---|
Product: | Mesa | Reporter: | nerdopolis1 |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | chris, darxus, idr |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
nerdopolis1
2012-08-11 02:08:25 UTC
The weston code that's failing is: #ifdef HAVE_CAIRO_EGL d->argb_device = cairo_egl_device_create(d->dpy, d->argb_ctx); if (cairo_device_status(d->argb_device) != CAIRO_STATUS_SUCCESS) { fprintf(stderr, "failed to get cairo egl argb device\n"); return -1; } #endif - http://cgit.freedesktop.org/wayland/weston/tree/clients/window.c So a workaround is to rebuild cairo without --enable-gl. This actually appears to be a bug in Cairo. As of Mesa commit b50703aea55450e04bcd8154335774786e0f253b there is no longer a "KHR_surfaceless_opengl" extension which Cairo looks for in cairo-egl-context.c. Will try to file upstream. Thanks. Did a cairo bug get opened? I don't see it. (In reply to comment #3) > Thanks. Did a cairo bug get opened? I don't see it. No, it was fixed. http://cgit.freedesktop.org/cairo/commit/?id=f59b0914f4ddbff0d116c918343a6726d5f4317b Cairo was fixed to check both extension names before falling back to an EGL pbuffer. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.