Raspberry Pi video output has a black border around the screen, doesn’t appear to be scaled correctly.
By default most Raspberry Pi OS images have some overscan buffer set in the configuration to protect against some display’s tendencies to cut off the Pi image at the edges.
Boot into your Pi’s operating system and work through these steps:
- Open a terminal window.
- Type in the following and hit enter: sudo nano /boot/config.txt
- Change “disable_overscan” to “1” to disable scaling, or adjust the overscan_left, right, top and bottom entries if you get a little cut-off with overscan completely disabled.
- Press CTRL+O to save your changes, then CTRL+X to exit nano.
- Type in the following and hit enter: sudo reboot