I am having similar problems with a Pi5 connected to a Blackmagic Video Assist 7" 12G HDR screen. From my software I call drmModeGetConnector. From the kernel source it seems that this reads the EDID from the specified connector, stores it and parses the modes. I list the modes found and the EDID stored. Sometimes I get the correct list of modes (1280x720p50 is specified in the kernel cmdline.txt):and the correct EDID: sometimes I get only a few modes:and a wrong EDID:When the EDID is corrupt, the first 128 bytes are ok, but the second 128 bytes are an exact copy of the first 128 bytes. So it seems that there is an issue with reading the EDID over the HDMI i2c interface. When I put the SDCard with this code in a Pi4, I always get a correct list of modes and EDID. Is the i2c interface different between Pi5 and Pi4?
Code:
1920x1080p601920 (2008, 2052, 2200, 0)1080 (1084, 1089, 1125, 0)14850060PREFERRED DRIVER PHSYNC PVSYNC 1920x10804096x2160p604096 (4184, 4272, 4400, 0)2160 (2168, 2178, 2250, 0)59400060DRIVER PHSYNC PVSYNC 4096x21604096x2160p604096 (4184, 4272, 4400, 0)2160 (2168, 2178, 2250, 0)59340760DRIVER PHSYNC PVSYNC 4096x2160... lots of modes cut...1280x720p601280 (1390, 1430, 1650, 0)720 (725, 730, 750, 0)7417660DRIVER PHSYNC PVSYNC 1280x7201280x720p501280 (1720, 1760, 1980, 0)720 (725, 730, 750, 0)7425050USERDEF DRIVER PHSYNC PVSYNC 1280x7201440x576i501440 (1464, 1590, 1728, 0)576 (580, 586, 625, 0)2700050DRIVER NHSYNC NVSYNC INTERLACE 1440x576i1440x480i601440 (1478, 1602, 1716, 0)480 (488, 494, 525, 0)2700060DRIVER NHSYNC NVSYNC INTERLACE 1440x480i720x576p50720 (732, 796, 864, 0)576 (581, 586, 625, 0)2700050DRIVER NHSYNC NVSYNC 720x576720x576i50720 (732, 795, 864, 0)576 (580, 586, 625, 0)1350050DRIVER NHSYNC NVSYNC INTERLACE DBLCLK 720x576i720x480p60720 (736, 798, 858, 0)480 (489, 495, 525, 0)2702760DRIVER NHSYNC NVSYNC 720x480720x480p60720 (736, 798, 858, 0)480 (489, 495, 525, 0)2700060DRIVER NHSYNC NVSYNC 720x480720x480i60720 (739, 801, 858, 0)480 (488, 494, 525, 0)1351460DRIVER NHSYNC NVSYNC INTERLACE DBLCLK 720x480i720x480i60720 (739, 801, 858, 0)480 (488, 494, 525, 0)1350060DRIVER NHSYNC NVSYNC INTERLACE DBLCLK 720x480i640x480p60640 (656, 752, 800, 0)480 (490, 492, 525, 0)2520060DRIVER NHSYNC NVSYNC 640x480640x480p60640 (656, 752, 800, 0)480 (490, 492, 525, 0)2517560DRIVER NHSYNC NVSYNC 640x480
Code:
00 ff ff ff ff ff ff 00 09 a4 90 bd 00 00 00 00 34 16 01 03 80 66 39 78 0a ee 91 a3 54 4c 99 26 0f 50 54 20 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c 45 00 c4 8e 21 00 00 1e 01 1d 80 18 71 1c 16 20 58 2c 25 00 c4 8e 21 00 00 9e 00 00 00 fc 00 42 4d 44 20 48 44 4d 49 0a 20 20 20 20 00 00 00 fd 00 17 3c 0f 44 1e 00 0a 20 20 20 20 20 20 01 1b02 03 54 71 5c 90 1f 05 14 02 06 04 61 13 15 60 65 66 20 5f 5e 5d 64 63 62 21 22 03 07 11 12 16 01 23 0f 07 07 83 0f 00 00 72 03 0c 00 10 00 38 3c 20 c0 84 01 02 03 04 01 41 01 db 68 d8 5d c4 01 78 80 03 00 e5 0f 80 1c 00 08 e4 05 c0 00 00 e3 06 0f 01 8c 0a a0 14 51 f0 16 00 26 7c 43 00 13 8e 21 00 00 98 8c 0a a0 20 51 20 18 10 18 7e 23 00 13 8e 21 00 00 98 00 00 00 00 00 00 00 8c
Code:
1920x1080p601920 (2008, 2052, 2200, 0)1080 (1084, 1089, 1125, 0)14850060PREFERRED DRIVER PHSYNC PVSYNC 1920x10801920x1080i601920 (2008, 2052, 2200, 0)1080 (1084, 1094, 1125, 0)7425060DRIVER PHSYNC PVSYNC INTERLACE 1920x1080i1280x720p501280 (1328, 1456, 1632, 0)720 (723, 728, 744, 0)6066650USERDEF NHSYNC PVSYNC 1280x720640x480p60640 (656, 752, 800, 0)480 (490, 492, 525, 0)2517560DRIVER NHSYNC NVSYNC 640x480
Code:
00 ff ff ff ff ff ff 00 09 a4 90 bd 00 00 00 00 34 16 01 03 80 66 39 78 0a ee 91 a3 54 4c 99 26 0f 50 54 20 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c 45 00 c4 8e 21 00 00 1e 01 1d 80 18 71 1c 16 20 58 2c 25 00 c4 8e 21 00 00 9e 00 00 00 fc 00 42 4d 44 20 48 44 4d 49 0a 20 20 20 20 00 00 00 fd 00 17 3c 0f 44 1e 00 0a 20 20 20 20 20 20 01 1b00 ff ff ff ff ff ff 00 09 a4 90 bd 00 00 00 00 34 16 01 03 80 66 39 78 0a ee 91 a3 54 4c 99 26 0f 50 54 20 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c 45 00 c4 8e 21 00 00 1e 01 1d 80 18 71 1c 16 20 58 2c 25 00 c4 8e 21 00 00 9e 00 00 00 fc 00 42 4d 44 20 48 44 4d 49 0a 20 20 20 20 00 00 00 fd 00 17 3c 0f 44 1e 00 0a 20 20 20 20 20 20 01 1b
Statistics: Posted by hjimbens — Fri Feb 23, 2024 12:44 pm