Announcement

Collapse
No announcement yet.

Refresh rate not correct after reboot

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Refresh rate not correct after reboot

    Hi all. I am using non-free nvidia video driver with Ibex and I have my screen set up the way I like it at 1600x1200 with a refresh rate of 85hz. I use nvidia-settings to make these adjustments and then select "save to X configuration file" and "merge with existing file".
    This has worked in the past, but since I upgraded to Ibex it does not. When I save the settings, the terminal window displays:

    sh: pkg-config: not found

    Any ideas? Here is my xorg.conf file (minus the comments in the beginning):

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen 0 "Screen0" 0 0
    InputDevice "Generic Keyboard" "CoreKeyboard"
    InputDevice "Configured Mouse"
    EndSection

    Section "Files"
    EndSection

    Section "Module"
    Load "glx"
    EndSection

    Section "ServerFlags"
    Option "Xinerama" "0"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    EndSection

    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "hp P930"
    HorizSync 30.0 - 110.0
    VertRefresh 50.0 - 160.0
    EndSection

    Section "Device"
    Identifier "Configured Video Device"
    Driver "nvidia"
    Option "NoLogo" "True"
    EndSection

    Section "Device"
    Identifier "Videocard0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce2 MX 100/200"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "Configured Video Device"
    Monitor "Configured Monitor"
    DefaultDepth 24
    Option "AddARGBGLXVisuals" "True"
    EndSection

    Section "Screen"

    # Removed Option "metamodes" "1280x1024_85 +0+0; nvidia-auto-select +0+0"
    # Removed Option "metamodes" "1600x1200 +0+0; nvidia-auto-select +0+0; 1400x1050 +0+0"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "metamodes" "1600x1200_85 +0+0; 1600x1200 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection


    Thanks,
    mjc

    #2
    Re: Refresh rate not correct after reboot

    just a guess...try:
    Code:
    sudo apt-get install pkg-config
    then re-try:
    Code:
    kdesudo nvidia-settings
    Dell Inspiron 1720 Laptop<br />Intel T9300 Core2Duo Processor @ 2.5Ghz<br />4 GB Ram | 1920 X 1200 Resolution<br />2 X 160 GB SATA HD Internal<br />Nvidia GeForce 8600M Graphics Adapter<br />Using Kubuntu 9.10

    Comment


      #3
      Re: Refresh rate not correct after reboot

      I'm running the proprietary Nvidia driver, at 1600x1200, so I'll share my xorg.conf. BTW, I recommend you leave the "refresh" rate on "auto" -- the driver will attempt to refresh as fast as it can for whatever you're displaying -- you don't want to try to outsmart it.

      dibl@ibex:~$ cat /etc/X11/xorg.conf
      # nvidia-xconfig: X configuration file generated by nvidia-xconfig
      # nvidia-xconfig: version 1.0 (buildmeister@builder58) Thu Dec 18 15:01:22 PST 2008

      # nvidia-settings: X configuration file generated by nvidia-settings
      # nvidia-settings: version 1.0 (buildmeister@builder58) Sat Nov 8 18:21:35 PST 2008

      Section "ServerLayout"
      Identifier "Layout0"
      Screen 0 "Screen0" 0 0
      InputDevice "Keyboard0" "CoreKeyboard"
      InputDevice "Mouse0" "CorePointer"
      EndSection

      Section "Files"
      EndSection

      Section "Module"
      Load "dbe"
      Load "extmod"
      Load "type1"
      Load "freetype"
      Load "glx"
      EndSection

      Section "ServerFlags"
      Option "Xinerama" "0"
      EndSection

      Section "InputDevice"

      # generated from default
      Identifier "Mouse0"
      Driver "mouse"
      Option "Protocol" "auto"
      Option "Device" "/dev/psaux"
      Option "Emulate3Buttons" "no"
      Option "ZAxisMapping" "4 5"
      EndSection

      Section "InputDevice"

      # generated from default
      Identifier "Keyboard0"
      Driver "kbd"
      EndSection

      Section "Monitor"
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "Samsung SyncMaster"
      HorizSync 30.0 - 130.0
      VertRefresh 50.0 - 160.0
      Option "DPMS"
      EndSection

      Section "Device"
      Identifier "Device0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      BoardName "GeForce 9600 GT"
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      Option "TwinView" "0"
      Option "TwinViewXineramaInfoOrder" "CRT-0"
      Option "metamodes" "1600x1200 +0+0"
      Option "Coolbits" "1"
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection

      Comment


        #4
        Re: Refresh rate not correct after reboot

        Thanks for the replies. I did the "apt-get install pkg-config" and "kdesudo nvidia-xconfig" and that made the error message go away, but did not solve the refresh rate problem.
        I also changed the metamode line in xorg by removing the specified refresh rate (85hz) and replacing it with "nvidia-auto-select".
        Still no change.
        Any other ideas?

        Comment


          #5
          Re: Refresh rate not correct after reboot

          Originally posted by mjc
          Thanks for the replies. I did the "apt-get install pkg-config" and "kdesudo nvidia-xconfig" and that made the error message go away, but did not solve the refresh rate problem.
          I also changed the metamode line in xorg by removing the specified refresh rate (85hz) and replacing it with "nvidia-auto-select".
          Still no change.
          Any other ideas?
          Hello everybody,

          I have the same problem:
          After login I get a 60 Hz display instead of "auto" or "75Hz" saved in xorg.conf !?
          TIA with the hope that someone resolved :-/

          Here's my xorg.conf:

          # nvidia-settings: X configuration file generated by nvidia-settings
          # nvidia-settings: version 1.0 (buildd@vernadsky) Thu Jun 5 09:26:53 UTC 2008


          Section "ServerLayout"
          Identifier "Layout0"
          Screen 0 "Screen0" 0 0
          InputDevice "Keyboard0" "CoreKeyboard"
          InputDevice "Mouse0" "CorePointer"
          EndSection

          Section "Files"
          RgbPath "/usr/X11R6/lib/X11/rgb"
          EndSection

          Section "Module"
          Load "extmod"
          Load "type1"
          Load "freetype"
          Load "glx"
          Load "GLcore"
          Load "v4l"
          EndSection

          Section "ServerFlags"
          Option "Xinerama" "0"
          EndSection

          Section "InputDevice"

          # generated from default
          Identifier "Mouse0"
          Driver "mouse"
          Option "Protocol" "auto"
          Option "Device" "/dev/psaux"
          Option "Emulate3Buttons" "no"
          Option "ZAxisMapping" "4 5"
          EndSection

          Section "InputDevice"

          # generated from default
          Identifier "Keyboard0"
          Driver "kbd"
          EndSection

          Section "Monitor"
          Identifier "Monitor0"
          VendorName "Unknown"
          ModelName "Samsung SyncMaster"
          HorizSync 30.0 - 81.0
          VertRefresh 56.0 - 75.0
          Gamma 1
          ModeLine "640x480@60" 25.0 640 656 752 800 480 490 492 525 -hsync -vsync
          ModeLine "640x480@72" 31.0 640 664 704 832 480 489 491 520 -hsync -vsync
          ModeLine "640x480@75" 31.0 640 656 720 840 480 481 484 500 -hsync -vsync
          ModeLine "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
          ModeLine "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
          ModeLine "800x600@75" 49.0 800 816 896 1056 600 601 604 625 +hsync +vsync
          ModeLine "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
          ModeLine "832x624@75" 57.0 832 864 928 1152 624 625 628 667 -hsync -vsync
          ModeLine "1024x768@75" 78.0 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
          ModeLine "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
          ModeLine "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
          ModeLine "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
          ModeLine "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
          ModeLine "1280x960@60" 102.0 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
          ModeLine "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
          ModeLine "1280x960@75" 129.0 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
          ModeLine "1400x1050@60" 122.0 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
          ModeLine "1600x1200@65" 175.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
          ModeLine "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
          EndSection

          Section "Monitor"

          #
          Identifier "monitor1"
          Gamma 1
          EndSection

          Section "Device"
          Identifier "Videocard0"
          Driver "nvidia"
          VendorName "NVIDIA Corporation"
          BoardName "GeForce FX 5200"
          EndSection

          Section "Device"

          #
          Identifier "device1"
          Driver "nv"
          VendorName "NVIDIA"
          BoardName "NVIDIA GeForce FX (generic)"
          BusID "PCI:1:0:0"
          Screen 1
          EndSection

          Section "Screen"

          # Removed Option "metamodes" "1440x900 +0+0; 1440x900_75 +0+0; nvidia-auto-select +0+0"
          Identifier "Screen0"
          Device "Videocard0"
          Monitor "Monitor0"
          DefaultDepth 24
          Option "TwinView" "0"
          Option "TwinViewXineramaInfoOrder" "CRT-0"
          Option "metamodes" "1440x900_75 +0+0; 1440x900 +0+0; nvidia-auto-select +0+0"
          SubSection "Display"
          Depth 24
          EndSubSection
          EndSection

          Section "Screen"

          #
          Identifier "screen1"
          Device "device1"
          Monitor "monitor1"
          DefaultDepth 24
          EndSection

          Comment

          Working...
          X