Install Patched EDID on Fedora
In another post I explained how to force a specific EDID on boot.
It requires patching the initramfs to contain the EDID and then patching GRUB.
On Fedora, this is slightly different. So I wanted to cover that here.
Install Patched EDID⌗
Install the patched EDID (this example uses the pre-patched EDID attached here) and modify GRUB to use the new EDID.
sudo mkdir -p /lib/firmware/edid
cd /lib/firmware/edid
sudo wget https://gist.github.com/RLovelett/171c374be1ad4f14eb22fe4e271b7eeb/raw/edid.bin
Patch initramfs via Dracut⌗
Create Dracut configuration to copy the new EDID into initramfs
sudo tee "/etc/dracut.conf.d/00-dell-U2413-edid.conf" > /dev/null <<'EOF'
install_items+="/lib/firmware/edid/edid.bin"
EOF
Regenerate initramfs using Dracut
sudo dracut -f
Modify the GRUB configuration to use the new EDID⌗
Edit /etc/default/grub and add drm_kms_helper.edid_firmware=edid/edid.bin to the end of GRUB_CMDLINE_LINUX_DEFAULT.
For example:
--- /etc/default/grub 2020-05-07 10:00:13.816383860 -0400
+++ /etc/default/grub 2020-05-07 10:01:27.358264457 -0400
@@ -3,6 +3,6 @@
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
-GRUB_CMDLINE_LINUX="resume=UUID=80cd7bb3-ea76-4c6d-b59b-3b363265880c rhgb quiet"
+GRUB_CMDLINE_LINUX="resume=UUID=80cd7bb3-ea76-4c6d-b59b-3b363265880c rhgb quiet drm_kms_helper.edid_firmware=edid/edid.bin"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
After saving the changes to /etc/default/grub run sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg and reboot.
Read other posts