Skip to content

Instantly share code, notes, and snippets.

@cnlohr
Last active December 13, 2022 14:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cnlohr/e8c0edc8dc922546db5af95e37806078 to your computer and use it in GitHub Desktop.
Save cnlohr/e8c0edc8dc922546db5af95e37806078 to your computer and use it in GitHub Desktop.
Nreal:AIR custom EDIDs (96 Hz,etc.) EDID custom mode timings
sudo xrandr --output DP-2 --newmode BB44 44 1920 1952 1968 2000 280 289 294 350 +hsync -vsync
It's wacky, but does work. Repeats screens
You can de/increase Y safely.
sudo xrandr --output DP-2 --newmode CC44 44 1920 1952 1968 2000 1080 1089 1094 1110 +hsync -vsync
Rate works at 44 and 66+
@cnlohr
Copy link
Author

cnlohr commented Oct 22, 2022

Hispec at 100Hz sudo xrandr --output DP-2 --newmode CC250 250 1920 1952 1968 2000 1080 1089 1094 1250 +hsync -vsync

@cnlohr
Copy link
Author

cnlohr commented Oct 22, 2022

Oorrrrrrrr

sudo xrandr --output DP-2 --newmode CC2865v 286.5 1920 1924 1928 1988 1200 1202 1204 1206 +hsync +vsync

for 1920x1200 @ 119.5Hz

@cnlohr
Copy link
Author

cnlohr commented Oct 22, 2022

Just FYI you can do other weird stuff. The display has 1920x1200 addressable pixels, but the sync causes the "top" to be in the bottom of the image.

@cnlohr
Copy link
Author

cnlohr commented Oct 23, 2022

Ok, I think this is my FAVORITE 96Hz!

In the screen section of your xorg.conf

   ## Set to True/False for auto stuff, False/True formanual
    Option         "nvidiaXineramaInfoOrder" "DP-4"

    Option "HorizSync"   "DP-2: 1-280; DP-4: 1-280"
    Option "VertRefresh" "DP-2: 1-280; DP-4: 1-280"

    Option         "metamodes" "DP-2: 1920x1080_96 +1920+0; DP-4: 1920x1080_144 +0+0"

    Option "ModeDebug" "true"

    Option "UseEDID" "true"
    Option "ExactModeTimingsDVI" "true"
    Option "ModeValidation" "NoMaxPClkCheck, AllowNonEdidModes"
sudo xrandr --newmode "1920_1080_108" 270 1920 1952 1968 2000 1080 1089 1094 1250 +hsync +vsync
sudo xrandr --newmode "1920_1080_96" 240 1920 1952 1968 2000 1080 1089 1094 1250 +hsync +vsync
sudo xrandr --addmode DP-2 "1920_1080_96"
sudo xrandr --addmode DP-2 "1920_1080_96"

Then use normal resolution tool to make it go.

And that should work with gdm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment