SensoriMotorLab: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
non-EDID modes
Line 18: Line 18:
If you want the version of the sled server with smoother sinusoid ramp-up. Please go [https://github.com/wilberth/sled-server here].  
If you want the version of the sled server with smoother sinusoid ramp-up. Please go [https://github.com/wilberth/sled-server here].  
This most likely not necessary for you.
This most likely not necessary for you.
=== Using video modes not available according to EDID ===
Normally the monitor tells the computer what its supported combinations of resolution and refresh rates (video modes) are. This system is called EDID.
If for some reason you want to use a mode that is not in the list of EDID modes, you have to add it yourself. This is typically the case if you use an analog connections to the monitor.
Before adding a mode you have to allow it in /etc/X11/xorg.conf (this file may not exist yet), the crux is in the line containing ''AllowNonEdidModes'':
Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "Idek Iiyama HM903DADTA"
    HorizSync      30.0 - 133.0
    VertRefresh    50.0 - 200.0
    Option        "DPMS"
EndSection
Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BoardName      "GeForce GTX 770"
    Option        "ModeValidation" "AllowNonEdidModes"
EndSection
To add a 144 Hz 1024x768 mode do the following:
xrandr --newmode "1024x768_144.00"  169.30  1024 1104 1216 1408  768 769 772 835  -HSync +Vsync
xrandr --addmode DVI-I-0 1024x768_144.00
xrandr --output DVI-I-0 --mode 1024x768_144.00