Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]Set GPU via VKDeviceChooser #1201

Open
SaltSouls opened this issue Dec 20, 2024 · 2 comments
Open

[Feature Request]Set GPU via VKDeviceChooser #1201

SaltSouls opened this issue Dec 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@SaltSouls
Copy link

System Information

  • SteamTinkerLaunch version: v12.12
  • Distribution: hyprland

Feature Description

It would be nice to add the option to select which GPU you wanted the game to use using VKDeviceChooser. Right now I have to set it manually in all games using the launch options, but if it were a setting that could be toggled in STL, then I could have it apply across all games, ensuring that they all run well and on the correct GPU.

@SaltSouls SaltSouls added the enhancement New feature or request label Dec 20, 2024
@sonic2kk
Copy link
Owner

sonic2kk commented Dec 20, 2024

This sounds useful. Can you list the command-line option for how to do this so we can see what env var we need to export?

Also, v12.12 is extremely out-of-date, almost two years out of date. Please use the latest master branch commit.

@SaltSouls
Copy link
Author

SaltSouls commented Dec 25, 2024

This sounds useful. Can you list the command-line option for how to do this so we can see what env var we need to export?

Also, v12.12 is extremely out-of-date, almost two years out of date. Please use the latest master branch commit.

Sorry about the late reply. The holidays are busy as hell. The commands are as such:
ENABLE_DEVICE_CHOOSER_LAYER=1 VULKAN_DEVICE_INDEX=1
I should note that the device index is a per PC thing, and will start at 0. Not sure if there would be a way to bring up the GPU based on the index and just let people pick the GPU from a drop down menu or something, but at least having these options will make things much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants