[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 关于nvidia驱动安装问题



zwang 写道:
> 系统是debian lenny.
> 显卡是: VGA compatible controller: nVidia Corporation G70 [GeForce
> 7600 GS] (rev a1)
>
> 因为想安装一下 compiz,但3D加速没有启用(根据网上文档操作):
> zwang@i965:~$ sudo glxinfo | grep 'direct rendering'
> direct rendering: No (If you want to find out why, try setting
> LIBGL_DEBUG=verbose)
>
> 所以根据文档提示需要安装nvidia驱动,下载的是
> NVIDIA-Linux-x86-173.14.05-pkg1.run,然后alt+crtl+F6切换到终端下安装
> 该驱动,可惜不成功!
> log如下:
>
> ----------------
> Using: nvidia-installer ncurses user interface
> -> License accepted.
> -> 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: Yes)
> -> No matching precompiled kernel interface was found on the NVIDIA
> ftp site;
> this means that the installer will need to compile a kernel interface for
> your kernel.
> -> Performing CC sanity check with CC="cc".
> -> Performing CC version check with CC="cc".
> -> The CC version check failed:
>
> The compiler used to compile the kernel (gcc 4.1) does not exactly
> match the
> current compiler (gcc 4.2). The Linux 2.6 kernel module loader rejects
> kern
> el modules built with a version of gcc that does not exactly match
> that of t
> he compiler used to build the running kernel.
>
> If you know what you are doing and want to ignore the gcc version
> check, sel
> ect "No" to continue installation. Otherwise, select "Yes" to abort
> install
> ation, set the CC environment variable to the name of the compiler
> used to c
> ompile your kernel, and restart installation. Abort now? (Answer: Yes)
>
> ----------------
>
> 请大侠指点一下我该如何才能正确安装该驱动?
>
我以前一台机器用的是N卡,现在这个是A卡,所以按照回忆说一下吧。
首先是看你需要nvidia的哪个src包,这些都在non-free中可以找到,一个是
legecy什么的,一个不是。
安装合适的驱动源码包,而后用m-a a-i nvidia编译和安装驱动,再安装xwindows
的驱动。
基本上就这个样子,具体都忘光了。


Reply to: