Skip to content

Add support for Venus GPU mode - #3167

Open
valentineburley wants to merge 5 commits into
google:mainfrom
valentineburley:venus
Open

valentineburley wants to merge 5 commits into
google:mainfrom
valentineburley:venus

Conversation

@valentineburley

@valentineburley valentineburley commented Sep 10, 2026

Copy link
Copy Markdown

Based on the original implementation for Mesa CI by @ao2.

This adds a new GPU mode using the Venus Vulkan driver, ANGLE, SkiaVK,
and drm_hwcomposer, utilizing the cross-domain context type.

It supports Intel (both i915 and xe) and Qualcomm (msm) platforms, using
ANV and Turnip as the host Vulkan drivers.

Bug: b/549217582
Test: cvd create --gpu_mode=venus

The first commit fixes kHostVulkanIsNonSoftwareRenderer on integrated GPUs.

The following three patches add the virglrenderer, venus_protocol, and minigbm dependencies.

The final commit introduces the new GPU mode.

Comment thread base/debian/control Outdated

@jmacnak jmacnak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(note for internal build: cl/979356492)

Comment thread base/cvd/cuttlefish/metrics/external_proto/cf_flags.proto Outdated

@jmacnak jmacnak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Overall looks good. 2 minor questions

Comment thread base/cvd/cuttlefish/package/BUILD.bazel Outdated
Comment thread base/cvd/cuttlefish/host/commands/assemble_cvd/graphics_flags.cc
@valentineburley
valentineburley force-pushed the venus branch 2 times, most recently from 3256897 to a51bc3f Compare September 15, 2026 16:53
@jmacnak

jmacnak commented Sep 18, 2026

Copy link
Copy Markdown
Member

(conflicts need to be resolved before we can approve presubmit workflows)

@valentineburley

Copy link
Copy Markdown
Author

Rebased, thanks!

@jmacnak jmacnak added the kokoro:run Run e2e tests. label Sep 18, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:run Run e2e tests. label Sep 18, 2026
Previously, graphics_detector only categorized discrete GPUs as
TYPE_DISCRETE_GPU and tagged all other devices (including integrated
GPUs) as TYPE_OTHER.

As a result, kHostVulkanIsNonSoftwareRenderer incorrectly rejected
hosts with integrated GPUs as having no non-software Vulkan driver.

Bug: b/549217582
These dependencies will be used by the upcoming Venus GPU mode.

Bug: b/549217582
This dependency will be used by the upcoming Venus GPU mode.

Bug: b/549217582
These dependencies are required by the upcoming Venus GPU mode.

Bug: b/549217582
Based on the original implementation for Mesa CI by @ao2.

This adds a new GPU mode using the Venus Vulkan driver, ANGLE, SkiaVK,
and drm_hwcomposer.

It supports Intel (both i915 and xe) and Qualcomm (msm) platforms, using
ANV and Turnip as the host Vulkan drivers.

Bug: b/549217582
Test: cvd create --gpu_mode=venus
@jmacnak

jmacnak commented Sep 18, 2026

Copy link
Copy Markdown
Member

(rebased to pull in some changes that I believe are needed to make kokoro happy >_>)

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