Unable to boot Android-x86 on kvm with cirrus driver

114 views
Skip to first unread message

Philip Z

unread,
Jun 21, 2017, 9:48:16 PM6/21/17
to Android-x86
I'm new to Android-x86. I just downloaded android-x86_64-7.1-rc1.iso and tried it on kvm. 
If I didn't use '-vga' option, which I believe uses cirrus by default, I can't boot android-x86.
The following error occurs when I boot with debug option.
 
The same thing goes if I use '-vga cirrus'.
 
If I changed the option to '-vga std', it worked. For example,
$ qemu-system-x86_64 -enable-kvm -m 4G -hda android.img -vga std
 
I have to use cirrus driver on some platform so I want to get it work with '-vga cirrus'.
How do I get around the errors? Any debugging tips?
 
Thanks!

Philip Z

unread,
Jun 21, 2017, 9:48:23 PM6/21/17
to Android-x86
I'm new to Android-x86. I just downloaded android-x86_64-7.1-rc1.iso and tried it on kvm. 
If I didn't use '-vga' option, which I believe uses cirrus by default, I can't boot android-x86.
The following error occurs when I boot with debug option.


The same thing goes if I use '-vga cirrus'.

If I changed the option to '-vga std', it worked. For example,
$ qemu-system-x86_64 -enable-kvm -m 4G -hda android.img -vga std

I have to use cirrus driver on some platform so I want to get it work with '-vga cirrus'.
How do I get around the errors and boot with cirrus? Any debugging tips?

Thanks!

Philip

Chih-Wei Huang

unread,
Jun 22, 2017, 10:44:49 PM6/22/17
to Android-x86
I think cirrus doesn't support 32bpp which
is required now.

You can workaround it by add HWACCEL=0 to
cmdline. But a lot of apps won't work in this mode.

Use '-vga std' is recommended.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Philip Z

unread,
Jun 25, 2017, 1:55:51 AM6/25/17
to Android-x86

Got it. Thanks!

Philip

Philip Z

unread,
Jul 12, 2017, 3:02:25 AM7/12/17
to Android-x86
BTW, do you know if I can hack some Android configuration so that it uses 16bpp rather than 32bpp so that cirrus driver can support it?
Thanks!

Chih-Wei Huang

unread,
Jul 12, 2017, 3:38:35 AM7/12/17
to Android-x86
2017-07-12 15:02 GMT+08:00 Philip Z <zz...@cornell.edu>:
> BTW, do you know if I can hack some Android configuration so that it uses 16bpp rather than 32bpp so that cirrus driver can support it?

I have already told you.

Philip Z

unread,
Jul 12, 2017, 11:49:19 AM7/12/17
to Android-x86
I mean without HWACCEL=0 because that makes the system slow.

Chih-Wei Huang

unread,
Jul 12, 2017, 12:34:16 PM7/12/17
to Android-x86
2017-07-12 23:49 GMT+08:00 Philip Z <zz...@cornell.edu>:
> I mean without HWACCEL=0 because that makes the system slow.

This is the only workaround.
Or you need to hack mesa swrast
to support 16bpp.
Reply all
Reply to author
Forward
0 new messages