| Unix Content | Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| I recently installed Unreal Tournament 2004 on my computer and it's running really slow. Just looking around when a game first got started would stutter. It's playable, but I definitely have had it running faster than this on Linux. At first I thought it was the sound that was causing the slowness, so I edited ~/.ut2004/System/UT2004.ini and changed UseSound=True to UseSound=False. That disabled the sound, but the problem still was happening. I upped the CacheSizeMegs to 512 from the 32 default, that didn't help. I took a look at ~/.ut2004/System/UT2004.log, which is generated every time you run UT2004. This line jumped out at me: Log: OpenGL: allocated 32 MByte of AGP memory I have a 128MB GeForce 6800 card, and I've set my BIOS' AGP setting to 128MB as well. UT2004 has to be getting this setting from XFree86, right? Where do I tell XF86 to use 128MB of VRAM? Here's my XF86Config-4, that should shed some light on things. # XF86Config-4 (XFree86 X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the XF86Config-4 manual page. # (Type "man XF86Config-4" at the shell prompt.) # # This file is automatically updated on xserver-xfree86 package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xfree86 # package. # # If you have edited this file but would like it to be automatically updated # again, run the following commands as root: # # cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom # md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum # dpkg-reconfigure xserver-xfree86 Section "Module" Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "speedo" Load "type1" Load "v4l" Load "vbe" Load "xtt" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "NVIDIA Corporation NVIDIA Default Card" Driver "nvidia" BusID "PCI:1:0:0" Option "NoLogo" Option "RenderAccel" "true" Option "NvAGP" "1" EndSection Section "Monitor" Identifier "Generic Monitor" HorizSync 30-65 VertRefresh 50-75 Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NVIDIA Default Card" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" EndSection I know that OpenGL is working OK, because I can get glgears to work OK and I can play Tux Racer. I think the memory issue is my bottleneck. So any help would be greatly appreciated. Thanks. |
|
#2
|
| Mike Coddington wrote: > I recently installed Unreal Tournament 2004 on my computer and it's > running really slow. Just looking around when a game first got started > would stutter. It's playable, but I definitely have had it running > faster than this on Linux. At first I thought it was the sound that was > causing the slowness, so I edited ~/.ut2004/System/UT2004.ini and changed > UseSound=True to UseSound=False. That disabled the sound, but the problem > still was happening. I upped the CacheSizeMegs to 512 from the 32 default, > that didn't help. > I took a look at ~/.ut2004/System/UT2004.log, which is generated every > time you run UT2004. This line jumped out at me: > Log: OpenGL: allocated 32 MByte of AGP memory > > I have a 128MB GeForce 6800 card, and I've set my BIOS' AGP setting to > 128MB as well. UT2004 has to be getting this setting from XFree86, right? > Where do I tell XF86 to use 128MB of VRAM? Here's my XF86Config-4, that > should shed some light on things. > > > > # XF86Config-4 (XFree86 X Window System server configuration file) > Section "Device" > Identifier "NVIDIA Corporation NVIDIA Default Card" > Driver "nvidia" > BusID "PCI:1:0:0" > Option "NoLogo" > Option "RenderAccel" "true" > Option "NvAGP" "1" VideoRam 131072 > EndSection > Look up for VideoRam option. I think this must be... |
|
#3
|
| On Sun, 23 Jan 2005 01:39:14 +0200, Smirneos Kiriakos wrote: > Mike Coddington wrote: >> I recently installed Unreal Tournament 2004 on my computer and it's >> running really slow. Just looking around when a game first got started >> would stutter. It's playable, but I definitely have had it running >> faster than this on Linux. At first I thought it was the sound that was >> causing the slowness, so I edited ~/.ut2004/System/UT2004.ini and changed >> UseSound=True to UseSound=False. That disabled the sound, but the problem >> still was happening. I upped the CacheSizeMegs to 512 from the 32 default, >> that didn't help. >> I took a look at ~/.ut2004/System/UT2004.log, which is generated every >> time you run UT2004. This line jumped out at me: >> Log: OpenGL: allocated 32 MByte of AGP memory >> >> I have a 128MB GeForce 6800 card, and I've set my BIOS' AGP setting to >> 128MB as well. UT2004 has to be getting this setting from XFree86, right? >> Where do I tell XF86 to use 128MB of VRAM? Here's my XF86Config-4, that >> should shed some light on things. >> >> >> >> # XF86Config-4 (XFree86 X Window System server configuration file) > >> Section "Device" >> Identifier "NVIDIA Corporation NVIDIA Default Card" >> Driver "nvidia" >> BusID "PCI:1:0:0" >> Option "NoLogo" >> Option "RenderAccel" "true" >> Option "NvAGP" "1" > VideoRam 131072 >> EndSection >> > > > Look up for VideoRam option. I think this must be... That did the trick. Well, sort of. It's still jerky when I get into big firefights, but I don't think this is an X related problem. UT2004 still only says it's using 32MB of AGP, even after a reinstall. But it's definitely running smoother now. Thanks for the advice! |