<div dir="ltr"><div><div><div>Hi,<br><br></div> in a customer project I am facing an
awkward situation. We need to run a "closed source 3rd party interactive
OpenGL application with 'not very good support'" (I cannot and do not
want to name the App) on a server machine with no dedicated GFX
hardware.<br><br></div> The plan is to run it with Mesa OpenGL and a Xvfb X server.<br><br></div>This
mostly works OK, but we are seeing consistent segmentation faults
whenever "glXUseFont" is called. The core dumps come from line the
following lines in the "Fake_glXUseXFont" routine:<br><br> dpy = glXGetCurrentDisplay();<br> if (!dpy)<br> return; /* I guess glXMakeCurrent wasn't called */<br>core ==> win = RootWindow(dpy, DefaultScreen(dpy));<br><br clear="all"><div>So
the call to "glXGetCurrentDisplay" returns non-null, but the structure
behind the pointer seems invalid. I added some debugging output, and
that shows that the "number of screens" for that display is 0, which
explains the failure in the RootWindow macro.<br><br></div><div> Now the questions are:<br><br></div><div>1) how cant that happen<br></div><div>2) what can be done<br><br></div><div>The server is running SLES11SP2 and Mesa has been build with the following configure options:<br><br> $ ./configure --enable-driglx-direct --enable-xlib-glx --disable-dri --disable-xvmc --disable-egl --with-gallium-drivers=<br><br></div><div>Any suggestions are highly welcome.<br><br></div>Cheers<div class=""><div id=":1h0" class="" tabindex="0"><img class="" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif">Martin<br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">------------------------------------------------------<br>Martin Knoblauch<br>email: k n o b i AT knobisoft DOT de<br>www: <a href="http://www.knobisoft.de" target="_blank">http://www.knobisoft.de</a></div></div>
<br><br></div></div>
</div>