Profiling WINE (Game)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ernesto
Newbie
Newbie
Posts: 4
Joined: Sat Jun 05, 2010 9:42 pm

Profiling WINE (Game)

Post by ernesto »

Hello,

I have a game which runs almost perfectly (Europa Universalis III), there's just one problem: when you click a province to open the dialog, there is a noticeable delay. Since it's a specific problem to diagnose, I'm hoping it'll be as simple as running a profiler to see which WINE function(s) the game calls to complete this task, and hopefully fix the problem function.

Am I badly deluded? I know I can't probably profile the game itself, but I'm hoping I can profile the WINE calls it makes.

If i'm not deluded, how would I go about this? Are there instructions someplace?
John Drescher

Profiling WINE (Game)

Post by John Drescher »

On Sat, Jun 5, 2010 at 10:52 PM, ernesto <[email protected]> wrote:
Hello,

I have a game which runs almost perfectly (Europa Universalis III), there's just one problem: when you click a province to open the dialog, there is a noticeable delay. Since it's a specific problem to diagnose, I'm hoping it'll be as simple as running a profiler to see which WINE function(s) the game calls to complete this task, and hopefully fix the problem function.

Am I badly deluded? I know I can't probably profile the game itself, but I'm hoping I can profile the WINE calls it makes.

If i'm not deluded, how would I go about this? Are there instructions someplace?
Try running it in a terminal and take a look at the fixme(s).

John
eps
Level 3
Level 3
Posts: 87
Joined: Tue Mar 18, 2008 11:44 pm

Profiling WINE (Game)

Post by eps »

On Sun, Jun 6, 2010 at 12:52 PM, ernesto <[email protected]> wrote:
If i'm not deluded, how would I go about this? Are there instructions someplace?
Apparently it is possible and some thing suggested for cases like
this. To the best of my knowledge there are no instructions though it
was implied you'd use a profiler the way you'd usually use one. I've
been planning to try it out on the TF2 connect to server delay but I
haven't had a free weekend yet to get up to speed. If you have any
luck write your method some where please.

I was pointed to this project by some one in #winehackers and it seems
like a good place to start. http://oprofile.sourceforge.net/news/
ernesto
Newbie
Newbie
Posts: 4
Joined: Sat Jun 05, 2010 9:42 pm

Re: Profiling WINE (Game)

Post by ernesto »

John Drescher wrote:On Sat, Jun 5, 2010 at 10:52 PM, ernesto <[email protected]> wrote:
Hello,

I have a game which runs almost perfectly (Europa Universalis III), there's just one problem: when you click a province to open the dialog, there is a noticeable delay. Since it's a specific problem to diagnose, I'm hoping it'll be as simple as running a profiler to see which WINE function(s) the game calls to complete this task, and hopefully fix the problem function.

Am I badly deluded? I know I can't probably profile the game itself, but I'm hoping I can profile the WINE calls it makes.

If i'm not deluded, how would I go about this? Are there instructions someplace?
Try running it in a terminal and take a look at the fixme(s).

John
Only a few fixmes at startup. None when trying to open the dialog.
Locked