nVidia Driver configuration in 11.2 kde

Hi,

I get this error on enabling nVidia repo and downloading driver from YaST.

Switching the use of "nv" driver of X.Org to "nvidia" driver of NVIDIA
------------------------------------------------------------------------

head: cannot open `/etc/X11/xorg.conf' for reading: No such file or directory
SaX2 generated xorg.conf not available!
grep: etc/X11/xorg.conf: No such file or directory
Warning! MD5DIR is not set: you probably called this script outside SuSEconfig...!
Using MD5DIR="/var/adm/SuSEconfig/md5"...
No changes for /etc/X11/xdm/Xservers
No changes for /etc/X11/xdm/xdm-config

I never install the proprietary driver via the repository method (I always use the hardway) but none of that looks too serious to me. Does the proprietary driver work ?

Nope, its still using opensource one.

  1. During the install, when you have the option to change your booting setup, I add nomodeset to the kernel load command for the normal load/start of openSUSE. This kernel startup option is already present for the Failsafe selection for openSUSE.
  2. During the first start of openSUSE, I download the latest nVidia Video driver to the /home/username folder.
  3. I change/save the System/Kernel option NO_KMS_IN_INITRD from “No” to “Yes” in the /etc/sysconfig Editor in Yast.
  4. I generally do an update of openSUSE on the first run of openSUSE and then a restart/reboot.
  5. In grub OS selection add the command line option “3” to the openSUSE start line so that it just goes to the run level three terminal prompt.
  6. Login in as user and become su and make sure you are at /home/username folder.
  7. To run the driver do:
    sh NVIDIA{TAB}
    The TAB button will auto complete the text for you. Use the TAB key to navigate and to answer YES to everything.
  8. Type in reboot at terminal prompt to restart the system with new video driver.

Carl, should I add nomodest to bootloader file in YaST or where. Dont get to see NO_KMS_IN_INITRD in etc/sysconfig

I did a boot with nomodeset and the graphics look better compared to default.

Dont get to see any System/Kernel option NO_KMS_IN_INITRD from YaST - Kernel options.

Take a look at this URL , specifically at the 4th thing to try: SDB:Configuring graphics cards - openSUSE … there are 3 images there showing you EXACTLY where to find it.

I found the xorg.conf in etc/x11 -

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux linux-ftcs 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64
Build Date: 02 November 2009 12:04:43PM

This is getting trivial. did su -c yast but the KMS isnt there. Everything is set on default.

I have created xorg file in home folder using nVidia config mode. Shoudl I now move this file to etc/x11

Here is the file -

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder62)  Thu Jun  3 09:42:34 PDT 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Acer AL1716W"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6100 nForce 405"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Sorry is this 11.2?

Managed to create xorg.conf using sax. Tried to modify that thru nVidia x settings but it returns error saying unable to back up xorg.conf in etc/x11 created by sax. Is there anyway I can just open xorg created by sax and edit it with xorg created by nVidia (i can save nVidia file on desktop or /home).

Yeah, I am still on 11.2

Will be installing 11.3 after a month, by then there will be a lot of ready made material for it.

You should run this from level 3 as su -

sax2 -r -m 0=nvidia

That’s a zero = nvidia

Been there done that. Later opened nVidia configuration vizard and saved the x to etc/x11. In system information it says Graphics Driver - Unknown. Did I mess it up or it just doesnt recognise the 3rd party driver.

From the K menu in the search field type: sax
and when you see the sax2 config tool there - click it
show me a screen of what it shows

Here is the screen-shot for sax2 http://thumbnails5.imagebam.com/9011/a2260a90103414.jpg](http://www.imagebam.com/image/a2260a90103414)

I guess it is nVidia -

david@linux-ftcs:~> cat /etc/X11/xorg.conf

nvidia-settings: X configuration file generated by nvidia-settings

nvidia-settings: version 1.0 (buildmeister@builder62) Thu Jun 3 09:42:34 PDT 2010

/…/

SaX generated X11 config file

Created on: 2010-07-25T23:26:11+0800.

Version: 8.1

Contact: Marcus Schaefer <sax@suse.de>, 2005

Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>

Automatically generated by [SaX2] (8.1)

PLEASE DO NOT EDIT THIS FILE!

Section “ServerLayout”
Identifier “Layout[all]”
Screen 0 “Screen0” 0 0
InputDevice “Keyboard[0]” “CoreKeyboard”
InputDevice “Mouse[1]” “CorePointer”
Option “Xinerama” “0”
EndSection

Section “Files”
InputDevices “/dev/gpmdata”
InputDevices “/dev/input/mice”
FontPath “/usr/share/fonts/misc:unscaled”
FontPath “/usr/share/fonts/local”
FontPath “/usr/share/fonts/75dpi:unscaled”
FontPath “/usr/share/fonts/100dpi:unscaled”
FontPath “/usr/share/fonts/Type1”
FontPath “/usr/share/fonts/URW”
FontPath “/usr/share/fonts/Speedo”
FontPath “/usr/share/fonts/PEX”
FontPath “/usr/share/fonts/cyrillic”
FontPath “/usr/share/fonts/latin2/misc:unscaled”
FontPath “/usr/share/fonts/latin2/75dpi:unscaled”
FontPath “/usr/share/fonts/latin2/100dpi:unscaled”
FontPath “/usr/share/fonts/latin2/Type1”
FontPath “/usr/share/fonts/latin7/75dpi:unscaled”
FontPath “/usr/share/fonts/baekmuk:unscaled”
FontPath “/usr/share/fonts/japanese:unscaled”
FontPath “/usr/share/fonts/kwintv”
FontPath “/usr/share/fonts/truetype”
FontPath “/usr/share/fonts/uni:unscaled”
FontPath “/usr/share/fonts/CID”
FontPath “/usr/share/fonts/ucs/misc:unscaled”
FontPath “/usr/share/fonts/ucs/75dpi:unscaled”
FontPath “/usr/share/fonts/ucs/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/misc:unscaled”
FontPath “/usr/share/fonts/hellas/75dpi:unscaled”
FontPath “/usr/share/fonts/hellas/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/Type1”
FontPath “/usr/share/fonts/misc/sgi:unscaled”
FontPath “/usr/share/fonts/xtest”
FontPath “/opt/kde3/share/fonts”
EndSection

Section “Module”
Load “dri”
Load “dbe”
Load “extmod”
Load “glx”
EndSection

Section “ServerFlags”
Option “AllowMouseOpenFail” “on”
Option “ZapWarning” “on”
EndSection

Section “InputDevice”

Driver “kbd” will be disabled unless ‘Option “AutoAddDevices” “off”’

is set in “ServerFlags” section.

Identifier     "Keyboard[0]"                                         
Driver         "kbd"                                                 
Option         "Protocol" "Standard"                                 
Option         "XkbLayout" "us"                                      
Option         "XkbModel" "microsoftpro"                             
Option         "XkbRules" "xfree86"                                  

EndSection

Section “InputDevice”

Driver “mouse” will be disabled unless ‘Option “AutoAddDevices” “off”’

is set in “ServerFlags” section.

Identifier     "Mouse[1]"                                              
Driver         "mouse"                                                 
Option         "Buttons" "5"                                           
Option         "Device" "/dev/input/mice"                              
Option         "Name" "ImPS/2 Generic Wheel Mouse"                     
Option         "Protocol" "explorerps/2"                               
Option         "Vendor" "Sysp"                                         
Option         "ZAxisMapping" "4 5"                                    

EndSection

Section “Modes”
Identifier “Modes[0]”
EndSection

Section “Monitor”
Identifier “Monitor[0]”
VendorName “ACR”
ModelName “ACER AL1716W”
UseModes “Modes[0]”
DisplaySize 367 230
HorizSync 30.0 - 83.0
VertRefresh 43.0 - 76.0
Option “CalcAlgorithm” “XServerPool”
Option “DPMS”
Option “PreferredMode” “1440x900”
EndSection

Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Acer AL1716W”
HorizSync 31.0 - 83.0
VertRefresh 56.0 - 76.0
EndSection

Section “Device”
Identifier “Device[0]”
Driver “nvidia”
VendorName “NVIDIA”
BoardName “GeForce 6100 nForce 405”
EndSection

Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “GeForce 6100 nForce 405”
EndSection

Section “Screen”
Identifier “Screen[0]”
Device “Device[0]”
Monitor “Monitor[0]”
DefaultDepth 24
SubSection “Display”
Depth 15
Modes “1440x900” “1280x720” “1024x768” “800x600”
EndSubSection
SubSection “Display”
Depth 16
Modes “1440x900” “1280x720” “1024x768” “800x600”
EndSubSection
SubSection “Display”
Depth 24
Modes “1440x900” “1280x720” “1024x768” “800x600”
EndSubSection
SubSection “Display”
Depth 8
Modes “1440x900” “1280x720” “1024x768” “800x600”
EndSubSection
EndSection

Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
Option “TwinView” “0”
Option “TwinViewXineramaInfoOrder” “CRT-0”
Option “metamodes” “1440x900 +0+0; 1280x720 +0+0; 1024x768 +0+0; 800x600 +0+0”
SubSection “Display”
Depth 24
EndSubSection
EndSection

There are lot of improvements now, unable to use sub-pixel smoothing in firefox; confused over installing cairo i586. Is there any other way to do that or getting MSFonts.

It looks OK to me.

as su - what do you get for

/usr/sbin/hwinfo --gfxcard | grep Driver

or

hwinfo --gfxcard

It says nVidia -

linux-ftcs:/home/david # /usr/sbin/hwinfo --gfxcard | grep Driver
Driver: “nvidia”
Driver Modules: “nvidia”
Driver Info #0:

And

linux-ftcs:/home/david # hwinfo --gfxcard
22: PCI 0d.0: 0300 VGA compatible controller (VGA)
[Created at pci.318]
UDI: /org/freedesktop/Hal/devices/pci_10de_3d1
Unique ID: qnJ_.ZOzOP61H_O3
SysFS ID: /devices/pci0000:00/0000:00:0d.0
SysFS BusID: 0000:00:0d.0
Hardware Class: graphics card
Model: “nVidia GeForce 6100 nForce 405”
Vendor: pci 0x10de “nVidia Corporation”
Device: pci 0x03d1 “GeForce 6100 nForce 405”
SubVendor: pci 0x1019 “Elitegroup Computer Systems”
SubDevice: pci 0x2601
Revision: 0xa2
Driver: “nvidia”
Driver Modules: “nvidia”
Memory Range: 0xfb000000-0xfbffffff (rw,non-prefetchable)
Memory Range: 0xe0000000-0xefffffff (rw,prefetchable)
Memory Range: 0xfc000000-0xfcffffff (rw,non-prefetchable)
Memory Range: 0x80000000-0x8001ffff (ro,prefetchable,disabled)
IRQ: 22 (133248 events)
I/O Ports: 0x3c0-0x3df (rw)
Module Alias: “pci:v000010DEd000003D1sv00001019sd00002601bc03sc00i00”
Driver Info #0:
XFree86 v4 Server Module: nv
Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #22

You are good.
sysinfo: is not that reliable -
try running glxgears full screen

Rejoice - all is good