on your first screenshot, see that EDID data is not "OK" (it says None) . So, given the new KMS driver, the pi does not know what resolution to set, so it sets none.
this explains the black screen:
"Now it when I do a fresh OS install (Raspbian or Ubuntu) it shows the rainbow boot screen and then it turns black."
You can set a resolution manually as follows:
To set resolution manually: (under KMS driver only)
in /boot/cmdline.txt (add to the front/end of the line, NOT a new line)
-- IMPORTANT NOTE: for Bookworm, the file is at /boot/firmware/cmdline.txt !!
video=HDMI-A-1:1024x768@60D
(or whatever resolution you want)
on first run, expect at least 1 reboot, after it resizes the file system.... it may boot a couple of times.
Thanks for your input it works flawlessly, this problem has been bugging me for so long thinking that I had somehow killed my rpi.
Could you please explain why I didn't need to add that line to the cmdline.txt before??? it used to be flashing an OS file to the sdcard and plug it to the pi, and used to boot every time. and do I need to repeat this process for other OS like Ubuntu and retropi?
Statistics: Posted by soranblue — Tue Jan 16, 2024 7:01 pm