Saturday, June 24, 2006

nVidia working

It didn't take that long to get my nVidia card working in beautiful Xinerama. All I did was to install nvidia-glx using apt-get and then altered the "nv" instances in my xorg.conf to "nvidia".

My current working xorg.conf:

# /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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
# Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
# Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

## I N P U T D E V I C E S ##

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

## M O N I T O R S ##

Section "Monitor"
Identifier "F-419-Left"

Option "DPMS"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 386 290
HorizSync 30-82
VertRefresh 40-60
EndSection

Section "Monitor"
Identifier "F-419-Right"

Option "DPMS"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 386 290
HorizSync 30-82
VertRefresh 40-60
EndSection

## D E V I C E S ##

Section "Device"
Identifier "NvidiaDH-Left"

BoardName "GeForce 6200"
BusID "1:0:0"
Driver "nvidia"
Option "hwcursor" "off"
Screen 0
VendorName "nVidia"
EndSection

Section "Device"
Identifier "NvidiaDH-Right"

BoardName "GeForce 6200"
BusID "1:0:0"
Driver "nvidia"
Option "hwcursor" "off"
Screen 1
VendorName "nVidia"
EndSection

## S C R E E N S ##

Section "Screen"
Identifier "Screen-Left"

Monitor "F-419-Left"
Device "NvidiaDH-Left"

DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1024x768"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen-Right"

Monitor "F-419-Right"
Device "NvidiaDH-Right"

DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1024x768"
EndSubSection
EndSection

## S E R V E R L A Y O U T #

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "Clone" "off"
Option "Xinerama" "on"
Screen "Screen-Left"
Screen "Screen-Right" RightOf "Screen-Left"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
EndSection

No comments: