How to set resolution to 1920x1080?

5,374 views
Skip to first unread message

Nana Nada

unread,
Jul 21, 2018, 6:09:54 PM7/21/18
to Android-x86

I guess this question has been asked many times before, but let me ask it one more time:

Is is possible to set resolution to 1920x1080? I have already tried adding 'vga=ask' to the boot parameter line and it works indeed, but the highest resolution it offers is 1280x1024. So how do I set higher resolutions, preferably 1920x1080?


Thank you guys!

Chih-Wei Huang

unread,
Jul 22, 2018, 12:44:08 PM7/22/18
to Android-x86
What resolutions are supported depends on your
hardware and driver.
If vga=ask works for you, that means you're using
vesa driver in non-hardware-accelerated mode.
The supported resolutions are limited by your VESA BIOS.
If you don't see 1920x1080 in the list, it's not supported.
Refer to https://en.wikipedia.org/wiki/VESA_BIOS_Extensions

What is your GPU?


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

Nana Nada

unread,
Jul 22, 2018, 12:50:08 PM7/22/18
to Android-x86
Thank you for your reply!

I forgot to mention one important detail: I am running Android x86 in VMware Player 12 as a virtual OS. I have switched hardware acceleration on in the virtual OS's settings, but, as I said, the highest resolution I get is 1280x1024.

Previously, I used AndyOS, which is, in fact, an Android image and a virtual machine player (based on VMware) integrated into one piece of software. And it does provide high-def resolutions, including 1920x1080. So I know it is possible in principle. The question is how?


Chih-Wei Huang

unread,
Jul 22, 2018, 1:08:17 PM7/22/18
to Android-x86
2018-07-23 0:50 GMT+08:00 Nana Nada <feod...@gmail.com>:
> Thank you for your reply!
>
> I forgot to mention one important detail: I am running Android x86 in VMware
> Player 12 as a virtual OS. I have switched hardware acceleration on in the
> virtual OS's settings, but, as I said, the highest resolution I get is
> 1280x1024.

The resolution of VMware driver (vmwgfx) is hardcoded
to 800x600. I changed it to 1280x720:

https://osdn.net/projects/android-x86/scm/git/kernel/commits/c2b2fbc1a33e67826d264d5568d82b1491fc2bf9

I didn't see a way to change it at runtime.

To see if you have enabled 3D hardware acceleration
correctly, check Settings -> About -> OpenGL version.

> Previously, I used AndyOS, which is, in fact, an Android image and a virtual
> machine player (based on VMware) integrated into one piece of software. And
> it does provide high-def resolutions, including 1920x1080. So I know it is
> possible in principle. The question is how?



Nana Nada

unread,
Jul 22, 2018, 1:18:51 PM7/22/18
to Android-x86

Oh wow, so you are the one who worked on this? I wonder what was the point in limiting the resolution by 800x600 (or 1280x720)?

Is it possible to increase it somehow on VMware? (probably only possible by recompiling the kernel, right?)

Also, maybe it is possible to use some other VM player with another driver supporting 1920x1080? Which one would you suggest?

Just in case, my OpenGL info is as follows:

OpenGL driver version
GL vendor: VMware, Inc.
GL Renderer: Gallium 0.4 on SVGA3D; build: RELEASE; LLVM;
GL Version: OpenGL ES 3.0 Mesa 17.1.10 (git-946651c59a)


Thank you !

fguy

unread,
Jul 22, 2018, 5:20:08 PM7/22/18
to Android-x86

Nana Nada

unread,
Jul 22, 2018, 6:37:02 PM7/22/18
to Android-x86

Thank you for this link. I tried setting the display settings as shown on your screenshot here:



but I still have a very limited set of resolutions available (and no HD, such as 1920x1080):





Just in case, my VMware version 12.5.9.28553.





On Monday, July 23, 2018 at 12:20:08 AM UTC+3, fguy wrote:

Christian Jamoner

unread,
Jul 22, 2018, 8:42:11 PM7/22/18
to Android-x86
Try video=1920x1080. It worked for me in vmware before. You may also increase dpi by DPI=480

Nana Nada

unread,
Jul 22, 2018, 9:11:46 PM7/22/18
to Android-x86


On Monday, July 23, 2018 at 3:42:11 AM UTC+3, Christian Jamoner wrote:
Try video=1920x1080. It worked for me in vmware before. You may also increase dpi by DPI=480


Oh my god, you are my hero Christian!!! :)) indeed, "video=1920x1080" does actually set the resolution properly! :) Thank you x1000 :)) Also, just in case, I had to set DPI to 150 on my "24 monitor to get the best picture quality (reasonable sized fonts + non-blurry overall picture quality). Thank you!

Hope others looking for solution will find this thread.

My only question now is how do I save these parameters so that I will not have to re-type them each time I need to restart my OS?

Chih-Wei Huang

unread,
Jul 22, 2018, 11:13:11 PM7/22/18
to Android-x86
2018-07-23 9:11 GMT+08:00 Nana Nada <feod...@gmail.com>:
> On Monday, July 23, 2018 at 3:42:11 AM UTC+3, Christian Jamoner wrote:
>>
>> Try video=1920x1080. It worked for me in vmware before. You may also
>> increase dpi by DPI=480

Ah! Thank you for reminding me!
Actually video= only works after I applied this patch:

https://osdn.net/projects/android-x86/scm/git/device-generic-common/commits/2181825646c97548e02498cb614a90177233e30b

I just forgot that. My memory is poor now...

> Oh my god, you are my hero Christian!!! :)) indeed, "video=1920x1080" does
> actually set the resolution properly! :) Thank you x1000 :)) Also, just in
> case, I had to set DPI to 150 on my "24 monitor to get the best picture
> quality (reasonable sized fonts + non-blurry overall picture quality). Thank
> you!
> Hope others looking for solution will find this thread.
>
> My only question now is how do I save these parameters so that I will not
> have to re-type them each time I need to restart my OS?

Depends on your device is UEFI or legacy booting.
If it's UEFI (most modern devices are), you need to
modify android.cfg in the EFI system partition (ESP).

feod...@gmail.com

unread,
Jul 22, 2018, 11:16:48 PM7/22/18
to Android-x86

>Depends on your device is UEFI or legacy booting.
>If it's UEFI (most modern devices are), you need to
>modify android.cfg in the EFI system partition (ESP).
>
Thank you, I will give it try.

And we must award Christian a Nobel prize, that is for sure, lol :)

Chih-Wei Huang

unread,
Jul 22, 2018, 11:25:45 PM7/22/18
to Android-x86
2018-07-23 11:16 GMT+08:00 <feod...@gmail.com>:
>
>> Depends on your device is UEFI or legacy booting.
>> If it's UEFI (most modern devices are), you need to
>> modify android.cfg in the EFI system partition (ESP).
>>
> Thank you, I will give it try.

OOPS! I forgot you said you're using VMware...
Bad memory!

VMware supports both legacy and UEFI booting.
But the default is legacy if you didn't change it.
For legacy booting, modify /grub/menu.lst
in the android-x86's partition.

fguy

unread,
Jul 23, 2018, 8:08:10 AM7/23/18
to Android-x86
понедельник, 23 июля 2018 г., 1:37:02 UTC+3 пользователь Nana Nada написал:

but I still have a very limited set of resolutions available (and no HD, such as 1920x1080):

that would get a larger number of screen resolutions you need to set the type of Guest OS Windows 7 - for the other Guest OS VMware will show a shortened list like you
Reply all
Reply to author
Forward
0 new messages