Bug#1123731: wesnoth-1.18: autopkgtest fails with sdl2-compat

Simon McVittie smcv at debian.org
Sat Dec 20 16:32:00 GMT 2025


On Sat, 20 Dec 2025 at 16:21:58 +0000, Simon McVittie wrote:
>A workaround that I have confirmed does work is to run the test with
>SDL_VIDEODRIVER="offscreen" (or "dummy" or "offscreen,dummy"), so in the
>short term please consider applying the attached patch.

Sorry, this was insufficiently tested. SDL_VIDEODRIVER=offscreen or 
SDL_VIDEODRIVER=dummy does work, but SDL_VIDEODRIVER=offscreen,dummy 
does not. Fixed patch attached.

>Or perhaps wesnoth could call SDL_SetHint(SDL_HINT_VIDEODRIVER, "offscreen")
>(or "dummy", or "offscreen,dummy") when invoked with --nogui or equivalent?

Similarly this would have to choose either offscreen or dummy, it cannot 
easily try both.

     smcv


More information about the Pkg-games-devel mailing list