great fps with wine

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
skeptisk
Peon
Peon
Posts: 20
Joined: Wed Sep 07, 2005 9:06 pm
Location: la su?de

great fps with wine

Post by skeptisk » Mon Sep 19, 2005 5:59 pm

I had the windows version of tmw installed already and while running ubuntu I thought that I might as well try it with wine.

much to my surprise I got about about 120 fps running the windows version through wine in ubuntu compared to about 80 with native linux version in ubuntu.

anyone got an idea why it is so?
anyone care to replicate it?
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Mon Sep 19, 2005 6:11 pm

Hmm I could try it when I'll have some spare time, I don't have (and never used) wine on my ubuntu box.
User avatar
maci
Warrior
Warrior
Posts: 507
Joined: Sun Dec 05, 2004 9:01 pm
Location: Germany
Contact:

Post by maci » Mon Sep 19, 2005 6:15 pm

i tired once in wine.. but that was version 0.0.9 ... i had same speed as native
ElvenProgrammer wrote:Maci: don't be rude, we're here to help people ;)
Matt
Knight
Knight
Posts: 1746
Joined: Sat Aug 07, 2004 11:47 am
Location: Germany->Bavaria

Post by Matt » Mon Sep 19, 2005 7:02 pm

Maybe you're using the OpenGL Mode in the nativ version and in wine software only.
skeptisk
Peon
Peon
Posts: 20
Joined: Wed Sep 07, 2005 9:06 pm
Location: la su?de

Post by skeptisk » Mon Sep 19, 2005 7:04 pm

both are standard versions. win32 one from download page and linux-version from repo.

don't think opengl is enabled in any of them. (chechbox is greyed out in both)

in win32 I get roughly 80 fps with native client.
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » Mon Sep 19, 2005 11:34 pm

It's remarkable that the Windows version would run smoother on Linux than the native Linux version. It'd be good to look into why this happens, and to get more benchmarks like this.

You can enable/disable OpenGL by setting "opengl" to 1 or 0 in your config.xml. In the CVS version it is now possible to use the OpenGL checkbox in the setup screen. On Linux you'll have to remember to pass --with-opengl to configure to build in OpenGL support. I think we'll have this as default from 0.0.17, then you could still do --without-opengl for disableing it.
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: Wed Sep 08, 2004 8:48 pm
Location: Espoo, Finland

Post by Rotonen » Tue Sep 20, 2005 1:19 am

I had better performance with wine back in 0.0.9: it was better than either native w32 or linux.
This message used to be meaningful.
User avatar
Dayne
Peon
Peon
Posts: 33
Joined: Mon Sep 19, 2005 7:42 pm
Location: Anime world ^^
Contact:

Post by Dayne » Mon Sep 26, 2005 7:43 pm

........
I love u Matt lol.
User avatar
Kineticstorm
Novice
Novice
Posts: 172
Joined: Tue May 03, 2005 3:19 am
Location: USA, Florida

Post by Kineticstorm » Mon Sep 26, 2005 7:46 pm

Dayne wrote:........
That is pure SPAM!
And so is this... :twisted:
I love you too. :)
Status: Image
skeptisk
Peon
Peon
Posts: 20
Joined: Wed Sep 07, 2005 9:06 pm
Location: la su?de

oh my

Post by skeptisk » Mon Sep 26, 2005 9:47 pm

I switched to the 686-optimized kernel and now I got about ~150fps with wine.

and ~75-80fps in native client.

is there some kind of frame rate limiter that gets broken in wine?

or is this just a freak of nature?
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: Wed Sep 08, 2004 8:48 pm
Location: Espoo, Finland

Post by Rotonen » Tue Sep 27, 2005 1:28 am

It's been the same for quite a while so I guess that we're looking at something as logical as the Rutherford experiment reflected on the macroscopic world.. :roll:
This message used to be meaningful.
Post Reply