Hello everyone,
Can someone give me a hint how I can load a custom edid file ? I already tried to edit the edid.bin under .config/gamescope but it seems to be overwritten with every gamescope reload. How can I prevent this ?
Thanks a lot
Hello everyone,
Can someone give me a hint how I can load a custom edid file ? I already tried to edit the edid.bin under .config/gamescope but it seems to be overwritten with every gamescope reload. How can I prevent this ?
Thanks a lot
Am wondering the same thing - my monitor requires a custom EDID and overriding would be the last piece to use this as my daily driver (trying the -dx distros)
Here’s some pointers:
sudo mkdir -p /etc/firmware/edid
sudo cp modified-edid.bin /etc/firmware/edid/edid.bin
sudo echo 'install_items+=" /etc/firmware/edid/edid.bin "' | sudo tee /etc/dracut.conf.d/edid.conf
sudo rpm-ostree kargs --append-if-missing=drm.edid_firmware=DSI-1:edid/edid.bin
sudo rpm-ostree kargs --append-if-missing=firmware_class.path=/etc/firmware
sudo rpm-ostree initramfs --enable
Haven’t gotten it fully working yet, I think I’m close…
Have not been able to make this work unfortunately, any help would be greatly appreciated
This thread was the closest guide I could find to fix my monitor EDID. The missing bit was to add a video kernel argument like this:
sudo rpm-ostree kargs --append-if-missing=video=DSI-1:e
You may also need to put the firmware_class.path before the drm.edid_firmware. I didn’t test it in the reverse order, but it seems logical to give it the path first.
Also, the last command to enabled initramfs isn’t really the right way to trigger a push to initramfs since you can only do it once. It seems like just setting kargs forces a rebuild of initramfs anyway so it probably doesn’t matter.
So that gives you this modified script:
sudo mkdir -p /etc/firmware/edid
sudo cp modified-edid.bin /etc/firmware/edid/edid.bin
sudo echo 'install_items+=" /etc/firmware/edid/edid.bin "' | sudo tee /etc/dracut.conf.d/edid.conf
sudo rpm-ostree kargs --append-if-missing=firmware_class.path=/etc/firmware
sudo rpm-ostree kargs --append-if-missing=drm.edid_firmware=DSI-1:edid/edid.bin
sudo rpm-ostree kargs --append-if-missing=video=DSI-1:e
sudo rpm-ostree initramfs --enable