VOGONS


First post, by nikoladd

User metadata
Rank Newbie
Rank
Newbie

I'm having a very strange problem with dosbox(0.63). I've searched quite alot for a solution on this and never found one.

I'm having a middle range PC AthlonXP 2100+ 768DDR@333 ATI Radeon9200. Running tunned win2003 as desktop OS. My sistem is pretty fast for anything but high end 3D games.

DOSBox did run pretty well with this system for quite a while at 15000cycles it took no more than 75% cpu(according to sysinternals ProcessExplorer).

I haven't used it in some time and suddenly it crawls so slow that even at 200cycles it takes full 100% CPU.

My suspicion is that either some of my development frameworks(Delphi,NetBeans) or VMWare is messing it up. I had this same problem a year ago before I reinstalled my OS. Now I know for sure that neither MSVC nor .NET framewok are responsible as I don't have MSVC anymore and .NET is installed with clean w2003.

It works so slow that it seems like some vital library used by DosBox has been replaced with debug version.

I've also tried "Graphics performance boost" patch and while there was a very slight improvement it didn't help at all with my problem.
I've also tried disabling every service that could possibly interfere.

It must be something very general as sound and video options have virtually no effect when changed in wide ranges.

I have attached a screenshot of Processexplorer showing dlls and their verions that DOSBox uses on my system. Can anyone please check with his well running sustem what versions are there.

Any help would be greatly appreciated.

Reply 1 of 16, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

I'm not at home right now, so I unfortunately can't do that comparison... Please post your dosbox.conf though - maybe that'll help.

Reply 2 of 16, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Look if other processes are drawing CPU time, I've had a riot virus scanner. After updating it (4 months old 😉 its CPU usage went back to 0-1% and the stuttering was gone.

Reply 3 of 16, by nikoladd

User metadata
Rank Newbie
Rank
Newbie

as I said my system is pretty tuned. Few services are running at all.

Here's a list of processes and as you can see CPU is 99-100% idle.

generally dosbox.conf is the default one and I use D_Fend to get to my games. I've tested with many different configuration with no sound and scalling and such.

This slowness exists even on my old 0.61 dosbox in text mode.

No antivirus software/firewall is constantly running on my PC as I'm behind a firewall.

Reply 4 of 16, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

What output= setting are you using, and are you using the SDL.DLL from 0.63 or one from somewhere else?

Reply 5 of 16, by nikoladd

User metadata
Rank Newbie
Rank
Newbie

it's the SDL.dll shipping with 0.63

I generally use overlay/normal2x scale. have tried scale=none and other methods too.

These same settings and dosbox installation did work pretty well on this same system a few months ago.

I don't think it's wrong configuration at all.

Reply 7 of 16, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Well, it's not 2003 since I use 2003 often and have never had this problem with DosBox. (At least not the default install of 2003 with no extra components installed).

Just saying that in case someone asks why your running DosBox on 2003......

How To Ask Questions The Smart Way
Make your games work offline

Reply 8 of 16, by nikoladd

User metadata
Rank Newbie
Rank
Newbie
Qbix wrote:

how about a reboot.

Very funny 😀

As I said:
- I've tried about 20 configurations of dosbox with version 0.61 and 0.63.
- I've disabled all windows services that could be disabled without killing the system.
- I've rebooted tens of times including after I disabled services.
- It did run very well on this very same machine/os several months ago

My only feasible though is that some other software is interfering.
Another possiblity is that USB devices might be interfering(hid.dll).

All other programs run pretty well.

Reply 9 of 16, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Analog joystick?

Reply 10 of 16, by nikoladd

User metadata
Rank Newbie
Rank
Newbie

YES THAT WAS IT 😊

Uninstalled the joystick driver and DOSBox works like charm now.
I don't use the joystick usually but installed it in the summer to check a game.

So analog joystick can make SDL mad.

I think that's something that should be mentioned somewhere as many people might have analog joysticks to play their old games.

Reply 13 of 16, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie
nikoladd wrote:

No antivirus software/firewall is constantly running on my PC as I'm behind a firewall.

This may be off-topic, but you should be running antivirus software at all times. A firewall doesn't address the same security problems as an antivirus program, they have different (although sometimes overlapping) goals and enemies.

Reply 14 of 16, by HunterZ

User metadata
Rank l33t++
Rank
l33t++
nikoladd wrote:
YES THAT WAS IT :blush: […]
Show full quote

YES THAT WAS IT 😊

Uninstalled the joystick driver and DOSBox works like charm now.
I don't use the joystick usually but installed it in the summer to check a game.

So analog joystick can make SDL mad.

I think that's something that should be mentioned somewhere as many people might have analog joysticks to play their old games.

Doh! I've got to remember this one.

I saw somebody talking about an SDL patch recently that lowers the joystick polling rate... Maybe Qbix would be interested in using such a patch when he builds his SDL.dll for the next release version.

Reply 15 of 16, by lt.cyx

User metadata
Rank Newbie
Rank
Newbie

I was going nuts about this, with 0.65. Same problem, CPU utilization was very close to 100% at the DOSBox command prompt, even with 'cycles' as low as 1000 (on my 3.0GHz Prescott P4). The message about the analog stick gave me insight: Everything was fine until I unplugged my Dual Shock (which was connected to a Parallel Port adaptor). Plugged it back on and everything went back to normal.
Maybe this topic should have something like "100% CPU" on its title, it'd help future reference.