Announcement

Collapse
No announcement yet.

How to change Nvidia refresh rate ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to change Nvidia refresh rate ?

    A newly linux user here

    How do I set 60 refresh rate on 1600x900 on Nvidia 550ti on ubuntu 14.04 ?

    I had install on nvidia nvidia-331, 331.38, 3.13.0-39-generic, x86_64: on ubuntu 14.04 and created a thread over the forum but I am not getting much reply for the fix.
    Ubuntu 14.04 64bit Nvidia GTX550 ( Using Nvidia binary driver - version 331.38 from nvidia-331 ) ~$ xrandr Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384 DVI-I-0 disconnected (normal left inverted right x axis y axis) DVI-I-1 disconnected (normal left inverted right x axis y axis) DVI-I-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm 1920x1080 60.0*+ 1280x1024 75.0 60.0 1152x864 75.0


    Code:
    desktop:~$  xrandr -s 1600x900 -r 60.0
    Rate 60.0 Hz not available for this size
    When I try to add
    Code:
    xrandr --newmode "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
    It add to an disconnected DVI-I-3 port where the DVI port connected is DVI_I-2
    Code:
    desktop:~$ xrandr
    Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
    DVI-I-0 disconnected (normal left inverted right x axis y axis)
    DVI-I-1 disconnected (normal left inverted right x axis y axis)
    DVI-I-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
       1920x1080      60.0*+
       1280x1024      75.0     60.0  
       1152x864       75.0  
       1024x768       75.0     60.0  
       800x600        75.0     60.3  
       640x480        75.0     59.9  
    HDMI-0 disconnected (normal left inverted right x axis y axis)
    DVI-I-3 disconnected (normal left inverted right x axis y axis)
      1600x900_60.00 (0x2d8)  118.2MHz
            h: width  1600 start 1696 end 1856 total 2112 skew    0 clock   56.0KHz
            v: height  900 start  903 end  908 total  934           clock   59.9Hz
    More on the error log on
    Ubuntu 14.04 64bit Nvidia GTX550 ( Using Nvidia binary driver - version 331.38 from nvidia-331 ) ~$ xrandr Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384 DVI-I-0 disconnected (normal left inverted right x axis y axis) DVI-I-1 disconnected (normal left inverted right x axis y axis) DVI-I-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm 1920x1080 60.0*+ 1280x1024 75.0 60.0 1152x864 75.0


    Appreciate anyone would help out

  • #2
    .config/monitors.xml

    Change the refresh rate from there. I also gave up doing it with nvidia control panel. But bare in mind that if you use this, compiz does not detect your new refresh rate when you boot up, so go to compiz settings after every launch to set the compiz refresh to the same value.

    Comment


    • #3
      In mode validation nvidia drivers discards non edid modes by default. You should be able to get more display modes(resolutions) by just adding Option "ModeValidation" "AllowNonEdidModes" to the device section of xorg.conf. If you wanted to fine tune it Option "ModeValidation" "DVI-I-2: AllowNonEdidModes" allows nonedid modes only for monitor connected to DVI-I-2.

      Comment


      • #4
        Originally posted by tuke81 View Post
        In mode validation nvidia drivers discards non edid modes by default. You should be able to get more display modes(resolutions) by just adding Option "ModeValidation" "AllowNonEdidModes" to the device section of xorg.conf. If you wanted to fine tune it Option "ModeValidation" "DVI-I-2: AllowNonEdidModes" allows nonedid modes only for monitor connected to DVI-I-2.
        How do I fine tune it ?

        Comment


        • #5
          After creating a new mode with xrandr, you need to add it to the monitor you want.
          Code:
          $ xrandr --addmode DVI-I-2 1600x900_60.00
          However it is even better to put the modeline in X.org configuration:
          Code:
          Section "Monitor"
                  Identifier "DVI-I-2"
                  Modeline "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
                  Option "PreferredMode" "1600x900_60.00" # only if you want this mode to become default
          EndSection

          Comment


          • #6
            Originally posted by Phxone View Post
            How do I fine tune it ?
            Maybe I wasn't clear enough. I tried to say that Option "ModeValidation" "AllowNonEdidModes" allows nonedid modes for all outputs, but if you use it with Option "ModeValidation" "DVI-I-2: AllowNonEdidModes", in mode validation non edid modes are allowed only for output called DVI-I-2.

            Originally posted by chithanh View Post
            After creating a new mode with xrandr, you need to add it to the monitor you want.
            Code:
            $ xrandr --addmode DVI-I-2 1600x900_60.00
            However it is even better to put the modeline in X.org configuration:
            Code:
            Section "Monitor"
                    Identifier "DVI-I-2"
                    Modeline "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
                    Option "PreferredMode" "1600x900_60.00" # only if you want this mode to become default
            EndSection
            I'm not sure if he want's to use that resolution by default, gaming maybe but not for default. And I'm not sure does nvidia driver even recognize that option(it's not listed in xconfig options by nvidia readme). But there's no harm done with that configuration, to make use for that modeline one need to use that Option "ModeValidation" "AllowNonEdidModes" or nvidia driver's strict mode validation process will skip that modeline. I would personally give it try with that and try other modelines too i.e.
            Code:
            $ cvt -r 1600 900
            # 1600x900 59.82 Hz (CVT 1.44M9-R) hsync: 55.40 kHz; pclk: 97.50 MHz
            Modeline "1600x900R"   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync
            Usually lcd modelines are with reduced blanking so you should always use that:

            Comment


            • #7
              Originally posted by tuke81 View Post
              Maybe I wasn't clear enough. I tried to say that Option "ModeValidation" "AllowNonEdidModes" allows nonedid modes for all outputs, but if you use it with Option "ModeValidation" "DVI-I-2: AllowNonEdidModes", in mode validation non edid modes are allowed only for output called DVI-I-2.



              I'm not sure if he want's to use that resolution by default, gaming maybe but not for default. And I'm not sure does nvidia driver even recognize that option(it's not listed in xconfig options by nvidia readme). But there's no harm done with that configuration, to make use for that modeline one need to use that Option "ModeValidation" "AllowNonEdidModes" or nvidia driver's strict mode validation process will skip that modeline. I would personally give it try with that and try other modelines too i.e.
              Code:
              $ cvt -r 1600 900
              # 1600x900 59.82 Hz (CVT 1.44M9-R) hsync: 55.40 kHz; pclk: 97.50 MHz
              Modeline "1600x900R"   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync
              Usually lcd modelines are with reduced blanking so you should always use that:
              http://www.uruk.org/~erich/projects/cvt/
              Thank you very much , I works with
              Code:
              "ModeValidation" "AllowNonEdidModes"
              Modeline "1600x900R"   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync
              You really safe my half a year time figuring out how to fix it.
              I had tried the above xrandr numerous time finally cvt works


              There are other things I still having problem , sometimes , the brightness on nvidia auto reset to 0 even I had set it to -0.25.It got reset when restart and playing youtube.
              Can I set it permanent on xorg ?

              Comment


              • #8
                Glad to hear it works. For brightness etc. control are contolled by nvidia-settings, I'm not sure if you can force them from xorg.conf.

                If you have single user, there should be .nvidia-settings-rc file in your home folder. The thing is with that config file, that you have to use nvidia-settings --load-config-only somewhere during DE start up(i.e. add that command to autostart).

                Comment


                • #9
                  Originally posted by tuke81 View Post
                  Glad to hear it works. For brightness etc. control are contolled by nvidia-settings, I'm not sure if you can force them from xorg.conf.

                  If you have single user, there should be .nvidia-settings-rc file in your home folder. The thing is with that config file, that you have to use nvidia-settings --load-config-only somewhere during DE start up(i.e. add that command to autostart).
                  Already have it loaded when I check at " startup application preference"
                  "sh -c '/usr/bin/nvidia-settings --load-config-only'"

                  What should I add in more during the startup command ?

                  Comment


                  • #10
                    Originally posted by Phxone View Post
                    Already have it loaded when I check at " startup application preference"
                    "sh -c '/usr/bin/nvidia-settings --load-config-only'"

                    What should I add in more during the startup command ?
                    Yeah that should be enough. Quite odd if that does not work(maybe bug or some application might override brightness value).

                    Comment

                    Working...
                    X