ci(audience): build SwiftShader Vulkan ICD for Unity 6 Linux PlayMode#763
Closed
ImmutableJeffrey wants to merge 1 commit intochore/sdk-318-linux-playmode-xvfbfrom
Closed
Conversation
Collaborator
Author
|
Closing without merging. Two issues: (1) plan bug - apostrophe in 'Google's CPU Vulkan ICD' comment terminated the docker bash -c '...' single-quoted heredoc, exit code 2 in 5 sec. (2) Even with the build fixed, profile data on PR #764 shows the Unity 6 bottleneck is per-frame UI Toolkit cost on software rendering, not the rasteriser choice. Software Vulkan via SwiftShader would not have moved the needle. Pursuing a different fix in a new PR. |
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.
Summary
unityci/editorcontainer during theplaymode-linuxstep.VK_ICD_FILENAMESto the producedvk_swiftshader_icd.jsonso the Vulkan loader picks it.-force-glcorefrom the Unity command so Unity 6 tries Vulkan first.vulkaninfo.txtfor post-run engagement confirmation.Engagement check
The Unity log's
Renderer:line tells us whether SwiftShader engaged:SwiftShader Device-> SwiftShader Vulkan engaged. Compare cell wall times to baseline.llvmpipe (LLVM ...)-> Vulkan init still failed and Unity fell back to OpenGL. Same outcome as the closed lavapipe PR. Close this PR with the finding.Experiment success criteria
🤖 Generated with Claude Code