DOSBox Output: OpenGL vs Surface vs Overlay — In Plain Words
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:
surface— DOSBox draws the picture itself, in software, at the game’s own size. Simplest and most compatible, but the Wiki is explicit: it does not support scaling or aspect correction. That one limit explains the two most common complaints — a tiny window on a big monitor, and a picture stretched wide — because both fixes (scaling the window up, correcting the shape) are exactly what surface cannot do. The Wiki says the same thing from the other side in its resolution entries:windowresolutionandfullresolutionscale the picture only “IF the output device supports hardware scaling (i.e. any output other than surface).”opengl— your graphics card draws the picture, with smoothing (bilinear filtering) applied as it stretches. The picture can scale to any window or full-screen size and aspect correction works; fine detail looks softer.openglnb— the same graphics-card drawing with no bilinear filtering (the “nb”), so pixels stay sharp and blocky, the way they looked on a period monitor. The DOSBox-X project’s reference file names it “OpenGL nearest” — nearest-neighbour scaling, no blending. A widely read HD-display guide picks exactly this value for big modern screens:output=openglnbwithscaler=normal3xandaspect=true, so the pixels stay “pixely” instead of blurred.overlay— an older hardware-scaling path. It scales like the OpenGL options, and one GOG forum setup uses it for a special purpose: pixel-perfect 1:1 display, withoutput=overlay,aspect=false, andscaler=none, so each game pixel lands as exactly one screen pixel (at the cost of a small picture on a modern monitor).ddraw— DirectDraw, the old Windows drawing path. Mostly of historical interest on current Windows, but it appears in the manual’s troubleshooting (below), where it behaves like the other hardware outputs.
Which one should you pick first?
- Window too small, or picture stretched: leave
surface— it cannot fix either. Go toopenglnbfirst (sharp) oropengl(smooth); setaspect=truefor the shape. - You want the picture exactly as the game drew it, pixel for pixel: the GOG forum’s
overlay+aspect=false+scaler=nonerecipe above is the documented route — accepting the small picture that comes with it. - Full screen looks wrong: the DOSBox manual’s own fullscreen answer tells you to “play with the options:
fullresolution,outputandaspect” — output is one of the three levers, and it only becomes a lever once it is a hardware output. - Full screen is too large on Windows 10: the manual names this one directly — with display scaling above 100%, Windows resizes the screen on top of DOSBox’s own resizing for the
ddraw,opengl,openglnb, andoverlayoutputs, and the fix is the “Override high DPI scaling behaviour” compatibility setting on the DOSBox shortcut, set to “Application”. Note this is a hardware-output quirk: it is the price of the scaling those outputs give you.
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.