I am using a display port and a custom EDID to drive an LCD.
I want to set the clock to around 30MHz to match the LCD I am using, but when I measured the lvds signal it was 40MHz.
The EDID was changed so that the clocks were different and the LVDS clock was measured.
The clock settings from 20MHz to 27MHz were output as set.
However, when the clock setting was from 27MHz to 40MHz, 40MHz was output.
Is there some limitation in the device driver?
Attached is the EDID when the clock is set to 27.5MHz.
I can’t answer that, but the EDID does show as valid. However, it doesn’t mean the GPU can use all modes. If you add “ModeDebug” to the right part of “/etc/X11/xorg.conf”, then the GPU log will tell you why it rejects any unaccepted mode:
Section "Device"
Option "ModeDebug"
...
Then reboot and post the log listed in: ls -ltr /var/log/Xorg.*.log | tail -n 1
You can ignore that error. Not sure of the cause, but it seems to have been there for a very long time, and is probably related to a difference in features of the integrated GPU (iGPU) versus discrete GPU (dGPU) of a desktop PC.
For reference, with that monitor’s EDID, these are the accepted modes available:
[ 9.042] (II) NVIDIA(GPU-0): --- Modes in ModePool for ORTUSTECH (DFP-1) ---
[ 9.042] (II) NVIDIA(GPU-0): "nvidia-auto-select" : 800 x 480 @ 55.6 Hz (from: EDID, Detailed)
[ 9.042] (II) NVIDIA(GPU-0): "1280x800" : 1280 x 800 @ 59.8 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "1280x800_60" : 1280 x 800 @ 59.8 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "1024x768" : 1024 x 768 @ 70.1 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "1024x768_70" : 1024 x 768 @ 70.1 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "1024x768_60" : 1024 x 768 @ 60.0 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "800x600" : 800 x 600 @ 60.3 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "800x600_60" : 800 x 600 @ 60.3 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "800x480" : 800 x 480 @ 55.6 Hz (from: EDID, Detailed)
[ 9.042] (II) NVIDIA(GPU-0): "800x480_56" : 800 x 480 @ 55.6 Hz (from: EDID, Detailed)
[ 9.042] (II) NVIDIA(GPU-0): "720x400" : 720 x 400 @ 70.0 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "720x400_70" : 720 x 400 @ 70.0 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "640x480" : 640 x 480 @ 67.1 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "640x480_67" : 640 x 480 @ 67.1 Hz (from: EDID)
[ 9.042] (II) NVIDIA(GPU-0): "640x480_60" : 640 x 480 @ 59.9 Hz (from: EDID, CEA)
[ 9.043] (II) NVIDIA(GPU-0): --- End of ModePool for ORTUSTECH (DFP-1): ---
I don’t know the exact mode in question regarding the specific clock measurement, but if you look in the log, you will see many lines similar to:
Validating Mode "1280x800d60"
For a list you can see “grep "Validating Mode " debug.log” (the log file name you attached is debug.log, so this is what I grep). Do you see the mode you are interested in? If so, then the driver will say if the mode is accepted, or if not, why it is rejected.
If that does not work, perhaps edit the “800x480” to be “800x480_56” (I’m not positive about syntax of scan rate). Mostly I’m thinking this also needs a Monitor section before the Screen section will associate the setting to the monitor. I’m not sure on a Jetson what should be in that section. There is a default, but I’m not sure if the above will apply to default when no Monitor section is present.