Announcement

Collapse
No announcement yet.

Correct screen refresh rate in KDM, wrong when loged in.

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

    Correct screen refresh rate in KDM, wrong when loged in.

    Are there some files except for xorg.conf that controls screen resolution and refresh rate? Some hidden KDE files somewhere in the home directory maybe?

    The reason I am asking is that when I boot my computer and get to the login screen everything is setup as it should be. I am running at 1024x768@85Hz just like I have configured it in xorg.conf.

    The problem is that when I log in to KDE the refresh rate drops to 75 Hz. I have to press Ctrl-Alt-+ manually everytime to change back to 1024x768@85Hz.

    When I look in KControl i can only select really low refresh rates in the range 50-55 Hz.

    I just want KDE to use the settings from xorg.conf and everything would work perfectly fine.

    Any ideas?

    #2
    Re: Correct screen refresh rate in KDM, wrong when loged in.

    Here is my xorg.conf for reference:


    Section "Files"
    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"
    # path to defoma fonts
    Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection

    Section "Module"
    Load "i2c"
    Load "bitmap"
    Load "ddc"
    Load "extmod"
    Load "freetype"
    Load "int10"
    Load "vbe"
    Load "glx"
    Load "v4l"
    EndSection

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

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/input/wacom"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "eraser"
    Option "Device" "/dev/input/wacom"
    Option "Type" "eraser"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "cursor"
    Option "Device" "/dev/input/wacom"
    Option "Type" "cursor"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection

    Section "Device"
    Identifier "nVidia Corporation NV43 [GeForce 6600 LE]"
    Boardname "NVIDIA GeForce 6 Series"
    Busid "PCI:2:0:0"
    Driver "nvidia"
    Screen 0
    Vendorname "NVIDIA"
    EndSection

    Section "Monitor"
    Identifier "Generic Monitor"
    Vendorname "Acer"
    Modelname "Acer 77c"
    Horizsync 30.0-72.0
    Vertrefresh 50.0-120.0
    Gamma 1.15
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "nVidia Corporation NV43 [GeForce 6600 LE]"
    Monitor "Generic Monitor"
    Defaultdepth 24
    SubSection "Display"
    Depth 24
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    screen 0 "Default Screen" 0 0
    Inputdevice "Generic Keyboard"
    Inputdevice "Configured Mouse"
    Inputdevice "stylus" "SendCoreEvents"
    Inputdevice "cursor" "SendCoreEvents"
    Inputdevice "eraser" "SendCoreEvents"
    EndSection

    Section "DRI"
    Mode 0666
    EndSection

    Section "ServerFlags"
    EndSection

    Comment


      #3
      Re: Correct screen refresh rate in KDM, wrong when loged in.

      I notice your using the Nvidia drivers, I assume you can change the refresh rate through there control panel which you can start by running: nvidia-settings

      Comment


        #4
        Re: Correct screen refresh rate in KDM, wrong when loged in.

        Yes, I can do that but KDE doesn't seem to remember it the next time I log in.

        Comment


          #5
          Re: Correct screen refresh rate in KDM, wrong when loged in.

          Try changing your modes line to something like this: Modes "1024x768@75" "800x600@75" "640x480@75"

          This assumes a refresh rate of 75Hz so change that as required.

          Comment


            #6
            Re: Correct screen refresh rate in KDM, wrong when loged in.

            Originally posted by HighHo
            Try changing your modes line to something like this: Modes "1024x768@75" "800x600@75" "640x480@75"

            This assumes a refresh rate of 75Hz so change that as required.
            I tried to change it to:

            Modes "1024x768@85" "800x600@85" "640x480@85"

            since a refresh rate of 85 Hz is what I want. It didn't work out though, it gave me 60 Hz both at the login screen after KDE startup.


            I still suspect that there is a config file for KDE somewhere that changes the refresh rate after login. Everything is fine at the login screen...

            Comment


              #7
              Re: Correct screen refresh rate in KDM, wrong when loged in.

              Just an idea but try and remove the following lines from your xorg.conf as these values can probably be auto detected:
              Horizsync 30.0-72.0
              Vertrefresh 50.0-120.0
              And then add: Option "DPMS" "true"
              Then check KControl again to see if you can set the desired value if its still incorrect after X has been reset with the new config.

              Comment


                #8
                Re: Correct screen refresh rate in KDM, wrong when loged in.

                I just tried it but it didn't help either.

                The refresh rate was still correct (85 Hz) at the login screen and wrong (75 Hz) when logged in. In KControl I could still only select refresh rates in the range 50-55 Hz.

                Annoying problem...

                Comment


                  #9
                  Re: Correct screen refresh rate in KDM, wrong when loged in.

                  Back up your xorg.conf and execute "sudo dpkg-reconfigure xserver-xorg", making sure you select the appropriate driver and your preferred resolutions.
                  For external use only.

                  Comment


                    #10
                    Re: Correct screen refresh rate in KDM, wrong when loged in.

                    It has been suggested that these two files may have something to do with this type problem:

                    /var/log/kdm.log


                    /var/log/Xorg.0.Xorg

                    My problem is the opposite of yours, btw., and there are others with some variation, so I guess you are right the resolution(s) are set at different places in the system. Just a guess, though.

                    Comment

                    Working...
                    X