Skip to content

Disable AMD switchable graphics device to avoid enumerating error#137

Merged
Ol6rin merged 1 commit intoBoomingTech:mainfrom
kwbm:main
Apr 22, 2022
Merged

Disable AMD switchable graphics device to avoid enumerating error#137
Ol6rin merged 1 commit intoBoomingTech:mainfrom
kwbm:main

Conversation

@kwbm
Copy link
Copy Markdown
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
Copy Markdown

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

@kwbm
Copy link
Copy Markdown
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