Welcome to the Linux Foundation Forum!

Why games of Linux runs slower than Windows

Options
seyed
seyed Posts: 4

Why games of Linux runs slower than Windows?

I have a good Nvidia graphic card with latest driver (256.2) installed.

Every thing is good but, why games on linux is slower than windows?

Savage for example, i installed it on win and Ubuntu and Linux version is slower than Windows version.:huh:

Comments

  • mfillpot
    mfillpot Posts: 2,177
    Options
    In my experiences whenever I have run a native Linux game client both the frame rates and network communications have been better than on the equal windows client. The reason for this is generally because your Linux system has better memory handling and utilizes multiple network algorithms to optimize your bandwidth usage.

    The game(s) you are running may have been built utilizing older graphics libraries that lack some capabilities, which is my guess why they are slower for you. In those cases that has nothing to do with the OS, it is a problem with the game itself.

    As for the graphics driver, currently (10/24/10) the latest nvidia driver is 260.19.12, which has improved benchmarks compared to the 256.2 driver. However ubuntu is not yet distributing the latest driver, if you want to use the latest driver you will have to build it on your system manually.
  • seyed
    seyed Posts: 4
    Options
    Not... see here: http://www.phoronix.com/scan.php?page=article&item=linux_windows_part3&num=1
    It is a Mac OS X 10.6.3 vs. Windows 7 vs. Ubuntu 10.04 benchmark test.
  • mfillpot
    mfillpot Posts: 2,177
    Options
    Good quoting of the experiences of others, but again as I said in my experience Linux outperforms windows for the few games I play. This could be because I am using an optimized slackware installation rather than ubuntu as you and phoronix had used.

    If you are truly concerned about the differences then I recommend that you consider contributing to the X11 development community and working towards narrowing the gap that you see.
  • beansoup
    Options
    mfillpot is correct, after i put ubuntu on my HP Mini, i was able to run more things at once, and faster too. Truth is, linux has beter mem. handling and uses less resources.

    happy hacking,
    Payton

    [img size=150]<a href="http://www.linux.com/community/profile?userid=24110"><img src="http://www.linux.com/community/profile/badge?userid=24110&quot; border="0" /></a>[/img]
  • gomer
    gomer Posts: 158
    Options
    Seyed. That was an interesint link. It's odd that when they tested Ubuntu, they never tested it with an nvidia vhip, just the Intel chip. That seems rather unfair.

    That aside, They only tested Ubuntu, and not any other Linux distribution ... To be fair (and I like Ubuntu), Ubuntu is bloated. Did they turn off compiz before they ran the game? How may other processes were running?

    A better test would have been to include an Ubunut machine with an nvidia chip, and then to include maybe 2 ot 3 other ditributions with the same hardware combinations.

    Also, something that was not taken into consideration (and I'm not really gamer, so I'm unfamiliar with the games on the list) but what libraries wee being used by those games? What I mean, is that sometimes, game developers who port their games to Linux do so as an after thought, and don't give much thought to the tools that they are using. Perhaps their games were linked against older, less efficient libraries. Maybe they included thier own instead of using "standards".

    As mfillpot has already stated, my own experience has bene that things run faster and smoother under Linux than under other OSes.

    Here's an idea ... let's bench mark some originaly Linux software that has been ported to toher OSes, too. How well does the Gimp run under windows as compared to Linux, for example?
  • seyed
    seyed Posts: 4
    Options
    payton,
    Of course, generally true. I have same experience. http://www.tuxradar.com/content/benchmarked-ubuntu-vs-vista-vs-windows-7
    But the 3D games is a special program with special requirements.
    As i said before, same games on Windows runs much faster than Linux. I'm researching on the reasons.
    Can anyone help me?:unsure:
  • seyed
    seyed Posts: 4
    Options
    Adam,
    It's odd that when they tested Ubuntu, they never tested it with an nvidia vhip, just the Intel chip. That seems rather unfair.
    You are wrong... All three OSes has been tested on NVidia chip! Although Windows does not tested on Intel chip.
    Please see it again.
    That aside, They only tested Ubuntu, and not any other Linux distribution
    Yes, which distro is better for game?
    Did they turn off compiz before they ran the game?
    Therefore running Compiz in same time as game running is a bad point. Isn't it?
    But you now that Windows has Aero. Some body say that Windows disable it automatically on running games.
    Linux must prepare itself for running game too.
    How may other processes were running?
    I am not agree with you. OS must be optimize process scheduling and resource allocating automatically as needs.
    and I'm not really gamer, so I'm unfamiliar with the games on the list
    All games on the list is known as Linux game. So that you can download it from repository. All games of the list is open source and implemented with OpenGL.
    As mfillpot has already stated, my own experience has bene that things run faster and smoother under Linux than under other OSes.
    As i earlier said, Games are special programs with special needs.

Categories

Upcoming Training