Page 1 of 1

[Solved] Force video mode

Posted: 29 Aug 2019, 07:30
by bonzo
I have a website that I want to use as the Kiosk homepage, but the site needs 640x480 resolution to display correctly.
I managed to get it working on my laptop by running xrandr and finding the matching video driver. Once I had that information, I could set the value in the multi boot config, and it worked very nicely.

Code: Select all

screen_settings=eDP1:640x480:59.94:normal:normal 
However, we have a variety of PCs and monitors that will run in kiosk mode, and I would like to be able to set this resolution for any hardware.

I tried using a kernel boot parameter:

Code: Select all

kernel_parameters=GRUB_GFXPAYLOAD_LINUX=640x480
Unfortunately it didn't seem to have any effect.

Force video mode

Posted: 29 Aug 2019, 10:23
by fanthom
Hello bonzo,

This parameter is undocumented but should still work:

Code: Select all

screen_resolution=640x480
Thanks

Force video mode

Posted: 01 Sep 2019, 23:26
by bonzo
Perfect! That setting is exactly what I need!
Thank you very much fanthom.