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

Disable AMD switchable graphics device to avoid enumerating error #137

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

kwbm
Copy link
Contributor

@kwbm kwbm commented Apr 21, 2022

The problem is described in this link: vkEnumeratePhysicalDevices error.

Tested on the following three platforms:

  • only AMD graphics card
  • only NVIDIA graphics card
  • AMD CPU with graphics card and NVIDIA graphics card

@Ol6rin Ol6rin merged commit ffa9108 into BoomingTech:main Apr 22, 2022
@HanetakaChou
Copy link
Contributor

Should we add "setenv("DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1", "1", 1)"?

@kwbm
Copy link
Contributor Author

kwbm commented Apr 22, 2022

Should we add "setenv("DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1", "1", 1)"?

I think this is fine here, because the specific graphics card selection is ordered in code based on priority and does not depend on external software settings. If there is a better solution to the problem you can post it here

mymetalseed pushed a commit to SolvToolkit/Pilot that referenced this pull request Apr 29, 2022
KKKLV496 added a commit to KKKLV496/Piccolo that referenced this pull request Aug 15, 2022
…hysical device error on certain platform (BoomingTech#137)"

This reverts commit ffa9108.
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