Edit: Solved, while changing EDID make sure to remove the old module first and reinstall it with the new EDID

I have a faulty DP to HDMI adapter, that unfortunately never seems to parse the EDID data, so while connecting to a TV I used this guide and a 1920x1080.bin file from the internet and it worked, but unfortunately I was unable to use the TV speakers(I guessed the EDID file didn’t specify that the device had audio out)

Using a separate pc I extracted my TVs EDID.bin file and repeated the steps but unfortunately, it just doesn’t work, its stuck on the old 1920x1080.bin(I can tell because it shows up as ‘Linux Foundation 23’') The issue persists even after I delete the old .bin file from /usr/lib/firmware/edid

I am using wayland

System info:

OS: Fedora Linux 40 (Workstation Editi 
Host: TECRA R940 PT439V-03U02WAR 
Kernel: 6.8.11-300.fc40.x86_64 
Uptime: 29 mins 
Packages: 2209 (rpm), 32 (flatpak) 
Shell: bash 5.2.26 
Resolution: 1920x1080 
DE: GNOME 46.2 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i7-3540M (4) @ 3.700GHz 
GPU: AMD ATI Radeon HD 7550M/7570M/765 
Memory: 1998MiB / 7879MiB 

Dmesg -H

[Jun20 22:26] Linux version 6.8.11-300.fc40.x86_64 (mockbuild@f09cc32e12c24ed6a1a66c2a2e9f1728) (gcc (GCC) 14.1.1 20240522 (Red Hat 14.1.1-4), GNU ld version 2.41-37.fc40) #1 SMP PREEMPT_DYNAMIC Mon May 27 14:53:33 UTC 2024
[  +0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.8.11-300.fc40.x86_64 root=UUID=XXXXX ro rootflags=subvol=root rhgb quiet drm.edid_firmware=DP-2:edid/sony.bin

Any help is appreciated

  • Artemis_Mystique@lemmy.mlOP
    link
    fedilink
    arrow-up
    3
    ·
    5 months ago

    Is edid/sony.bin your new EDID?

    Yes

    your new EDID? Does it revert back if you remove drm.edid_firmware all together?

    how do i do that?

    Here is the EDID file I decoded using edid-deode

    • SteveTech@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      5 months ago

      how do i do that?

      Probably by editing your GRUB config or whatever bootloader you’re using.

      Here is the EDID

      Thanks, that should be enough I’ll have a look when I’m free. Also something like get-edid > monitor.bin would probably be easier for me though.

      Edit: I’ve had a look, I can’t see any issues. Both checksums validate correctly and it advertises audio support. As you’ve probably seen in edid-decode, I’d expect it to show as ‘SONY TV’ (or at least for KDE ‘Sony SONY TV’ I believe).

      • Artemis_Mystique@lemmy.mlOP
        link
        fedilink
        arrow-up
        2
        ·
        5 months ago

        Thank you, removing the module and adding it again fixed the issue, for future reference is there an easier more seamless way to go about it?

        • SteveTech@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 months ago

          To me that does sound like your initramfs just needed recreating, since un/installing a module will do that usually.