Hardware:Installing nVidia drivers in Pardus 2007

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(Undo revision 3129 by Itycajofa (Talk) Spam.)
 
Line 1: Line 1:
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://ocilufic.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
 
----
 
=[http://ocilufic.co.cc CLICK HERE]=
 
----
 
</div>
 
 
__TOC__
 
__TOC__
  
Line 22: Line 14:
  
 
==  Installation of the driver  ==
 
==  Installation of the driver  ==
Open a Konsole (Pardus &gt; Programs &gt; System) and enter the next command.
+
Open a Konsole (Pardus > Programs > System) and enter the next command.
  
*For nvidia-kernel-new:&lt;pre&gt;sudo pisi it nvidia-glx-new nvidia-kernel-new nvidia-tools-new&lt;/pre&gt;
+
*For nvidia-kernel-new:<pre>sudo pisi it nvidia-glx-new nvidia-kernel-new nvidia-tools-new</pre>
*For nvidia-kernel:&lt;pre&gt;sudo pisi it nvidia-glx nvidia-kernel nvidia-tools&lt;/pre&gt;
+
*For nvidia-kernel:<pre>sudo pisi it nvidia-glx nvidia-kernel nvidia-tools</pre>
*For nvidia-kernel-old:&lt;pre&gt;sudo pisi it nvidia-glx-old nvidia-kernel-old nvidia-tools-old&lt;/pre&gt;
+
*For nvidia-kernel-old:<pre>sudo pisi it nvidia-glx-old nvidia-kernel-old nvidia-tools-old</pre>
(it is also possible to install the package with Pardus &gt; Package Manager)
+
(it is also possible to install the package with Pardus > Package Manager)
  
 
==  Activating the driver  ==
 
==  Activating the driver  ==
 
Enter the following command in the Konsole.
 
Enter the following command in the Konsole.
* For nvidia-kernel and nvidia-kernel-new:&lt;pre&gt;sudo nvidia-xconfig&lt;/pre&gt;
+
* For nvidia-kernel and nvidia-kernel-new:<pre>sudo nvidia-xconfig</pre>
* For nvidia-kernel-old:&lt;pre&gt;sudo kwrite /etc/X11/xorg.conf&lt;/pre&gt;
+
* For nvidia-kernel-old:<pre>sudo kwrite /etc/X11/xorg.conf</pre>
  
 
:and change the next section in xorg.conf;
 
:and change the next section in xorg.conf;
  
:&lt;pre&gt;
+
:<pre>
:Section &quot;Device&quot;
+
:Section "Device"
 
:    Screen 0
 
:    Screen 0
:    Identifier &quot;VideoCard0&quot;
+
:    Identifier "VideoCard0"
:    Driver    &quot;nv&quot;   # &lt;----------------change &quot;nv&quot; to &quot;nvidia&quot;
+
:    Driver    "nv"   # <----------------change "nv" to "nvidia"
:    VendorName &quot;nVidia Corporation&quot;
+
:    VendorName "nVidia Corporation"
:    BoardName  &quot;NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]&quot;
+
:    BoardName  "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
:EndSection&lt;/pre&gt;
+
:EndSection</pre>
  
 
:Example:
 
:Example:
  
:&lt;pre&gt;
+
:<pre>
:Section &quot;Device&quot;
+
:Section "Device"
 
:    Screen 0
 
:    Screen 0
:    Identifier &quot;VideoCard0&quot;
+
:    Identifier "VideoCard0"
:    Driver    &quot;nvidia&quot;
+
:    Driver    "nvidia"
:    VendorName &quot;nVidia Corporation&quot;
+
:    VendorName "nVidia Corporation"
:    BoardName  &quot;NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]&quot;
+
:    BoardName  "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
:EndSection&lt;/pre&gt;
+
:EndSection</pre>
 
:Save and close the editor.
 
:Save and close the editor.
 
Reboot or press Ctrl+Alt+Backspace to restart the X-server.
 
Reboot or press Ctrl+Alt+Backspace to restart the X-server.
Line 62: Line 54:
 
==  Adjusting the screen resolution  ==
 
==  Adjusting the screen resolution  ==
 
*For nvidia-kernel-old and nvidia-kernel:
 
*For nvidia-kernel-old and nvidia-kernel:
:Enter this command in a Konsole.&lt;pre&gt;sudo kwrite /etc/X11/xorg.conf&lt;/pre&gt;
+
:Enter this command in a Konsole.<pre>sudo kwrite /etc/X11/xorg.conf</pre>
 
:and change the next section in xorg.conf
 
:and change the next section in xorg.conf
  
:&lt;pre&gt;
+
:<pre>
:Section &quot;Screen&quot;
+
:Section "Screen"
:    Identifier &quot;Screen0&quot;
+
:    Identifier "Screen0"
:  Device    &quot;VideoCard0&quot;
+
:  Device    "VideoCard0"
:    Monitor    &quot;Monitor0&quot;
+
:    Monitor    "Monitor0"
 
:    DefaultDepth 24
 
:    DefaultDepth 24
:    Subsection &quot;Display&quot;
+
:    Subsection "Display"
 
:        Depth    24
 
:        Depth    24
:        Modes    &quot;1024x768&quot; &quot;800x600&quot; &quot;640x480&quot;
+
:        Modes    "1024x768" "800x600" "640x480"
:              # ^--- add the new resolution  (&quot;1600x1200&quot;, &quot;1280x1024&quot; or ...).
+
:              # ^--- add the new resolution  ("1600x1200", "1280x1024" or ...).
 
:    EndSubsection
 
:    EndSubsection
:EndSection&lt;/pre&gt;
+
:EndSection</pre>
  
 
:Example:
 
:Example:
  
:&lt;pre&gt;
+
:<pre>
:Section &quot;Screen&quot;
+
:Section "Screen"
:    Identifier &quot;Screen0&quot;
+
:    Identifier "Screen0"
:    Device    &quot;VideoCard0&quot;
+
:    Device    "VideoCard0"
:    Monitor    &quot;Monitor0&quot;
+
:    Monitor    "Monitor0"
 
:    DefaultDepth 24
 
:    DefaultDepth 24
:    Subsection &quot;Display&quot;
+
:    Subsection "Display"
 
:        Depth    24
 
:        Depth    24
:        Modes    &quot;1280x1024&quot; &quot;1024x768&quot; &quot;800x600&quot; &quot;640x480&quot;
+
:        Modes    "1280x1024" "1024x768" "800x600" "640x480"
 
:    EndSubsection
 
:    EndSubsection
:EndSection&lt;/pre&gt;
+
:EndSection</pre>
 
:Save the change and Reboot or press Ctrl+Alt+Backspace to restart the X-server.
 
:Save the change and Reboot or press Ctrl+Alt+Backspace to restart the X-server.
  
Line 97: Line 89:
 
:We will add a new item 'NVIDIA X Server Settings' to the Application Menu. As long as [http://bugs.pardus.org.tr/show_bug.cgi?id=7041 this bug] is not solved, we will do this in two stages.
 
:We will add a new item 'NVIDIA X Server Settings' to the Application Menu. As long as [http://bugs.pardus.org.tr/show_bug.cgi?id=7041 this bug] is not solved, we will do this in two stages.
  
#Open KDE Menu Editor. (Pardus &gt; Run Command...  and enter kmenuedit + Run)
+
#Open KDE Menu Editor. (Pardus > Run Command...  and enter kmenuedit + Run)
#File &gt; New Item... and enter NVIDIA X Server Settings + OK.
+
#File > New Item... and enter NVIDIA X Server Settings + OK.
 
#Enter at Command: nvidia-settings
 
#Enter at Command: nvidia-settings
 
#Put a mark (select) at 'Run as different user' and enter at Username: root
 
#Put a mark (select) at 'Run as different user' and enter at Username: root
 
#Change (select) the icon at the upper-right.
 
#Change (select) the icon at the upper-right.
#File &gt; Save and Quit the KDE Menu Editor.
+
#File > Save and Quit the KDE Menu Editor.
 
#Open KDE Menu Editor again.
 
#Open KDE Menu Editor again.
 
#Expand System by selecting the +.
 
#Expand System by selecting the +.
#Drag NVIDIA X Server Settings ---&gt; System.
+
#Drag NVIDIA X Server Settings ---> System.
#Select System (turns blue) and select File &gt; New Submenu... and enter KDE Extra Modules + OK.
+
#Select System (turns blue) and select File > New Submenu... and enter KDE Extra Modules + OK.
#File &gt; Save. (&lt;-- we do this as the next step is a little bit tricky, and in this way it is easy to return to this point.)
+
#File > Save. (<-- we do this as the next step is a little bit tricky, and in this way it is easy to return to this point.)
#Drag Lost &amp; Found ---&gt; KDE Extra Modules. ('Lost &amp; Found' should be in 'KDE Extra Modules' and not below it, this is to prevent the screen from being overloaded with icons when we accidently put the mouse pointer on Lost &amp; Found.)
+
#Drag Lost & Found ---> KDE Extra Modules. ('Lost & Found' should be in 'KDE Extra Modules' and not below it, this is to prevent the screen from being overloaded with icons when we accidently put the mouse pointer on Lost & Found.)
#File &gt; Save and Quit the KDE Menu Editor.
+
#File > Save and Quit the KDE Menu Editor.
  
:The resolution, a second monitor and other stuff can be changed in the newly created 'NVIDIA X Server Settings&quot;.
+
:The resolution, a second monitor and other stuff can be changed in the newly created 'NVIDIA X Server Settings".
 
:Don't forget to use 'Save to X Configuration File' in order to make the changes permanently.
 
:Don't forget to use 'Save to X Configuration File' in order to make the changes permanently.
  
Line 117: Line 109:
 
During the startup procedure of Pardus, a nVidia logo will appear during a couple of seconds.
 
During the startup procedure of Pardus, a nVidia logo will appear during a couple of seconds.
  
To remove this logo, enter the next command in a Konsole.&lt;pre&gt;sudo kwrite /etc/X11/xorg.conf&lt;/pre&gt;
+
To remove this logo, enter the next command in a Konsole.<pre>sudo kwrite /etc/X11/xorg.conf</pre>
and put &lt;pre&gt;Option &quot;NoLogo&quot;&lt;/pre&gt; in the Device section of /etc/X11/xorg.conf
+
and put <pre>Option "NoLogo"</pre> in the Device section of /etc/X11/xorg.conf
  
 
Example:
 
Example:
&lt;pre&gt;Section &quot;Device&quot;
+
<pre>Section "Device"
     Identifier    &quot;VideoCard0&quot;
+
     Identifier    "VideoCard0"
     Driver        &quot;nvidia&quot;
+
     Driver        "nvidia"
     VendorName    &quot;NVIDIA Corporation&quot;
+
     VendorName    "NVIDIA Corporation"
     BoardName      &quot;GeForce FX 5200&quot;
+
     BoardName      "GeForce FX 5200"
     Option        &quot;NoLogo&quot;
+
     Option        "NoLogo"
EndSection&lt;/pre&gt;
+
EndSection</pre>
  
==  How to &quot;Undo&quot; everything. ==
+
==  How to "Undo" everything. ==
  
 
For a manual on how to remove all your nVidia settings see [http://en.pardus-wiki.org/HOWTO:Fix_broken_X_session this page].
 
For a manual on how to remove all your nVidia settings see [http://en.pardus-wiki.org/HOWTO:Fix_broken_X_session this page].

Latest revision as of 14:06, 30 November 2010

Contents


Choosing the nVidia driver?

Look on the Desktop in System at Display Info for the video card model.

Pardus has three different types of nVidia packages.

  1. nvidia-.....-new
  2. nvidia-.....
  3. nvidia-.....-old

On this page you can see which package is suitable for your card.

On this page above each of the three tables the the corresponding kernelversion is shown (nvidia-kernel-new, nvidia-kernel and nvidia-kernel-old).

Installation of the driver

Open a Konsole (Pardus > Programs > System) and enter the next command.

(it is also possible to install the package with Pardus > Package Manager)

Activating the driver

Enter the following command in the Konsole.

and change the next section in xorg.conf;
Section "Device"
Screen 0
Identifier "VideoCard0"
Driver "nv" # <----------------change "nv" to "nvidia"
VendorName "nVidia Corporation"
BoardName "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
EndSection
Example:
Section "Device"
Screen 0
Identifier "VideoCard0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
EndSection
Save and close the editor.

Reboot or press Ctrl+Alt+Backspace to restart the X-server.

When the installation has been successfull the Display Info should now be '3D Support'.

Adjusting the screen resolution

Enter this command in a Konsole.
sudo kwrite /etc/X11/xorg.conf
and change the next section in xorg.conf
Section "Screen"
Identifier "Screen0"
Device "VideoCard0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
# ^--- add the new resolution ("1600x1200", "1280x1024" or ...).
EndSubsection
EndSection
Example:
Section "Screen"
Identifier "Screen0"
Device "VideoCard0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
EndSection
Save the change and Reboot or press Ctrl+Alt+Backspace to restart the X-server.
We will add a new item 'NVIDIA X Server Settings' to the Application Menu. As long as this bug is not solved, we will do this in two stages.
  1. Open KDE Menu Editor. (Pardus > Run Command... and enter kmenuedit + Run)
  2. File > New Item... and enter NVIDIA X Server Settings + OK.
  3. Enter at Command: nvidia-settings
  4. Put a mark (select) at 'Run as different user' and enter at Username: root
  5. Change (select) the icon at the upper-right.
  6. File > Save and Quit the KDE Menu Editor.
  7. Open KDE Menu Editor again.
  8. Expand System by selecting the +.
  9. Drag NVIDIA X Server Settings ---> System.
  10. Select System (turns blue) and select File > New Submenu... and enter KDE Extra Modules + OK.
  11. File > Save. (<-- we do this as the next step is a little bit tricky, and in this way it is easy to return to this point.)
  12. Drag Lost & Found ---> KDE Extra Modules. ('Lost & Found' should be in 'KDE Extra Modules' and not below it, this is to prevent the screen from being overloaded with icons when we accidently put the mouse pointer on Lost & Found.)
  13. File > Save and Quit the KDE Menu Editor.
The resolution, a second monitor and other stuff can be changed in the newly created 'NVIDIA X Server Settings".
Don't forget to use 'Save to X Configuration File' in order to make the changes permanently.

During the startup procedure of Pardus, a nVidia logo will appear during a couple of seconds.

To remove this logo, enter the next command in a Konsole.
sudo kwrite /etc/X11/xorg.conf
and put
Option "NoLogo"
in the Device section of /etc/X11/xorg.conf

Example:

Section "Device"
    Identifier     "VideoCard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX 5200"
    Option         "NoLogo"
EndSection

How to "Undo" everything.

For a manual on how to remove all your nVidia settings see this page.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox
In other languages