LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 10-08-2004, 06:34 PM   #1
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
Lightbulb Doom 3 tweak under linux???


The linux installer of doom 3 has been released and i was wondering if there is a tweak guide to boost up performance of this great game under linux.Well is there?????
 
Old 10-09-2004, 02:46 AM   #2
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Well it was really simple. Just follow the doom 3 tweaking guides you'll find for winxp to linux! Create the autoexec.cfg and copy paste the DoomConfig.cfg from a winxp installation and then tweak them as usual! It worked ! 1600x1200 ultr high settings with around 30 fps !!!

PS I have an p4 2,4 @ 3 ghz , 512 mb ram , geforce 6800 128mb
 
Old 10-09-2004, 02:48 AM   #3
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633

Original Poster
Blog Entries: 1

Rep: Reputation: 30
I here post the most complete in my opininion doom 3 tweaking guide from rsjrv99 or Ross_J . Thanks man !!!! U r a god among pity human!


"File: Doom 3 Performance tweak guide 2.0

Author: rsjrv99 or Ross_J

Email: rossjarvis AT gmail DOT com



-----------------------------------------------------------------------



So its finally here. So lets get started! I will break it up into Nvidia users and ATi users tweaks because Nvidia cards can't really be tweaked and ATi cards can because of their crappy OpenGL. If you have a low-end Nvidia card and want to see mroe performance, i will give you some, but you must remember, your card is low-end and always will be.



All Users Tweak:



Yes yes, i know, everyone has done tihs but ill include it anyway. Move the pk000.pk4-pk004.pk4 to a different folder other than the base and then extract all the files in each pk to the base folder. The msot common tweak around. This will definetely boost everyones performance and stop stuttering a little.





Nvidia Users Tweaks:



First, go into your Doom 3/base folder and right click on an empty part and select New. then select WordPad Document (or if you have MS word do that.) Now change the name of the WordPad document to "Autoexec.cfg". This means changing the extension to it too from txt to cfg. Now doulbe click on the file you just created and open it with wordpad. Now just copy and paste this: (works with all video cards no matter how much video memory you have)



seta g_bloodEffects "1"

seta r_geominstancing "1"

seta r_showDynamic "1"

seta r_useScissor "1"

seta image_useCache "1"

seta image_cacheMegs "256"

seta image_cacheMinK "30640"

seta r_colorbits "32"

seta r_useGL2 "1"

seta image_useNormalCompression "2"

seta com_showFPS "0"

seta g_decals "1'

seta g_showBrass "1"

seta g_muzzleFlash "1"

seta g_doublevision "1"

seta image_filter "GL_LINEAR_MIPMAP_LINEAR"

seta image_depth "2

seta r_preload "1"

seta r_shadows "1"

seta g_bloodEffects "1"

seta g_decals "1"

seta g_muzzleFlash "1"

seta radiant_entityMode "0"

seta gui_mediumFontLimit "0.60"

seta gui_smallFontLimit "0.30"

seta net_socksPassword ""

seta net_socksUsername ""

seta net_socksPort "1080"

seta net_socksServer ""

seta net_socksEnabled "0"

seta win_ypos "22"

seta win_xpos "3"

seta r_cgVertexProfile "vp30"

seta r_cgFragmentProfile "fp30"

seta r_forceLoadImages "1"

seta r_shadows "1"

seta r_useOptimizedShadows "1"

seta r_useTurboShadow "1"

set r_displayRefresh "85"

seta g_fov "85"

com_purgeAll "1"

set r_vertexBufferMegs "48"

set r_orderIndexes "1"

seta r_renderer "best"

seta g_skipViewEffects "0"

seta image_preload "1"

seta com_videoRam "512" \\NOTE

seta g_decals "1"

seta g_projectileLights "1"

seta g_doubleVision "1"

seta g_muzzleFlash "1"

seta com_allowconsole "1"

seta r_useDepthBoundsTest "1"

seta r_useCachedDynamicModels "1"

seta r_gamma "1.3"

seta r_swapinterval "0"

set g_nightmare "1"

seta image_useCompression "1"

seta image_usePrecompressedTextures "1"

seta r_forceLoadImages "1"



NOTE- This should not be changed because for soem reason setting it to 512 helps stop stuttering.



Now do this:



In your DOOM 3 directory, find "DoomConfig.cfg" (x:\Program Files\Doom 3\base).

Open DoomConfig.cfg in Notepad.



Find the lines:



seta image_cacheMegs "32" (May be "20" on some computers)

seta image_cacheMinK "(Not sure which number thats supposed to be here"

seta image_useCache "0"



anyway, change the settings to the following:



seta image_cacheMegs "xxx" (xxx - Half the number of you RAM, so if you have 512 mb RAM, you should put 256 here, 1024 - 512 etc..)

seta image_cacheMinK "20480"

seta image_useCache "1"



seta image_useCache "1" - This enables the memory cache tweak, if this is set to 0, it would be disabled, logically..



seta image_cacheMink "20480" - Im not 100% sure what this does, i think it has something to do with the minimum use of cache in Kilobytes... Anyway, i heard this is the number it should be on..



seta image_cacheMegs "xxx" - The amount of ram the program should use (In this case, Doom 3). I advise you only to set this number to the half of the total RAM you have, or it may take alot of CPU power and that will result in the occational 3 - 5 second lag when you open doors and stuff.\



This ends the Nvidia tweak. Please read my next post for ATi users.



ATi Users Tweak:



Firstly, do the same thing said in the Nvidia Users Tweak. Ok, now we all know that ATi sucks at OpenGL and because Doom 3 is OpenGL it runs like crap. Thats why tweaks are there, they are here to help you. So lets go.



Find and install a program called "RadLinker". You can find it here: http://www28.brinkster.com/chrisww1942/



Once radlinker is successfully installed, navigate to your Doom 3 folder and right click on the “Doom3.exe” icon and select “Create RadLink”. A shortcut icon will then appear; however, this is a shortcut with a difference as right-clicking on it and selecting properties will bring up a series of pages related to graphical settings. Select the “Open GL” tab and uncheck the “Use Defaults” box. More advanced users will know their way around these settings pretty well; however, as a general guideline, it is recommended users set the “Full Scene Anti-Aliasing” and “Anisotropic Filtering” options to “Application Preference” (though users with 9800 and X800 series cards may wish to adjust the Anti-Aliasing option as they see fit). The “Texture Preference” and “Mipmap Detail Level” settings are again a choice of personal preference; however I would advise those with higher end ATI cards to use “High Quality”, while users with less powerful cards may wish to experiment.



The final tweak is to experiment with enabling and disabling the “Triple Buffering” option. Some people (particularly those using Vsync) have noticed large performance gains from enabling it while others have cited an increase in the game stuttering. I personally have noticed a couple of extra frames per second when enabling it with V-Sync disabled.



Now, disable Hyper-Z in Radlinkers options. Which is go right click on your desktop, select properties, hit settings, advanced, and radlinker. Now right below your main tabs you will se the Radlinker tabs, hit OpenGL and i nthe box on the bottom scroll down until you see Hyper-Z, click o nthe enabled and select disabled. Your done.



Also, check out the Humus tweak that can greatly improve performance on ATi machines here:

http://www.stickit.nu/tmp/doom3PerformanceTweak.rar

And the thread: http://www.stickit.nu/tmp/doom3PerformanceTweak.rar



Thank you for reading this guide. Performance shoudl have improved, if it hasn't, i am sorry.



MY system:



CPU: 2.0 Ghz Pentium 4

VIDEO: Sapphire Radeon 9800 pro 128 MB

MEMORY: Corsair 512 MB PC-3200

HD: 80 GB

SOUND: built-in AC'97 audio

MOBO: Abit VT7



--------------



Want to customize yourself? WEll here are what each thing does.



--------------



image_anisotropy Sets the maximum texture anisotropy if

available in the renderer. Set between 0 and 16 with the lower number being faster and the higher number being slower





image_filter Changes texture filtering used for mipmapped images

"GL_LINEAR_MIPMAP_NEAREST" (faster)

"GL_LINEAR_MIPMAP_LINEAR" (slower)





r_shadows Enables or disables shadows, very high FPS gain with the drawback losing shadows generated by enemies and objects.



Set to 0(faster) or 1(slower)





r_useOptimizedShadows

Determines if static shadow volumes are used



Set to 1(faster) or 0(slower)





r_useTurboShadow Use a faster technique for generating dynamic shadows. This may cause loss of shadows on systems with older display drivers.



Set to 1(faster) or 0(slower)





r_useDepthBoundsTest Specific to Nvidia hardware and may not be available in the current drivers. Enables UltraShadow II’s depth bounds test feature for 5x00/6x00 cards.



Set to 1(faster) or 0(slower)





r_Multisamples Controls the amount of antialiasing.



Set to 0, 2, 4, 8, or 16 with the lower number being faster and the higher number being slower. Not all cards will support 8 or 16 settings.





image_roundDown Controls how incorrectly sized textures are resized so they are close to a power of two. The default setting of 1 means that textures will be reduced in size possibly losing some detail, a setting of 0 means that textures will be increased in size.



Set to 1(resize down/faster) or 0(resize ip/slower)





r_skipBump Controls bump mapping, can be set so that Doom 3 uses a flat surface instead of bump maps



Set to 1(faster / uglier) or 0 (slower)





r_skipSpecular Uses black for specular lighting. Specular lighting adds texture to each object and adds additional lighting to their surface. Not worth the minor FPS gain in singleplayer



Set to 1(faster / uglier) or 0 (slower)





r_skipOverlays Skip overlay surfaces on textures. Negligible FPS gain.



Set to 1(faster / uglier) or 0 (slower)





r_skipFogLights Skip all fog lighting, negligible FPS gain.



Set to 0(slower) or 1(faster)





r_skipPostProcess Skip all post-process rendering such as distortion on windows glass / etc. FPS gain on some systems.



Set to 0(slower) or 1(faster)





r_skipBlendLights Skip all blending of lights, not worth the negligible FPS gain in singleplayer



Set to 0(slower) or 1(faster)





r_skipDynamicTextures Do not dynamically create textures, can cause problems with in game videos. Best to leave at 0 for singleplayer.



Set to 0(slower) or 1(faster)



NOTE: Leave at 0 for singleplayer





r_skipMegaTexture Controls if the lowest level texture is always used. Not worth the negligible FPS gain.



Set to 1(faster) or 0 (slower)





r_skipTranslucent Controls translucent interaction rendering such as the loading bar and UAC logos on containers. FPS gain on some systems.



Set to 1(faster) or 0 (slower)





r_skipNewAmbient Controls the rendering of special effects such as heat haze.



Set to 1(faster) or 0 (slower)





r_useCachedDynamicModels Controls dynamic model loading, if set to 1 the game will use its memory cache for models.



Set to 1(usually faster) or 0 (slower)





r_gamma Does not affect FPS, helps with brightness, do not set this too high or colours will become washed out. See r_lightscale.



Set between 1 and 1.5, adjust r_lightscale for settings high than 1.5





r_brightness Does not affect FPS, helps with brightness.



Set between 1 and 2, if brightness is still a problem use r_gamma and/or r_lightscale





r_lightscale Does not affect FPS, helps with brightness and raises the intensity of all colours.



Set between 2(default) and 4, only use when you feel r_gamma and r_brightness have not helped.





image_lodbias Controls lod bias on mipmapped images



Range from -2 (slower / crisper) to 2 (faster / uglier)





pm_runbob

pm_runpitch

pm_runroll

pm_bobpitch

pm_bobroll

pm_bobup

pm_crouchbob

pm_walkbob





Controls 'bobbing' up/down/side movement of player. Can help if you get motion sickness



Set each of the bob cvars to 0 to disable bobbing

image_downSizeBump

image_downSizeBumpLimit

Controls resizing of textures for bump maps. Helpful if your video card has less than 256 megabyte of video ram



Set image_downSizeBump to 0(disabled) or 1(enabled)



Set image_downSizeBumpLimit higher(slower) or lower(faster)



256 megabyte video cards

seta image_downSizeBumpLimit "1024"



128 megabyte video cards

seta image_downSizeBumpLimit "512"



64 megabyte video cards

seta image_downSizeBumpLimit "256"





image_downSizeSpecular

image_downSizeSpecularLimit

Controls resizing of textures for bump maps. Helpful if your video card has less than 256 megabyte of video ram



Set image_downSizeSpecular to 0(disabled) or 1(enabled)



Set image_downSizeSpecularLimit higher(slower) or lower(faster)



256 megabyte video cards

seta image_downSizeBumpLimit "256"



128 megabyte video cards

seta image_downSizeBumpLimit "128"



64 megabyte video cards

seta image_downSizeBumpLimit "64"





image_downSize

image_downSizeLimit

Controls resizing of textures for bump maps. Helpful if your video card has less than 256 megabyte of video ram



Set image_downSize to 0(disabled) or 1(enabled)



Set image_downSizeLimit higher(slower) or lower(faster)



256 megabyte video cards

seta image_downSizeBumpLimit "1024"



128 megabyte video cards

seta image_downSizeBumpLimit "512"



64 megabyte video cards

seta image_downSizeBumpLimit "256"





image_forceDownSize Forces resizing of textures. May not be worth the FPS gain in singleplayer



Set to 0(slower) or 1(faster)





ui_showGun Shows or hides your on screen gun model.

Set to 1(slower) or 0(faster)





image_useCache

image_cacheMegs

image_cacheMinK Controls memory set aside for temporary loading of full-sized precompressed images and files.



WARNING - When set incorrectly this can cause Doom3 to crash at startup or cause instability/graphical artifacts in game. Particularly when loading maps such as Delta Labs 4.



Set cache megs to a higher value if you have 512 megabytes or more of system RAM. Guideline is 1/6 to 1/4 of your system RAM.



Set image_cacheMinK to 2048. This can be set lower than 2048 when image_useCache is set to 1 but may cause Doom3 to crash.



Set image_useCache to 1 to enable background load image caching



512 Megabytes of RAM

seta image_cacheMegs "96"

seta image_cacheMinK "2048" // NOTE



768 Megabytes of RAM

seta image_cacheMegs "256"

seta image_cacheMinK "2048" // NOTE



1 Gigabyte+ of RAM

seta image_cacheMegs "384"

seta image_cacheMinK "2048" // NOTE



NOTE: You can leave image_cacheMinK at its default if you are not setting image_useCache to 1





image_useCompression Determines if textures are used compressed.



Set to 0 (uncompressed, high quality)

Set to 1 (compressed, slight loss of quality)



Important: Only set to 0 if you have over 256 megabytes of video ram.





image_useNormalCompression Determines how normal textures are compressed.



Unconfirmed settings:



Set to 2 for higher quality/larger/slower rxgb compression

Set to 1 for lower quality/smaller/faster 256 compression





image_ignoreHighQuality

Controls high quality settings on materials. Can give a minor FPS gain in singleplayer



Set to 0(slower) or 1(faster)





com_videoram

Holds the last detected amount of video ram. Check this setting in game at the console, if it is incorrect you may wish to set this to the correct amount of video ram.



Example if you have a 256 megabyte card and com_videoram shows 64 you could try setting this to 256





com_fixedtic

Controls the games tic rate. Defaults to 0, setting this to -1 will remove the 60 FPS cap for singleplayer.





g_bloodEffects Controls blood splats, sprays and gibs



Set to 0 (faster) or 1 (slower)





g_decals Control if decals such as bullet holes, burns on walls etc. are shown



Set to 0 (faster) or 1 (slower)





g_showBrass Controls if animation of ejected shells from weapons is shown.



Set to 0 (faster) or 1 (slower)





g_skipFX Controls if additional in game graphic effects are used.



NOTE: This will have the side effect of causing your HUD to be hidden.



Set to 1 (faster) or 0 (slower)





g_skipViewEffects

Controls damage and other view effects



NOTE: This will have the side effect of causing your HUD to be hidden.



Set to 1 (faster) or 0 (slower)





g_projectileLights

g_skipParticles

r_skipParticles

Control if projectiles such as fireballs, etc. create dynamic lights or particles when fired (unconfirmed)



Set g_projectileLights to 0(faster) or 1 (slower)



set g_skipParticles and r_skipParticles to 1(faster) or 0 (slower). Do not alter r_skipParticles for singleplayer.





g_doublevision Controls if your vision is affected when you take damage.



Set to 0 (no doublevision) or 1 (doublevision)





g_muzzleFlash Controls muzzle flashes when you or the enemy fires a weapon.



Set to 0 (faster) or 1 (slower / more realism)





g_showPlayerShadow Controls your player shadow



Set to 0 (faster) or 1 (slower / more realism)"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
doom 3 config tweak e1000 Linux - Games 3 10-09-2004 10:10 AM
:Pengy: Help! I'm a Linux Tweak-aholic! perry LinuxQuestions.org Member Success Stories 9 09-02-2004 11:25 AM
MTU tweak for linux? tekhead2 Linux - Networking 5 05-01-2004 10:50 PM
linux tweak index LavaDevil94 Linux - Software 1 05-01-2004 05:02 PM
How can I tweak internet/mtu settings in linux cbjhawks Linux - General 1 01-19-2004 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration