[Solved] Force video mode

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
bonzo
White ninja
White ninja
Posts: 5
Joined: 22 Aug 2019, 07:18
Distribution: 4.8

[Solved] Force video mode

Post#1 by bonzo » 29 Aug 2019, 07:30

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.
Last edited by bonzo on 01 Sep 2019, 23:27, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Force video mode

Post#2 by fanthom » 29 Aug 2019, 10:23

Hello bonzo,

This parameter is undocumented but should still work:

Code: Select all

screen_resolution=640x480
Thanks
Please add [Solved] to your thread title if the solution was found.

bonzo
White ninja
White ninja
Posts: 5
Joined: 22 Aug 2019, 07:18
Distribution: 4.8

Force video mode

Post#3 by bonzo » 01 Sep 2019, 23:26

Perfect! That setting is exactly what I need!
Thank you very much fanthom.

Locked