Posts by dwhacks

    What does:

    Code
    cat /sys/devices/platform/gpu/drm/card0/card0-HDMI-A-1/edid | wc -c

    I'm guessing it's zero length. Can you run "getedid create" from here.

    Hopefully that won't get upset by the invalid edid. You should now have a file in .config/firmware/edid/edid-HDMI-A-1.bin.

    Replace this file with an edid file that supports audio. You can try mine.

    But be aware that edid probably promised to support more than you monitor actually does, but it would be interesting if that is enough to get audio out.

    Correct on the 0 length. The funny twist is, when i first ran it, it was 256, so I went into settings -> audio and low and behold HDMI was there! I switched it on and it worked and i thought "cool, I should reboot". Well After reboot I was back to nothing and a lenght of 0 for the file.

    Finally, getedid create wouldnt work either, but I noticed my display would come up as digital if I turned the pi on first, and then the TV, but the issue was it would just be a black screen. SO thats when I rad getedid create, and it created one and added the stuff to my cmdline.txt. I did a reboot, and all of a sudden I have all sorts of display size options AND HDMI audio.

    I've done a couple reboots and it seems to be working now. It takes a little longer to boot up, but that is not a big deal.

    I will try and get a better quality HDMI cable, because the fact that it just randomly worked once makes me think Da Flex is right. I guess the rpi4 is just a lot more picky with cables then my old WeTek box.

    All in all, thanks all for the help. I think it is working now.

    I do not have any 4k devices. My TV is a cheap older 1080p "dynex" and that's all I've got. Sound through HDMI worked with my older kodi box on this tv. with these HDMI cables, and also works for my computer/computer monitor.

    I will either order a new HDMI cable, or see if I can borrow one for testing. But I still don't understand why it would work with the old Wetek box, and not with the rpi4.

    Does video=HDMI-A-1:1920x1080@60eD ("e" for "hdmi_force_hotplug") change something?

    My tv still says "1920x1080p DVI" when the pi4 boots into kodi and I do not have an HDMI audio in output devices.

    I also do not have analog output (3.5mm jack) unless I add "dtparam=audio=on" to my config.txt

    Code
    LibreELEC:~ # edid-decode /sys/devices/platform/gpu/drm/card0/card0-HDMI-A-1/edid
    EDID extract of '/sys/devices/platform/gpu/drm/card0/card0-HDMI-A-1/edid' failed: unknown format.

    Well that didn't go as expected.....

    I figured you might say that.... and I was both hopping you were right and wrong at the same time. Alas, with case removed no difference.

    Stock "cmdline.txt" and "config.txt" results in the rainbow square and then a black screen.

    Adding "video=HDMI-A-1:1920x1080@60" to cmdline.txt allows it to boot but the screen detects it in DVI mode, just like with the case.

    If I add:

    Code
    hdmi_group=1
    hdmi_mode=16
    hdmi_force_hotplug=1
    hdmi_drive=2

    to my config then my tv detects the rainbow square as "1080p hdmi" but then chages to "1080p dvi" for the libreelec splash.

    still no hdmi audio in the "audio output device" setting. I am using the HDMI closest to the USB C port.

    First things first, I am a new libre/kodi on PI user, but a long time kodi/xbmc user (original xbox back in 2006ish). The device i've been using for the last few years just got too slow and unsupported (Wetek Openelec box), so I thought I would get a pi 4b 4gb for kodi.

    My first issue was no video. I have a cheap older 1080p tv, its nothing special at all but it works. The pi would show the rainbow square and then the screen would go to sleep. I fixed that with adding video=HDMI-A-1:1920x1080@60 but by doing this the tv now connects to the pi using "DVI". I would like to get audio of hdmi to work as I had it before. In kodi settings under audio devices there are no options for HDMI. I have done a lot of searching, and found many conflicting reports but no solutions.

    Here is a pastebin of my monitor edid which says it has audio over hdmi (I have used it with other devices):

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Also, this seems strange:

    Code
    LibreELEC:~ # tvservice -m CEA
    Group CEA has 0 modes:

    I have tried multiple HDMI cables (all work with other devices)

    I am using the Argon One V2 case.

    Any ideas?