Repository navigation
Vulkan for the guest (gfxstream host + bundle) - #144
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
USE_VKand the features string for copy-on-flush host-visible memory, and offers the guest the GFXSTREAM_VULKAN capset as index 1.debug.scion.vk=0turns it off. If Vulkan won't start, the renderer falls back to GL alone.libhakios.vk.dylibandvk_teston macOS and puts them into the bundle's root.vk_testruns once at boot and itsVKTESTlines 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