Skip to content

Vulkan for the guest (gfxstream host + bundle) - #144

Merged
dylanneve1 merged 1 commit into
mainfrom
gpu/vulkan-host
Oct 29, 2026
Merged

dylanneve1 merged 1 commit into
mainfrom
gpu/vulkan-host

Conversation

@dylanneve1

Copy link
Copy Markdown
Collaborator
  • scgpu.c: gfxstream starts with Vulkan, using USE_VK and the features string for copy-on-flush host-visible memory, and offers the guest the GFXSTREAM_VULKAN capset as index 1. debug.scion.vk=0 turns it off. If Vulkan won't start, the renderer falls back to GL alone.
  • ios-bundle: builds the guest's libhakios.vk.dylib and vk_test on macOS and puts them into the bundle's root. vk_test runs once at boot and its VKTEST lines go to the console log.

Guest side: Scion-Project/scion-kernel#81 (passes on the Mac against the emulator's gfxstream).

🤖 Generated with Claude Code

…ries the guest's Vulkan

scgpu.c: the renderer starts with USE_VK and the features VirtioGpuNext:disabled,
VulkanEnsureCachedCoherentMemoryAvailable:disabled (the guest copies host-visible memory on flush and
invalidate: hackios-xnu-kernel tools/gfxstream/VULKAN.md), and answers capset 1 with GFXSTREAM_VULKAN.
debug.scion.vk=0 turns it off; a renderer that will not start with Vulkan starts as before, GL alone.
ios-bundle: the macOS job builds libhakios.vk.dylib and vk_test (mk-vk.sh ios), the bundle's root gets them
(build.sh VK_DIR=), and rc.jobs runs vk_test once at boot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dylanneve1
dylanneve1 merged commit 55787f6 into main Oct 29, 2026
3 checks passed
@dylanneve1
dylanneve1 deleted the gpu/vulkan-host branch November 2, 2026 01:56
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