Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2438

General discussion • Re: RPi 4&5 HDMI Resolution occasionally 1024x768 instead of 3840x2160

$
0
0
1024x768 tends to mean that hotplug was asserted, but the edid could not be read.

That could be an unreliable hdmi cable or it could be the display chose not to provide edid.
Some displays won't provide an edid when powered off or in standby.

If you always connect to the same display you can capture the edid to a file.

Code:

sudo cp /sys/devices/platform/axi/axi:gpu/drm/card?/card?-HDMI-A-1/edid /lib/firmware/myedid.dat
Then add to /boot/firmware/cmdline.txt (on the existing line)

Code:

drm.edid_firmware=myedid.dat video=HDMI-A-1:D
Might be worth changing "auto_initramfs=1" to "auto_initramfs=0" in /boot/firmware/config.txt if you don't use initramfs.
Otherwise you may need to add /lib/firmware/myedid.dat to your initramfs to ensure it's available during boot.

Statistics: Posted by dom — Fri Dec 06, 2024 11:03 am



Viewing all articles
Browse latest Browse all 2438

Trending Articles