Limiting memory for MM9
Limiting memory for MM9
Greetings,
Might & Magic IX had even problems on my old Win98SE, except if i were
running special Nvidia drivers. So i wasn't surprised that i had similar
problems on wine.
Now, with nvidia-drivers 180.42, i have made a new try on wine 1.1.17
and it seems to run fine. But there is a problem.
Switching from the game to e.g. inventory using the key i takes a very
long time, about 50 seconds. Because this has to be done often this is
quite annoying.
The reason for this long time might be, that mm9 thinks, that there is
not enough memory. Look at this screenshot from the setup.
http://www.triffids.de/pub/screenshot/setup.jpg (73 KB)
mm9 wants at least 64KB und finds only 2 GB. *g*
So, is there a way, wine can fake a reasonable amount of memory seen by mm9?
Hartmut
Might & Magic IX had even problems on my old Win98SE, except if i were
running special Nvidia drivers. So i wasn't surprised that i had similar
problems on wine.
Now, with nvidia-drivers 180.42, i have made a new try on wine 1.1.17
and it seems to run fine. But there is a problem.
Switching from the game to e.g. inventory using the key i takes a very
long time, about 50 seconds. Because this has to be done often this is
quite annoying.
The reason for this long time might be, that mm9 thinks, that there is
not enough memory. Look at this screenshot from the setup.
http://www.triffids.de/pub/screenshot/setup.jpg (73 KB)
mm9 wants at least 64KB und finds only 2 GB. *g*
So, is there a way, wine can fake a reasonable amount of memory seen by mm9?
Hartmut
Re: Limiting memory for MM9
I think you have misdiagnosed the problem, the issue you see in the setup is most likely unrelated. There is no reason to assume nvidia is the problem either.Hartmut Figge wrote:Greetings,
Might & Magic IX had even problems on my old Win98SE, except if i were
running special Nvidia drivers. So i wasn't surprised that i had similar
problems on wine.
Now, with nvidia-drivers 180.42, i have made a new try on wine 1.1.17
and it seems to run fine. But there is a problem.
Switching from the game to e.g. inventory using the key i takes a very
long time, about 50 seconds. Because this has to be done often this is
quite annoying.
The reason for this long time might be, that mm9 thinks, that there is
not enough memory. Look at this screenshot from the setup.
http://www.triffids.de/pub/screenshot/setup.jpg (73 KB)
mm9 wants at least 64KB und finds only 2 GB. *g*
So, is there a way, wine can fake a reasonable amount of memory seen by mm9?
Hartmut
If the inventory delay is also accompanied by high cpu, you should use oprofile to see where the time is being spent to find out what the real cause of the problem is. Compile wine with debugging symbols and check the oprofile website for examples.
Limiting memory for MM9
On Thu, 2009-03-26 at 17:08 -0500, jeffz wrote:
[snippage]
Linux terminal window and run 'top' in it.
Top shows the busiest processes in the machine with the most busy at the
top of the list. Once that's running you start MM9 as usual. Keep an eye
on top's display while MM9 runs and during the long pause 'top' should
show you what's responsible.
Martin
[snippage]
Another way to see what might be hogging CPU is simply to start anotherIf the inventory delay is also accompanied by high cpu, you should use
oprofile to see where the time is being spent to find out what the
real cause of the problem is. Compile wine with debugging symbols
and check the oprofile website for examples.
Linux terminal window and run 'top' in it.
Top shows the busiest processes in the machine with the most busy at the
top of the list. Once that's running you start MM9 as usual. Keep an eye
on top's display while MM9 runs and during the long pause 'top' should
show you what's responsible.
Martin
Limiting memory for MM9
Martin Gregorie:
related screenshots.
First for comparison one for the load on a running mm8, without delays.
http://www.triffids.de/pub/screenshot/m ... g_load.png (71 KB)
Next one of the start of mm9
http://www.triffids.de/pub/screenshot/mm9_running.jpg (124 KB)
for which the load is
http://www.triffids.de/pub/screenshot/m ... g_load.png (76 KB)
By the way, running mm9 shows no problems so far besides the one with
switching from the gameplay to a game menu.
Now to the switching. This time with esc to the main menu. Taken with
import from a xterm on workspace 6, visiting workspace 2 with the
running htop and then workspace 1 withe the running mm9.
http://www.triffids.de/pub/screenshot/mm9_switching.jpg (177 KB)
Hm, i should have taken a .png for this instead of a .jpg.
No sign of mm9 is shown. Instead part of workspace 2 appears in the
window of mm9.
The load during the switching:
http://www.triffids.de/pub/screenshot/m ... g_load.png (76 KB)
And finally the result of the switching:
http://www.triffids.de/pub/screenshot/m ... tching.jpg (179 KB)
Using this menu is quick. No delays. Until i click on 'Spiele Laden'
which means 'Load Game'.
This takes the aforementioned 50 seconds. But, after starting mm9, the
first 'Load Games' was quick. Hm.
Hartmut
I find that htop shows more information and i was just taking someAnother way to see what might be hogging CPU is simply to start another
Linux terminal window and run 'top' in it.
related screenshots.
First for comparison one for the load on a running mm8, without delays.
http://www.triffids.de/pub/screenshot/m ... g_load.png (71 KB)
Next one of the start of mm9
http://www.triffids.de/pub/screenshot/mm9_running.jpg (124 KB)
for which the load is
http://www.triffids.de/pub/screenshot/m ... g_load.png (76 KB)
By the way, running mm9 shows no problems so far besides the one with
switching from the gameplay to a game menu.
Now to the switching. This time with esc to the main menu. Taken with
import from a xterm on workspace 6, visiting workspace 2 with the
running htop and then workspace 1 withe the running mm9.
http://www.triffids.de/pub/screenshot/mm9_switching.jpg (177 KB)
Hm, i should have taken a .png for this instead of a .jpg.
No sign of mm9 is shown. Instead part of workspace 2 appears in the
window of mm9.
The load during the switching:
http://www.triffids.de/pub/screenshot/m ... g_load.png (76 KB)
And finally the result of the switching:
http://www.triffids.de/pub/screenshot/m ... tching.jpg (179 KB)
Using this menu is quick. No delays. Until i click on 'Spiele Laden'
which means 'Load Game'.
This takes the aforementioned 50 seconds. But, after starting mm9, the
first 'Load Games' was quick. Hm.
Hartmut
Limiting memory for MM9
Hartmut Figge:
http://telp.org/mm9/tavern/anyboard/posts/39819.html
Hartmut
Here is the solution.This takes the aforementioned 50 seconds. But, after starting mm9, the
first 'Load Games' was quick. Hm.
http://telp.org/mm9/tavern/anyboard/posts/39819.html
Hartmut
Limiting memory for MM9
On Fri, 2009-03-27 at 00:37 +0100, Hartmut Figge wrote:
htop. It would be useful to see a more detailed breakdown of CPU, Memory
and Swap usage - top shows the detail rather than summarising 16
measurements as four bar graphs. It would be nice to know how much, if
any, of the CPU is being used by the system as opposed to one lithtech
thread.
Other questions:
- did you notice much disk activity while the switch was happening?
- how fast are your CPUs?
Martin
Nonetheless, can you do it again, please, this time with top rather thanMartin Gregorie:
I find that htop shows more information and i was just taking someAnother way to see what might be hogging CPU is simply to start another
Linux terminal window and run 'top' in it.
related screenshots.
htop. It would be useful to see a more detailed breakdown of CPU, Memory
and Swap usage - top shows the detail rather than summarising 16
measurements as four bar graphs. It would be nice to know how much, if
any, of the CPU is being used by the system as opposed to one lithtech
thread.
Other questions:
- did you notice much disk activity while the switch was happening?
- how fast are your CPUs?
Martin
Limiting memory for MM9
Martin Gregorie:
http://telp.org/mm9/tavern/anyboard/posts/39819.html shows the reason
for the delays und offers also a patch for mm9.
By the way, i wanted to thank the author, wrote a comment and was banned
from the forum. Seems that i should not have cited some of the message. *g*
http://www.triffids.de/pub/screenshot/telp.jpg (232 KB)
But citing is essential when replying. So i copied part of the message,
formated it, put '>' on the right places, wrote my answer, also nicely
formated - but the result seems to be an ugly mess. Puh.
I'm used to newsgroups and not to forums. *g*
stepping : 11
cpu MHz : 2667.000
cache size : 4096 KB
MemTotal: 3633756 kB
Hartmut
On Fri, 2009-03-27 at 00:37 +0100, Hartmut Figge wrote:
Is it still necessary?Nonetheless, can you do it again, please, this time with top rather thanI find that htop shows more information and i was just taking some
related screenshots.
htop. It would be useful to see a more detailed breakdown of CPU, Memory
and Swap usage - top shows the detail rather than summarising 16
measurements as four bar graphs.
http://telp.org/mm9/tavern/anyboard/posts/39819.html shows the reason
for the delays und offers also a patch for mm9.
By the way, i wanted to thank the author, wrote a comment and was banned
from the forum. Seems that i should not have cited some of the message. *g*
http://www.triffids.de/pub/screenshot/telp.jpg (232 KB)
But citing is essential when replying. So i copied part of the message,
formated it, put '>' on the right places, wrote my answer, also nicely
formated - but the result seems to be an ugly mess. Puh.
I'm used to newsgroups and not to forums. *g*
No. It seems to be an issue between DirectX 9 and DirectX 7.Other questions:
- did you notice much disk activity while the switch was happening?
model name : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz- how fast are your CPUs?
stepping : 11
cpu MHz : 2667.000
cache size : 4096 KB
MemTotal: 3633756 kB
Hartmut
-
- Level 4
- Posts: 194
- Joined: Thu Jun 12, 2008 12:40 pm
Do you still have the delay issues? I wrote this test for MM9: http://appdb.winehq.org/objectManager.p ... n&iId=7586, and in my case the game runs almost flawlessly. If you followed the same guidelines, I would be curious to see what goes wrong with your game.
Limiting memory for MM9
Das Letzte Einhorn:
pointed to the solution at
http://telp.org/mm9/tavern/anyboard/posts/39819.html
For the 1.3 patch, i couldn't find one and am assuming, that i run the
german 1.2 according to liesmich.txt. I can not the see the version of
the game in the game itself.
Now mm9 is running fine except of some crashes, not reproducible but
often occuring when entering a new region. I haven't copied the related
message in the xterm, but it was something like this:
Xlib: async error with unexpected value
That was with mm9 set for Windows XP. Now i have changed the setting to
Windows 98 and no crash so far. But on the other hand, this change was
not long ago. Time will show.
Hartmut
After i finally had looked into the AppDB i had found your message whichDo you still have the delay issues? I wrote this test for MM9:
http://appdb.winehq.org/objectManager.p ... n&iId=7586,
and in my case the game runs almost flawlessly. If you followed the
same guidelines, I would be curious to see what goes wrong with your
game.
pointed to the solution at
http://telp.org/mm9/tavern/anyboard/posts/39819.html
For the 1.3 patch, i couldn't find one and am assuming, that i run the
german 1.2 according to liesmich.txt. I can not the see the version of
the game in the game itself.
Now mm9 is running fine except of some crashes, not reproducible but
often occuring when entering a new region. I haven't copied the related
message in the xterm, but it was something like this:
Xlib: async error with unexpected value
That was with mm9 set for Windows XP. Now i have changed the setting to
Windows 98 and no crash so far. But on the other hand, this change was
not long ago. Time will show.

Hartmut
Limiting memory for MM9
Hartmut Figge:
| Xlib: unexpected async reply (sequence 0x439)!
Occurred after the 4-th pressing of F9 to reload a quicksaved game. If
you wish to inspect some bones and your character is getting ill, well,
F9 exists. *g*
As i have seen just now wine 1.1.18 is out. I expect an ebuild for my
Gentoo tomorrow. Perhaps ...
Hartmut
And so it was.Now i have changed the setting to Windows 98 and no crash so far. But
on the other hand, this change was not long ago. Time will show.![]()
| Xlib: unexpected async reply (sequence 0x439)!
Occurred after the 4-th pressing of F9 to reload a quicksaved game. If
you wish to inspect some bones and your character is getting ill, well,
F9 exists. *g*
As i have seen just now wine 1.1.18 is out. I expect an ebuild for my
Gentoo tomorrow. Perhaps ...
Hartmut
-
- Level 4
- Posts: 194
- Joined: Thu Jun 12, 2008 12:40 pm
The game has very poor coding unfortunately, so I really recommend getting the 1.3 patch to remove as many issues from the game as possible. I do not know however if the patch will respect your localized language version: http://telp.org/mm9/patches/patches.html. Even with the patch the game still freezes occasionally, so I recommend saving as often as you can, with different files.
Limiting memory for MM9
Das Letzte Einhorn:
applied. Some files were modified and some were skipped.
Of course i have a backup. *g*
often and occasionally a real save.
Thanks for the link.
Hartmut
Sounds reasonable.The game has very poor coding unfortunately, so I really recommend
getting the 1.3 patch to remove as many issues from the game as
possible.
First i had to copy mm9german.exe to mm9.exe before the patch could beI do not know however if the patch will respect your
localized language version: http://telp.org/mm9/patches/patches.html.
applied. Some files were modified and some were skipped.
Of course i have a backup. *g*
Yes, that's what i have done already in the past. Using F5 for quicksaveEven with the patch the game still freezes occasionally, so I
recommend saving as often as you can, with different files.
often and occasionally a real save.
Thanks for the link.
Hartmut