VOGONS


First post, by Tritonio

User metadata
Rank Newbie
Rank
Newbie

Hello everyone. Is there a way to figure out why dynamic mode does not get enabled in my DOSBox? I have never seen "Dynamic" in the window title bar on my laptop like I used to see in the past.

Dosbox version 0.74-4.3

Here is my config: https://pastebin.com/e2SHkBfi

CPU info: https://pastebin.com/mVSJA5vs

uname -a: Linux myhostname 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I'm using DOSBox from the repos on Linux Mint MATE 19.1.

Using kernel module i915 for my Intel graphics.

Example of win3.11 running without dynamic core like they used to in the past: https://imgur.com/xmcaDrM

I use ALSA if it matters. Sound works fine.

Here is the console output if I run dosbox from a console:

DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /home/rad/.dosbox/dosbox-0.74.conf
ALSA:Can't subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none
ALSA lib pcm.c:8306:(snd_pcm_recover) underrun occurred

Thank you!

Reply 1 of 6, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

Core type doesn't get shown in the app title bar.
If you just enter "core" at the command prompt what is the response?

Reply 2 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You probably don't have a dynamic core. Typing "core dynamic" in Dosbox might reveal that. Reason is that you are using Dosbox 0.74 and its dynamic core was not compatible with 64bit, so the package manager might have patched that out. See if you can get Dosbox 0.74-2 running which has better 64bit support (I think jmarsh here played a role in that, too 😉)

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 3 of 6, by Tritonio

User metadata
Rank Newbie
Rank
Newbie
jmarsh wrote:

Core type doesn't get shown in the app title bar.
If you just enter "core" at the command prompt what is the response?

Really? I remember that in the past (maybe in 0.73?) when it actually switched to dynamic core, the cycles did not show up and I couldn't increase or decrease the speed of the execution. So I assumed that since now I can see the cycles and even decrease/increase them, then dynamic is not really on.

"core" returned "auto" but it seems I can make it return dynamic as well: https://imgur.com/fCQyjkP

Dominus wrote:

You probably don't have a dynamic core. Typing "core dynamic" in Dosbox might reveal that. Reason is that you are using Dosbox 0.74 and its dynamic core was not compatible with 64bit, so the package manager might have patched that out. See if you can get Dosbox 0.74-2 running which has better 64bit support (I think jmarsh here played a role in that, too 😉)

Please see the screenshot above. It seems like core can be set to dynamic. But did the title bar behavior and the ability to change cycles change in the 0.74 version?

Perhaps I can try 0.74-2 but I need to figure out where to get compatible deb. The debian package suggested in the download page seems to be dosbox_0.74-4.2+deb9u1_amd64.deb which seems to be the same version that I have now. Otherwise I'll have to build it from source.

Reply 4 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You might be misremembering the cycles and core stuff. Cycles were always adjustable and that was not impacted by the core.
And yes, best look for where you can grab Dosbox 0.74-2. I'd even suggest grab the SVN and build it yourself. It's rather trivial on Linux to do this

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 5 of 6, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

If "core" returns dynamic then it's definitely using the dynamic core.
To confirm you could try running something like pcpbench, first with "core normal" then again after "core dynamic" and see what the difference in speed is.

Not sure if debian has updated their package but last I checked, their 64-bit build was out-of-date and the dynamic core liked to crash (misaligned stack causes segfaults for some fpu ops) so finding a newer build (or using their 32-bit package instead) might be a good idea.

Reply 6 of 6, by Tritonio

User metadata
Rank Newbie
Rank
Newbie

Hmm you are right. I am using dynamic core. Just typing core dynamic and core normal before start some of Phil's benchmarks made a huge difference. I also found out that opengl and openglnb is the fastest on my machine.

Thank you very much for the help.