[Mesa-dev] [Bug 110716] SWR doesn't work with OSMesa

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 21 17:18:59 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110716

--- Comment #4 from Chuck Atkins <chuck.atkins at kitware.com> ---
> Comment # 1 on bug 110716 from Krzysztof Raszkowski
> I've tried to reproduce it with master top mesa but without success (works
> fine). What is exact version of mesa you've build?

master as of this afternoon, 810b95e,


> And one comment to autotools->meson change. With autotools default build mode
> was without asserts. With meson default buildtype is debugoptimized.
> To have the same buildtype as it was in autotools please add
> --buildtype=release parameter to meson.

The full configuration I'm using, basically trying to build bare-bones
GLX and OSMesa libraries that only contain software OpenGL renderers:

meson --buildtype=release -Dprefix=/path/to/install/master
-Dglvnd=false -Dgallium-nine=false -Dgallium-omx=disabled
-Dgallium-opencl=disabled -Dgallium-va=false -Dgallium-vdpau=false
-Dgallium-xa=false -Dgallium-xvmc=false -Dvulkan-drivers=
-Dosmesa=gallium -Dglx=gallium-xlib -Degl=false -Dgbm=false
-Dopengl=true -Dgles1=false -Dgles2=false -Dshared-glapi=true
-Dllvm=true -Dswr-arches=avx2 -Dplatforms=x11,surfaceless
-Dgallium-drivers=swrast,swr -Ddri-drivers= /path/to/source/master

If I do a release build to silence the assert then I get a segfault.
Note that release or debug, swr works with glx via libGL.so and
segfaults when using libOSMesa.so

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190521/d724e73e/attachment-0001.html>


More information about the mesa-dev mailing list