[DOSBox] official thread
-
@ecto thanks again for testing further. Indeed MDK is a quite fantastic benchmark given it comes with a perf analysis tool (at the start and then in the Options/Settings menu). I've used extensively that game to test and measure performance. It's a CPU intensive game which doesn't run fullspeed even when using the "special" Staging branch. With it I'm able to get close to a P90 and even above as it's possible to add more cycles but then game won't be playable at all. Below my specific settings for that game (everything else is default/standard):
[dosbox] machine = svga_s3 [cpu] cycles = 100000
Feel free to report any further finding. Very helpful.
-
Dosbox Staging is now part of the Retropie Project!
Thanks to Retropie maintainers and to the "Staging" developers which are constantly improving the emulator as well as the community around it.
If you're unsure of which version of Dosbox to pick I'd say give each version a try starting with "SVN" (to have a basis for comparison). Then if you prefer the comfort of Retroarch then "Pure" and/or "Core" might be interesting for you. If you're looking for plenty of features and functionalities "X" is a good option. "Staging" is a bit a mix of everything with focus on gaming, code cleaning to modern standard and features like pixel-perfect, very accurate sound emulation (ie Gravis Ultrasound), etc.
Please feel free to test, report and do not hesitate to participate. We'll all benefit from the exchanges. This in order to (re)play some good oldies which - for some - haven't aged at all :-)
Also Dosbox Staging 0.77 (stable) has now been released. Please see the full changelog here.
-
@nemo93 awesome. Thanks to everyone and for merging it upstream.
For my set of games (for example: Dungeon Keeper, The Last Express)
dosbox-staging
is the right fit plus I did not have to redo all config as my configuration could be reused from thedosbox-svn
. (I had even to remove config switches and stick to the defaults of dosbox-staging as dosbox-staging performs much better on my build). -
@nemo93 said in [DOSbox] official thread:
Dosbox Staging is now part of the Retropie Project!
Thanks to Retropie maintainers and to the "Staging" developers which are constantly improving the emulator as well as the community around it.
If you're unsure of which version of Dosbox to pick I'd say give each version a try starting with "SVN" (to have a basis for comparison). Then if you prefer the comfort of Retroarch then "Pure" and/or "Core" might be interesting for you. If you're looking for plenty of features and functionalities "X" is a good option. "Staging" is a bit a mix of everything with focus on gaming, cleaning-up the code to modern standard and features like pixel-perfect and very accurate sound emulation (ie Gravis Ultrasound).
Please feel free to test, report and do not hesitate to participate. We'll all benefit from the exchanges. This in order to (re)play some good oldies which - for some - haven't aged at all :-)
Sounds great! Quick question on this...
Are these changes meant to take advantage of the Pi4 or will they be usable on a 3? Apparently the Pixel Perfect shader option is disabled in the Pi3 build because of performance.
I'm using a combo of Staging and -pure with very good results on a Pi3, but I do have that feeling that it's time to upgrade to a 4.
Thanks
JamR
-
Super!! Now if ever a gui would be implement i will drop dosbox pure at once!
See: https://github.com/dosbox-staging/dosbox-staging/issues/315
see also dobox-x for comparison:
https://github.com/joncampbell123/dosbox-x/issues/1847
or even better having a dosbox-x package on retropie would be paradise!!
-
@jamrom2 said:
Are these changes meant to take advantage of the Pi4 or will they be usable on a 3? Apparently the Pixel Perfect shader option is disabled in the Pi3 build because of performance.
They are usable on pi3 as well. For enabling shaders you'll need an "opengl" type as
output
. Also if you select ie.output = texturepp
you should get Pixel Perfect mode. Hopefully aarch64+kms will (soon?) provide extra performance improvement on pi4! -
@nemo93 Great news! Thanks...
I'm loving the -pure and Staging version. They are fantastic and run everything pre mid-90s I throw at it!
Obviously restricted on a Pi3, but hopeful a 3dVoodoo wrapper is eventually built in. Wishful thinking... lol.
-
All, over the past few weeks Dosbox Staging team has been busy adding more and more performance improvements to the code. To the point that I'm able to play any games I could think of, fullspeed. On a stock pi4/Retropie it's now possible to enjoy your DOS games in all their glory without running through complex setup or tweaks.
To give you an idea of such achievement, Quake is now running fullspeed (I need to get some accurate data but we're talking 30fps there and higher resolutions), same goes with Wing Commander 4, Destruction Derby's, Screamer's, Dark Forces, Crusader no Remorse/Regret, Duke3D, Blood or Doom/2. I consider removing the "ports" versions of those games from my pi.
It's quite exciting to be honest. Further improvements and features are still planned hence it's only the beginning :-) If you have some time to spare or in need to play a DOS gem at fullspeed, you'd better give it a try. I'm especially interested by any feedback for pi3. All you need is to get the latest master then make sure to set the following parameter in your
dosbox-staging.conf
:[sdl] ... vsync = true ... [cpu] cycles = auto ...
Should you not see this parameter in
dosbox-staging.conf
then you'll have to manually upgrade your config file by doing this... At the DOSBoxC:\>
prompt, run:config -wc
. Your existing settings will be retained however extraneous comments will be dropped.EDIT: I forgot to mention an extra cherry on top of the cake => it's now possible (even recommended) to rely on
cycles = auto
instead of a fixed count \o/ No more hassle in finding what value will work best. -
@nemo93 O_o
This is really stunning! I would never have guessed that there is so much potential in the Dosbox-staging code. So maybe I can now (finally) lay the old Dosbox to rest? I can't wait to try that.
What perfomance do you get with MDK now? -
@nemo93 Great news! I'm not all that versed in the updating of things outside of the Retropie script. I'd love to give you feedback for Pi3b+ performance.
I'm just now pulling down the latest "source" update listed on the Retropie script, I have already pulled down the Master file.
So... how do I update to the .78 version? Copy the files into my dosbox-staging folder?
Thanks!
JamR
Nevermind... I see it's already in the source build! Thanks for being quick to get it uploaded for updating!
-
@ecto @jamrom2 I forgot to mention in my post that
cycles = auto
is now fully working as it should and it's the recommended value! Less trouble and less fiddling with.conf
files.MDK is running great even on high resolution setting (not sure there's a big difference with the low res' though). Action is smooth all the time. Based on the internal performance tool from the setup screen, my pi4 is still close to a Pentium 90. Yet I'm not sure how this tool works and if it has trouble to get a precise value given the new "pacing" algorithm implemented to Staging. For sure the game is running much better and you won't get the "not enough CPU" message at the start. Feel free to test and report back if you have a chance.
Megarace 2 was a game barely playable before now it's totally enjoyable.
-
@nemo93
Hi, Thanks for help with Dosbox
In my dosbox-staging.conf 0.77
I have the following
core = dynamic
cputype = auto
cycles = 25000
cycleup = 10
cycledown = 20
So is it the line cycles = 25000 I just need to change to cycles = auto
I did try updating to 0.78 by installing via source but it fetched same version.
Many Thanks
Sim -
@simrose that's because 0.78 is not ready yet for general release. Sorry I should have been more cautious in my previous post. I was just willing to share the breakthrough and forgot to mention it's still in "beta" so to say. Therefore if you want to try that new version you'll have to fetch and compile the latest master by yourself (and then update your
dosbox-staging.conf
accordingly). If you're reluctant to do so or unsure then my recommendation would be for you to stick to 0.77. No ETA for when 0.78 will be ready but I'll update that thread for sure when it's there. -
@nemo93 Thanks for letting me know.
I did try on 0.77 Quake and it was running poorly compared to on ports. -
-
@nemo93 said in [DOSbox] official thread:
@simrose that's because 0.78 is not ready yet for general release. Sorry I should have been more cautious in my previous post. I was just willing to share the breakthrough and forgot to mention it's still in "beta" so to say. Therefore if you want to try that new version you'll have to fetch and compile the latest master by yourself (and then update your
dosbox-staging.conf
accordingly). If you're reluctant to do so or unsure then my recommendation would be for you to stick to 0.77. No ETA for when 0.78 will be ready but I'll update that thread for sure when it's there.I did the .77 to .78 update through Retropie it now shows .78 as well as the config file updated to the new options. Is that correct?
-
@jamrom2 how have you done the update please? You shouldn't be able to get 0.78 via Retropie setup script at the time being provided it's not stable (and not released). Please share some more details about your procedure.
If asked I could share a quick guide on how to get the latest master fetched and compiled (quite simple).
-
@nemo93 yes, please do. A write-up will help because now I have no idea what I truelu have loaded. According to what you just said, mine should not say .78 but it does!
All I did was update my setup script, went to DOSBox-Staging where it said there was an update available and I ran it. Nothing else.di now it shows .78 when I run the command prompt .sh script, where it used to show .77.
-
@jamrom2 here you go.
First backup your
dosbox-staging.conf
to prevent any troubles.- To be sure rename your
dosbox-staging.conf
todosbox-staging.bak
(located in configs/pc) - Log in to your Pi and edit the file:
$ sudo vi RetroPie-Setup/scriptmodules/emulators/dosbox-staging.sh
- Check for the line:
rp_module_repo="git https://github.com/dosbox-staging/dosbox-staging.git :_get_branch_dosbox-staging"
- Comment it out (the
#
character) and add the following line which should end up like this:
#rp_module_repo="git https://github.com/dosbox-staging/dosbox-staging.git :_get_branch_dosbox-staging" rp_module_repo="git https://github.com/dosbox-staging/dosbox-staging.git master"
- Run Retropie Setup:
$ sudo ./RetroPie-Setup/retropie_setup.sh
- Update the script then go to Experimental > Dosbox Staging
Install from Source
should say that there's a new version available. Hit Enter.- After completion of the process, a brand new
dosbox-staging.conf
has been generated. You should see new parameters likevsync
andvsync_skip
under the[sdl]
section. - If that's the case, you're good to go and only have to set your preferred values. For instance,
vsync = true
andcycles = auto
!
Hope this helps.
- To be sure rename your
-
@nemo93 said in [DOSbox] official thread:
sudo vi RetroPie-Setup/scriptmodules/emulators/dosbox-staging.sh
all done. For whatever reason, I didn't have to alter any files. Mine was fine the way it was... but I updated anyway, just in case.
I am running this on a Pi3b+ with really no tweaking to the .conf other than the vsync that you mentioned. I am NOT running any shaders becuase the Pi3 can't from what I understand. So having said that...
Well... WOW! Doom runs at lightening speed. It's very smooth and fast. Almost make me want to puke when I think back at how much money I spent on my PC just to get it to run that fast back in 1994...and now I am using a $35 RPi3b+... wtf...
I also ran the following with excellent results...
Armored Fist - all high settings- very fast with very little stutter as compared to previous DosBox versions.
Flight Simulator 4 and 5.1 . 5.1 is very taxing as it's texture based, but looks and flys very smooth. There is some sound issues when using the mouse, but I gather this is from pushing the CPU to the max.
Flying Corps - low resolution - again, very smooth. But nothing over low res. That's to be expected. It's a higher end graphics game from the late 90's.
Aces Over Europe - superb. Very little stuttering during combat. A good improvement over previous version.I'm very satisfied with all the results from what I tested. As you can see, I ran Flight and Combat style games as I think those really push the demands of the machine more.
Nice job and looking forward to more improvement.. and me getting a Pi4! LOL.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.