|
|
发表于 2006-11-3 10:41:17
|
显示全部楼层
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-9626/
我用这个,不要紧的。不过你还需要知道下面内容。Hi, All.
This is how I got my desktop-effects working with nvidia right after a FRESH INSTALL of FC6 (kernel-2.6.18-1.2798.fc6 i686):
(all as root - except when said "regular user")
01 - During install, selected the "Development tools" section.
Make sure that are selected for intall:
Development Libraries
Development Tools
GNOME Software Development
KDE Software Development
Ruby
X Software Development
02 -
Code:
yum update -y
03 - I've replaced the kernel-devel.i586 that came with the install for the kernel-devel.i686 (the arch I'm running);
Check if yours got installed correctly:
Code:
# yum list | grep kernel-devel
kernel-devel.i586 2.6.18-1.2798.fc6 installed
kernel-devel.i686 2.6.18-1.2798.fc6 core
Then, if necessary:
Code:
yum remove kernel-devel.i586 -y
yum install kernel-devel.i686 - y
04 -
Code:
yum install xorg-x11-server-sdk -y
05 -
Code:
cd /usr/src/kernels/2.6.18-1.2798.fc6-i686/include/linux
06 -
Code:
touch config.h (otherwise the compilation of nvidia driver won't work)
07 - Downloaded the latest nvidia driver from ftp://download.nvidia.com/XFree86/Linux-x86/1.0-9626/
(the pkg#.run with the highest number) - file NVIDIA-Linux-x86-1.0-9626-pkg1.run
08 -
Code:
init 3
09 -
Code:
crtl+alt+F1
10 - login as root
11 -
Code:
cd /wherever the NVIDIA...pkg1.run file is
12 -
Code:
sh NVIDIA-Linux-x86-1.0-9626-pkg1.run
13 - Answered YES to the last question (the one about running the nvidia-xconfig to configure the xrog.conf - it's very important, as it configures your xorg.conf to load the nvidia driver)
14 - Now, added the following lines to my /etc/X11/xorg.conf (also very important to do):
In the "Device" section
Code:
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "True"
In the "Module" section
Code:
Load "extmod"
15 -
Code:
init 5
The "nvidia" screen appears
16 - If necessary
Code:
crtl+alt+f7
17 -
Code:
desktop-effects (as regular user)
18 - choose enable
安装完成以后,你如果打开Selinux, 需
find /usr -name *9626* -print
然后,
chcon -t textrel_shlib_t YOUR_FILE
一个一个改nvidia驱动允许运行库的selinux类型。
|
|