Hardware:Installing nVidia drivers in Pardus 2007
Bilgiteknik (Talk | contribs) (→Configuring xorg.conf) |
(su root>sudo, but this should use package-manager) |
||
| Line 3: | Line 3: | ||
== Choosing and Installing Drivers == | == Choosing and Installing Drivers == | ||
If your graphic card is listed on [http://www.nvidia.com/object/1.0-7184_supported_products.html this site], you must install legacy drivers: | If your graphic card is listed on [http://www.nvidia.com/object/1.0-7184_supported_products.html this site], you must install legacy drivers: | ||
| − | <pre> | + | <pre>sudo pisi it nvidia-glx-old nvidia-kernel-old</pre> |
| − | pisi it nvidia-glx-old nvidia-kernel-old</pre> | + | |
Otherwise you should install normal drivers: | Otherwise you should install normal drivers: | ||
| − | <pre> | + | <pre>sudo pisi it nvidia-glx-new nvidia-kernel-new</pre> |
| − | pisi it nvidia-glx-new nvidia-kernel-new</pre> | + | |
== Configuring xorg.conf == | == Configuring xorg.conf == | ||
| − | <pre> | + | <pre>sudo kwrite /etc/X11/xorg.conf</pre> |
| − | kwrite /etc/X11/xorg.conf</pre> | + | |
<pre>Section "Device" | <pre>Section "Device" | ||
Screen 0 | Screen 0 | ||
| Line 41: | Line 38: | ||
== Enabling Compositing (Optional) == | == Enabling Compositing (Optional) == | ||
| − | <pre> | + | <pre>sudo kwrite /etc/X11/xorg.conf</pre> |
| − | kwrite /etc/X11/xorg.conf</pre> | + | |
<pre>Section "Extensions" | <pre>Section "Extensions" | ||
# uncomment following line (remove #) | # uncomment following line (remove #) | ||
Revision as of 04:46, 16 January 2008
Contents |
Choosing and Installing Drivers
If your graphic card is listed on this site, you must install legacy drivers:
sudo pisi it nvidia-glx-old nvidia-kernel-old
Otherwise you should install normal drivers:
sudo pisi it nvidia-glx-new nvidia-kernel-new
Configuring xorg.conf
sudo kwrite /etc/X11/xorg.conf
Section "Device"
Screen 0
Identifier "VideoCard0"
Driver "nv" # change "nv" to "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce"
EndSection
Section "Screen"
Identifier "Screen0"
Device "VideoCard0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
# change this to "1024×768" or whatever resolution you want to use
Modes "800x600"
EndSubsection
EndSection
reboot
or press CTRL+ALT+Backspace to restart X
Testing Direct Rendering
glxinfo | grep -i direct
If Direct Rendering says "Yes", driver was installed successfully.
Note: don't do this as root; you have to be a "normal user" for this command to work.
Enabling Compositing (Optional)
sudo kwrite /etc/X11/xorg.conf
Section "Extensions"
# uncomment following line (remove #)
Option "Composite" "enable"
EndSection
Section "Device"
Screen 0
Identifier "VideoCard0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce"
# add following line
Option "AddARGBGLXVisuals" "true"
EndSection
reboot
or press CTRL+ALT+Backspace to restart X
Enabling Dual Screen (Optional)
First, as usual before any changes, you need backup current xorg.conf. Next open config in favourite editor, and add following lines under section Device:
Option "TwinView" "1" Option "TwinViewXineramaInfoOrder" "DFP, CRT" Option "UseDisplayDevice" "DFP, CRT" Option "TwinViewOrientation" "DFP LeftOf CRT" Option "NoPowerConnectorCheck" Option "UseEdidFreqs" "1" Option "Metamodes" "CRT-0: 1280x1024, DFP-0: 1680x1050" Option "SecondMonitorHorizSync" "31-82" Option "SecondMonitorVertRefresh" "56-76"
Next you need comment out option Virtual under SubSection 'Display '. That option respond for size of virtual desktop. Also you need add option “Viewport 0 0″ under same SubSection.
And a last change is under Section ServerLayout. Add following params:
Screen 0 "Default Screen" 0 0 Option "Xinerama" "Off"
Thats all. Save modified config, press Ctrl+Alt+Backspace to restart X server and enjoy your new desktop ;-)