Differences between dosbox, lr-dosbox and dosbox-sdl2?
-
@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.
-
@mediamogul some info here about sdl2 version
https://github.com/RetroPie/RetroPie-Setup/commit/4751c259ec0088e4bac93ef9c166d427bbd35a42
-
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.
-
@mediamogul there should be no screen tearing on dosbox with the dispmanx sdl1 backend enabled also.
-
@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.
-
@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.
-
@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.
-
@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.
-
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.
-
I uninstalled and reinstalled DOSBox with the dispmanx SDL1 backend and it corrected my issue with screen tearing.
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.