-1

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?

Zaffresky
  • 1
  • 1
  • 7

1 Answers1

0

It is unclear WHY you are doing this. You should only use hdmi_cvt if your monitor requires a mode that is not in one of the tables, then it’s possible to define a custom CVT mode.

See https://www.raspberrypi.com/documentation/computers/config_txt.html#video-options

If you use hdmi_cvt you should NOT use hdmi_group=2 & hdmi_mode=87.

If fact if you are using a GUI and Bullseye you should not use either. The Pi automatically detects monitor resolution.

One thing to note ANY display oriented customisations in config.txt and most tutorials DO NOT apply to Raspberry Pi OS Bullseye. The Pi4 has a Screen Configuration utility which can change GUI display on the fly. This operates independently of the Console frame buffer.

See https://raspberrypi.stackexchange.com/a/135703/8697

Milliways
  • 62,573
  • 32
  • 113
  • 225