<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi all,</div>
<div> </div>
<div>I am working on Linux(RedHat Enterprise Linux Server) which runs remote in Windows 7. There I have compiled VTK with the Java wrapper enabled. Compiling a java program with VTK commands is also successful. But when I execute it there is a strange behavior:</div>
<div>- when I use FastX it runs successful</div>
<div>- when I use X-Win32 ist does run to a certain point and then crashes:</div>
<div> </div>
<div>libGL error: failed to load driver: swrast<br/>
Abort (core dumped)<br/>
Exit 134</div>
<div> </div>
<div>Then there is a file vtkError.txt:
<div>ERROR: In /home/*******/VTK/src/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx, line 622<br/>
vtkXOpenGLRenderWindow (0x7f316003b530): Cannot create GLX context. Aborting.</div>
<div> </div>
<div>The command "env LIBGL_DEBUG=verbose glxinfo" outputs a different result on Linux via FastX and X-Win32:</div>
<div> </div>
<div>FastX: (it works perfectly)</div>
<div>name of display: *************<br/>
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so<br/>
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so<br/>
libGL: Can't open configuration file /home/*********/.drirc: No such file or directory.<br/>
display: ************* screen: 0<br/>
direct rendering: Yes<br/>
server glx vendor string: SGI<br/>
server glx version string: 1.4<br/>
server glx extensions: [...]<br/>
client glx vendor string: Mesa Project and SGI<br/>
client glx version string: 1.4<br/>
client glx extensions: [...]<br/>
GLX version: 1.4<br/>
GLX extensions: [...]<br/>
OpenGL vendor string: Mesa Project<br/>
OpenGL renderer string: Software Rasterizer<br/>
OpenGL version string: 2.1 Mesa 10.1.2<br/>
OpenGL shading language version string: 1.20<br/>
[...]</div>
<div> </div>
<div> </div>
<div>X-Win32:</div>
<div>name of display: **************<br/>
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so<br/>
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so<br/>
libGL: Can't open configuration file /home/********/.drirc: No such file or directory.<br/>
libGL error: failed to load driver: swrast<br/>
display: ******************** screen: 0<br/>
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)<br/>
server glx vendor string: SGI<br/>
server glx version string: 1.2<br/>
server glx extensions: [...]<br/>
client glx vendor string: Mesa Project and SGI<br/>
client glx version string: 1.4<br/>
client glx extensions: [...]<br/>
GLX version: 1.2<br/>
GLX extensions: [...]<br/>
OpenGL vendor string: ATI Technologies Inc.<br/>
OpenGL renderer string: ATI Radeon HD 4250<br/>
OpenGL version string: 1.4 (3.3.11672 Compatibility Profile Context)<br/>
[...]</div>
<div> </div>
<div> </div>
<div>So what is the problem? It works basically(FastX). I even tried to reconfigure each setting of X-Win32 but I still got the error.</div>
</div></div></body></html>