User Tools

Site Tools


client:optional_parameters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
client:optional_parameters [2018/04/03 12:01]
karl [-smooth] Add screenies of smoothed landscapes
client:optional_parameters [2018/04/15 15:09]
karl [-opengl] Add error messages printed when no OpenGL had been available at compiling time
Line 184: Line 184:
  
 Only available for the GTK-2 client. Only available for the GTK-2 client.
 +
 +
 +Though the OpenGL drawing mode apparently works even without the GLX extension switched on for the XServer, \\
 +the older GTK-2 clients will crash at startup if the GLX extension would be not available:
 +<code bash>
 +# gcfclient2-1.10.0 -opengl
 +Xlib:  extension "​GLX"​ missing on display ":​0.0"​.
 +Segmentation fault
 +</​code>​
 +
 +The newer GTK-2 clients will work still, if the necessary libraries ''​libGL.so.1''​ , ''​libGLU.so.1''​ and ''​libglut.so.3''​ are available on the system:
 +<code bash>
 +# crossfire-client-gtk2-1.70.0 -opengl
 +[  INFO  ] (gtk-v2::​init_glx_opengl) Direct rendering is not available!
 +[  INFO  ] (gtk-v2::​opengl_common) Maximum texture size is 2048
 +[  INFO  ] (gtk-v2::​init_image_cache_data) Init Image Cache
 +</​code>​
 +
 +When OpenGL had not been available at [[client compiling]] time, then the client will fall back to Pixmap mode, and prints to stderr
 +<code bash>
 +# crossfire-client-gtk2-1.70.0 -opengl
 +[WARNING ] (main.c::​init_windows) client not compiled with opengl support. ​ Ignoring -opengl
 +</​code>​
 +
  
 ==== -pixmap ==== ==== -pixmap ====
client/optional_parameters.txt ยท Last modified: 2018/04/17 21:39 by karl