NVIDIA EDID Clone and Force Linux

From Hack Sphere Labs Wiki
Jump to: navigation, search

I had a long VGA cable (not shielded) and it was not pulling EDID data from the monitor. Instead of writing a xorg.conf I just wanted to clone the EDID data and force the nvidia driver to use it. If you go into the NVIDIA X Server Settings Util you should be able to aquire the EDID and save it by selecting the monitor and clicking the Aquire EDID data button. I did not have luck with the read-edid stuff but I am sure with a bit of messing around I would have gotten some command line util to work.

Now that I have my edid.bin file I created a dir /etc/X11/edid and renamed my file to dell_2007FPb_edid.bin and create a file called custom_edid_VGA-0.conf under /etc/X11/xorg.conf.d with this:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "CustomEDID" "VGA-0:/etc/X11/edid/dell_2007FPb_edid.bin"

And it works fine[1]. I tried doing this on the kernel line (https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDID) but that did not work.

Here are some more config options: http://http.download.nvidia.com/XFree86/Linux-x86/1.0-9629/README/appendix-d.html
  1. http://analogbit.com/2008/07/02/fixing-dvi-hdmi-displays-due-to-edid-bugs-on-nvidia/