<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Geometry missing from rendering, only when using Mesa."
href="https://bugs.freedesktop.org/show_bug.cgi?id=95266#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Geometry missing from rendering, only when using Mesa."
href="https://bugs.freedesktop.org/show_bug.cgi?id=95266">bug 95266</a>
from <span class="vcard"><a class="email" href="mailto:jfonseca@vmware.com" title="Jose Fonseca <jfonseca@vmware.com>"> <span class="fn">Jose Fonseca</span></a>
</span></b>
<pre>(In reply to Jose Fonseca from <a href="show_bug.cgi?id=95266#c8">comment #8</a>)
<span class="quote">> 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.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>