veloren/Airshipper

Add method to select veloren wgpu backend through airshipper

Imberflur opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Sometimes Voxygen users will need to manually select a wgpu backend. E.g. when there are issues with the one selected by default. An example of this: https://gitlab.com/veloren/veloren/-/issues/1167

Describe the solution you'd like
An user interface in airshipper for selecting the wgpu backend for voxygen (which can be communicated via WGPU_BACKEND)

Describe alternatives you've considered

  • Have this as a voxygen setting with a popup on the first launch (wouldn't be helpful in the case of the linked example if just on the first launch) and/or also having it be configurable via settings ingame (so you launch with the manual env var set once). Could also have an alternative env var for the wgpu backend that is auto-persisted into the voxygen settings when set.

  • Allowing defining and saving arbitrary env vars to launch voxygen with via airshipper.