RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Differences between dosbox, lr-dosbox and dosbox-sdl2?

    Scheduled Pinned Locked Moved General Discussion and Gaming
    dosboxlr-dosboxdifferences
    23 Posts 5 Posters 6.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mediamogulM
      mediamogul Global Moderator @niculinux
      last edited by mediamogul

      @niculinux said in Differences between dosbox, lr-dosbox and dosbox-sdl2?:

      Hey sorry, i modified the title in the first post because - always in reteopie 4.4 - dosbox got a second experimental reteopie package, dosbox-sdl2 . So what's goes on with it?

      No problem. Someone else may be able to answer this question more thoroughly, but the two options are most likely for compatibility reasons. To my understanding, SDL updates have always been somewhat problematic and making multiple packages to accommodate is sometimes necessary. Anecdotally, I currently use the non-experimental version with dozens of games and haven't noticed any issues.

      Edit: Conversely, it could also be that there were issues in the past that have since been resolved and the more current SDL2 is being tested as a result.

      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @mediamogul
        last edited by BuZz

        @mediamogul some info here about sdl2 version

        https://github.com/RetroPie/RetroPie-Setup/commit/4751c259ec0088e4bac93ef9c166d427bbd35a42

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 1
        • mediamogulM
          mediamogul Global Moderator
          last edited by

          Very nice to see screen tearing reduced. I might test it later this evening with 'Mortal Kombat Trilogy', as all of the advantages and potential disadvantages would be immediately apparent there.

          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

          BuZzB 1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @mediamogul
            last edited by

            @mediamogul there should be no screen tearing on dosbox with the dispmanx sdl1 backend enabled also.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            mediamogulM 1 Reply Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @BuZz
              last edited by

              @buzz said in Differences between dosbox, lr-dosbox and dosbox-sdl2?:

              there should be no screen tearing on dosbox with the dispmanx sdl1 backend enabled also.

              I've never found that to be the case myself, even under default settings. In the link you posted, @psyke83 claims that "Graphical tearing no longer appears to be present (or is greatly reduced)". Having just tested it myself, that does indeed appear to be the case. Previously, I haven't been able to have much fun with 'Mortal Kombat Trilogy' because the tearing was so distracting, but it looks fantastic with SDL2.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @mediamogul
                last edited by

                @mediamogul and you enabled the dispmanx backend? It's not enabled by default for dosbox afair. It didn't have tearing when I was testing the sdl1 dispmanx code.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                mediamogulM 1 Reply Last reply Reply Quote 0
                • mediamogulM
                  mediamogul Global Moderator @BuZz
                  last edited by

                  @buzz said in Differences between dosbox, lr-dosbox and dosbox-sdl2?:

                  and you enabled the dispmanx backend?

                  I did, yes. It could just be a discrepancy with my particular setup.

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  1 Reply Last reply Reply Quote 0
                  • edmaul69E
                    edmaul69 @BobHarris
                    last edited by

                    @bobharris @mediamogul what i did was in the mapper, map joystick 1 button 1 to “Y”, joystick 1 button 2 to “X”, joystick 2 button 1 to “B”, joystick 2 button 2 to “A” and mapped the players directions to the left and right analog sticks. Then in the dosbox conf file i set my joystick as a 4 button 4 axis joystick . That way both players controls get set as a 1 player joystick with 4 buttons and two analog sticks. No need for me to change any configs that way.

                    mediamogulM 2 Replies Last reply Reply Quote 1
                    • mediamogulM
                      mediamogul Global Moderator @edmaul69
                      last edited by

                      @edmaul69

                      Nice. It's been a while since I set up my main config, but I seem to remember doing the same thing to get four buttons. If memory serves, I believe that ability was first put in place specifically for the Gravis gamepad, which was the only PC controller to have four buttons for many years. Looking at all the options available now, we've really come a long way.

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      1 Reply Last reply Reply Quote 0
                      • mediamogulM
                        mediamogul Global Moderator @edmaul69
                        last edited by mediamogul

                        @BuZz

                        I uninstalled and reinstalled DOSBox with the dispmanx SDL1 backend and it corrected my issue with screen tearing.

                        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        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.