# DosBox performance issues

**URL:** <https://forum.clockworkpi.com/t/dosbox-performance-issues/3262>\
**Category:** GameShell\
**Tags:** dos\
**Created:** [March 20, 2019, 10:31pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262 "2019-03-20T22:31:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 20, 2019, 10:31pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/1 "2019-03-20T22:31:44Z")

</div>

Hi, I played a bit with my gameshell lately and I love it! But, I have some issues with DosBox. Most games such as Doom, Heretic, Hexen works great with Chocolate-Doom and such but some smaller releases like Nitemare 3D or the Catacomb series are extremely slow or glitchy despite being smaller games than Doom 2 for example.

In short, everything played with the Chocolate engine work great but as soon as I have to use DosBox directly it sucks. Is there other peoples out there that have the same issues? Is there a “special” version of DosBox to use or is the one installed through “sudo apt-get”, the only version to use?

Sorry for my english.  
Thanks

---

<div class="post-metadata">

**Author:** ![riverscn](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/riverscn/32/1558_2.png) [@riverscn](https://forum.clockworkpi.com/u/riverscn)\
**Post date:** [March 21, 2019, 7:33am UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/2 "2019-03-21T07:33:32Z")

</div>

you should try dosbox-sdl2

---

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 21, 2019, 12:08pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/3 "2019-03-21T12:08:03Z")

</div>

Hi, thanks for your answer.  
Do I need to compile it manually or is there a repo?

---

<div class="post-metadata">

**Author:** ![CarlosMari](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/carlosmari/32/1459_2.png) [@CarlosMari](https://forum.clockworkpi.com/u/CarlosMari)\
**Post date:** [March 21, 2019, 1:42pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/4 "2019-03-21T13:42:10Z")

</div>

hi there -

Chocolate Doom is a source port and runs natively on the CPI

DosBox is an emulator, so Doom (for DOS) “runs” on a virtual x86 CPU. This will always be (a lot) slower than native code - especially in a little box like CPI, with frugal RAM and CPU speed.

I would say running DosBox in CPI is possible… but other than for bragging rights, it might be more trouble than it’s worth.

---

<div class="post-metadata">

**Author:** ![riverscn](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/riverscn/32/1558_2.png) [@riverscn](https://forum.clockworkpi.com/u/riverscn)\
**Post date:** [March 21, 2019, 2:51pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/5 "2019-03-21T14:51:37Z")

</div>

compile it.  
dosbox-sdl2 runs smoothly on Raspberry Pi 3, so it should do on GameShell.

---

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 21, 2019, 11:00pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/6 "2019-03-21T23:00:41Z")

</div>

I have compiled dosbox-sdl2 an hour ago, I will post my experience in the next few days after I try some more games with it.

---

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 23, 2019, 12:16am UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/7 "2019-03-23T00:16:17Z")

</div>

Ok so I tried some games on dosbox-sdl2  
The results are a bit sad but some games are running better with it.

Rise of the Triad: Almost no improvement, playable but slooooow.  
Star Wars Dark Forces: Lucky if I get 10 FPS  
Catacomb 3D, Catacomb Abyss: Way better  
Nitemare 3D: Still glitchy but very playable  
Blood: Unplayable  
Blake Stone: Slow  
Corridor 7: Slow

So I believe that there is some slight improvement but nothing too crazy.

---

<div class="post-metadata">

**Author:** ![atomsk](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/atomsk/32/2122_2.png) [@atomsk](https://forum.clockworkpi.com/u/atomsk)\
**Post date:** [March 23, 2019, 5:23pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/8 "2019-03-23T17:23:28Z")

</div>

i was planning to try dosbox with GS today …guess i wont since most games are running slow 🙂

---

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 25, 2019, 3:48pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/9 "2019-03-25T15:48:37Z")

</div>

You should try it. Many games works but there will be lots of disappointment.  
More people trying means more chances to find solutions…

---

<div class="post-metadata">

**Author:** ![atomsk](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/atomsk/32/2122_2.png) [@atomsk](https://forum.clockworkpi.com/u/atomsk)\
**Post date:** [March 25, 2019, 6:45pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/10 "2019-03-25T18:45:30Z")

</div>

Do we have a list of games that work flawlessly ? I kinda need the incentive in order to spend the time with this.

---

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 25, 2019, 6:58pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/11 "2019-03-25T18:58:23Z")

</div>

There are some like Nitemare 3D, Catacomb 3D, Terror of the Catacomb, Wolfenstein 3D…  
But you sill have to experiment yourself.

---

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 30, 2019, 7:44pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/12 "2019-03-30T19:44:08Z")

</div>

DOSBOX SVN seems to be more stable for games like Rise of The Triad or SW Dark Forces but I can’t compile it. I always get errors. Also, there is a dosbox\_svn\_libretro.so but I can’t reconfigure the mapping and it does not seems to use the RetroArch mapping at all.

Is there a way to force a .so core to use the mapping from another source?  
ex.I have mapping for dosbox-sdl2 and I want the dosbox\_svn\_libretro.so to use it

Or does someone still have the working version of dosbox\_svn\_libretro.so referenced in the post below:

> [@RetroArch Megathread](https://forum.clockworkpi.com/t/retroarch-megathread/716/88):
>
> it’s v4l2 (lowercase L not 1)

---

<div class="post-metadata">

**Author:** ![aifreedom](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/aifreedom/32/2119_2.png) [@aifreedom](https://forum.clockworkpi.com/u/aifreedom)\
**Post date:** [March 31, 2019, 3:11am UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/13 "2019-03-31T03:11:52Z")

</div>

I’ve been using the DOSBOX core in RetroArch without a problem after upgrading to OS v0.3 and using Lima GPU driver.

---

<div class="post-metadata">

**Author:** ![fr500](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fr500/32/389_2.png) [@fr500](https://forum.clockworkpi.com/u/fr500)\
**Post date:** [March 31, 2019, 3:26am UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/14 "2019-03-31T03:26:10Z")

</div>

DOSBox-SVN does use RetroArch mapping.  
I made the core.

---

<div class="post-metadata">

**Author:** ![riverscn](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/riverscn/32/1558_2.png) [@riverscn](https://forum.clockworkpi.com/u/riverscn)\
**Post date:** [March 31, 2019, 10:29am UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/15 "2019-03-31T10:29:55Z")

</div>

do you use os 0.3 and lima driver?

---

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 31, 2019, 2:08pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/16 "2019-03-31T14:08:59Z")

</div>

Can you share your core, I might be using another source because here I have no controls at all.  
And yes I am on OS v0.3, and I tried Lima.

---

<div class="post-metadata">

**Author:** ![fr500](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fr500/32/389_2.png) [@fr500](https://forum.clockworkpi.com/u/fr500)\
**Post date:** [March 31, 2019, 2:47pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/17 "2019-03-31T14:47:46Z")

</div>

I haven’t built one for CPI.

---

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 31, 2019, 2:56pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/19 "2019-03-31T14:56:57Z")

</div>

Can you share a link to your source then so I can try to compile it?  
Also there was a link, in another post, pointing to the core but the link is down, do you still have the file? ![ref](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/clockworkpi/original/2X/2/292c406e5958f4e44eb25831fd9c01091366996f.jpeg)

---

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 31, 2019, 3:26pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/20 "2019-03-31T15:26:34Z")

</div>

Which core are you using?  
Would you be willing to try Rise of The Triad and Star Wars Dark Forces and report how it went?

---

<div class="post-metadata">

**Author:** ![Lix](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/lix/32/3394_2.png) [@Lix](https://forum.clockworkpi.com/u/Lix)\
**Post date:** [March 31, 2019, 3:48pm UTC](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262/21 "2019-03-31T15:48:26Z")

</div>

I found your source on Github, I will try to compile it.

UPDATE: Compiling went smoothly. Ill try it and report back.

[Next page](https://forum.clockworkpi.com/t/dosbox-performance-issues/3262.md?page=2)
