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

Show drop-down-list to select gpu in ImGui #536

Open
IAmNotHanni opened this issue May 18, 2023 · 0 comments
Open

Show drop-down-list to select gpu in ImGui #536

IAmNotHanni opened this issue May 18, 2023 · 0 comments
Labels
diff:first issue good first issue to start contributing feat:rendering rendering prio:low This has low priority.

Comments

@IAmNotHanni
Copy link
Member

Is your feature request related to a problem?

If multiple gpus are available, display a "select gpu" dropdown list in ImGui.

Description

If multiple gpus are available, we have the --gpu <index> command line which allows the user to specify which gpu will be picked. (The code will validate that the chosen index is valid and that the chosen gpu is suitable for the application's purpose). However, there is no way of switching the gpu at runtime.

In my system, I have an AMD 7950X with an internal gpu chip (VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU) and an Intel Arc A770 16GB (VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU).

Alternatives

Do not implement this.

Affected Code

UI rendering

Operating System

all

Additional Context

Switching to another gpu should not be difficult. You simply shut down the engine and restart it with the new gpu. To create the list, you must enumerate the physical devices and store both the index and the name of it.

@IAmNotHanni IAmNotHanni added diff:first issue good first issue to start contributing feat:rendering rendering prio:low This has low priority. labels May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diff:first issue good first issue to start contributing feat:rendering rendering prio:low This has low priority.
Projects
None yet
Development

No branches or pull requests

1 participant