Does the order of the parameter in the config.txt matter? For example if hdmi_cvt=800 400 60 6 0 0 0 specified before the parameters (hdmi_group=2 & hdmi_mode=87) that specify that a custom resolution should be used.
I am using Kali linux and Parrot OS but they don't have raspi-config. With Kali I am able to get the screen work without making any changes to the config.txt but the screen resolution can't be changed. Even though the screen is advertised as 1024x600 pixels, the actual resolution I see in desktop settings is 1920 x 1080 and the text is really small to read.
with Parrot OS, I am facing strange behavior. After bootup the screen either goes blank or is stuck at rainbow splash. Pi does boot successfully as I am able to ssh into it. So I wanted to set the display parameters but I wonder if there is a specific sequence in which video/display parameters should be listed or do they have to be under a specific group to be properly setup?