Nvidia on Ubuntu: Difference between revisions

No edit summary
No edit summary
Line 7: Line 7:
Here is the [[Xorg.log]] file from my first boot into a clean system having no Nvidia drivers.
Here is the [[Xorg.log]] file from my first boot into a clean system having no Nvidia drivers.


== Nouveau ==
The XServer is loading the nouveau driver package '''xserver-xorg-video-nouveau'''.
The XServer is loading the nouveau driver package '''xserver-xorg-video-nouveau'''.


From the package description:
From the package description:
<blockquote>
<blockquote>
This driver for the X.Org X server (see xserver-xorg for a further description)
This driver for the X.Org X server (see xserver-xorg for a further description) provides support for NVIDIA Riva, TNT, GeForce, and Quadro cards.
provides support for NVIDIA Riva, TNT, GeForce, and Quadro cards.


This package provides 2D support including EXA acceleration, Xv and
This package provides 2D support including EXA acceleration, Xv and RandR.  3D functionality is provided by the libgl1-mesa-dri package.
RandR.  3D functionality is provided by the libgl1-mesa-dri package.


This package is built from the FreeDesktop.org xf86-video-nouveau driver.
This package is built from the FreeDesktop.org xf86-video-nouveau driver.
</blockquote>
</blockquote>


<tt>dpkg</tt> can show us what packages are installed with 'nouveau' in the name.<br>
=== Inspection ===
<tt>'''dpkg'''</tt> can show us what packages are installed with 'nouveau' in the name.
 
<code>dpkg -l | grep -i nouveau</code>
<code>dpkg -l | grep -i nouveau</code>
<poem style="font-family:monospace;">
<poem style="font-family:monospace;">
Line 28: Line 29:
</poem>
</poem>


And, <tt>lsmod</tt> can show us what kernel modules are loaded with 'nouveau' in the name.<br>
 
And, <tt>'''lsmod'''</tt> can show us what kernel modules are loaded with 'nouveau' in the name.
 
<code>lsmod | grep nouveau</code>
<code>lsmod | grep nouveau</code>
<poem style="font-family:monospace;">
<poem style="font-family:monospace;">
Line 44: Line 47:
</poem>
</poem>


<tt>modinfo</tt> tells us details about the kernel module.<br>
 
<tt>'''modinfo'''</tt> tells us details about the kernel module, including the dependencies.
 
<code>modinfo nouveau</code>
<code>modinfo nouveau</code>
<poem style="font-family:monospace;">
<poem style="font-family:monospace;">
Line 539: Line 544:
parm:          runpm:disable (0), force enable (1), optimus only default (-1) (int)
parm:          runpm:disable (0), force enable (1), optimus only default (-1) (int)
</poem>
</poem>
What files does the nouveau driver install?
<code>dpkg -L xserver-xorg-video-nouveau</code>
<pre>
/.
/usr
/usr/lib
/usr/lib/xorg
/usr/lib/xorg/modules
/usr/lib/xorg/modules/drivers
/usr/lib/xorg/modules/drivers/nouveau_drv.so
/usr/share
/usr/share/bug
/usr/share/bug/xserver-xorg-video-nouveau
/usr/share/doc
/usr/share/doc/xserver-xorg-video-nouveau
/usr/share/doc/xserver-xorg-video-nouveau/README.Debian
/usr/share/doc/xserver-xorg-video-nouveau/changelog.Debian.gz
/usr/share/doc/xserver-xorg-video-nouveau/copyright
/usr/share/man
/usr/share/man/man4
/usr/share/man/man4/nouveau.4.gz
/usr/share/bug/xserver-xorg-video-nouveau/script
</pre>