VOGONS

Common searches


First post, by folavo

User metadata
Rank Newbie
Rank
Newbie

I have a laptop with a AMD 1000mhz with 256 RAM and dosbox is too slow to play almost any game! Is this normal ? Will the newer version of Dosbox be faster ?

I have another problem running games... I can't get the sound to work on Linux!
If I try to play a game with sound, it crashes with a "Unable to initialize SoundDriver". How do I configure Dosbox sound in linux ?

Please Help!

Reply 1 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

be sure to have mttr support in your kernel and a fairly new version of X

then press ctrl-f12 to speed dosbox up. once you hit the roof use ctrl-f8 to skip frames so you can speed dosbox even more up.

But that mttr support is really important. as at my place X was using most of the cpu time instead of dosbox.

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 5, by folavo

User metadata
Rank Newbie
Rank
Newbie

mttr support ???? what is that ?

I'm sorry but i really dont know what that is

I can configure and recompile my kernel but i would like a bit more information of what mttr support is please

If I dont know what it is, I dont even know where to find the option to enable it in my kernel 😜

Last edited by folavo on 2003-10-11, 22:35. Edited 1 time in total.

Reply 3 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

you might allready have it though. I just "forgot" to enable it on my kernel

it's in cpu options page the one where you can specify athon or pentium 1

it's some sort of memory mapping and register support.
it makes the video memory (of vidcard) better accesable to X

quote from kernel :

" On Intel P6 family processors (Pentium Pro, Pentium II and later) │
│ the Memory Type Range Registers (MTRRs) may be used to control │
│ processor access to memory ranges. This is most useful if you have │
│ a video (VGA) card on a PCI or AGP bus. Enabling write-combining │
│ allows bus write transfers to be combined into a larger transfer │
│ before bursting over the PCI/AGP bus. This can increase performance │
│ of image write operations 2.5 times or more. Saying Y here creates a │
│ /proc/mtrr file which may be used to manipulate your processor's │
│ MTRRs. Typically the X server should use this.
"
But just look at dmesg output for mtrr

my one :
qbix@Het-Beest:~$ dmesg | grep mtrr
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 5, by folavo

User metadata
Rank Newbie
Rank
Newbie

Well, I checked with "dmesg | grep mtrr" and I got this:

mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel

Looks like its ON... the only thing that is a bit strange is that i do not have Intel! I have an AMD Athlon ! Does this make a difference ?

Reply 5 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I've got an athlon as well 😀

The problem with X is that it takes many resources.
I'm glad X and nvidia are good friends.

as a tip to decrease the cpu usage of x :

create a configfile and set keepsmall=true (reduces X by factor 4)

decrease colordepth of X to 16 bit. (it seemed to help me for another 10 %)

run game fullscreen. (alt-enter)

look in the XFree86.0.log for any strangeness about your videocard
especially
(WW) are evil .

Water flows down the stream
How to ask questions the smart way!