|
Red Hat9.0, nvidia-RIVA-TNT显卡,使用linux-2.6.7内核,我一直是在文本模式下安装,然后用startx进x-window的.
下载NVIDIA-Linux-x86-1.0-6106-pkg1.run,
sh NVIDIA-Linux-x86-1.0-6106-pkg1.run,开始安装,只是提示要build kernel interface。其余一切顺利。然后到/etc/X11/XF86Config
将Load "dri",去掉,保留Load "glx", 将Driver "nv" 改为 Driver "nvidia",其他没有任何改变。可是startx后,无法进入x-window 提示:"(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!"
但是,使用modprobe nvidia 后成功进入x-window,并见到了nvidia logo。我看了nvidia的README,其中FREQUENTLY ASKED QUESTIONS
有如下一段
Q: The kernel module does not get loaded dynamically when X starts; I always have to do 'modprobe nvidia' first. What is wrong?
A: Make sure the line "alias char-major-195 nvidia" appears in
your module configuration file, generally one of "/etc/conf.modules", "/etc/modules.conf" or "/etc/modutils/alias"; consult the documentation that came with your distribution for details.
我照着在/etc/modules.conf中加入了:alias char-major-195 nvidia,可是不起作用,重启系统后仍然要通过modprobe nvidia才能进入x-window,请高手相助。我觉着好象/etc/modules.conf不起作用,我的modules.conf原本只有一个声卡的alias语句,当我将声卡有关内容全部编入内核后,好像这些语句就无用处了(声卡一切正常)。 |
|