Kernel version Linux A3ProdEngTV 6.6.62+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux
Architecture arm64
SBC model RPi 5 Model B (aarch64)
Power supply used Official Raspberry Pi Adapter
SD card used PNY Elite
Note: I revised the description to more accurately reflect the problem I am facing.
According to the official documentation, the Raspberry Pi 5 does not parse the EDID of any connected HDMI device by default. I don’t know if that only applies when the official Raspberry Pi OS is used, but I would assume the same is supposed to be true with DeitPi as well since it is based on the official image. However, despite what the docs say, my Raspberry Pi 5 does parse the EDID even when disable_fw_kms_setup=1 is added to config.txt file.
This has presented an issue for me with one of my deployments. I have a 4K TV (TCL 55Q650F) that, according to the Pi, advertises 1920x1080@60 as its preferred mode. As a result, the Pi will not display its output in 4K with this TV but is happy to do so with other 4K TVs I have.
I have Chromium installed in use with the autostart feature. No desktop.
This is what I have tried so far, but has not worked:
Add video=HDMI-A-1:3840x2160M@30D to /boot/firmware/cmdline.txt
Add disable_fw_kms_setup=1 to /boot/firmware/config.txt
I also tried =0
framebuffer_width=3840 and framebuffer_height=2160 in /boot/firmware/config.txt
kmsprint -m seems to indicate that the display’s "preferred’ mode is 1080P @ 60Hz and only supports 4K @ 30Hz. I’m guessing that its reverting to 1080 because the Pi is trying to push 4K @ 60?
I loaded a SD card with the official Raspberry Pi OS (with desktop) and was able to set the resolution to 3840x2160 @ 30Hz and 4096x2160 @ 24Hz without issue. I was also able to do the same with DietPi and the LXDE desktop.
I thought that saving the display settings and then rebooting with Chromium autostart might be the fix, but it was not.
FYI, exporting the DISPLAY variable and setting the resolution with xrandr in chromium-autostart.sh didn’t apply the resolution settings after rebooting. I’m reluctant to mark my comment as the “solution” . . .
so the chromioum-autostart is executed on every boot / start of chromium, so the export does not survive the reboot?
Add it to your bashrc or bash_profile is maybe a solution?