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, [email protected] 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
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to