Find the answer to your Linux question:
Results 1 to 2 of 2
Im having a problem I can not seen to fix here. I have Suse 9.1 Pro installed on a HP5260US Laptop, which has a Gforce 440 go 64meg video card. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Posts
    26

    Incorect screen size after installing Nvidia Driver


    Im having a problem I can not seen to fix here.
    I have Suse 9.1 Pro installed on a HP5260US Laptop, which has a Gforce 440 go 64meg video card. I have included the XF86config file here in hope that maybe someone here can help me figure this odd one out.

    The steps I took are this, I made back ups of my XF86Config file all along the way...but here is what I did.

    First I modfied my XF86Config file to be able to generate the 1280x800 my WXGA 15.4" LCD monitor needs. After that I logged out and started X everything went fine. Desktop was then correctly sized. (backed up the XF86 Config file at this point also. Then, I downloaded and installed the newest Nvidia Driver...and rebooted, everything was fine then too. Except I know I had to make one last change tot he XF86Config file to enable it to use the new "nvidia" driver instead of the old "nv" driver.

    When I changed to file entry from "nv" to "nvidia" and rebooted...my screen now SHRUNK to be about 3/4ths the size (left to right) and now the top most portion of the screen is now duplicated at the bottom of the screen, as if the whole screen image is tiled, like a desktop background can be. Im not sure what to do now.

    Could this be a by product of the driver not being fully compatable with my system? I had this system fully working on an Nvidia driver, screen looked beautiful about 3 months ago...now its garbage.

    Here is my current XF86config file as it stands now with the "tiling mess up"
    linux:~ # cd /etc/X11/
    linux:/etc/X11 # ls
    . XF86Config.improved icewm twm
    .. XF86Config.install kstylerc xdm
    .kstylerc.lock XF86Config.nvidiaenabled lbxproxy xfce
    .qt_plugins_3.3rc.lock XF86Config.saxsave mlterm xim
    .qtrc.lock Xmodmap proxymngr xinit
    WindowMaker Xmodmap.remote qt_gtk_fnt2fntrc xkb
    XF86Config Xresources qt_plugins_3.3rc xserver
    XF86Config.22 fs qtrc xsm
    XF86Config.YaST2save fvwm2 rstart
    linux:/etc/X11 # cat XF86Config
    # /.../
    # SaX generated XFree86 config file
    # Created on: 2005-01-09T09:01:42+0100.
    #
    # Version: 4.8
    # Contact: Marcus Schaefer <sax@suse.de>, 2002
    #
    # Automatically generated by [ISaX] (4.
    # PLEASE DO NOT EDIT THIS FILE!
    #
    Section "Files"
    FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/local"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath "/usr/X11R6/lib/X11/fonts/URW"
    FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath "/usr/X11R6/lib/X11/fonts/PEX"
    FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
    FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
    FontPath "/usr/X11R6/lib/X11/fonts/truetype"
    FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/CID"
    FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
    FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/xtest"
    FontPath "/opt/kde3/share/fonts"
    InputDevices "/dev/ttyS0"
    InputDevices "/dev/ttyS1"
    InputDevices "/dev/ttyS2"
    InputDevices "/dev/ttyS3"
    InputDevices "/dev/ttyS4"
    InputDevices "/dev/ttyS5"
    InputDevices "/dev/ttyS6"
    InputDevices "/dev/ttyS7"
    InputDevices "/dev/ttyS8"
    InputDevices "/dev/psaux"
    InputDevices "/dev/logibm"
    InputDevices "/dev/sunmouse"
    InputDevices "/dev/atibm"
    InputDevices "/dev/amigamouse"
    InputDevices "/dev/atarimouse"
    InputDevices "/dev/inportbm"
    InputDevices "/dev/gpmdata"
    InputDevices "/dev/mouse"
    InputDevices "/dev/usbmouse"
    InputDevices "/dev/adbmouse"
    InputDevices "/dev/input/mice"
    InputDevices "/dev/input/event0"
    InputDevices "/dev/pointer0"
    InputDevices "/dev/pointer1"
    InputDevices "/dev/pointer2"
    InputDevices "/dev/pointer3"
    EndSection

    Section "ServerFlags"
    Option "AllowMouseOpenFail"
    EndSection

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

    Section "InputDevice"
    Driver "Keyboard"
    Identifier "Keyboard[0]"
    Option "Protocol" "Standard"
    Option "XkbLayout" "us"
    Option "XkbModel" "pc104"
    Option "XkbRules" "xfree86"
    EndSection

    Section "InputDevice"
    Driver "mouse"
    Identifier "Mouse[1]"
    Option "Device" "/dev/input/mice"
    Option "Name" "Autodetection"
    Option "Protocol" "explorerps/2"
    Option "Vendor" "Sysp"
    EndSection

    Section "InputDevice"
    Driver "mouse"
    Identifier "Mouse[3]"
    Option "Buttons" "5"
    Option "Device" "/dev/input/mice"
    Option "Name" "Autodetection"
    Option "Protocol" "explorerps/2"
    Option "Vendor" "Sysp"
    Option "ZAxisMapping" "4 5"
    EndSection

    Section "Monitor"
    Option "CalcAlgorithm" "CheckDesktopGeometry"
    DisplaySize 320 240
    HorizSync 28-82
    Identifier "Monitor[0]"
    ModelName "1280X1024@60HZ"
    Option "DPMS"
    VendorName "--> LCD"
    VertRefresh 40-60
    UseModes "16:10"
    EndSection

    Section "Modes"
    Identifier "16:10"
    Modeline "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828
    Modeline "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
    Modeline "1280x960" 97.68 1280 1352 1488 1696 960 961 964 993
    Modeline "1152x864" 78.82 1152 1216 1336 1520 864 865 868 894
    Modeline "800x600" 36.88 800 832 912 1024 600 601 604 621
    Modeline "640x480" 23.06 640 656 720 800 480 481 484 497
    Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066
    EndSection

    Section "Screen"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1280x800"
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1280x1024"
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 32
    Modes "1024x768"
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1024x768"
    EndSubSection
    Device "Device[0]"
    Identifier "Screen[0]"
    Monitor "Monitor[0]"
    EndSection

    Section "Device"
    BoardName "GeForce4 440 Go 64M"
    BusID "1:0:0"
    Driver "nvidia"
    Identifier "Device[0]"
    Screen 0
    VendorName "NVidia"
    EndSection

    Section "ServerLayout"
    Identifier "Layout[all]"
    InputDevice "Keyboard[0]" "CoreKeyboard"
    InputDevice "Mouse[1]" "CorePointer"
    InputDevice "Mouse[3]" "SendCoreEvents"
    Option "Clone" "off"
    Option "Xinerama" "off"
    Screen "Screen[0]"
    EndSection

    Section "DRI"
    Group "video"
    Mode 0660
    EndSection

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    SuSE Linux 9.1-IA32

    It is recommended to use YOU (YaST Online Update) for (re)installation
    of the nvidia driver. There are several reasons for this. First, it's
    simple. Second, and this is the most important one, you won't need to
    recompile the nvidia kernel module after a kernel update.

    Inside YOU enable "Installable and Installed Patches" for "Show Patch
    Category" and select "Download NVIDIA(r) Graphics Driver" from the
    patches list (usually at the bottom of the list). Note, that you need
    to mark it as "Update" (right mouse click) if you already installed it
    before and the driver was uninstalled - for any reason. Proceed as
    usual now. After YOU has finished restart your Xserver (i.e. logout
    from your Xsession) and you're fine.

    People who aren't afraid of recompiling the nvidia kernel module or
    even reinstalling the nvidia driver each time the kernel has been
    updated and want or need to use the latest and greatest nvidia driver
    can use the following steps 1-3. The others should use the
    instructions above using YOU and skip the steps below.

    1) Kernel sources must be installed and configured. Usually this means
    installing the 'kernel-source', 'make' and 'gcc' packages with YaST2.
    Update it - if not already done - via YaST2 Online Update (YOU).

    2) Use the nvidia installer for 1.0-6629.

    sh NVIDIA-Linux-x86-1.0-6629-pkg1.run -q

    3) Configure XFree86 with

    sax2 -m 0=nvidia (0 is a digit, not a letter!)

    NOTE: There is no need to try to enable 3D support. It's already
    enabled, when the nvidia driver is running.
    Did you follow this, were there any error you've encountered.

    Section "Screen"
    Identifier "screen0"
    Device "videocard0"
    Monitor "monitor0"
    DefaultColorDepth 24

    Subsection "Display"
    ViewPort 0 0
    Depth 24
    Modes "1280x1024"
    EndSubsection
    EndSection
    this is my screen section put your 1200x800 instead, and comment your Modes section
    also comment the line USERMODE under the section monitor,...

    try that out, I must advise you, that I never tryed this and it is posted as is since I never testing nor tryed this.. (never ran Suse) but I have a fair understanding of the config file.
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

Posting Permissions

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