Summary: | Weston finds old Mesa | ||
---|---|---|---|
Product: | Wayland | Reporter: | Dilian <dpa-bugs> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Dilian
2018-04-26 15:40:27 UTC
Weston does not have any special way of loading Mesa at runtime. It loads what your systems happens to be configured to load. So it's an issue in your system, maybe you have the old Mesa still in /usr/local and your system (distributions usually do) is configured to prefer /usr/local over /usr, so you will get the old Mesa not just for Weston but for everything. (This is why you should not install anything to /usr/local, but always use a custom prefix.) The DRI2 note in the strings is irrelevant, there is no such thing that would print "DRI3" in the EGL version string. The DRI2 here is a Mesa "EGL driver" name. There are also X11 protocols DRI2 and DRI3, which are not Mesa "EGL drivers", but are both supported under the same Mesa DRI2 "EGL driver". Yes, the terminology is very confusing. When buildind recently Mesa I haven't passed i965 along --with-dri-drivers=i916 and /usr/local/lib/dri/i965_dri.so was outdated. https://wayland.freedesktop.org/mesa-configure.html suggests for ./configure to emit: EGL: yes EGL platforms: wayland x11 drm EGL drivers: builtin:egl_glx builtin:egl_dri2 In my case it prints: EGL: yes EGL drivers: builtin:egl_dri2 builtin:egl_dri3 GBM: yes EGL/Vulkan/VL platforms: drm wayland x11 surfaceless Do I underand correctly, that Mesa offers EGL_DRI2 and EGL_DRI3 drivers, and Weston cannot utilize the EGL_DRI3 driver? Is the order behing "EGL platforms" significant? I grepped through all of Mesa and there is no string "DRI3" that would ever get printed that I can see, which is why I say you would never see "DRI3" in the EGL version string. All I can find is "DRI2". This is from current Mesa master branch. The strings builtin:egl_dri3 etc. you see in ./configure output are simply made up based on which files are included in the configured build. They are still both under the "DRI2" EGL version string. DRI3 is an X11 protocol extension and nothing else. There is no DRI3 for Wayland or GBM or anything else than X11, the other platforms already do similar things naturally. If you actually have a tangible problem, please file a new bug. |
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.