View Full Version : Ubuntu optimization for games?
DutchLau
May 6th, 2005, 04:53 PM
Hello Ubuntu community,
Is there any way you can optimize Ubuntu to play games better? I know you can login with safe mode and do an xinit "gamefile" but is there any other way to get the best out of my hardware and so a little optimization?
Thanks,
DutchLau
cdhotfire
May 6th, 2005, 05:05 PM
um, go to sessions, and take off the auto restarts to all the things, and then do like killall nautilus gnome-panel etc. and leave like X on. After open up terminal and the game is on. Or you can just install something like fluxbox, or xfce, and replace you slow gnome.:???:
Edit: wait i just saw your specs, and...
i think you should be able to run any game at full shizzel without problem. Dam thats a nice comp, can you give it to me.:razz:
DutchLau
May 6th, 2005, 05:44 PM
It gets me from A to B :razz:
Locomorto
May 6th, 2005, 07:18 PM
It gets me from A to B :razz:
Only problem is the poor GFX card, it does not do the rest of the system justice unfortuanly :(. Still i would not mind having it ;).
cdhotfire
May 6th, 2005, 09:05 PM
Only problem is the poor GFX card, it does not do the rest of the system justice unfortuanly :(. Still i would not mind having it ;).
Eh, 256 MB GeForce?
wth, that thing is powerful, it matches the system quite well.
How about $ 5. Okay okay, i was kidding.;-) $0.25? contact me.:-P
Edit: Also i think it takes you more than A to B, more like A to Z and back!:-?
penvzila
May 7th, 2005, 12:31 AM
Yeah, but it's an FX 5200, which is a POS. The 256 megs of RAM don't really mean much.
DutchLau
May 7th, 2005, 01:02 AM
I was actually considering optimizing Ubuntu for my two other PC's which are far from the monster I'm sitting behind now (which I put together 4 days ago).
This is one of the PC's:
AMD XP Thoroughbred 1700+ @ 2.0 Ghz with standard XP 3000+ fans, ASUS A7S333, 512 MB PC 266 DDR Ram, Dual 160 ATA HDD's (which are both 75 % full), 128 MB GeForce FX 5200 with Ubuntu i686.
This is the other:
Pentium 3 @ 1Ghz, 512 MB PC 133 Sdram, Dual 40 GB IDE HDD's, 32MB GeForce 2 GTS with Ubuntu i386.
So yeah, I was asking for optimization for the 2 other ones. The AMD machine is pretty good with Linux, and the Pentium is quite alright. Both run Americas Army perfectly, the Pentium 3 is also reasonable, but I was wondering if they could be better. Is there any easy way to install Fluxbox for Ubuntu that you can choose that it's Fluxbox at the startup or something, but still keep Ubuntu for gaming?
Thanks,
DutchLau
crane
May 7th, 2005, 01:15 AM
Yeah, but it's an FX 5200, which is a POS. The 256 megs of RAM don't really mean much.
I just installed a new card, my previous was a 5200. It played/worked quite well.
Very nice card, but that is not really the subject of this post is it?
I'm not real sure on how to optimize but you may want to check out xorg's site (http://www.x.org) as well a nvidia's site (http://www.nvidia.com) you may find some helpful info there as well.
Good Luck!
DutchLau
May 7th, 2005, 01:41 AM
Yeah, but it's an FX 5200, which is a POS. The 256 megs of RAM don't really mean much.
HEY!!
Don't diss my video card! :mad: I spent good money on it! I get 4000 FPS with glxgears on a good day and I have a minimum of 120 FPS with America's Army on a good server! :razz:
The FX5200 is my pick though because it had lots of memory and that's what you need for video editing/graphic design (or both) :)
(Just to remind people about the subject of the post - how do I optimize performace for my two other PC's - NOT THE ONE IN THE SIG)
Cheers,
DutchLau
cdhotfire
May 7th, 2005, 03:13 PM
[quote] Is there any easy way to install Fluxbox for Ubuntu that you can choose that it's Fluxbox at the startup or something, but still keep Ubuntu for gaming?[quote]
$ sudo apt-get install fluxbox fluxconf fbdesk fbpager bbmail wmfrog :), then choose fluxbox from sessions at startup.;-)
igloo
May 15th, 2005, 06:13 PM
The FX5200 is my pick though because it had lots of memory and that's what you need for video editing/graphic design (or both) :)
Performance-wise, an FX5200 is roughly on par with a high-end GeForce 2, or a vanilla GeForce 4. Ask anyone (myself included) who "upgraded" from a GeForce 2.
Don't get confused by model numbers: the only real judge of performance is relative cost. If you only pay £30 for a new-model video card, don't expect it to perform as well as the "older" model sat on the shelf next to it, going for £200.
The only thing it has over those other cards is hardware DX9 support, which is by-the-by because it isn't fast enough to do anything useful with those effects anyway.
Also, your understanding of what that 256 megs of video memory does seems to be slightly flawed. Above the memory required by the frame buffer (w*h*bytes per pixel *# of buffers), the memory will only ever be used for caching texture maps.
So, under typical use editing videos or playing with the GIMP, you're only ever going to use about 3.8 megs of it.
clarke.rainey
May 15th, 2005, 08:41 PM
One thing taht I would suggest you do is get the K7 kernel instead of the i686 one... I have an AMD 64 running 32bit Ubuntu so I use the K7 kernel... and I think that your 1700+ is a K7 also...
I am not too sure how much of a difference that will make though...
rwabel
July 23rd, 2005, 10:15 AM
HEY!!
Don't diss my video card! :mad: I spent good money on it! I get 4000 FPS with glxgears on a good day and I have a minimum of 120 FPS with America's Army on a good server! :razz:
The FX5200 is my pick though because it had lots of memory and that's what you need for video editing/graphic design (or both) :)
(Just to remind people about the subject of the post - how do I optimize performace for my two other PC's - NOT THE ONE IN THE SIG)
Cheers,
DutchLau
see that's a funny thing! I've a Nvidia 6600GT and get barely 5000 FPS with glxgears. Damn what the heck is the problem with my nvidia drivers under linux?
Kemotaha
July 23rd, 2005, 11:45 AM
see that's a funny thing! I've a Nvidia 6600GT and get barely 5000 FPS with glxgears. Damn what the heck is the problem with my nvidia drivers under linux?
Now I have to check my FPS when I get home to my computer to see how it compares. The only difference with my system(see below) is the HDD and I have two 6600GTs.
mrf
July 23rd, 2005, 05:23 PM
see that's a funny thing! I've a Nvidia 6600GT and get barely 5000 FPS with glxgears. Damn what the heck is the problem with my nvidia drivers under linux?
glx gears isn't a good test of modern video card performance. It's like comparing mathematics degree holding applicants for a job by getting them to do basic math.
Kemotaha
July 23rd, 2005, 09:27 PM
Now I have to check my FPS when I get home to my computer to see how it compares. The only difference with my system(see below) is the HDD and I have two 6600GTs.
WOOOHOOO I got 7000 FPS. Sweet.
rwabel
July 23rd, 2005, 09:44 PM
WOOOHOOO I got 7000 FPS. Sweet.
are you using the ubuntu nvidia drivers or the one from nvidia homepage? I don't think PCI-E makes that much a differences
charlieg
July 24th, 2005, 06:27 PM
Make sure you have hardware accelerated OpenGL. This can be checked using 'glxinfo', and if you haven't, then there is decent documentation available for setting it up on Ubuntu.
Check that X is running in 16 bit color depth mode. It is often set to 24 bit by default, and this seems to be a somewhat unoptimized setting. Setting it to 16 from 24 can easily double FramePS performance.
Make sure you have ALSA set up right. By default, Ubuntu uses ESD, and I found ESD to be slowing my system down. This can be fixed to use ALSA + dmix:
http://ubuntuforums.org/showthread.php?t=32063
Make sure you're not running CPU hungry processes in the background. Apps like Nicotine often consume unecessary CPU. Things like GDesklets are also a classic CPU consumer. You may also be running daemons that are consuming your CPU time but this is less likely. For a machine as powerful as yours, your choice of DE shouldn't matter and running (eg) Fluxbox instead Gnome most probably won't help much.
That should get you started. ;-)
evilghost
July 24th, 2005, 06:35 PM
Make sure you have hardware accelerated OpenGL. This can be checked using 'glxinfo', and if you haven't, then there is decent documentation available for setting it up on Ubuntu.
Check that X is running in 16 bit color depth mode. It is often set to 24 bit by default, and this seems to be a somewhat unoptimized setting. Setting it to 16 from 24 can easily double FramePS performance.
Make sure you have ALSA set up right. By default, Ubuntu uses ESD, and I found ESD to be slowing my system down. This can be fixed to use ALSA + dmix:
http://ubuntuforums.org/showthread.php?t=32063
Make sure you're not running CPU hungry processes in the background. Apps like Nicotine often consume unecessary CPU. Things like GDesklets are also a classic CPU consumer. You may also be running daemons that are consuming your CPU time but this is less likely. For a machine as powerful as yours, your choice of DE shouldn't matter and running (eg) Fluxbox instead Gnome most probably won't help much.
That should get you started. ;-)
Note, I saw zero difference between the depth's of 16 and 24 in both glxgears, Doom3, and UT2004 so this may not be applicable to all configurations/systems. Be sure to check :)
rwabel
July 24th, 2005, 07:10 PM
Make sure you have hardware accelerated OpenGL. This can be checked using 'glxinfo', and if you haven't, then there is decent documentation available for setting it up on Ubuntu.
Check that X is running in 16 bit color depth mode. It is often set to 24 bit by default, and this seems to be a somewhat unoptimized setting. Setting it to 16 from 24 can easily double FramePS performance.
Make sure you have ALSA set up right. By default, Ubuntu uses ESD, and I found ESD to be slowing my system down. This can be fixed to use ALSA + dmix:
http://ubuntuforums.org/showthread.php?t=32063
Make sure you're not running CPU hungry processes in the background. Apps like Nicotine often consume unecessary CPU. Things like GDesklets are also a classic CPU consumer. You may also be running daemons that are consuming your CPU time but this is less likely. For a machine as powerful as yours, your choice of DE shouldn't matter and running (eg) Fluxbox instead Gnome most probably won't help much.
That should get you started. ;-)
damn the change to 16 bit was hell of a trick! thanks a lot:
rwabel@RALPH:/mnt/c $ glxgears
37229 frames in 5.0 seconds = 7445.800 FPS
44752 frames in 5.0 seconds = 8950.400 FPS
45500 frames in 5.0 seconds = 9100.000 FPS
45366 frames in 5.0 seconds = 9073.200 FPS
44766 frames in 5.0 seconds = 8953.200 FPS
45391 frames in 5.0 seconds = 9078.200 FPS
45482 frames in 5.0 seconds = 9096.400 FPS
44733 frames in 5.0 seconds = 8946.600 FPS
nothing more to say :-)
but fifa2005 still won't play nicely with cedega...damn EA!
Unfortunately 16 bit looks quit ugly :-(
charlieg
July 24th, 2005, 07:59 PM
Unfortunately 16 bit looks quit ugly :-(
You can actually notice the difference between 16 bit and 24 bit color depths? I know I can't.
Anyway, if it really bothers you, try 32 bit color depth. The optimization of 16 bit seems to apply to 32 bit as well if I'm not mistaken.
rwabel
July 24th, 2005, 09:24 PM
You can actually noticed the difference between 16 bit and 24 bit color depths? I know I can't.
Anyway, if it really bothers you, try 32 bit color depth. The optimization of 16 bit seems to apply to 32 bit as well if I'm not mistaken.
well when I started fifa 2005 via cedega under 16bit the graphic was "bad", this wasn't under 24bit.
32 bit doesn't work for me. I've also read somewhere, that 32bit doesn't work with xorg. Did someone achieve 32bit with nvidia & xorg?
rejser
July 25th, 2005, 06:09 AM
never tried fxgears... but wanted to see what I would get on my "old" computer..
XP 1800+
1024 mb ram
gf mx 440 128
120gb hdd + 80 gb hdd
started while burning a cd, then the numbers where 3700 - 4200.
Then I closed everything and got a this
25396 frames in 5.0 seconds = 5079.200 FPS
24438 frames in 5.0 seconds = 4887.600 FPS
24203 frames in 5.0 seconds = 4840.600 FPS
24607 frames in 5.0 seconds = 4921.400 FPS
25383 frames in 5.0 seconds = 5076.600 FPS
25251 frames in 5.0 seconds = 5050.200 FPS
Is that ok numbers?
Kemotaha
July 25th, 2005, 10:40 AM
are you using the ubuntu nvidia drivers or the one from nvidia homepage? I don't think PCI-E makes that much a differences
I am using the ubuntu NVIDIA drivers and running at 24 bit color
Bandit
July 26th, 2005, 02:46 PM
Yeah, but it's an FX 5200, which is a POS. The 256 megs of RAM don't really mean much.
I agree, I had a leadtek FX5200 and it was a POS. Performed the same as my ATI 7000VE.
I couldnt put anything better then a FX5500 in my system.
But the Gigabyte FX5500 256MB 128bit video card runs circles around the 5200 128MB 64bit I had..
Only about 20USD more also..
Only wished my shuttle XPC had a larger powersupply to run a 6200 :roll:
Cheers,
Joey
rwabel
July 26th, 2005, 07:08 PM
I agree, I had a leadtek FX5200 and it was a POS. Performed the same as my ATI 7000VE.
I couldnt put anything better then a FX5500 in my system.
But the Gigabyte FX5500 256MB 128bit video card runs circles around the 5200 128MB 64bit I had..
Only about 20USD more also..
Only wished my shuttle XPC had a larger powersupply to run a 6200 :roll:
Cheers,
Joey
about power supply, I've 350Watt. Is that enough or should I've more?
holomorph
July 27th, 2005, 12:28 AM
I've run warcraft 3 on my old PIII 450 w/ 192 mb ram under openbox. Just go to synaptic (or sudo apt-get install on the command line) and install the openbox package. Then you log out, and select "openbox" under sessions and log back in. your openbox session should give you a nice empty screen, right click (hmm, you may want the menu package installed too).
By the way, Openbox is, in my oppinion, a much handier window manager than metacity; I reccomend tryng it out in your for your regular gnom sessions ('openbox --replace &' in a command window).
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.