Problem with Android-x86 on VirtualBox and Ubuntu

1,135 views
Skip to first unread message

Ivan Stamenkovic

unread,
Jun 11, 2022, 3:56:44 PM6/11/22
to Android-x86
The system setup is:
1. Host operating system: Ubuntu 20.04 LTS desktop
2. VirtualBox version: 6.1.32
3. Android-x86: android-x86_64-9.0-r2.iso

Shortly: after the Auto_Installation of the Android-x86 on VirtualBox, system boots up, and I get GRUB 1.1.5 menu with four choices. I choose Android-x86 9.0-r2 (the first choice), system begins to load, but all I get is the screen saying:

Trusted GRUB now booting 'Android-x86 9.0-r2'
Progress: Detecting Android-x86... found at /dev/sda1

The system now gets frozen.

The VirtualBox settings I made:
1. System / Acceleration / Paravirtualization Interface: set to KVM.
2. Display / Video Memory: set to 128 MB.
3. Display / Graphics Controller: set to VBoxSVGA.

I've been looking for the solution to this problem using Google and Youtube, and I always find that the other people do have the similar problem; however, I don't find the solution. I have tried everything that I could remember.

Did I miss something with the installation? Should I try another (perhaps older) A-x86 version?

I'm asking for help...

Chih-Wei Huang

unread,
Jun 12, 2022, 4:29:55 AM6/12/22
to andro...@googlegroups.com
That usually means your device (especially GPU) is not supported.
Check if your GPU meets the minimum requirement.

https://developer.android.com/ndk/guides/abis#86-64

Ivan Stamenkovic <stame...@gmail.com> 於 2022年6月12日 週日 上午3:56寫道:

Din Assegaf

unread,
Jun 12, 2022, 7:08:00 AM6/12/22
to andro...@googlegroups.com


Deen


On Sun, Jun 12, 2022 at 3:29 PM Chih-Wei Huang <cwh...@android-x86.org> wrote:
That usually means your device (especially GPU) is not supported.
Check if your GPU meets the minimum requirement.


mostly intel core and amd ryzen is supported well on Linux Host on virtualbox, but there is no sufficient info on using virtualbox that support 3d hardware accel for android x86 on Linux host, what GPU on linux host that support this ?
 


> The system now gets frozen.
>
> The VirtualBox settings I made:
> 1. System / Acceleration / Paravirtualization Interface: set to KVM.
> 2. Display / Video Memory: set to 128 MB.
> 3. Display / Graphics Controller: set to VBoxSVGA.

try debug first it should go to shell .. not starting zygote
 

Ivan Stamenkovic

unread,
Jun 12, 2022, 10:04:59 AM6/12/22
to Android-x86
> That usually means your device (especially GPU) is not supported.
> Check if your GPU meets the minimum requirement.

I have just tried an older version android-x86_64-7.1-r4, however it also
doesn't work. I might try even an older version, if necessary. I needn't use just the latest A-x86...

The live version also doesn't work, so it's either I'm missing some setting, or my device is really not supported.

> try debug first it should go to shell .. not starting zygote

I get the shell regularly, however I don't know what to do next. Is there out some link that could be helpful?

> mostly intel core and amd ryzen is supported well on Linux Host on virtualbox, but there is no sufficient >info on using virtualbox that support 3d hardware accel for android x86 on Linux host, what GPU on linux >host that support this ?

Processor: Intel® Celeron(R) CPU E3300 @ 2.50GHz × 2
Graphics: AMD® Rv635
Memory: 4 GB
Keyboard... :-)

Thank you!

Chih-Wei Huang

unread,
Jun 12, 2022, 12:16:57 PM6/12/22
to andro...@googlegroups.com
Ivan Stamenkovic <stame...@gmail.com> 於 2022年6月12日 週日 下午10:05寫道:
> > That usually means your device (especially GPU) is not supported.
> > Check if your GPU meets the minimum requirement.
> I have just tried an older version android-x86_64-7.1-r4, however it also
> doesn't work. I might try even an older version, if necessary. I needn't use just the latest A-x86...
> The live version also doesn't work, so it's either I'm missing some setting, or my device is really not supported.
> > try debug first it should go to shell .. not starting zygote
> I get the shell regularly, however I don't know what to do next. Is there out some link that could be helpful?
>
> > mostly intel core and amd ryzen is supported well on Linux Host on virtualbox, but there is no sufficient >info on using virtualbox that support 3d hardware accel for android x86 on Linux host, what GPU on linux >host that support this ?

3d hardware acceleration is not supported in virtualbox,
no matter what your GPU is.

However, I recall you have to change the Graphics Controller
to VBoxVGA or VBoxSVGA. The default one doesn't work.

Huy Minh Bùi

unread,
Jun 12, 2022, 1:04:07 PM6/12/22
to Android-x86
The Celeron E3300 only support SSE3 so you can only be able to use the x86 version, not x86_64

Vào lúc 21:04:59 UTC+7 ngày Chủ Nhật, 12 tháng 6, 2022, stame...@gmail.com đã viết:

Huy Minh Bùi

unread,
Jun 12, 2022, 1:07:16 PM6/12/22
to Android-x86
I wonder how's the status of the svga driver in both Kernel and Mesa3d libraries when using Android-x86. The last time I saw that it can somehow render OpenGLES 2.0 which some people run on nougat-x86
Vào lúc 23:16:57 UTC+7 ngày Chủ Nhật, 12 tháng 6, 2022, Chih-Wei Huang đã viết:

Ivan Stamenkovic

unread,
Jun 12, 2022, 1:42:36 PM6/12/22
to Android-x86
> The Celeron E3300 only support SSE3 so you can only be able to use the x86 version, not x86_64

You are completely right! The problem has been solved by installing 32-bit android-x86-9.0-r2 :-)

Thank you all!

I totally overlooked that my processor supported only up to SSE3.

The thing that mislead me was the fact that I use 64-bit Ubuntu as a main (host) OS, and also 64-bit Lubuntu as a guest, sometimes even an another 64-bit Ubuntu as a guest, and all worked fine.

The problem is solved, thank you again :-)

Din Assegaf

unread,
Jun 12, 2022, 6:22:56 PM6/12/22
to andro...@googlegroups.com

I see your answer 11 years ago, has your answer has changed?
some of us running android 86 in qemu cloud side. so mostly use intel integrated graphics and use opengl/mesa as driver in linux as host.
when I see cpu usage, when rendering layout and UI change, the cpu is high compared with real arm device.

>> I'm trying to use android-x86 in virtualbox, while I found the 3D
>> hardware accelerate cannot be enabled in it. As I know, virtualbox-4.1 has
>> enabled 3D hardware accelerate feature, is it possible to add 3D support of
>> android-x86 in virtualbox? It will help a lot to run some Applications need
>> hardware accelerate.
>> Thanks very much for you help in advance.

> No, it's not possible.
> There is even no KMS driver for virtualbox,
l> et alone mesa.

> On the other hand, it's more possible to
> enable 3D acceleration on a vmware box,
> using the vmwgfx driver.
> The mesa 3D library has already supported
> vmwgfx, though it's still buggy.

3d hardware acceleration is not supported in virtualbox,
no matter what your GPU is.

 


However, I recall you have to change the Graphics Controller
to VBoxVGA or VBoxSVGA. The default one doesn't work.

Yes, the only way.
Reply all
Reply to author
Forward
0 new messages