Environment: Ubuntu8.04AMD64, nvidia-glx-new display driver target: install the new nvidia driver 173.14.05. Step: 1. Download the driver package: http://www.nvidia.com/object/linux_display_amd64_173.14.05.html. Download the downloaded file for future use. 2. Delete the original driver, including the nv driver and nvidia-glx-new driver that comes with Ubuntu.
Environment: Ubuntu 8.04 AMD64, nvidia-glx-new Display Driver
Objective: To install the new nvidia driver 173.14.05.
Steps:
1. Download the driver package:
Http://www.nvidia.com/object/linux_display_amd64_173.14.05.html. The downloaded file is available for future use.
2. Completely Delete the original driver, including the nv driver and nvidia-glx-new driver that comes with Ubuntu:
This step is very important. The English version is as follows.
If you wish to install the NVIDIA Linux graphics driver on a Fedora Core 6, Fedora 7/9 or RHEL5 system, please ensure that your system meets the following requirements:
* The latest update kernel is installed and in use
* A kernel-devel RPM is installed that corresponds to the kernel that is in use. note, FC6 has a known bug which occasionally installa kernel-devel RPM that is a different arch than the kernel (i586 & i686 mixed ). see:Https://bugzilla.RedHat.com/bugzilla....cgi? Id = 211941
* The pkgconfig and xorg-x11-server-sdk RPMs are installed (only applies to FC6)
* Xen kernels are not currently supported
The items above can be addressed with the following commands (they need to be run as root ):
# Yum install kernel-devel xorg-x11-server-sdk pkgconfig
# Yum update
# Reboot
If you are using an SMP (multi-CPU and/or multi-core) enabled system in FC5 (only ), please replace kernel-devel with kernel-smp-devel in the command above.
The SELinux requirement can be addressed via two machisms after the NVIDIA Linux graphics driver has been installed:
1) If you do not wish to use SELinux enforcement, you can disable it by running the 'setenforce 0' command before starting X, or by adding selinux = 0 to the end of the kernel line in/etc/grub. conf and rebooting.
2) If you wish to use SELinux enforcement, you will need to change the security context of the nvidia x driver module and of the server-side nvidia glx extension module. to achieve this, please run the commands listed for your platform below:
Linux/x86 (32-bit ):
# Chcon-t texrel_shlib_t/usr/lib/xorg/modules/drivers/nvidia_drv.so
# Chcon-t texrel_shlib_t/usr/lib/xorg/modules/extensions/libglx. so.1.0.9631
# Chcon-t texrel_shlib_t/usr/lib/tls/libnvidia-tls.so.1
# Chcon-t texrel_shlib_t/usr/lib/libGLcore. so.1.0.9631
Linux/x86-64 (64-bit ):
# Chcon-t texrel_shlib_t/usr/lib64/xorg/modules/drivers/nvidia_drv.so
# Chcon-t texrel_shlib_t/usr/lib64/xorg/modules/extensions/libglx. so.1.0.9631
# Chcon-t texrel_shlib_t/usr/lib64/libGLcore. so.1.0.9631
# Chcon-t texrel_shlib_t/usr/lib64/tls/libnvidia-tls.so.1
Debian GNU/Linux or [K] Ubuntu with Xorg 7.x
If you want to install the NVIDIA Linux graphics driver on a Debian GNU/Linux or Ubuntu system that ships with Xorg 7.x, please ensure that your system meets the following requirements:
* Development tools like make and gcc are installed
* The linux-headers package matching the installed Linux kernel is installed
* The pkg-config and xserver-xorg-dev packages are installed
* The nvidia-glx package has been uninstalled with the -- purge option and the files/etc/init. d/nvidia-glx and/etc/init. d/nvidia-kernel do not exist
If you use Ubuntu, please also ensure that the linux-restricted-modules or linux-restricted-modules-common packages have been uninstalled. alternatively, you can edit the/etc/default/linux-restricted-modules or/etc/default/linux-restricted-modules-common configuration file and disable the NVIDIA linux-restricted kernel modules (nvidia, nvidia_legacy):
DISABLED_MODULES = "nv nvidia_new"
Additionally, delete the following file if it exists:
/Lib/linux-restricted-modules/. nvidia_new_installed
Please note: unfortunately, it has become difficult to keep track of the pre-/post-installation steps required for [K] Ubuntu, and the above instructions may be incomplete. if in doubt, it is recommended that you use your distributor's NVIDIA Linux graphics driver packages, exclusively.
3. Restart and disable xserver:
Close the xserver command (gnome ):
Sudo/etc/init. d/gestation stop
4. Install the driver:
Sudo sh./NVIDIA-Linux-x86_64-173.14.05-pkg2.run
5. Start xserver:
Sudo/etc/init. d/gestation start
6. Adjust the Resolution:
If the resolution is abnormal after startup, You need to modify xorg. conf.
Cd/etc/X11
Sudo cp xorg. conf xorg. conf. mybackup
Sudo vi/etc/X11/xorg. conf
Make sure that the Driver defined in the Device is "nvidia;
Delete a line of Modeline in the Monitor definition;
Change the Modes line in the Screen
Modes "nvidia-auto-select"
After modification, restart xserver. Ctrl-Alt-Backspace.
7. Adjust the personal resolution Configuration:
If the resolution of the logon interface is normal, but the resolution changes to low after the user logs on, you need to adjust it in the personal options:
System-> Preferences-> Screen Resolutions
8. Display Driver Details adjustment:
Sudo nvidia-settings
It must be run with the root permission; otherwise, the configuration cannot be saved to xorg. conf.
Done.
PS, the new driver is much more effective than the nvidia-glx-new feature provided by Ubuntu, and the image becomes transparent without being confused.
Original: Coffee & Beer