Find the answer to your Linux question:
Results 1 to 7 of 7
Ok so I finaly got this nVidia driver installed, and for a while it worked just fine. But then all of a sudden when I booted up again, my resolution ...
  1. #1
    Just Joined! VanHalenMan's Avatar
    Join Date
    Aug 2008
    Posts
    49

    [SOLVED] Nvidia resolution problem.

    Ok so I finaly got this nVidia driver installed, and for a while it worked just fine. But then all of a sudden when I booted up again, my resolution is 640x480. So im thinking, hmm thats odd, no big deal ill just go to system->preferences-> monitors and change the resolution back. Well when I get there I find that I only have 2 options, 649x480, and 320x240. So I did some research and tried editing my /etc/X11/xorg.conf:
    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 260.19.21  (buildmeister@builder103.nvidia.com)  Thu Nov  4 20:57:26 PDT 2010
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
    EndSection
    
    Section "Files"
        FontPath        "/usr/share/fonts/default/Type1"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/input/mice"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
        # generated from data in "/etc/sysconfig/keyboard"
        Identifier     "Keyboard0"
        Driver         "kbd"
        Option         "XkbLayout" "us"
        Option         "XkbModel" "pc105"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Unknown"
        HorizSync       28.0 - 33.0
        VertRefresh     43.0 - 72.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        SubSection     "Display"
            Depth       24
            //I added this:
            Modes      "1024x768"
            //
        EndSubSection
    EndSection
    so I did init3 and init 5 to restartx but it didnt work, I still have the same crappy resolution. The driver still works because I have my hardwar accelleration still, but this resolution is aweful. Right when I installed the driver, I had all kinds of resolutions, and they worked fine for a while. I can't find an answer for this. Anyhelp is appreciated. Thanks.
    Last edited by VanHalenMan; 11-26-2010 at 06:24 PM.

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Make sure you have nvidia-settings installed and use that to set your monitor and video card options. It may already be installed. Look in your system menu. If not, use the package manager to search for and install it.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined! VanHalenMan's Avatar
    Join Date
    Aug 2008
    Posts
    49
    Yep I have it installed already. Assuming you are referring to the NVIDIA X server settings. When I go to the resolution there, I get the same thing, 640x480.

  4. #4
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    I'm not sure which of these will work best, but feel free to try them all - keep a backup of your xorg.conf though:

    - Try 'system-config-display --reconfig', this will try to initialise your video card with safe settings and allow you to fix problems. This works best in runlevel 3.

    - You could try removing your xorg.conf from the /etc/X11 directory. The latest version of X shipped with Fedora and RedHat will work great without it - it can autodetect pretty much everything when it starts.

    - You could try switching back to the 'nv' driver in your xorg.conf to see if the problem clears; if it doesn't, then it could be a different problem. I vaguely remember having difficulties with user-based resolution settings a few years ago which took precedence over the system based setting - this was hidden away in the gnome2 directory in my home directory somewhere.
    Linux user #126863 - see http://linuxcounter.net/

  5. #5
    Just Joined! VanHalenMan's Avatar
    Join Date
    Aug 2008
    Posts
    49
    Quote Originally Posted by Roxoff View Post
    I'm not sure which of these will work best, but feel free to try them all - keep a backup of your xorg.conf though:

    - Try 'system-config-display --reconfig', this will try to initialise your video card with safe settings and allow you to fix problems. This works best in runlevel 3.

    - You could try removing your xorg.conf from the /etc/X11 directory. The latest version of X shipped with Fedora and RedHat will work great without it - it can autodetect pretty much everything when it starts.

    - You could try switching back to the 'nv' driver in your xorg.conf to see if the problem clears; if it doesn't, then it could be a different problem. I vaguely remember having difficulties with user-based resolution settings a few years ago which took precedence over the system based setting - this was hidden away in the gnome2 directory in my home directory somewhere.
    Ok I got it to work. At first that system-config-display --reconfig didnt work. When I rebooted after configuring, My fedora loading bar would fill, and then just sorta flash, and nothing would happen. So I booted up my live fc 14 and took my original one, put only the monitor section from the system-config-display --reconfig and put it in that one and it worked. Thanks

    On a side note, I did try deleting my /etc/X11/xorg.conf and see what happens if it autogens a new one, and I had the same problem. When I booted it was fine, since the driver wasnt being used but when I ran 'nvidia-xconfig' in the terminal to generate a new xorg.conf I had the same problem when I did init 5, 640x420 resolution (or whatever it was)

    Anyway, Im still not sure what went wrong, but Its workin fine now. So thanks.

  6. #6
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Glad you got it sorted, feel free to mark this thread as solved from within the link at the top of the thread >Thread tools>Mark thread as solved.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  7. #7
    Just Joined! VanHalenMan's Avatar
    Join Date
    Aug 2008
    Posts
    49
    Oh, is that how you do that. I was tryin to figure it out earlier.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...