Skip to content

Pick Vulkan ICDs from sysfs instead of three lspci greps - #10807

Closed
chessing234 wants to merge 2 commits into
omacom:quattrofrom
chessing234:fix/vulkan-detect-via-sysfs
Closed

chessing234 wants to merge 2 commits into
omacom:quattrofrom
chessing234:fix/vulkan-detect-via-sysfs

Conversation

@chessing234

@chessing234 chessing234 commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • vulkan.sh ran lspci once per vendor (Intel/AMD/Apple). That reads PCI config space and can resume a runtime-suspended GPU.
  • One sysfs walk over display-class devices now, same override OMARCHY_PCI_DEVICES_PATH as omarchy-hw-nvidia. NVIDIA Vulkan stays with nvidia.sh.

Test plan

  • test/shell.d/vulkan-sysfs-test.sh
  • Intel-only machine still gets vulkan-intel
  • Hybrid AMD+NVIDIA does not add nvidia-utils here

Three lspci greps used to wake every GPU once per vendor. NVIDIA stays
with nvidia.sh.
@chessing234

Copy link
Copy Markdown
Contributor Author

folded into #12076 — same sysfs hardware detect work, easier as one review.

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.

1 participant