Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
first of all sorry if my english isn't perfect.
I'm having some problems running games in madrake 10. I'm playing ut2004 and while in the game and while my i can hear my hard drive is working (so i've noticed), playing stops responding for a fraction of a second. This is a problem that i've noticed in some windows versions too, on some other machines i had before, but it really shouldn't happen on my intel pentium 4 2.8 512mb ram and geforce 4 mx 440, all settings ...lowest. On windows on my curent machine all runs fine. Could you help me with this ?
If I've correctly understood your problem: you have a sort of "lag" when you play... and it happens when your hear your hard disk working.
I think that there's no reason for your hard disk to work? But what about your memory usage? when you log in and main services are started, how many free memory have you???
Because, I think that your PC do a lot of swap when you play bec' you don't have enough memory... and so these access probably slow the game
You're right about my memory. I actually noticed this problem some while ago and it's kinda strange. Right now i have 240mb used application memory, 80 buffered, 120 cached, and the rest, 90mb is free memory, which is pretty low. In windows i had 300mb free all the time. Also swap memory is totally free at the moment. What do you think is wrong? And could really memory be the problem for the "lag" ?
I really wouldn't like to upgrade my ram right now...
I don't think you need to upgrade your memory As a proof, I have 256Mb SDRAM and a video card based on the same chipset than yours and I can play Counter1.5 under Linux with no lags...
But I have a very light distro: I use LFS with an Xserver (eats a lot of memory ) and a XFCE4 as a window manager which is very light... Moreover when I play games, I have to close some applications like mozilla which also eats a lot of RAM.
I've never tested Mandrake10, but I suppose that it has a very nice graphical interface with KDE3+Qt3 and maybe some GTK widget...
So a solution to know if it comes from memory (which may be under optimised), when you want to run UT2004, run your X server with a ligth window manager (fwm should be perfect) and close all your graphical applications... Then run UT2004...
Quote:
And could really memory be the problem for the "lag" ?
Yes it can, but it can come from another thing like OS scheduling, processor, network, video card....??? But I don't think it comes from OS scheduling or processor as Mandrake10 uses kernel2.6 which seems to have greatly improved scheduling policy, and you have a very good proc... So maybe video card config??? How many FPS have you when you run glxgears?
Hope this help you
here's a part of glxgears. i don't know if their good or not.
4744 frames in 5.0 seconds = 948.800 FPS
5358 frames in 5.0 seconds = 1071.600 FPS
5574 frames in 5.0 seconds = 1114.800 FPS
5339 frames in 5.0 seconds = 1067.800 FPS
5470 frames in 5.0 seconds = 1094.000 FPS
4903 frames in 5.0 seconds = 980.600 FPS
Surfing the web i found out that really my actuallty used phisycal ram is buffered+cached memory, so that leaves me with over 300mb of free memory. So memory is apparently not my problem. I noticed though that closing all programs, makes unreal tournament behave real nice, no lag. It's true that when i had the lag i had some programs opened like dc++ opera and gaim which seem to affect behavior in games.
Anyway thanks for all the help
To know your mounted drives i.e. drives in use, cat /proc/mounts (or have a look at /etc/fstab)...
Also, it seems that your video card is not "super" configured... cause with the same card I remember that I have around 2000 FPS... What I can do to help you is to post my X server config when I'll be at home...
Oliv'
also other then downloading and installing the nvidia drivers i have done nothing else to configure my video card. the thing that bothers me is that it does work in windows so it should work in linux too.
I'll be waiting for you're x configuration.
10x
Here is my config for my video card in /etc/X11/XF86config-4:
Code:
Section "Device"
# Insert Clocks lines here if appropriate
#ChipSet "GeForce4 MX 440 with AGP8X"
Identifier "GeForce4"
Driver "nvidia"
VideoRam 65536
Option "NoLogo" "1"
Option "RenderAccel" "1"
EndSection
Note that I've only put the interesting part And I made a mistake in the previous post, in facy I'm around 1500-1600 FPS with this config...
About your hard drive are you sure that hdd is your hard drive, because in general hard drive are hda or hdb and hdc or hdd are for DVD/CD-ROM... What does your /etc/fstab contains ??? Cause according to this:
I think that your config can be improve with the RenderAccel option. This is what this option exactly does according to the NVIDIA-README:
Quote:
Enable or disable hardware acceleration of the RENDER
extension. THIS OPTION IS EXPERIMENTAL. ENABLE IT AT YOUR
OWN RISK. There is no correctness test suite for the RENDER
extension so NVIDIA can not verify that RENDER acceleration works
correctly. Default: hardwareacceleration of the RENDER extension is disabled.
You can also add the videoRAM option, but I don't think this will improve your video performance...
Else everything seems to be OK
did that but no real improvement. Still there must be something wrong beacuse when i close all programs it runs very smooth... I don't know..
Anyway thanks for the help. I'm not a gamer anyway i'm just annoyed by the fact that it works perfect in windows..
Have you restart your Xserver before testing? And to see if there's relly a difference, retry glxgears utility
And don't worry, if you have correctly configured windws... it will obviously better work with windws cause with Linux you need to run windows game thanks to an emulator which eats a lot of system resources...
Also what you can do with your system is to patch your kernel with the low latency patch (unless you still run 2.6kernel)... you can find it here
This patch will improve your system responsivity
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.