Debian integrates the Nvidia Driver (applicable to the 2.6 kernel)
Source: Internet
Author: User
Debian integrates the Nvidia Driver (applicable to the 2.6 kernel)-the Linux Release Technology-Debian information. For more information, see the following. Author: Black Hole
Cause:
Since AIGLX and XGL are available, I 'd like to try it. I don't want to try to start X.
Note: Applicable to the 2.6 kernel
1. download and install the driver from nvidia
1.1 If you use GeForce MX 100/200, download it.
NVIDIA-Linux-x86-1.0-9631-pkg1.run
1.2 install driver
# Chmod 755 NVIDIA-Linux-x86-1.0-9631-pkg1.run
#./NVIDIA-Linux-x86-1.0-9631-pkg1.run
. If your gcc version is incorrect during installation, you must first install the corresponding version of gcc and then set the environment variables.
CC
Example: export CC =/usr/bin/gcc-4.1
2. Modify/etc/init. d/nvidia-glx
2.1 cause: Debain has fixed nvidia-glx to 877. We want to cancel this binding.
2.2 most important thing: Backup
# Cp/etc/init. d/nvidia-glx/etc/init. d/nvidia-glx.0
2.3 modify files
# Nano/etc/init. d/nvidia-glx
Find this sentence
Echo-n "Creating nvidia tls links ..."
Unregister the following lines
# Remove the symlinks
# Rm-f/usr/lib/tls/libGL. so
# Rm-f/usr/lib/tls/libGL. so .*
# Rm-f/usr/lib/tls/libnvidia-tls.so
# Rm-f/usr/lib/tls/libnvidia-tls.so .*
# Rm-f/usr/lib/tls/libGL. la
# Remove old ones
# Rm-f/usr/lib/tls/libGLcore. so.1
# Rm-f/usr/lib/tls/libGLcore. so .*
# Create the symlinks
# Ln-s/usr/lib/nvidia/libnvidia-tls.so.1.0.8776/usr/lib/tls/libnvidia-tls.so.1.0.8776
# Reconfigure dynamic linker run-time bindings
3. Complete
AIGLX + compiz
/Etc/X11/xorg. conf:
# Dedicated "Extensions" section (may not be present already)
Section "Extensions"
Option "Composite" "enable"
EndSection
# Section "Device" of you graphic card
Section "Device"
# Already contains
#...
# Identifier "..."
# Driver "..."
#...
# Add this option:
Option "XAANoOffscreenPixmaps" "true"
EndSection
Nvidia user may also need:
Section "Module"
# Load "dri"
# Load "GLcore"
EndSection
Restart your X.org server and login into GNOME. Open a terminal and issue the following command:
Compiz -- replace -- fast-filter
Note: The following GPUs will not be supported by the Unified Unix Driver, but will be updated by the legacy Driver.
NVIDIA chip name Device PCI ID
Riva tnt 0x0020
RIVA TNT2/TNT2 Pro 0x0028
RIVA TNT2 Ultra 0x0029
Vanta/Vanta LT 0x002C
RIVA TNT2 Model 64/Model 64 Pro 0x002D
Aladdin TNT2 0x00A0
GeForce 256 0x0100
GeForce DDR 0x0101
Quadro 0x0103
GeForce2 GTS/GeForce2 Pro 0x0150
GeForce2 Ti 0x0151
GeForce2 Ultra 0x0152
Quadro2 Pro 0x0153
Appendix: If you find that GLX cannot be used (restart X server as soon as you enter)
It may be because the original libglx. so is different from the new one (for example, the driver 96.43.01 is used)
You need to enter
# Cd/usr/lib/xorg/modules/extensions
Rename the original libglx. so and save
# Cp libglx. so libglx. so_0
Copy libglx. so.96.43.01 to libglx. so.
# Su
# Cp libglx. so.96.43.01 libglx. so
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.