[vox-tech] GL chunking problems

Peter Jay Salzman vox-tech@lists.lugod.org
Wed, 30 Apr 2003 12:03:31 -0700


doug,

the linux gamers' howto will definitely help you here.  you also have
the benefit of knowing its author.   ;-)   it's on your system right
now, if you installed the HOWTO's on your system.

briefly, the first thing the HOWTO says is:

start X with:

startx 2>$HOME/x11.logfile

then look for a line that looks like:

   (II) XXXXXXX: Direct rendering enabled

where XXXXXX give the name of the driver that X is using for your video
card.  if you don't see this, then you need to learn why DRI is failing.
chances are extremely good that the clue is in the log file.

if DRI is enabled, run glgears both as root and as non-root.  see if you
get a speed increase as root.  you should be able to get 500-600 fps
both as root and non-root.  if you don't, the howto tells how to fix
this.

if DRI is enabled and glxgears isn't giving you about 500-600 fps for
root and non-root, then it's a library problem.  there are a few
utilities you can use to help diagnose the problem, and they're
mentioned in the HOWTO.

i'd need more information (based on the stuff i just wrote above) to
diagnose further.

hth,
pete


begin R. Douglas Barbieri <doug@dooglio.net> 
> Hello all,
> 
> Processor: Pentium III 800
> Memory: 512Mb
> 3D card: 3DFX Voodoo5 5500
> Distro: Debian testing
> Kernel: 2.4.18
> 
> For the longest time, I couldn't run any opengl games on my computer
> (like quake3 and tuxracer) because they chunked so badly. After googling
> around, I found that I needed xlibmesa3-gl, so I apt-getted it. Even
> after that, I still got the chunking.
> 
> I configure my own kernel (necessary since I run Win4Lin), and I noticed
> that under "Character devices", I had the option "Build drivers for old
> (XFree 4.0) DRM" was checked. I unchecked it (which causes the drivers
> for DRM 4.1 to show up), rebuilt the kernel, rebooted and voila! I could
> get smooth gameplay, at least in tuxracer.
> 
> Once I got tuxracer to run smoothly, I downloaded the latest Mesa
> libraries (Mesa 5.01). Once installed, quake3 now ran smoothly.  I was
> then able to run Half Life and the aot port of Hexen II smoothly.
> 
> After a couple of days of happy gameplay (my daughter loves tuxracer,
> and daddy loves Hexen II), I noticed updates pending for debian testing,
> so I apt-getted my system. There was a new xserver-xfree86 version, so I
> restarted my xserver once done apt-getting. Now, it seems, I'm back in
> the same boat as when I started.  My games are back to chunking badly,
> making them unplayable.
> 
> Any suggestions as to what I could try?
> 
> -- 
> R. Douglas Barbieri
> doug@dooglio.net
> http://www.dooglio.net
> 
> GPG Fingerprint : FE6A 6A57 2B95 7594 E534  BFEE 45F1 9E5E F30A 8A27
> MIT.edu recv-key: F6368A3D
> GPG Public key  : http://www.dooglio.net/dooglio.asc



-- 
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D