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: 07 Sep 2005, 21:06
Location: la su?de

great fps with wine

Post by skeptisk » 19 Sep 2005, 17:59

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: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 19 Sep 2005, 18:11

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: 05 Dec 2004, 21:01
Location: Germany
Contact:

Post by maci » 19 Sep 2005, 18:15

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: 07 Aug 2004, 11:47
Location: Germany->Bavaria

Post by Matt » 19 Sep 2005, 19:02

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

Post by skeptisk » 19 Sep 2005, 19:04

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: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 19 Sep 2005, 23:34

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: 08 Sep 2004, 20:48
Location: Espoo, Finland

Post by Rotonen » 20 Sep 2005, 01:19

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: 19 Sep 2005, 19:42
Location: Anime world ^^
Contact:

Post by Dayne » 26 Sep 2005, 19:43

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

Post by Kineticstorm » 26 Sep 2005, 19:46

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

oh my

Post by skeptisk » 26 Sep 2005, 21:47

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: 08 Sep 2004, 20:48
Location: Espoo, Finland

Post by Rotonen » 27 Sep 2005, 01:28

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