Skip to content

_v2-entry-point: use the relaunch container option by default

Ludovico de Nittis requested to merge wip/relaunch_by_default into master

The relaunch container option allows us to correctly handle the final environment variables from the main program, because we don't know them in advance, when we create the container for the setup steps.

The downside is a potentially increased startup time.

Until we enable this by default it would be very difficult to estimate the real impact that this option could have on real world systems.


This will help steam-runtime-tools#42 (closed) and greatly simplify steam-runtime-tools#22 (closed)

I did a few testing on my machine and with the relaunch option disabled, the startup time for a game that uses Proton 5.13 ranges from 8.06 to 8.55 seconds. Instead, with the relaunch option enabled, the same game startup ranged from 9.12 to 9.70 seconds. Of course less powerful devices, like laptops, might see a more prominent impact.

Merge request reports