Modify Resolution
Modify Resolution
If you are using Raspberry Pi with the screen, you may encounter incomplete display, with
black space around. that would be wrong resolution.
Step 1: Open config.txt
Connect a mouse and a keyboard to your Raspberry Pi. Click open the Terminal, and type in
the command to open config.txt
2) Find the following lines (If there is a "#" mark at the beginning of any of the three lines,
which means they are comments, delete the mark. The asterisk "*" represents the value.
hdmi_group=*
hdmi_mode=*
hdmi_drive=*
3) Modify the value, like this:
hdmi_group=2
hdmi_mode=87
....
hdmi_drive=2
hdmi_group=2 means DMT (Display Monitor Timings; the standard typically used by
monitors)
hdmi_mode=87 indicates the resolution mode we set before.
hdmi_drive=2 selects the Normal HDMI mode.
For more details about configuring config.txt, refer to Raspberry Pi official website:
https://www.raspberrypi.org/documentation/configuration/config-txt.md.
After the modification is done, save, exit then reboot your Raspberry Pi and enjoy.