# Change the resolution

Lumicast OS uses the resolution the display reports as its best, so you normally don't need to change anything. Change it when a 4K display plays video less smoothly than you'd like, or when a display shows a picture that doesn't fit.

## Choose a resolution

1. [Open the settings menu](/lumicast-os/settings-menu#open-the-menu), choose **All settings** and enter the support PIN.
2. Open **Picture**. The **Resolution** row shows the resolution in use, followed by **automatic** while the display chooses it.
3. Choose **Resolution**. The list shows every resolution the display supports, with **Automatic** at the top.

   ![Choosing a resolution](/img/screenshots/lumicast-os/resolution.png)

4. Choose one. The display switches straight away and asks **Keep this resolution?**. Choose **Keep it**.

   ![Keep this resolution?](/img/screenshots/lumicast-os/resolution-keep.png)

If the picture is wrong or disappears, do nothing: after 15 seconds the display goes back to the previous resolution by itself.

The resolution stays after a restart and after updates. To let the display choose again, pick **Automatic**.

## Which resolution to choose

- **A 4K display on a Raspberry Pi 4:** choose **1920x1080**. Content looks nearly the same from a distance, and video and animations play more smoothly.
- **A 4K display on a Raspberry Pi 5:** **Automatic** is usually fine. Try **1920x1080** if video stutters.
- **A picture with black edges or cut-off edges:** first check the display's own picture settings. Set its picture size to *Screen fit*, *Just scan* or *1:1* to turn off overscan. Then try **Automatic** again.

## A 4K display that only gets 1080p

If a 4K display doesn't offer any 4K resolution in the list, the Pi doesn't get the 4K modes from the display. Try these in order:

1. Turn on the enhanced mode for that HDMI input in the display's own settings. It's called *HDMI UHD Color* on Samsung, *HDMI Ultra HD Deep Colour* on LG and *Enhanced format* on Sony.
2. Use a high-speed HDMI cable that supports 4K.
3. On a Raspberry Pi 4, use the HDMI port next to the USB-C power port.
4. Restart the display under **System** › **Restart**.

## The HDMI port

A Raspberry Pi 4 or 5 has two HDMI ports. **Picture** › **Output** shows the port Lumicast OS uses. You only need to change it when the display is plugged into the other port. The list shows which port has a display **connected**. **HDMI-A-1** is the port nearest the USB-C power port. A change of port applies after a restart, which the display offers straight away.

![Choosing the HDMI output](/img/screenshots/lumicast-os/output.png)
