Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use qemu and virgl by default. #125

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

piwicode
Copy link

@piwicode piwicode commented Nov 30, 2023

launch_cvd selects --vm_manager=qemu_cli default for riscv images.
It also probes the system and uses --gpu_mode=drm_virgl by default.

We could add a paragraph about software rendering on host and --gpu_mode=gfxstream_guest_angle_host_swiftshader
PTAL.

@@ -77,25 +77,18 @@ instructions.
Note that you need at least qemu 8.1, so you'll probably want to use the
prebuilt qemu binaries in AOSP (as shown in the example commands below).

### Getting to a shell (faster, but no graphics)
### Getting to a shell

After building, run this following command from the same shell:
```
$ launch_cvd -cpus=4 --memory_mb=8192 --gpu_mode=none \
Copy link
Collaborator

@enh-google enh-google Nov 30, 2023

Choose a reason for hiding this comment

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

the --gpu_mode=none no the command line means that "(faster, but no graphics)" is still true, no?

or did you mean to remove the --gpu_mode=none here?

can we explain the different --gpu_mode options?

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.

2 participants