[问题]无论generic内核还是自己编译的内核安装NVIDIA显卡驱动均失败!

CPU/显卡/打印机/USB设备等硬件问题
回复
头像
白开水隐士
帖子: 85
注册时间: 2008-07-01 20:49
来自: 中国四川

[问题]无论generic内核还是自己编译的内核安装NVIDIA显卡驱动均失败!

#1

帖子 白开水隐士 » 2009-01-19 23:24

自从使用8.10 64bit版后,总是被显卡驱动问题苦恼。
我的显卡是 NVIDIA Geforce FX5200
源里的官方受限驱动给FX5200提供了173.14版本和96.43两个版本。

但是

173.14驱动安装后重启黑屏

然后只好fixx,装96.43版本,

可是该版本驱动又与Wine等软件冲突,看不见应用程序字体(关闭compiz也一样,花的),而且播放视频用gl白屏,xv有断层。

于是只好自己编译安装官方驱动了

从NVIDIA官方网站下了64bit Linux的显卡驱动,参考了无数的帖子,受限驱动全都卸了,gdm关了,不仅sudo,连su都试了。却总是提示什么xen内核无法安装云云
又有人说,自己编译内核安装NVIDIA驱动
于是又很仔细的收集了编译内核的帖子,成功编译了一个2.6.28内核,这下ERROR的提示变了。
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
加上--kernel-source-path指向内核源码的目录启动run安装文件也不行。但安装源里受限的96.43却可以。彻底没辙了 :em20

以下是nvidia-installer.log的完整内容
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jan 17 19:09:31 2009
installer version: 1.0.7

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
no cc version check : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : /usr/src/linux-2.6.28/
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.09.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Using the kernel source path '/usr/src/linux-2.6.28/' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.6.28/'
-> Kernel output path: '/usr/src/linux-2.6.28/'
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
头像
白开水隐士
帖子: 85
注册时间: 2008-07-01 20:49
来自: 中国四川

Re: [问题]无论generic内核还是自己编译的内核安装NVIDIA显卡驱动均失败!

#2

帖子 白开水隐士 » 2009-01-19 23:27

KBUILD_OUTPUT
希望有人能解释一下这个怎么用,我没google到,是不是和这个有关?
头像
白开水隐士
帖子: 85
注册时间: 2008-07-01 20:49
来自: 中国四川

Re: [问题]无论generic内核还是自己编译的内核安装NVIDIA显卡驱动均失败!

#3

帖子 白开水隐士 » 2009-01-21 23:14

额……两天了,貌似很难?
我确实是没有google到才提的问,结果是不是大家都去google……没google到呀? :em06
看来应该发到牢骚抱怨版里去……
fog
帖子: 27
注册时间: 2008-11-19 9:07

Re: [问题]无论generic内核还是自己编译的内核安装NVIDIA显卡驱动均失败!

#4

帖子 fog » 2009-03-01 10:29

同样的问题……
回复