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

nannou: more helpful error messages and docs for WIndow constructor #732

Closed
wants to merge 1 commit into from
Closed

Conversation

ghost
Copy link

@ghost ghost commented May 3, 2021

I ran across this error and just needed someone to tell me to check my
drivers, so now nannou can do this.

I ran across this error and just needed someone to tell me to check my
drivers, so now nannou can do this.
@mitchmindtree
Copy link
Member

Thanks for this @digitalatigid !

After talking to the wgpu folks, I believe in theory the PowerPreference should actually behave like a preference. E.g. if you only have an integrated GPU but you select HighPerformance, wgpu will fall back to LowPower without issues. I believe most issues that are arising are on multi-GPU systems where wgpu may indeed select a different device based on the specified preference, however it might turn out wgpu itself does not yet fully support the card, or doesn't quite have the ability to detect if the card has the necessary capabilities to be used before selecting it. I hope that makes some kind of sense.

All that said, the NoAvailableAdapter normally occurs if no device can be found at all - this is more often due to missing the necessary drive (often the Vulkan driver on Linux for example). Can you confirm that changing power preference was what solved your NoAvailableAdapter error, and that it wasn't solved by possibly installing a missing graphics driver?

@mitchmindtree mitchmindtree changed the title nannou: more helpful error messages and docs. nannou: more helpful error messages and docs for WIndow constructor May 22, 2021
Repository owner closed this by deleting the head repository May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants