Too slow in wine

 
Post new topic   Reply to topic    The Spirit Engine Forum Index // TSE-2 Feedback and Support
View previous topic :: View next topic  
Author Message
clray
Human


Joined: 12 Sep 2008
Posts: 5

PostPosted: Fri Sep 12, 2008 7:52 pm    Post subject: Too slow in wine Reply with quote
I just checked out the TSE2 demo on Linux/wine 1.1.4 on a 2.8 GHz P4 with 1GB RAM, GeForce4 MX 440 AGP. It seems more stable than TSE1 (which crashes every so often after combat), but sadly, all combat scenes run like slide shows (TSE1 runs very smoothly). Switching off all graphics effects that could be switched off didn't help. Can the performance be improved somehow or is there no hope without hardware upgrade?
Back to top
View user's profile Send private message ICQ Number
Mark Pay
Site Admin


Joined: 09 Aug 2006
Posts: 623
Location: Margate, UK

PostPosted: Fri Sep 12, 2008 10:13 pm    Post subject: Reply with quote
Hi clray. Unfortunately I don't know enough about the emulation process to know what might be causing the slowdown, and subsequently whether anything can be done to fix it. The game was developed on a similar spec machine, but in native Windows XP.

There are two potential software improvements that I may be able to include in future versions.
Clickteam, who make the Multimedia Fusion 2 software that the game is built upon, have both a Java runtime and a proper, graphics hardware accelerated version of the main runtime in late beta.
Unfortunately there is no indication when these may see a final ( hopefully stable ) release. Sad
Back to top
View user's profile Send private message Send e-mail ICQ Number
clray
Human


Joined: 12 Sep 2008
Posts: 5

PostPosted: Sun Sep 14, 2008 12:39 am    Post subject: Reply with quote
Mark, thanks for the quick reply.

I managed today to nail down this awful performance to the routine DrawTextExA, which is used to render all text in the game. Once I replaced it with a null-op in wine source code, everything started running smoothly. All text also completely disappeared, which is a minor flaw in this surgical strike... Wink

Anyway, as it stands, I am hopeful that it can be fixed soon, either by myself or by wine developers.
Back to top
View user's profile Send private message ICQ Number
Mark Pay
Site Admin


Joined: 09 Aug 2006
Posts: 623
Location: Margate, UK

PostPosted: Sun Sep 14, 2008 9:43 am    Post subject: Reply with quote
That's great that you've been able to debug the issue with the wine source. Very Happy
I'm not aware of there being anything unusual about the text rendering in the game. It should be in the Arial font too, without fancy frills like anti-alisasing.

I'd like the game to be runnable under wine, so please let me know if there's anything I can do to help you. Any fix for this issue would presumably help other games developed in MMF2 as well.
Back to top
View user's profile Send private message Send e-mail ICQ Number
clray
Human


Joined: 12 Sep 2008
Posts: 5

PostPosted: Sun Sep 14, 2008 3:40 pm    Post subject: Reply with quote
More on it here: http://bugs.winehq.org/show_bug.cgi?id=13801

I'm afraid the fix might not be as easy as I originally imagined.
Back to top
View user's profile Send private message ICQ Number
Mark Pay
Site Admin


Joined: 09 Aug 2006
Posts: 623
Location: Margate, UK

PostPosted: Mon Sep 15, 2008 9:35 am    Post subject: Reply with quote
The collaborative process for open-source projects is very interesting.
Instinctively the idea of letting that many cooks into the kitchen sounds crazy, but evidently it works, and works quite well. Smile

Thanks for looking into this issue. If it turns out that a fix is not possible, I can at least let other wine users know of the problem.
Back to top
View user's profile Send private message Send e-mail ICQ Number
clray
Human


Joined: 12 Sep 2008
Posts: 5

PostPosted: Sat Sep 20, 2008 2:36 pm    Post subject: Reply with quote
I've debugged it further and found a rather easy workaround in the process. Switching the video driver from nvidia to fbdev gives acceptable performance.
Back to top
View user's profile Send private message ICQ Number
Mark Pay
Site Admin


Joined: 09 Aug 2006
Posts: 623
Location: Margate, UK

PostPosted: Sun Sep 21, 2008 6:31 pm    Post subject: Reply with quote
That's good news, thanks clray.
Back to top
View user's profile Send private message Send e-mail ICQ Number
Post new topic   Reply to topic    The Spirit Engine Forum Index // TSE-2 Feedback and Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

alexisBlue v1.2 // Theme Created By: Andrew Charron // Icons in Part By: Travis Carden
Powered by phpBB © 2001, 2002 phpBB Group