Game Development Community

Graphical anomalies

by Michael Kaufman · in Technical Issues · 05/27/2002 (7:26 pm) · 7 replies

I just built Torque under linux, and fired it up.
I'm having some strange graphical problems, here
are pictures:

screwage.com/~walker/torque/glitch1.png
screwage.com/~walker/torque/glitch2.png
screwage.com/~walker/torque/glitch3.png

The black patches seem to appear and disappear depending on my position. The ground underneath my player is always
blacked out like that.

The engine also runs very very slowly, it's only fast
when I'm looking down at the ground or indoors (in those cases, it seems to move very smoothly)

I disabled the sky for some extra speed, though the same
thing happens whether it's on or off.

I'm using Debian Sid, XFree86 4.1, and DRI with a Matrox
G450.
I saw the same problems running it under NetBSD with software Mesa (also much slower, of course), though I figured it'd just be Mesa's fault, and I installed linux to try it with some hardware accel. No go :(

About the author

Recent Threads


#1
05/27/2002 (8:05 pm)
I guess the first thing is to make sure that hardware acceleration is actually working for you. Have you tried running the gears demo? Did you get decent framerates. Maybe you could also post the output of the program glxinfo.

Just a couple quick thoughts.
#2
05/27/2002 (9:29 pm)
More information about your OpenGL setup would be helpful. Start the game with -console, and copy/paste the OpenGL information here. For example on my system it prints out this:

Activating the OpenGL display device...
Setting screen mode to 800x600x16 (w)...
OpenGL Attributes:
DoubleBuffer: 1
BufferSize: 16, DepthSize: 16, StencilSize: 0
Red: 5, Green: 6, Blue: 5, Alpha: 0
Accum Red: 16, Green: 16, Blue: 16, Alpha: 16
OpenGL driver information:
Vendor: NVIDIA Corporation
Renderer: RIVA TNT2/AGP/SSE
Version: 1.3.1 NVIDIA 28.80
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 2)
EXT_compiled_vertex_array
EXT_texture_env_combine
EXT_packed_pixels
EXT_fog_coord
(ARB|EXT)_texture_env_add
OpenGL Init: Disabled Extensions
EXT_paletted_texture
NV_vertex_array_range
ARB_texture_compression
EXT_texture_compression_s3tc
3DFX_texture_compression_FXT1
EXT_texture_filter_anisotropic
WGL_EXT_swap_control
#3
05/27/2002 (11:07 pm)
Yes, DRI is being used, or it would be impossibly slow.

Here's the output from -console:
--
Activating the OpenGL display device...
Setting screen mode to 640x480x24 (w)...
OpenGL Attributes:
DoubleBuffer: 1
BufferSize: 24, DepthSize: 24, StencilSize: 8
Red: 8, Green: 8, Blue: 8, Alpha: 8
Accum Red: 0, Green: 0, Blue: 0, Alpha: 0
OpenGL driver information:
Vendor: VA Linux Systems Inc.
Renderer: Mesa DRI G400 20010321 AGP 4x x86/MMX/3DNow!
Version: 1.2 Mesa 3.4.2
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 2)
EXT_compiled_vertex_array
EXT_packed_pixels
(ARB|EXT)_texture_env_add
OpenGL Init: Disabled Extensions
EXT_paletted_texture
NV_vertex_array_range
EXT_texture_env_combine
EXT_fog_coord
ARB_texture_compression
EXT_texture_compression_s3tc
3DFX_texture_compression_FXT1
EXT_texture_filter_anisotropic
WGL_EXT_swap_control
--

Color depth makes no difference, 16bpp and 24bpp do the
same thing.

I have a feeling it's just buggy DRI. Anyone out there
using this successfully with a non-nVidia card
under Linux?
#4
05/28/2002 (8:39 am)
Hmmm, this reminds me of this thread:

www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=5050

You may want to update your Mesa drivers, since they seem quite old.
#5
05/28/2002 (12:06 pm)
The Mesa drivers are part of XFree86, so upgrading them
is something only the XFree86 people can do.
#6
01/08/2004 (12:54 pm)
-BUMP-
#7
01/08/2004 (1:11 pm)
Negative Michael My XFree86 has no mesa drivers.