Skip to content

Add Venus docs for Vulkan testing on Linux VMs#722

Closed
farzonl wants to merge 3 commits intollvm:mainfrom
farzonl:venus_docs
Closed

Add Venus docs for Vulkan testing on Linux VMs#722
farzonl wants to merge 3 commits intollvm:mainfrom
farzonl:venus_docs

Conversation

@farzonl
Copy link
Copy Markdown
Member

@farzonl farzonl commented Feb 8, 2026

Venus is a Vulkan driver that allows Vulkan without vendor drivers in the guest OS.
It is very useful for testing Vulkan workloads without devoting a GPU to your VM the way VFIO requires.

These docs show how we can test Vulkan API forwarding without building any special software.

Comment thread docs/Venus.md
- [llvm/offload-test-suite](https://github.com/llvm/offload-test-suite)
- [llvm/llvm-project](https://github.com/llvm/lvm-project)
- [microsoft/DirectXShaderCompiler](https://github.com/microsoft/DirectXShaderCompiler)
- follow [adding-to-llvm-build](https://github.com/llvm/offload-test-suite?tab=readme-ov-file#adding-to-llvm-build) setup for enableing offload
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- follow [adding-to-llvm-build](https://github.com/llvm/offload-test-suite?tab=readme-ov-file#adding-to-llvm-build) setup for enableing offload
- Follow [adding-to-llvm-build](https://github.com/llvm/offload-test-suite?tab=readme-ov-file#adding-to-llvm-build) setup for enableing offload

Copy link
Copy Markdown
Contributor

@bob80905 bob80905 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alex/Josh review:
Question: How popular is venus? Where would it end up in terms of significance, tier 1, tier 2?

Comment thread docs/Venus.md
- DirectXShaderCompiler builds
- Mesa and Vulkan tooling
- LLVM and DXC software requirments
- (complers, linkers, build systems, etc)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: compilers

Comment thread docs/Venus.md
- [llvm/offload-test-suite](https://github.com/llvm/offload-test-suite)
- [llvm/llvm-project](https://github.com/llvm/lvm-project)
- [microsoft/DirectXShaderCompiler](https://github.com/microsoft/DirectXShaderCompiler)
- follow [adding-to-llvm-build](https://github.com/llvm/offload-test-suite?tab=readme-ov-file#adding-to-llvm-build) setup for enableing offload
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Follow

Comment thread docs/Venus.md
driverName = llvmpipe
```

If you don't have vulkaninfo. You can test via `api-query`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: vulkaninfo, you...

@farzonl
Copy link
Copy Markdown
Member Author

farzonl commented Feb 11, 2026

Alex/Josh review: Question: How popular is venus? Where would it end up in terms of significance, tier 1, tier 2?

It is used heavily in Chromos, the Android emulator, and in cloud computing scenarios. It would be in no tier we won't add any CI for this. Its an API pass through layer so its behavior is always going to be dependent on the underlying gpu that it doesn't know anything about.

This is just a suggestion on how to set it up with software that doesn't make you build the mesa driver yourself.

@farzonl farzonl closed this by deleting the head repository Mar 7, 2026
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.

4 participants