commit | 61a6dcf9fb676941277b43efb0f83d73a66f076c | [log] [tgz] |
---|---|---|
author | Jason Macnak <natsu@google.com> | Tue Oct 29 16:51:50 2019 -0700 |
committer | Jason Macnak <natsu@google.com> | Mon Nov 25 10:15:16 2019 -0800 |
tree | 7c66671fc0470b516e6477d7415b12806f63599e | |
parent | 50287e89c0832c68b4d74bd4f3795513a2011913 [diff] |
Install SwiftShader's Vulkan lib in Cuttlefish ... to enable SwiftShader VK. Bug: b/142271776 Test: cts -m CtsDeqpTestCases --module-arg CtsDeqpTestCases:include-filter:dEQP-VK.* Change-Id: I41863be0652b159e04a4b909ebc13f14c5ad5fc0
git clone https://github.com/google/android-cuttlefish cd android-cuttlefish debuild -i -us -uc -b sudo dpkg -i ../cuttlefish-common_*_amd64.deb sudo apt-get install -f
aosp-master
if you don‘t know what you’re looking foraosp_cf_x86_phone
and click on userdebug
for the latest buildArtifacts
aosp_cf_x86_phone-img-xxxxxx.zip
-- it will always have img
in the name. Download this filecvd-host_package.tar.gz
. You should always download a host package from the same build as your images.mkdir cf cd cf tar xvf /path/to/cvd-host_package.tar.gz unzip /path/to/aosp_cf_x86_phone-img-xxxxxx.zip
Launch cuttlefish with:
$ HOME=$PWD ./bin/launch_cvd
Stop cuttlefish with:
$ HOME=$PWD ./bin/stop_cvd
You can use adb
to debug it, just like a physical device:
$ ./bin/adb -e shell
You can use the TightVNC JViewer. Once you have downloaded the TightVNC Java Viewer JAR in a ZIP archive, run it with
$ java -jar tightvnc-jviewer.jar -ScalingFactor=50 -Tunneling=no -host=localhost -port=6444
Click “Connect” and you should see a lock screen!