Announcement

Collapse
No announcement yet.

Problem witn video resolution

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

    Problem witn video resolution

    Hi everybody!!!

    I have just installed the Kubuntu here, and installed the nvidia drive successfully!!

    But when I use my first account I can not change the video resolution!!! It stays in 800x640. But when I made another account, the video resolution changed to 1024x768!!!

    How can I change the first account for 1024x768?? I would like to use just my first account!!!

    Is there any file, like x.config, that I need to edit??

    Thanks

    PrimoItch

    #2
    Re: Problem witn video resolution

    While logged in to your first account, open a konsole window and enter
    Code:
    sudo nvidia-settings
    choose the second menu item "X Server Display Configuration". On that panel, first tell it to "detect displays", then set the resolution and refresh rate as you wish. I recommend "auto" for the refresh setting. When you have it the way you want it, go down to the lower right corner and click "Save to X Configuration File", then click "save" on the little window that opens.

    Restart your x server with Ctrl-Alt-Backspace and when you log in again it should come up with the resolution that you set. You can do this procedure for each account.

    Comment


      #3
      Re: Problem witn video resolution

      Hi dibl,

      tanks for the reply!!! :-D

      I did what you said, the problem is when I reestart the X, the old resolution cames back, instead of keeping the new one!! :-(

      I think that it does not change the "default" configuration, that`s why the old resolutin cames back!!

      here is my xorg.conf

      # nvidia-settings: X configuration file generated by nvidia-settings
      # nvidia-settings: version 1.0 (buildmeister@builder3) Sat May 26 01:05:11 PDT 2007

      # nvidia-xconfig: X configuration file generated by nvidia-xconfig
      # nvidia-xconfig: version 1.0 (buildmeister@builder3) Sat May 26 01:04:16 PDT 2007
      # /etc/X11/xorg.conf (xorg X Window System server configuration file)
      #
      # This file was generated by dexconf, the Debian X Configuration tool, using
      # values from the debconf database.
      #
      # Edit this file with caution, and see the xorg.conf(5) manual page.
      # (Type "man xorg.conf" at the shell prompt.)
      #
      # This file is automatically updated on xserver-xorg package upgrades *only*
      # if it has not been modified since the last upgrade of the xserver-xorg
      # package.
      #
      # If you have edited this file but would like it to be automatically updated
      # again, run the following command:
      # sudo dpkg-reconfigure -phigh xserver-xorg

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

      Section "Files"

      # path to defoma fonts
      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"
      EndSection

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

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

      Section "InputDevice"
      Identifier "Generic Keyboard"
      Driver "kbd"
      Option "CoreKeyboard"
      Option "XkbRules" "xorg"
      Option "XkbModel" "abnt2"
      Option "XkbLayout" "br"
      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"
      Identifier "stylus"
      Driver "wacom"
      Option "Device" "/dev/input/wacom"
      Option "Type" "stylus"
      Option "ForceDevice" "ISDV4" # Tablet PC ONLY
      EndSection

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

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

      Section "Monitor"
      Identifier "AOC Spectrum"
      Option "DPMS"
      EndSection

      Section "Monitor"
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "AOC Spectrum5E"
      HorizSync 30.0 - 54.0
      VertRefresh 50.0 - 120.0
      EndSection

      Section "Device"
      Identifier "nVidia Corporation NV34 [GeForce FX 5200]"
      Driver "nvidia"
      EndSection

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

      Section "Screen"
      Identifier "Default Screen"
      Device "nVidia Corporation NV34 [GeForce FX 5200]"
      Monitor "AOC Spectrum"
      DefaultDepth 24
      SubSection "Display"
      Depth 1
      Modes "800x600" "640x480"
      EndSubSection
      SubSection "Display"
      Depth 4
      Modes "800x600" "640x480"
      EndSubSection
      SubSection "Display"
      Depth 8
      Modes "800x600" "640x480"
      EndSubSection
      SubSection "Display"
      Depth 15
      Modes "800x600" "640x480"
      EndSubSection
      SubSection "Display"
      Depth 16
      Modes "800x600" "640x480"
      EndSubSection
      SubSection "Display"
      Depth 24
      Modes "800x600" "640x480"
      EndSubSection
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Videocard0"
      Monitor "Monitor0"
      DefaultDepth 24
      Option "TwinView" "0"
      Option "metamodes" "1024x768 +0+0; 640x480 +0+0"
      EndSection

      maybe it can help!!! :-D

      becouse I do not understand it very well!!! :-D

      thanks

      PrimoItch!!!


      Comment


        #4
        Re: Problem witn video resolution

        One thing that I would suggest that MIGHT (or might not) help is to make a change to your /etc/xorg.conf file. Under Section "Screen", you only have entries for "800x600" and "640x480" for each "Display" mode. I would suggest REMOVING BOTH OF THOSE and subsituting "1024x768" as the only allowed resolution for every bit depth. Of course, you must backup the file first before making this change.

        An alternative, but potentially more damaging, technique to accomplish this would be to run the konsole command "dpkg-reconfigure xserver-xorg". You can choose sensible alternatives for all questions until you get to the one oabout display resolution. Then make sure that ONLY 1024x768 is checked. This technique has the advantage that backup is automatic, and the disadvantage that an incorrect answer to a question that you don';t understand can really mess up your display.

        The reason that I say "MIGHT help" rather than "will help", is that when something works for one user and not for another, the problem is almost always one of a faulty configuration file in the first user's personal home directory tree. When the problem is one of display resolution, it is usually due to the old user making a change in the KDE System Settings that changes a file in that user's .kde directory. The new user gets a new file without the erroneous configuration choice. But, if that were the case, then your xorg.conf file should be correct. It isn't and so, I'm confused.

        Comment


          #5
          Re: Problem witn video resolution

          I know this probably sounds like an odd response or request, but I can't see enough of the "nvidia-settings" window to try some of these solutions. I was wondering if anyone would know of a way to see the options under the "X Server Display Configuration" area or if you would have a screenshot of it so I could maybe calculate where I'm at when tabbing through the settings.

          UPDATE:
          Nevermind, I figured out how to see it all. I had to use the Alt+F3 menu and use the "Fullscreen" option. A lot of the settings were "scrunched" together but the scrollbar was there. Though, being able to see the settings didn't help fix the issue. I'm still stuck at 640x480.

          Comment


            #6
            Re: Problem witn video resolution

            My hunch is that when you "saved configuration" from nvidia-settings (in Super User mode), it wrote the Screen0 stanza, but your user account is using Default Screen.

            To test my hunch, backup your xorg.conf file, then copy the desired configuration from Screen0 to Default Screen, in lieu of the existing Default Screen lines, i.e. copy this

            Code:
            Device     "Videocard0"
              Monitor    "Monitor0"
              DefaultDepth  24
              Option     "TwinView" "0"
              Option     "metamodes" "1024x768 +0+0; 640x480 +0+0"
            to replace this

            Code:
            Device     "nVidia Corporation NV34 [GeForce FX 5200]"
              Monitor    "AOC Spectrum"
              DefaultDepth  24
              SubSection   "Display"
                Depth    1
                Modes   "800x600" "640x480"
              EndSubSection
              SubSection   "Display"
                Depth    4
                Modes   "800x600" "640x480"
              EndSubSection
              SubSection   "Display"
                Depth    8
                Modes   "800x600" "640x480"
              EndSubSection
              SubSection   "Display"
                Depth    15
                Modes   "800x600" "640x480"
              EndSubSection
              SubSection   "Display"
                Depth    16
                Modes   "800x600" "640x480"
              EndSubSection
              SubSection   "Display"
                Depth    24
                Modes   "800x600" "640x480"
              EndSubSection
            Save this version as the new xorg.conf file, and then (as first account user) restart X with Ctrl-Alt-Backspace and see what you get. If I'm wrong, just restore the backed-up xorg.conf and you'll be no worse off.

            It's also possible I have the situation reversed -- you could try that for your next experiment -- replacing the Screen0 configuration with the configuration from Default Screen.

            Comment

            Working...
            X