Finding problem with your raspberry pi that didn’t show properly in monitor? Me too… 😅
I face this problem with my Raspberry Pi 4 when connecting it to my 1366x768 monitor. To solve this problem, let’s start!
The Trick
- Install your OS image (Raspberry Pi OS, Ubuntu, etc) via Balena Etcher or Raspberry Pi Imager from your PC, Mac, or Linux.
- After installing OS image is done remove the microSD/flashdrive/SSD containing OS images and then reconnect it again to PC.
- Open boot partition and look for config.txt file. There is 2 ways to see video output for setting up prefered resolution.
Choose which you like.- With video safe mode, uncomment
#hdmi_safe=1
tohdmi_safe=1
. - Output to VGA 60Hz, add
hdmi_group=1
andhdmi_mode=1
.
- With video safe mode, uncomment
- Insert microsd to your raspberrypi slot then boot to system.
- Till you see the desktop,
open terminal and type/opt/vc/bin/tvservice -m CEA
. This will be list for hdmi_group=1
open terminal and type/opt/vc/bin/tvservice -m DMT
. This will be list for hdmi_group=2
For me, in my 1366x768 monitor has DMT result like this :
|
|
Then I choose mode 87 for optimal value, then I direct edit the config.txt in boot partition. Because I have Caja file explorer, then I open it as super user from terminal with sudo caja
and next the opened Caja I can found boot partition easily.
In config.txt, I add following values :
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt=1360 768 60 3
disable_overscan=1
and then restart the system… Voila, I see the optimal video output in my 1366x768 monitor.
This is my experience with Raspberry Pi 4. But it seems that the 2021 release of Raspberry Pi OS has fixed the issue. At least I share this experience that maybe help other who find issue like me. Beside, this tutorial is usefull too to see the available values for your monitor.
After this, thanks for reading this tutorial and see next time… 👍