Advertisement

Does games go slower on Linux?

Started by August 28, 2004 10:17 PM
16 comments, last by LucidIon 20 years, 3 months ago
Quote: Original post by j0seph
I have GeForce 2 GTS, not one of the superb types nowadays. Nevertheless, I've had no particular problems with it. I'm currently downloading nvidia drivers for linux. I hope it'll help.


I will help *alot*, just make sure you read the README file before you try installing them.

Quote:
PS: What are those glxgears and where can I get them?


Open up a console and type "glxgears". It is a small app for testing your openGL perfomance, and should be installed when you install your drivers. You should probably expect ~1000 FPS in windowed mode with your card
I've finally succeeded in installing nvidia drivers. I came through countless troubles, but with help of a "readme" file I did it:)
When I run glxgears now, it gives fps around 6000-7000. It was no more than 800 before. I tried TuxRacer now and it was pretty more playable than it was before. I performed installation on mandrake linux just for a testing. Now I'm about to install it on gentoo.

If I have any problems I'll know where to turn to:)

So long...
Advertisement
If you encounter any problems, you should read the Gentoo NVIDIA-guide.
Problems with Windows? Reboot! - Problems with Linux? Be root!
If you have a recent Nvidia card, you should download thier drivers and then the NWN linux binary (it's also on the CD). Native stuff is alwasy going to be faster.

Cheers,

Bob

[size="3"]Halfway down the trail to Hell...
NWN now runs fine, but only at 800x600. 1024x768 causes some problems, so the game is unplayable. What currently annoys me is the refresh rate of my monitor at 1024/768. I think that I should conigure XFree*.conf file int /etc/X11 (or alike) but don't know how.
Quote: Original post by j0seph
NWN now runs fine, but only at 800x600. 1024x768 causes some problems, so the game is unplayable. What currently annoys me is the refresh rate of my monitor at 1024/768. I think that I should conigure XFree*.conf file int /etc/X11 (or alike) but don't know how.


The device part of the xfree config file (v4/x.org) is really easy to understand. You have sections which define devices (graphics card, monitor, input devices...) and then everything is put together by referring to components defined earlier.

Look for Section "Monitor", it should list both the horizontal refresh rate (in kHz), and the vertical refresh rate (in Hz).

e.g. for my monitor:
Section "Monitor"    Identifier  "Hitachi CM812U"    HorizSync   31-107    VertRefresh 50-160EndSection


You can then scroll down to the Screen section which will associate the monitor with a graphics card and a series of display modes (resolution, color depth) to make up a screen, and further down to the Server Layout section which puts together a number of screens (as well as input devices) into your final configuration.

And the config file is commented, so it's relatively easy to figure things out anyway.

[Edited by - Fruny on September 3, 2004 4:27:16 PM]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Advertisement
Quote:
Look for Section "Monitor", it should list both the horizontal refresh rate (in kHz), and the vertical refresh rate (in Hz).


This is what I don't understand: a horizontal refresh rate and a vertical one. So you mean, giving the rage for these two will enable setting to higher refresh rate in Xwindow? Or do I have to set "1024x768" line in a particular way? Sorry for being so noobish!
XWindows - unless told otherwise - chooses the 'best' ie., biggest mode you have available. I believe it also chooses the highest refresh rate available in this mode. Hence altering the numbers to the correct ones for your monitor (try your monitor's manual or google). On newish monitors (last few or more years) I think it can autodetect, so you may find it beneficial simply to remove the refresh rate lines and let X figure it out. Obviously you should make a backup before editing any config file.
-- Jonathan

This topic is closed to new replies.

Advertisement