Skip to content

Instantly share code, notes, and snippets.

@cnlohr
Last active December 13, 2022 14:20
Show Gist options
  • 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 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