Page 1 of 1

Resolution stuck at 1024x768 with VirtualBox 6 VBoxVGA driver on guest Android-X86 8.1

Posted: 29. Sep 2020, 10:10
by Zilch510
So my resolution is stuck at 1024x768. This is not a huge problem as my display is 1366x768, however, I have an external 1600x900 monitor I'd like to use.

My host OS is Windows 10 (Version 10.0.19041.508 according to CMD).
Guest OS is Android-X86 8.1 r5 64-bit.

I've heard there are commands one can use to chance the resolution, but instructions are scarce or unclear on how to do it.

I have also tried other graphics controllers, but VBoxVGA is the ONLY one that works with my guest OS.

Any help (with a ton of instructions) would be highly appreciated!

-Z

Re: Resolution stuck at 1024x768 with VirtualBox 6 VBoxVGA driver on guest Android-X86 8.1

Posted: 29. Sep 2020, 13:14
by mpack
Android is not a supported guest, therefore there are no Guest Additions and no specific display driver support. However it is free to use any display size it can request using the standard SVGA interface. How you would tell Android to do that I have no idea: all of my Android devices have fixed resolutions.

Re: Resolution stuck at 1024x768 with VirtualBox 6 VBoxVGA driver on guest Android-X86 8.1

Posted: 29. Sep 2020, 13:45
by Zilch510
Understood. But ignoring the guest OS for a minute, isn't there a way to force a specific resolution to the VBoxVGA driver?

Edit...
I have also install onto my laptop (HP 4530s with dedicated GPU), and it works perfectly with the Intel 3000 graphics. I just want to get this to work so that I don't have to toy around with dual booting on my school laptop.

-Z

Re: Resolution stuck at 1024x768 with VirtualBox 6 VBoxVGA driver on guest Android-X86 8.1

Posted: 29. Sep 2020, 13:59
by scottgus1
Look at the 'vboxmanage controlvm "vm name" setvideomodehint' command.

I don't know if it will work or if it requires Guest Additions.

Re: Resolution stuck at 1024x768 with VirtualBox 6 VBoxVGA driver on guest Android-X86 8.1

Posted: 29. Sep 2020, 14:07
by mpack
Zilch510 wrote:isn't there a way to force a specific resolution to the VBoxVGA driver?
The VBoxVGA driver isn't relevant. As I said, there are no Guest Additions for an Android guest, therefore no drivers of any kind. The only thing a guest OS can do is make BIOS calls or talk to the VESA/VGA hardware.

And no, the hardware (i.e. VirtualBox) does not choose what resolution a guest will try to configure, the guest OS does that.

A display size hint just adds that size to the list of hardware capabilities passed to the guest, assuming the guest knows how to ask PC display hardware for its capabilities. It does not force a guest to use that display size.