-
Notifications
You must be signed in to change notification settings - Fork 933
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
Device removal exception #3604
Comments
Is there any way I can force wpgu to use the dedicated gpu I already have the "use high performance processor" in the nvidia cotrol panel |
You can set PowerPreference to HighPerformance when calling request_adapter. |
What if I am using a library like iced, is there something like an environment variable where I can force it to use the high performance adapter? |
I don't think so. |
What about these: https://github.com/gfx-rs/wgpu#environment-variables Will they do the job? Or are they foe something else? |
These env vars only works in tests or examples. |
Oh ok I think I should close this issue then. If I want to contribute an "env var overloading" feature would it get accepted or no? |
Since wgpu is a lib, we shouldn't switch default behavior based on env variables. Those can be implemented by applications built on top instead. |
I don't know if this is a bug or is something wrong on my side but, when trying to run the wgpu examples I get this:
Additionally while trying to run the iced examples (while using the wgpu backend) I get this:
I am running windows 10 (OS Build 19045.2728) with a duel gpu setup, an Integrated (Intel) gpu and a dedicated (Nvidia) gpu
Is there any way I can fix this?
The text was updated successfully, but these errors were encountered: