Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unreal Tournament (99) awful performace [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
sliwowitz
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 209
Location: Europe/Prague

PostPosted: Tue Apr 11, 2006 7:34 pm    Post subject: Unreal Tournament (99) awful performace [SOLVED] Reply with quote

I have found an old CD with old Unreal Tournament, which I used to play A LOT, and wanted to give it a try, but the game runs awfuly slow on my 2.66GHz P4 with nVidia 6600GT, which is quite surprising (as I can run ie. UT2004 in 1280x1024 almost full details at a satisfying framerate). The game's performance is BAD from the very beginning - the intro movie and the sounds are very choppy, mouse movement in the menu is anything but smooth, and when I manage to click on all buttons neede to start the game, it looks like running with 2fps or so.
Any ideas on how to make this game run will be very appreciated.


Last edited by sliwowitz on Wed Apr 12, 2006 3:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Apr 11, 2006 9:56 pm    Post subject: Reply with quote

Are you using the opengl renderer or the SDL renderer?

You can also try linking the sdl shared library in the UT/System folder to the one installed by SDL, not the static one included with UT 99.
Back to top
View user's profile Send private message
sliwowitz
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 209
Location: Europe/Prague

PostPosted: Wed Apr 12, 2006 9:03 am    Post subject: Reply with quote

I tried both SDL and OpenGL renderer options, they give similar results. Linking the SDL library didn't help either :-(
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Apr 12, 2006 10:39 am    Post subject: Reply with quote

Maybe try altering UnrealTournament.ini.
Back to top
View user's profile Send private message
sliwowitz
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 209
Location: Europe/Prague

PostPosted: Wed Apr 12, 2006 11:26 am    Post subject: Reply with quote

I did, but it didn't help.
Back to top
View user's profile Send private message
ChristyMcJesus
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 184

PostPosted: Wed Apr 12, 2006 11:58 am    Post subject: Reply with quote

Check your xorg.conf, make sure that the resolution UT is running at is supported at colour depth 24. X turns off hardware acceleration at 16 and below.
Back to top
View user's profile Send private message
sliwowitz
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 209
Location: Europe/Prague

PostPosted: Wed Apr 12, 2006 12:39 pm    Post subject: Reply with quote

It really looks like a missing video hw acceleration problem, as when i set higher resolution, everything slows down accordingly.
That part of xorg.conf seems to be allright:
Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "GeForce 6600"
    Monitor     "Eizo L565"
#   Monitor     "ADI MicroScan"

    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

But I'm not sure, what color depth is unreal tournament really running, because in the .ini file, there's always stated 16, but the in-game menu show 32 (and gives no other option). I tried to change the colour depth in the .ini file on following places:
MinDepthBits=xx lines in [SDLGLDrv.SDLGLRenderDevice] or [OpenGLDrv.OpenGLRenderDevice] - makes no change
FullscreenColorBits=16 line in [SDLDrv.SDLClient] - makes no change if SDL renderer is selected, but won't startup if >16 and OpenGL renderer is selected (the error says: "Cannot set matching GLX visual" or something like that)
Back to top
View user's profile Send private message
sliwowitz
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 209
Location: Europe/Prague

PostPosted: Wed Apr 12, 2006 12:47 pm    Post subject: Reply with quote

I just noticed something in the console output:
Code:
Initializing OpenGLDrv...
binding /usr/lib/libGL.so
Resizing SDL viewport. X: 1280 Y: 1024
OpenGL
GL_VENDOR     : Mesa project: www.mesa3d.org
GL_RENDERER   : Mesa GLX Indirect
GL_VERSION    : 1.2 (1.5 Mesa 6.4.2)

I think it might be related, because:
1. in this mailing list someone suggests not using the Mesa driver
2. third line of GL driver information clearly states, the renderer is "Mesa GLX Indirect." I don't understand these much, but i suppose, what I want is direct rendering, am I right?
My first try was specifying my nvidia libGL.so in the .ini file, but then ut complains about not being able to open it.
Back to top
View user's profile Send private message
RushPL
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2005
Posts: 116
Location: Poland, Gdansk

PostPosted: Wed Apr 12, 2006 1:15 pm    Post subject: Reply with quote

Hello fellow Unreal Tournament player ;)
You might try using this renderer: http://stephan.kochen.nl/proj/OpenGLDrv.so - replace the original one in the System
It is a highly improved renderer, it is a Linux compiled version of this one -> http://cwdohnal.home.mindspring.com/utglr/
The Linux version is not officially supported by the author but I assure you it still works great.
Here's mu config(I have to point that I stand for performance, not image quality):
Code:

[Engine.Engine]
(...)
GameRenderDevice=OpenGLDrv.OpenGLRenderDevice
WindowedRenderDevice=OpenGLDrv.OpenGLRenderDevice
(...)

[OpenGLDrv.OpenGLRenderDevice]
UseGammaExtension=True
UseModulatedGamma=True
MinDepthBits=16
ShareLists=True
Translucency=True
VolumetricLighting=False
ShinySurfaces=False
Coronas=False
HighDetailActors=True
UseTrilinear=False
AlwaysMipmap=True
AutoGenerateMipmaps=False
NoFiltering=False
MaxAnisotropy=8
UseS3TC=False
NoMaskedS3TC=False
Use16BitTextures=False
UseBGRATextures=False
LODBias=0.000000
UseTNT=True
TexDXT1ToDXT3=False
UseMultiTexture=False ;this crashes
UsePrecache=True
MaxTMUnits=0
UsePalette=True
UseAlphaPalette=True
MaskedTextureHack=False
GammaOffset=-0.300000
GammaCorrectScreenshots=False
GammaOffsetRed=0.000000
GammaOffsetGreen=0.000000
GammaOffsetBlue=0.000000
OneXBlending=False
RequestHighResolutionZ=False
RefreshRate=0
SwapInterval=1
FrameRateLimit=0
UseAA=False
NumAASamples=4
AAFilterHint=0
UseZTrick=False
MaxLogUOverV=8
MaxLogVOverU=8
MinLogTextureSize=0
MaxLogTextureSize=8
UseCVA=False
UseMultidrawArrays=True
BufferClippedActorTris=True
BufferTileQuads=True
UseSSE=True
UseVertexProgram=False
UseTexIdPool=True
UseTexPool=True
DynamicTexIdRecycleLevel=100
DetailTextures=False
UseDetailAlpha=True
DetailClipping=True
DetailMax=2
SinglePassDetail=True
SinglePassFog=True
ColorizeDetailTextures=False


I am using NVidia binary drivers and I haven't got any(at least not any bigger) problem with UT Linux ever, if you have other games running with direct rendering there is no reason why UT99 wouldn't want to work too ....
PS. If some of you wonder if UT99 is still worth playing I tell that it is alive and kicking, maybe even more than UT2004. ;)
PS2. Consider running UT99 with wine, I always said that the native Linux version was terribly bugged, and flawed in many ways.

UnrealScript coder and UT99 player,
Rush
Back to top
View user's profile Send private message
sliwowitz
Apprentice
Apprentice


Joined: 21 Jan 2005
Posts: 209
Location: Europe/Prague

PostPosted: Wed Apr 12, 2006 3:27 pm    Post subject: Reply with quote

Thanks, Rush, I installed the new renderer library and used your config (I'm into performance as well) and the game runs very well. :D
And yes, UT99 is a real kicker. IMHO DM and CTF is way better than in 2003/4 (and i just love old flak cannon and the ripper, which was my favourite weapon for online play back in times, when i used a 33.6kbps modem which so bad pings, it made all other weapons unusable for I couldn't aim a anything moving) Everyone who can get a copy, go and try, I'm sure you won't be disappointed :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum