1
NVIDIA video drivers for Ubuntu
2
============================
4
Further information can be found at http://www.nvidia.com/ -- look for
5
the "Download Drivers" tab and follow links to the Linux drivers.
7
This package is generated from the official NVIDIA driver
8
installer that is available from the above homepage.
11
-------------------------
12
Ubuntu includes support to build modules using a utility
13
developed by Dell, called DKMS. It will automatically
14
build your kernel module for you when you first boot into
15
the kernel (or as necessary)
17
See the DKMS man page for more information.
20
-------------------------
21
If you need to provide a kernel patch (say for a kernel not formally
22
supported yet by NVIDIA), you can add this patch in the
23
debian/dkms/patches directory and mention the patch in the
24
debian/dkms.conf.in file.
26
It is usually a good idea to restrict the use of a patch to certain
27
kernel versions with the PATCH_MATCH[n] variable.
29
See the DKMS man page for more information.
31
32 bit libraries on 64 bit systems
32
-------------------------
33
32 bit libraries are provided on 64 bit systems for compatibility
36
The following templates are merged together into the same file on
38
debian/nvidia-current.links32.in
39
debian/nvidia-current.links.in
41
$ld_so_conf_path lets the system know where it should look for 32
45
-------------------------
46
When a new NVIDIA is available, do the following to update
49
0. On your build system, make sure you have the prerequisites
52
$ sudo apt-get build-dep #DRIVERNAME#
54
1. Download the NVIDIA installers i.e. the .run files.
56
2. dch -i to update the version in the debian/changelog so that it
57
matches the new upstream version.
59
Also make sure that the changelog includes both the changes you
60
made (if any) to the files in debian/ changes and the changes from
61
upstream (i.e. NVIDIA) which you can find in the release notes of
64
3. debclean to regenerate most of the files in debian/ from their
67
4. Temporarily move the debian/ directory out of the source directory
68
and compress it as $SOURCE_NAME _ $NEW_VERSION . orig . tar . gz
69
e.g. #DRIVERSRCNAME#_#VERSION#.orig.tar.gz
71
5. Move the debian/ directory back to the source directory and type
72
debuild -S -sa to produce a new .dsc
74
6. Verify the new .dsc produces valid .debs by running it through
75
pbuilder, sbuild, etc. as usual.
77
7. Install and test the .debs, and then dput the .changes file
80
IMPORTANT NOTE: If any changes to files in debian/ are needed, make sure
81
to discuss your changes with the maintainer (Alberto aka tseliot) before
85
-- Alberto Milone <alberto.milone@canonical.com> Mon, 21 Dec 2009 12:36:15 +0100