this post was submitted on 20 Jun 2024
26 points (100.0% liked)

Linux

48199 readers
1267 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
26
submitted 4 months ago* (last edited 4 months ago) by Artemis_Mystique@lemmy.ml to c/linux@lemmy.ml
 

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

top 16 comments
sorted by: hot top controversial new old
[–] SteveTech@programming.dev 4 points 4 months ago (2 children)

Is edid/sony.bin your new EDID? Does it revert back if you remove drm.edid_firmware all together?

Also, do you mind sharing your EDID? I had to edit mine to get VRR to work, so maybe there's something invalid in yours. It does contain serial numbers though if that's a problem.

[–] ashaman2007@lemm.ee 3 points 4 months ago (1 children)

What did you have to change for VRR? I’m also having an issue where I need to force the EDID and haven’t been able to get VRR

[–] SteveTech@programming.dev 3 points 4 months ago (1 children)

I wrote a guide here: stevetech.me/posts/force-enable-vrr-edid

But it was mostly just changing random things and hoping for the best, so YMMV. I hope it helps!

[–] ashaman2007@lemm.ee 3 points 4 months ago
[–] Artemis_Mystique@lemmy.ml 3 points 4 months ago (1 children)

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 2 points 4 months ago* (last edited 4 months ago) (1 children)

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.ml 2 points 4 months ago (1 children)

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 2 points 4 months ago

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

[–] Max_P@lemmy.max-p.me 3 points 4 months ago (1 children)

Did you rebuild your initramfs? The files needs to be available pretty early during boot and that's probably why it still seems the old one.

[–] Artemis_Mystique@lemmy.ml 1 points 4 months ago (1 children)

I just did using the dracut command, it didn't change anything, is there another more simpler way to go about this without risking messing up my system?

[–] Max_P@lemmy.max-p.me 1 points 4 months ago

Dracut is the correct way to do this on Fedora so nothing else needs to be done. Then I'm not sure why it's not taking it.

[–] eldavi@lemmy.ml 0 points 4 months ago* (last edited 4 months ago) (1 children)

the last time i tried doing something similar was with a plasma 1080i tv (yes that long ago) connected via hdmi to component adapter and i eventually learned that the nvidia driver will overwrite everything in favor of it's own detection method, thus ignoring the custom edid i provided; perhaps the ati driver your using does something similar?

i would have tried switching to one of the open source drivers but the tv died and it's replacement had hdmi ports and the problem went away

[–] Artemis_Mystique@lemmy.ml 1 points 4 months ago

No before i passed the custom EDID it showed up as "Unknown display" and letter-boxed the entire display, limiting my resolution to 640x480 and 1366x768