launch-options: More options for SDL
-
launch-options: Set SDL_VIDEO_DRIVER as well as SDL_VIDEODRIVER
SDL 2 uses SDL_VIDEODRIVER, SDL 3 prefers SDL_VIDEO_DRIVER. Having individual control over the two libraries doesn't seem worth the extra space taken up in the UI, so set both from the same combo box.
-
launch-options: Allow control over SDL dynamic API overrides
By default, we will use a bundled copy of SDL 2 or SDL 3 if a game happens to provide one: for example, Hitman (2016) has a bundled copy of SDL 2.0.5, and Dota 2 has a bundled copy of some intermediate version between 3.1.6 and 3.1.8 at the time of writing. When using pressure-vessel, we can override that with the Steam Runtime's newer, presumably-better version (steamrt/tasks#578).
For SDL 2, in runtime versions that contain sdl2-compat as a non-default version, we can do the same to replace classic SDL 2 with sdl2-compat (steamrt/tasks#579).
Expose this in steam-runtime-launch-options to make it more discoverable and easier to test.
-
launch-options: Set DEBUG_INVOCATION=1 if extra debug is requested
systemd sets this variable for units with
RestartMode=debug
if a previous attempt at starting the unit failed, and projects like GLib and pressure-vessel are starting to use it as a general-purpose opt-in to extra debug information. I suggested in https://github.com/libsdl-org/SDL/issues/12275 that SDL could maybe do the same.
Merge request reports
Activity
added Diagnostic tools Enhancement To Test labels
assigned to @smcv
removed To Test label
mentioned in commit 22f91863