LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Installing nVIDIA drivers (https://www.linuxquestions.org/questions/suse-opensuse-60/installing-nvidia-drivers-488814/)

ojonsson 10-02-2006 03:15 PM

Installing nVIDIA drivers
 
Hey ya! I've been trying to install some hardware acceleration drivers from nVIDIA and it tells me i need some sort of kernel source. I have a 6600GT and selecting the nv drivers or the geforce drivers from SaX2 or in "xorgconfig" at the console results in a messed up desktop where it looks like its splitting the video signal in four and displaying it on one monitor. I also need help/and/or/answers regarding using two monitors. I should also tell you that i am sort of a noob so im gonna need detailed instructions. thanks in advance and may the force be with ye! arrgh!

amlucent23 10-02-2006 03:45 PM

I will assume this is on a suse 10.1 system.

open yast->Software management-> search for "kernel source" put a check by it and it will install.. for dual head support also install Xinerama.

You should also probably go into yast-Installation sources and follow the instructions on this page
http://en.opensuse.org/Additional_Ya...e_Repositories

and add the nvidia one if its not already there (it is there by default if you purchased your copy from Novell. You may also want to add the Packman and Guru repos as well. Then why not go back into software management and install the official nvidia drivers without ever having to compile them or needing the kernel source?

ojonsson 10-02-2006 05:29 PM

i did that, and it wont fine "Xinerama" could you be a little bit more specific please? What exactly do i need to install or modify to enable this Xinerama? I'm not looking for two instances of X, i just dont want to see the same thing on both screens. currently, after installing the nvidia driver, i only see something on ONE screen...but when i reboot and it goes INTO X, thats when i see the CLI on two screens. Please, sir...may i have some more of your knowledge"?

ojonsson 10-02-2006 05:43 PM

oh here is my xorg.conf file,

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Aug 1 21:11:12 PDT 2006

# generic XFree86 4.x configuration file
# Screen Section for module X support
# -------------------------------------
# Screen Section for fbdev support
# ----------------------------------
# Screen Section for vesa support
# ----------------------------------
# Screen Section for vmware support
# ----------------------------------
# Device Sections...
# -------------------

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

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
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/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
FontPath "/usr/X11R6/lib/X11/fonts/truetype/"
FontPath "/usr/X11R6/lib/X11/fonts/URW/"
FontPath "/usr/X11R6/lib/X11/fonts/uni/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
EndSection

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

Section "ServerFlags"
Option "AllowMouseOpenFail"
Option "BlankTime" "0"
EndSection

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

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

Section "Modes"
Identifier "Modes[0]"
ModeLine "800x600" 29.4 800 816 896 992 600 601 604 617 # 1. Try
ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 # 6. Try
ModeLine "640x480" 31.5 640 680 720 864 480 488 491 521 # 5. Try
ModeLine "640x480" 28.0 640 664 760 800 480 491 493 525 # 4. Try
ModeLine "640x480" 28.3 640 664 760 800 480 491 493 525 # 3. Try
ModeLine "640x480" 25.2 640 664 760 800 480 491 493 525 # 2. Try
ModeLine "640x480" 25.2 640 664 760 800 480 491 493 525 # 1. Try
EndSection

Section "Modes"
Identifier "Modes[vmware]"
ModeLine "800x600" 29.4 800 816 896 992 600 601 604 617
EndSection

Section "Monitor"
Identifier "Monitor[0]"
VendorName "Initial"
ModelName "Initial"
UseModes "Modes[0]"
HorizSync 25.0 - 40.0
VertRefresh 47.0 - 75.0
EndSection

Section "Monitor"
Identifier "Monitor[vmware]"
VendorName "Initial"
ModelName "Initial"
UseModes "Modes[vmware]"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
EndSection

Section "Monitor"
Identifier "Monitor[vesa]"
VendorName "VESA"
ModelName "VESA"
HorizSync 31.0 - 48.0
VertRefresh 50.0 - 60.0
EndSection

Section "Device"

#BusID "1:0:0"
# device_options
Identifier "Device[0]"
Driver "ChangeMe"
Option "sw_cursor" "on"
EndSection

Section "Device"

# fbdev_options
Identifier "Device[fbdev]"
Driver "nvidia"
EndSection

Section "Device"

#Option "DefaultRefresh"
Identifier "Device[vesa]"
Driver "vesa"
Option "ModeSetClearScreen" "no"
EndSection

Section "Device"
Identifier "Device[vmware]"
Driver "vmware"
EndSection

Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 32
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen[fbdev]"
Device "Device[fbdev]"
Monitor "Monitor[0]"
Option "ShadowFB" "off"
SubSection "Display"
Modes "default"
EndSubSection
SubSection "Display"
Depth 15
Modes "default"
EndSubSection
SubSection "Display"
Depth 15
Modes "default"
EndSubSection
SubSection "Display"
Depth 24
Modes "default"
EndSubSection
SubSection "Display"
Depth 32
Modes "default"
EndSubSection
SubSection "Display"
Depth 8
Modes "default"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen[vesa]"
Device "Device[vesa]"
Monitor "Monitor[vesa]"
SubSection "Display"
Depth 16
Modes "default"
EndSubSection
SubSection "Display"
Depth 8
Modes "default"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen[vmware]"
Device "Device[vmware]"
Monitor "Monitor[vmware]"
SubSection "Display"
Depth 8
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
EndSection

ojonsson 10-02-2006 06:39 PM

yay, i got it. here is my edited file.

# /.../
# SaX generated X11 config file
# Created on: 2006-10-01T16:28:53-0700.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (7.1)
# 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/gpmdata"
InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

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

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


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "7"
Option "Device" "/dev/input/mice"
Option "Name" "Behavior Tech USB Gaming Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 380 300
HorizSync 30-82
Identifier "Monitor[0]"
ModelName "VIEWSONIC VA902B"
Option "DPMS"
VendorName "VSC"
VertRefresh 50-85
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
EndSection


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


Section "Device"
BoardName "GeForce 6600 GT"
BusID "2:0:0"
Driver "nvidia"
Identifier "Device[0]"
Option "SaXDualHead"
Option "TwinView"
Option "VertRefresh" "50-85"
Option "HorizSync" "30-82"
Option "SaXDualHSync" "31-82"
Option "SaXDualMonitorModel" "VIEWSONIC VA712-2SERIES"
Option "SaXDualVSync" "50-85"
Option "usevnc" "no"
Option "SaXDualMonitorVendor" "VSC"
Option "SecondMonitorHorizSync" "31-82"
Option "MetaModes" "1280x1024,1280x1024;1280x960,1280x960;1280x800,1280x800;1152x864,1152x864;1280x768,1280x768;1024x76 8,1024x768;1280x600,1280x600;1024x600,1024x600;800x600,800x600;768x576,768x576;640x480,640x480"
Option "SaXDualOrientation" "LeftOf"
Option "SaXDualResolution" "1280x1024"
Option "TwinViewOrientation" "LeftOf"
Option "SaXDualMode" "Xinerama"
Option "SecondMonitorVertRefresh" "50-85"
VendorName "NVidia"
EndSection


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


Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
EndSection

Perps 10-02-2006 08:08 PM

Easiest way I found to install nvidia drivers on 10.1 was to use the tiny-nvidia-installer utility.

Open a terminal/konsole etc, su to root and then type:

tiny-nvidia-installer --update

Let it do it's thing, then follow up with:

sax2 -r -m 0=nvidia

to configure X.

Easy,

- Perps

Marlinnhag@aol.com 10-16-2006 08:59 PM

After trying the tiny-nvidia-installer --update command

the screen popped up and it d/led stuff then it said it could not install because some Xserver was running. I am not sure w3hat that is but I dont know how to turn it off either. Any suggestions would be greatly appreciated.

Perps 10-17-2006 01:04 AM

Sorry, forgot to mention that you need to su to init 3 first. At the terminal prompt type

su

enter your password, then

init 3

This will kill any instance of x server you have running, and you should be able to execute tiny-nvidia-installer --update without any problems.

Easy,

- Perps.


All times are GMT -5. The time now is 08:52 PM.