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

Interfacing (DSI, CSI, I2C, etc.) • Re: Force HDMI audio with custom EDID

$
0
0
OK definetively, changing hporch to an even number made the Pi4 to load the EDID file.
Now the funny part, I said that this timing was hanging the whole system but now I've realized that this is not totally true. If I wait for some time on boot, the system is finally able to boot but many error can be seen in the boot process. Also the image is moved down.

This is the dmesg log:

Code:

[    4.626043] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.[    4.628195] rpivid 1000800000.codec: bcm2712_iommu_of_xlate: MMU 1000005100.iommu[    4.631415] rpivid 1000800000.codec: Device registered as /dev/video19[    4.639720] vc4-drm axi:gpu: bcm2712_iommu_of_xlate: MMU 1000005200.iommu[    4.642059] Console: switching to colour dummy device 80x25[    4.644255] vc4-drm axi:gpu: bound 107c580000.hvs (ops vc4_hvs_ops [vc4])[    4.645424] Registered IR keymap rc-cec[    4.645458] rc rc0: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0[    4.645491] input: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0/input4[    4.646527] input: vc4-hdmi-0 HDMI Jack as /devices/platform/soc/107c701400.hdmi/sound/card0/input5[    4.646581] vc4-drm axi:gpu: bound 107c701400.hdmi (ops vc4_hdmi_ops [vc4])[    4.653070] Registered IR keymap rc-cec[    4.653112] rc rc1: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1[    4.653147] input: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1/input6[    4.654458] input: vc4-hdmi-1 HDMI Jack as /devices/platform/soc/107c706400.hdmi/sound/card1/input7[    4.654537] vc4-drm axi:gpu: bound 107c706400.hdmi (ops vc4_hdmi_ops [vc4])[    4.654840] vc4-drm axi:gpu: bound 107c500000.mop (ops vc4_txp_ops [vc4])[    4.655427] vc4-drm axi:gpu: bound 107c501000.moplet (ops vc4_txp_ops [vc4])[    4.656674] vc4-drm axi:gpu: bound 107c410000.pixelvalve (ops vc4_crtc_ops [vc4])[    4.656762] vc4-drm axi:gpu: bound 107c411000.pixelvalve (ops vc4_crtc_ops [vc4])[    4.701754] [drm] Initialized vc4 0.0.0 20140616 for axi:gpu on minor 1[    4.707248] input input2: unable to receive magic message: -121[    4.764818] input input2: unable to receive magic message: -121[   14.902694] vc4-drm axi:gpu: [drm] *ERROR* [CRTC:86:crtc-2] flip_done timed out[   14.902768] Console: switching to colour frame buffer device 246x28[   25.142689] vc4-drm axi:gpu: [drm] *ERROR* flip_done timed out[   25.142692] vc4-drm axi:gpu: [drm] *ERROR* [CRTC:86:crtc-2] commit wait timed out[   35.382695] vc4-drm axi:gpu: [drm] *ERROR* flip_done timed out[   35.382697] vc4-drm axi:gpu: [drm] *ERROR* [CONNECTOR:32:HDMI-A-1] commit wait timed out[   45.622689] vc4-drm axi:gpu: [drm] *ERROR* flip_done timed out[   45.622692] vc4-drm axi:gpu: [drm] *ERROR* [PLANE:76:plane-2] commit wait timed out[   55.862690] vc4-drm axi:gpu: [drm] *ERROR* flip_done timed out[   55.862693] vc4-drm axi:gpu: [drm] *ERROR* Timed out waiting for commit[   66.102705] vc4-drm axi:gpu: [drm] *ERROR* [CRTC:86:crtc-2] flip_done timed out[   66.102941] vc4-drm axi:gpu: [drm] fb0: vc4drmfb frame buffer device[   66.324695] input input2: unable to receive magic message: -121[   66.419098] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SS[   66.942904] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL)[   66.942912] macb 1f00100000.ethernet eth0: configuring for phy/rgmii-id link mode[   66.945637] pps pps0: new PPS source ptp0[   66.945688] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered.[   71.031707] macb 1f00100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off[   71.254280] systemd[896]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set[   76.342696] vc4-drm axi:gpu: [drm] *ERROR* flip_done timed out[   76.342701] vc4-drm axi:gpu: [drm] *ERROR* [CRTC:86:crtc-2] commit wait timed out[   86.582692] vc4-drm axi:gpu: [drm] *ERROR* flip_done timed out[   86.582696] vc4-drm axi:gpu: [drm] *ERROR* [CONNECTOR:32:HDMI-A-1] commit wait timed out[   96.822691] vc4-drm axi:gpu: [drm] *ERROR* flip_done timed out[   96.822694] vc4-drm axi:gpu: [drm] *ERROR* [PLANE:76:plane-2] commit wait timed out[  107.062693] vc4-drm axi:gpu: [drm] *ERROR* flip_done timed out[  107.062697] vc4-drm axi:gpu: [drm] *ERROR* Timed out waiting for commit[  117.302691] vc4-drm axi:gpu: [drm] *ERROR* [CRTC:86:crtc-2] flip_done timed out[  118.135141] macb 1f00100000.ethernet eth0: Link is Down[  121.207607] macb 1f00100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off[  127.542691] vc4-drm axi:gpu: [drm] *ERROR* flip_done timed out[  127.542694] vc4-drm axi:gpu: [drm] *ERROR* [CRTC:86:crtc-2] commit wait timed out
Here the new EDID (do note that this contains hacked params for audio and digital display but it behaves exactly the same as the previous one I posted above):
replay_edid.zip

Statistics: Posted by rTomasa — Tue May 07, 2024 8:29 pm



Viewing all articles
Browse latest Browse all 4919

Trending Articles