I am writing a kernel which is a UEFI application. I attempting to change the screen resolution via GraphicsOutputProtocol->SetMode(). This works perfectly fine in QEMU and VirtualBox but does not seem to work on my desktop. Here are some details:
- - On the desktop, resolution is fixed at 1024x768 and is not changed when SetMode() is called.
- Resolution correctly changes on QEMU/VBOX
- SetMode() returns success on the desktop, but does not change the mode.
- To see the current mode, I look at GraphicsOutputProtocol->Mode->Mode.
- The current mode in QEMU/VBOX properly reflects what is passed into SetMode() whereas on the desktop it is fixed to the mode for 1024x768
- The input for SetMode() is gotten directly from QueryMode()
- QueryMode() (seemingly) works fine on the desktop.
- My desktop is using an Nvidia GTX 1070
- I am calling SetMode() before I call ExitBootServices()
Thanks!