Summary: | Missing OpenGL symbols in OSMesa Gallium when building with meson | ||
---|---|---|---|
Product: | Mesa | Reporter: | Pierre Guillou <pierre.guillou> |
Component: | Drivers/OSMesa | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | baker.dylan.c, brianp |
Version: | 18.3 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Pierre Guillou
2019-02-18 09:24:55 UTC
I think your suggestion to use `link_Whole` is probably the correct one, autotools has the link whole behavior by default in that case. I just want to Cc Brian, who knows how osmesa is supposed to work. I can confirm that the proposed patch, https://lists.freedesktop.org/archives/mesa-dev/2019-May/218700.html, fixes the bug. Please add Tested-by: Chuck Atkins <chuck.atkins@kitware.com>. This should also go to all stable branches and is really should be a blocker for 19.1 since OSMesa is unusable without it. I'd reply on the mailing list but in doing some cleanup I wiped out everything older than week :-( I spoke a little too soon but I think this patch is still okay. llvmpipe and softpipe work fine but swr is mysteriously broken. What I don't know is if swr is broken with osmesa because of this or something else. So given that, I'm okay with aserting that the fix addresses the specific issues of missing gl symbols in OSMesa and having swr being broken in OSMesa as a different problem to be addresses separately. (In reply to Chuck Atkins from comment #3) > I spoke a little too soon but I think this patch is still okay. llvmpipe > and softpipe work fine but swr is mysteriously broken. What I don't know is > if swr is broken with osmesa because of this or something else. So given > that, I'm okay with aserting that the fix addresses the specific issues of > missing gl symbols in OSMesa and having swr being broken in OSMesa as a > different problem to be addresses separately. OK, I pushed the fix, so I'm marking this issue as fixed by: commit ccb8ea7acfb710c6c5298f3ffcadbe3d79b9b913 Author: Eric Engestrom <eric.engestrom@intel.com> Date: Thu May 2 12:42:48 2019 +0100 meson: expose glapi through osmesa Suggested-by: Pierre Guillou <pierre.guillou@lip6.fr> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109659 Fixes: f121a669c7d94d2ff672 "meson: build gallium based osmesa" Fixes: cbbd5bb889a2c271a504 "meson: build classic osmesa" Cc: Brian Paul <brianp@vmware.com> Cc: Dylan Baker <dylan@pnwbakers.com> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Tested-by: Chuck Atkins <chuck.atkins@kitware.com> BTW, the `Fixes:` tags mean that this will be backported to 19.0 & 19.1 Please open a new bug with your findings about SWR :) |
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.