[vbox-dev] Enabling resolution of 1920x1080x32

jltinoco at gmx.net jltinoco at gmx.net
Thu Jun 1 23:35:45 GMT 2017


Hello Klaus,

thank you for your answer. I am using a MacOS 10.12 guest and my 
monitors are 1920x1080. I can't find any bootloader that works with 
virtualbox and this MacOS version to be able to use my displays 
resolution, so I thought about changing one of the resolutions that are 
customizable through setting "VBoxInternal2/EfiGopMode" to the value I 
need. I would then recompile virtualbox for myself and be able to use 
the guest OS with my native resolution.

I've beeing searching for what those "r0" and "r1"... values mean to 
maybe find out what I should modify, but found none usable info so far.

Any help would be welcomed!
JL

On 01.06.2017 09:21, Klaus Espenlaub wrote:
> Hi JL,
>
> how about describing the actual problem first? I can see you want to 
> poke around the UEFI and tweak the supported GOP mode table. What's 
> your actual use case, i.e. which guest OS, plus all other 
> facts/context info you can give.
>
> What I don't like about your proposal is changing the existing modes, 
> because that'll introduce incompatibility for no good reason.
>
> Klaus
>
> On 01.06.2017 01:22, jltinoco at gmx.net wrote:
>> Hello!
>>
>> I would like to use VirtualBox with a resolution of 1920x1080. Which
>> changes should I do to
>>
>>     src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxVgaDxe/VBoxVga.c
>>
>> in order to accomplish that?
>>
>> Let's say I'm happy with loosing 1920x1200. What should I change in this
>> part to make it work as 1920x1080:
>>
>> UINT8 Crtc_1920_1200_256_60[25] = {
>>     /* r0  =  */0xa3,  /* r1  =  */0xef,  /* r2  = */0x81,  /* r3  =
>> */0x90,
>>     /* r4  =  */0x88,  /* r5  =  */0x05,  /* r6  = */0x28,  /* r7  =
>> */0xbd,
>>     /* r8  =  */0x00,  /* r9  =  */0x60,  /* r10 = */0x00,  /* r11 =
>> */0x00,
>>     /* r12 =  */0x00,  /* r13 =  */0x00,  /* r14 = */0x00,  /* r15 =
>> */0x00,
>>     /* r16 =  */0x06,  /* r17 =  */0x0f,  /* r18 = */0x50,  /* r19 =
>> */0x40,
>>     /* r20 =  */0x4f,  /* r21 =  */0x05,  /* r22 = */0x1a,  /* r23 =
>> */0xe3,
>>     /* r24 =  */0xff
>> };
>>
>> UINT8 Seq_1920_1200_256_60[5] = {
>>  0x01,  0x01,  0x0f,  0x00,  0x0a
>> };
>>
>>
>> Thank you in advance for your kind help!
>> JL
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>




More information about the vbox-dev mailing list