PlaneShift
Support => Technical Help: Problems BEFORE entering the game => Topic started by: LigH on September 15, 2006, 10:51:16 am
-
After the latest update, the freshly updated updater X-/ again looked a bit hollow, missing the background texture.
The reason was clear: Once upon a time, I had to add Video.OpenGL.UseExtension.GL_NV_texture_rectangle = false to the file data/config/r3dopengl.cfg (and updates usually overwrite this file again and again). And I know for sure that this is the only extension I need to disable.
But today I had a look at data/config/gldrivers.xml and decided that this should be the best area to introduce a fix. To be safe, I created new configs and rules, especially for my graphic card: GeForce2 GTS.
GLInfo2 (http://www.delphi3d.net/hardware/index.php) reported my renderer as "GeForce2 GTS/AGP/3DNOW!". So I added the following entries:
<config name="disableNVRECTTextures">
<Video>
<OpenGL>
<UseExtension>
<GL_NV_texture_rectangle>no</GL_NV_texture_rectangle>
</UseExtension>
</OpenGL>
</Video>
</config>
<rule description="GeForce2 GTS: NV_RECT texture extension support apparently sucks">
<conditions fulfill="one">
<regexp string="renderer" pattern="GeForce2.GTS" />
</conditions>
<applicable>
<usecfg>disableNVRECTTextures</usecfg>
</applicable>
</rule>
__
Found my previous mistake. Regular expressions exist in several varieties. Here, a dot means "any one char", and an asterisk means "zero, one or multiple times of the preceding symbol".
-
If disabling XXX_texture_rectangle helps for you, please tell me the graphics card and driver version you use. Thanks.
-
ELSA Gladiac GeForce2 GTS, 32 MB
ELSA customized Detonator Build 4345
Any newer driver is not suitable for those "legacy" GPUs, they are optimized for GeForce 4 GPUs and better! With any higher version number, my experience is worse, e.g. OpenGL graphic initialisation takes up to 10 seconds! And apart from that, newer ELSA custom drivers (build 6176 or build 7777) don't affect the NV_RECT OpenGL extension support.
-
Thanks.
Though the call was meant a bit more general:
If anyone experiences problems that are fixed by disabling XXX_texture_rectangle, please tell me the graphics card and driver version you use.
GLinfo2 (http://www.delphi3d.net/hardware/index.php), already mentioned in the main article, is a good tool for that.
Alternatively, run PlaneShift with the command line parameters -verbose=-scf -console and look for OpenGL related stuff in the output (things looking similar to GeForce4 Ti 4200 with AGP8X/AGP/SSE2 (vendor: NVIDIA Corporation) version 1.5.5 / GL driver: NV4_DISP 6.14.10.8421).
-
GLinfo2 log of my GeForce2 GTS (http://www.ligh.de/tmp/GeForce2_GTS.htm)
__
The problem with "psclient -console" under Windows is, that psclient will open a new console, and you won't be able to redirect its output to a file.
Instead of "-console", "-logfile" would have been much much more useful!
I had to increase the console buffer remarkably to be able to scroll up far enough to capture the text output:
crystalspace.graphics3d.opengl:
Texture LOD bias -0.3
csDetectDriver: monitor name is '\\.\DISPLAY1'
csDetectDriver: driver name is 'NV4_DISP'
csDetectDriver: maybe DLL 'NV4_DISP' exists
csDetectDriver: found DLL 'NV4_DISP'
crystalspace.canvas.openglwin:
GL driver: NV4_DISP 6.14.1.4345
crystalspace.canvas.openglcommon.driverdb:
Applied: NVIDIA: Slow VBO
Applied: GeForce2 GTS: NV_RECT texture extension support apparently sucks
crystalspace.canvas.openglcommon:
OpenGL renderer: GeForce2 GTS/AGP/3DNOW! (vendor: NVIDIA Corporation)
version 1.4.0
Using windowed mode at resolution 1280x960.
Pixel format: Color: 32 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 64
AccumAlpha: 16 MultiSamples: 0
crystalspace.canvas.opengl.extmgr:
GL Extension 'GL_ARB_multitexture' found and used.
GL Extension 'GL_ARB_texture_env_combine' found and used.
GL Extension 'GL_ARB_multisample' not found.
GL Extension 'GL_ARB_fragment_program' not found.
crystalspace.canvas.openglcommon.fontcache:
Text drawing method: Multitexturing
crystalspace.canvas.opengl.extmgr:
WGL Extension 'WGL_ARB_extensions_string' found and used.
WGL Extension 'WGL_EXT_swap_control' found and used.
crystalspace.canvas.openglwin:
VSync is disabled.
crystalspace.canvas.opengl.extmgr:
GL Extension 'GL_version_1_2' found and used.
GL Extension 'GL_ARB_texture_cube_map' found and used.
GL Extension 'GL_EXT_texture3D' not found.
GL Extension 'GL_ARB_vertex_buffer_object' not found.
GL Extension 'GL_SGIS_generate_mipmap' found and used.
GL Extension 'GL_EXT_texture_filter_anisotropic' found and used.
GL Extension 'GL_EXT_texture_lod_bias' found and used.
GL Extension 'GL_ARB_point_parameters' found and used.
GL Extension 'GL_ARB_point_sprite' not found.
GL Extension 'GL_EXT_framebuffer_object' not found.
GL Extension 'GL_ARB_texture_rectangle' not found.
GL Extension 'GL_EXT_texture_rectangle' not found.
GL Extension 'GL_NV_texture_rectangle' found, but not used.
GL Extension 'GL_ARB_vertex_program' found and used.
GL Extension 'GL_EXT_secondary_color' found and used.
crystalspace.graphics3d.opengl:
Maximum texture size is 2048x2048
Stencil clipping is used for objects >= 50 triangles.
Clearing Z buffer when stencil clear is needed enabled
crystalspace.graphics3d.shadermgr:
Loaded compiler plugin crystalspace.graphics3d.shadercompiler.xmlshader,
compiler: XMLShader
crystalspace.canvas.opengl.extmgr:
GL Extension 'GL_ARB_texture_compression' found and used.
GL Extension 'GL_EXT_texture_compression_s3tc' found and used.
crystalspace.graphics3d.opengl:
Render-to-texture backend: framebuffer
Delayed buffer swapping: disabled
AFP DrawPixmap() workaround: disabled
-
GLinfo2 log of my GeForce2 GTS (http://www.ligh.de/tmp/GeForce2_GTS.htm)
The problem with "psclient -console" under Windows is, that psclient will open a new console, and you won't be able to redirect its output to a file.
Instead of "-console", "-logfile" would have been much much more useful!
For redirection just omit -console:
psclient.exe -verbose=-scf > log.txt