原文地址:http://forums.opensuse.org/english/get-help-here/pre-release-beta/440556-11-3-rc1-nvidia-driver.html
Further to this, on this same PC, with openSUSE-11.3 RC1 I now have the proprietary nvidia driver running (see pix):
It was a bit more tricky than normal due to complexities associated with the nouveau driver. The solution is in the 11.3 release notes, but the solution is not something one normally does, and it may take a bit of time/effort to wrap one's head around the activities needed with the work around.
Initializing Graphics with KMS (Kernel Mode Setting)
With openSUSE 11.3 we are switching to KMS (Kernel Mode Setting) for Intel, ATI and NVIDIA graphics, which now is our default. If you encounter problems with the KMS driver support (intel, radeon, nouveau), disable KMS by adding nomodeset to the kernel boot command line. To set this permanently, add it to the kernel command line in /boot/grub/menu.lst. This option makes sure the appropriate kernel module (intel, radeon, nouveau) is loaded with modeset=0 in initrd, i.e. KMS is disabled.
In the rare cases when loading the DRM module from initrd is a general problem and unrelated to KMS, it is even possible to disable loading of the DRM module in initrd completely. For this set the NO_KMS_IN_INITRD sysconfig variable to yes via YAST, which then recreates initrd afterwards. Reboot your machine.
On Intel without KMS the Xserver falls back to the fbdev driver (the intel driver only supports KMS). On ATI for current GPUs it falls back to radeonhd. On NVIDIA without KMS the nv driver is used (the nouveau driver only supports KMS).
So what I did on 11.3 RC1 to install the proprietary graphic driver was:
- reboot and specify in the grub boot line "nomodeset 3" (no quotes), and that boots to run level 3 (with the nomodeset specified - which is necessary so nvidia driver will build) and then login as user oldcpu, and then type 'su' to switch to root
- black list the nouveau driver in /etc/modprobe.d/50-blacklist.conf using the vi editor
- build the proprietary graphic driver "the hardway" (after first ensuring kernel-source , kernel-syms of same kernel version installed and also base-development pattern installed) with:
Code:
sh NVIDIA-Linux-x86-195.36.31-pkg1.run -q
- type:
Code:nvidia-xconfig
- run "yast" (no quotes) and go to yast > System > /etc/sysconfig Editor > System > Kernel > NO_KMS_IN_INITRD and change it to "yes".
.
.
It took about 1 minute for that to be applied. THAT WAS NECESSARY (and new to me - but its in the release notes). - reboot and the proprietary driver started.
When trying to figure this out, I also removed the xorg-x11-driver-nouveau rpm, but I do not think that is necessary.