Topic: [Solved]Can't get refresh over 60hz

I've been messing with this most of the morning.  I'm running Crunch on my desktop computer with a Geforce 8500, Nvidia drivers are installed.  I'm trying to get 1024x786 75hz, but it insists on running 60hz.

jason@crunchbang:~$ nvidia-settings -q RefreshRate

  Attribute 'RefreshRate' (crunchbang:0.0; display device: CRT-1): 60.00 Hz.
    'RefreshRate' is an integer attribute.
    'RefreshRate' is a read-only attribute.
    'RefreshRate' is display device specific.
    'RefreshRate' can use the following target types: X Screen, GPU.

/etc/X11/xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load    "glx"
#    Load    "dri"
    Load  "record"
    Load  "dri2"
    Load  "dbe"
    Load  "extmod"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
#    Modeline "1024x768_75.00"  81.80  1024 1080 1192 1360  768 769 772 802  -HSync +Vsync
#    Option      "PreferredMode"      "1024x768_75.00"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "HWcursor"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "UseFBDev"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoKey"               # <i>
        #Option     "FlatPanel"              # [<bool>]
        #Option     "FPDither"               # [<bool>]
        #Option     "CrtcNumber"             # <i>
        #Option     "FPScale"                # [<bool>]
        #Option     "FPTweak"                # <i>
        #Option     "DualHead"               # [<bool>]
    Identifier  "Card0"
    Driver    "nvidia"
    Option      "Coolbits"    "1"
    Option      "AddARGBGLXVisuals"    "true"
    Option      "TripleBuffer"    "false"
    VendorName  "nVidia Corporation"
    BoardName   "G86 [GeForce 8500 GT]"
    BusID       "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"

    SubSection "Display"
        Viewport   0 0
        Depth     24
        Option         "metamodes" "1280x1024_75 +0+0; nvidia-auto-select +0+0"
#        Modes   "1024x768_75.00"
    EndSubSection
EndSection


Section "Extensions"
    Option      "Composite"    "enable"
#    Option      "RENDER"    "disable"
EndSection

You'll probably noticed lines that I added & commented out, that's from my experimenting.  I know the monitor can do 75hz, it worked under windoze for a long time.  PClinux could do 70 without any editing, right from the gui.  But Crunch/Debian is fighting me.  I don't know enough about xorg to know what the deal is and how to fix it.  I've messed with xrandr, and it insists that it can only do 60.  I used gtf to get a mode line that didn't seem to do me any good.  I've been to the "[Solved] - HAL & NVIDIA drivers" post, which attempted to use the info there.  I've googled for debian related without much luck.
I need some help, 60hz gives me a headache over time.

Last edited by sirj77 (2010-10-28 16:27:18)

Re: [Solved]Can't get refresh over 60hz

I found it.  It had been so long since I messed with the xorg.conf I'd forgotten about 2 lines,  HorizSync & VertRefresh.  So now I have....

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load    "glx"
#    Load    "dri"
    Load  "record"
    Load  "dri2"
    Load  "dbe"
    Load  "extmod"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    Option "DPMS" "true"
    HorizSync    30-75
    VertRefresh  55-75 
#    Modeline "1024x768_75.00"  81.80  1024 1080 1192 1360  768 769 772 802  -HSync +Vsync
#    Option      "PreferredMode"      "1024x768_75.00"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "HWcursor"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "UseFBDev"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoKey"               # <i>
        #Option     "FlatPanel"              # [<bool>]
        #Option     "FPDither"               # [<bool>]
        #Option     "CrtcNumber"             # <i>
        #Option     "FPScale"                # [<bool>]
        #Option     "FPTweak"                # <i>
        #Option     "DualHead"               # [<bool>]
    Identifier  "Card0"
    Driver    "nvidia"
    Option      "Coolbits"    "1"
    Option      "AddARGBGLXVisuals"    "true"
    Option      "TripleBuffer"    "false"
    VendorName  "nVidia Corporation"
    BoardName   "G86 [GeForce 8500 GT]"
    BusID       "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"

    SubSection "Display"
        Viewport   0 0
        Depth     24
        Option         "metamodes" "1280x1024_75 +0+0; nvidia-auto-select +0+0"
#        Modes   "1024x768_75.00"
    EndSubSection
EndSection


Section "Extensions"
    Option      "Composite"    "enable"
#    Option      "RENDER"    "disable"
EndSection 

I figured it would be some simple/stupid I was missing.  Looking at another distos xorg file reminded me.

Last edited by sirj77 (2010-10-28 16:26:44)

Re: [Solved]Can't get refresh over 60hz

sirj77 wrote:

I've been messing with this most of the morning.  I'm running Crunch on my desktop computer with a Geforce 8500, Nvidia drivers are installed.  I'm trying to get 1024x786 75hz, but it insists on running 60hz.

<snip>
Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
<snip>

Make a backup copy of your xorg.conf. I think you need to define the HorizSync & VertRefresh like so

Section "Monitor"
         Identifier   "Monitor0"
         VendorName   "Monitor Vendor"
         ModelName    "Monitor Model"
    HorizSync    30-94
    VertRefresh    75
EndSection

rippin

Re: [Solved]Can't get refresh over 60hz

lol, yep, beat you to it by about a minute. lol
As I said, been a long time since I had a need to mess with the xorg.conf file, I'd forgotten all about it.
Thanks anyway tho. smile

Last edited by sirj77 (2010-10-28 16:48:49)