Answered Plainly
Display: Text size:

DOSBox Output: OpenGL vs Surface vs Overlay — In Plain Words

Short answer: The output setting picks how DOSBox draws the picture on your screen, and the choice decides what else can work. surface — the default — is the plain software drawing, and the DOSBox Wiki states its limit in one sentence: surface does not support scaling or aspect correction. If your window is stuck small, or the picture is stretched, switch to openglnb (sharp pixels) or opengl (smoothed pixels): both hand the drawing to your graphics card, which is what makes window sizes, full-screen scaling, and aspect correction possible at all.

Honest labels, up front. Every claim on this page is a documented starting point copied from the public sources in the Sources box — the Wiki’s definitions, the manual’s troubleshooting answers, and named guides printed with their authors attached. None of these settings has been tested by playing a game for this page: the DisBox settings collection this page belongs to holds 0 settings verified by actual play.

Settings like these are gathered in the DisBox collection. DisBox OS — the system being built to run games with settings like these — is in the works; its interface comes first, so there is no finished OS to download yet.

The five values, one by one

The DOSBox Wiki’s configuration reference lists exactly five choices for output in DOSBox 0.74 — surface, overlay, opengl, openglnb, and ddraw — with surface as the default. In plain words:

Which one should you pick first?

One honest caution that follows from the sources themselves: which output misbehaves is machine-dependent — the manual’s Windows 10 note exists precisely because the hardware outputs interact with your system’s scaling in ways surface never does. If one hardware output gives you trouble, the documented move is to try another one, not to conclude the game is broken.

The one-minute version: surface = no scaling, no aspect correction (the Wiki’s words). Small or stretched picture → openglnb for sharp pixels or opengl for smooth ones, with aspect=true. Pixel-perfect 1:1 → overlay with aspect=false and scaler=none.

Sources

DOSBox Wiki — “Configuration:SDL” — the five output values, surface as the default, the sentence “Surface does not support scaling or aspect correction,” and the fullresolution / windowresolution entries limiting scaling to outputs other than surface. https://www.dosbox.com/wiki/Configuration:SDL

DOSBox (dosbox.com) — “DOSBox v0.74-3 Manual” — the fullscreen answers: change fullscreen or press Alt+Enter; “play with the options: fullresolution, output and aspect”; and the “fullscreen is too large” answer naming the ddraw / opengl / openglnb / overlay outputs and the Windows high-DPI override fix. https://www.dosbox.com/DOSBoxManual.html

Dedoimedo — “How to use DOSBox on HD/UHD displays” (updated April 5, 2024) — the big-screen recipe output=openglnb, scaler=normal3x, aspect=true, and openglnb explained as OpenGL with no bilinear filtering, keeping pixels sharp. http://www.dedoimedo.com/games/reviving/dosbox-hd-screens.html

GOG.com forum — “How to increase DOSBox graphics quality” — the pixel-perfect recipe (fullresolution=0x0, output=overlay, aspect=false, scaler=none) and what it costs in picture size. https://www.gog.com/forum/general/how_to_increase_dosbox_graphics_quality/post7

DOSBox-X project — reference configuration file — openglnb glossed as “OpenGL nearest”; a different DOSBox build’s documentation, used only for that one-word gloss. https://raw.githubusercontent.com/joncampbell123/dosbox-x/master/dosbox-x.reference.full.conf

Checked November 7, 2026

Related guides: DOSBox Sound Stuttering, DOSBox-X vs DOSBox, Jazz Jackrabbit DOSBox Config, King's Quest in DOSBox and Master of Orion II Sound Crackles in DOSBox.