[Mesa-dev] [Bug 95266] Geometry missing from rendering, only when using Mesa.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 4 20:50:44 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95266
--- Comment #10 from Jose Fonseca <jfonseca at vmware.com> ---
(In reply to Jose Fonseca from comment #8)
> It looks like apitrace is about to enter an infinite loop: the address of
> the supposedly "real" glXCreateContextAttribsARB function is actually
> pointing to the fake glXCreateContextAttribsARB wrapper function.
>
> I'll take a look. Thanks for trying.
>
>
> It looks like doing `MESA_GL_VERSION_OVERRIDE=4.5 glretrace -S frame
> vtkRenderingOpenGL2CxxTests.4075.trim.trace` works.
I suspect problem is that you're loading Mesa libGL.so via LD_PRELOAD. From
attached mesa_bug.tar.bz2:
$ cat run-mesa.sh
#!/bin/bash
echo "Running test against mesa libGL."
LD_PRELOAD=libGL.so ./vtkRenderingCoreCxxTests
"TestTranslucentLUTDepthPeeling" -I
This will defintely interfere with apitrace since apitrace needs to use
LD_PRELOAD to inject.
The proper way of using a custom libGL.so is to simply set LD_LIBRARY_PATH to
the directory that has it:
ln -sf libGL.so libGL.so,1
LD_LIBRARY_PATH=$PWD ./vtkRenderingCoreCxxTests
"TestTranslucentLUTDepthPeeling" -I
and all should work fine.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160504/86fc4e89/attachment.html>
More information about the mesa-dev
mailing list