Raspberry Pi

Configure Raspberry Pi 4 at 4K 60Hz

The resolution of every video normally determines the level of detail added in the video along with the quality of the video so the higher the resolution the more the quality of the video would be. Raspberry Pi foundation has provided two HDMI slots in its Pi 4 and both support 4K videos at 60 Hz individually but to play 4K videos you need to enable it. So, if you are interested to know more about setting up the Pi for 4K videos then go through this guide.

Configure Raspberry Pi 4 at 4K and 60Hz

The Raspberry Pi 4 comes with two HDMI ports that support a 4K display with 60Hz, to enable this feature and there are few steps you need to follow:

Step1: Execute the below command to open the configuration file:

$ sudo nano /boot/config.txt

Graphical user interface, application Description automatically generated

Step 2: In the text file add the following line at the bottom and then save it:

hdmi_enable_4kp60=1

Text Description automatically generated

Step 3: Next reboot your Pi to apply the changes to the configuration file:

$ reboot

Graphical user interface, application Description automatically generated

Step 4: After rebooting click on the Raspberry Pi logo and go to the Screen Configuration under the Preferences option:

Step 5: Next click on the Layout tab and from the screens option select the port on which the display is connected, after that go to the Resolution option and select the suitable resolution.

Step 6: After selecting the resolution now it’s time to select the frequency and for that go to the Frequency option under the HDMI port and select 60Hz:

So now you can play 4K videos on your Raspberry Pi 4, one thing that you should remember is that the display you are using should support the 4K 60Hz display.

Conclusion

Watching high resolution videos on your Raspberry Pi 4 is now possible as it supports the 4k videos and has two HDMI slots. However, to get this feature you need to configure the Raspberry Pi 4 by editing its config.txt file. Next, in the screen configuration select the 4K resolution and set the frequency to 60 Hz.

About the author

Aaliyan Javaid

I am an electrical engineer and a technical blogger. My keen interest in embedded systems has led me to write and share my knowledge about them.