Android x86 6.0 ignores grub set vga resolution

914 views
Skip to first unread message

Mário Almeida

unread,
Jun 14, 2017, 10:14:22 PM6/14/17
to Android-x86
Hi,

I was previously using Android x84 4.4 with -vga std.

I have a custom stdvga-bios with 480x800xYY VESA resolution, where YY is, expectably, 16, 24, 32.

This was working just fine by modifying the menu.lst and adding the vga=XXX to set the portrait mode and 480x800 resolution.

With Android x86 6.0 the resolutions show up as usual when i add the vga=ask but when set and rebooted, i see the screen going portrait but as soon as the Android logo shows, it goes back to landscape.

Any suggestions of how to prevent it from going back to landscape?

Thanks for your amazing work!

Chih-Wei Huang

unread,
Jun 14, 2017, 11:30:01 PM6/14/17
to Android-x86
What device did you test?

vga=xxx only works if vga driver is used and
vga driver is only used if no other fb driver
is detected.

Check your 'cat /proc/fb'


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

Mário Almeida

unread,
Jun 15, 2017, 9:44:45 PM6/15/17
to Android-x86
You are correct it now lists bochsdrmfb versus the previous vesa vga.

$ cat /proc/fb
0 bochsdrmfb

$ cat /proc/fb
0 VESA VGA

Any know advantages with this framebuffer?
Are they both compatible with virglrenderer?
How can i revert it to using the vesa vga driver?

Really appreciate your effort and thanks for the quick reply!

Chih-Wei Huang

unread,
Jun 15, 2017, 9:51:59 PM6/15/17
to Android-x86
2017-06-15 16:55 GMT+08:00 Mário Almeida <4kn...@gmail.com>:
> You are correct it now lists bochsdrmfb versus the previous vesa vga.
>
> $ cat /proc/fb
> 0 bochsdrmfb
>
> $ cat /proc/fb
> 0 VESA VGA
>
> Any know advantages with this framebuffer?
> Are they both compatible with virglrenderer?
> How can i revert it to using the vesa vga driver?
>
> Really appreciate your effort and thanks for the quick reply!

OK. Seems it's QEMU.
To set the resolution of bochsdrmfb,
just use the standard video= option,
e.g. video=480x800
Reply all
Reply to author
Forward
0 new messages