SUSE Conversations


X Server not starting after installing NVIDIA driver on openSUSE 10.2



By: maghog

May 29, 2007 11:27 am

Reads:1,420

Comments:1

Score:Unrated

Print/PDF

Problem:

X-server won’t start after installing NVIDIA driver on openSUSE 10.2.

/var/log/Xorg.log has following errors:

Failed to load module "glx" (module does not exist, 0)
Failed to load module "nvidia" (module does not exist, 0)
No devices detected.

The problem is that the nvidia modules are installed in the wrong directory, /usr/X11R6/modules when it should be /usr/lib/xorg/modules or /usr/lib64/xorg/modules when using xorg 7.2.

Solution:

Use the command argument –x-module-path when installing the driver.

Environment factors:

  • openSUSE 10.2 (X86 or X86-64)
  • Xorg 7.2
  • NVIDIA 1.0-9755

Example:

  1. Kernel sources must be installed and configured. Usually this means installing the ‘kernel-source’, ‘make’ and ‘gcc’ packages with YaST2.
  2. Download the latest NVIDIA package from http://www.nvidia.com/object/unix.html.
  3. I downloaded the nvidia installer NVIDIA-Linux-x86_64-1.0-9755-pkg2.run.
  4. su to root and go to run level 3 (init 3).
  5. Run the installer using the –x-module-path.

    For X86-64:

    sh NVIDIA-Linux-x86_64-1.0-9755-pkg2.run --x-module-path=/usr/lib64/xorg/modules/ -q

    For X86:

    sh NVIDIA-Linux-x86-1.0-9755-pkg2.run --x-module-path=/usr/lib/xorg/modules/ -q 

    Check that nvidia modules (libnvidia*) exist in /usr/lib/xorg/modules or /usr/lib64/xorg/modules depending on your architecture.

  6. Configure X.Org with:
    sax2 -r -m 0=nvidia (0 is a digit, not a letter).

    NOTE: There is no need to try to enable 3D support. It’s already enabled, when the nvidia driver is running.

    IMPORTANT: You need to recompile and install the nvidia kernel module after each kernel update:

  7. sh NVIDIA-Linux-x86_64-1.0-9755-pkg2.run -K 

    or

    sh NVIDIA-Linux-x86-1.0-9755-pkg2.run -K
  8. Start the x-server (init 5).
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Categories: Uncategorized

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

1 Comment

  1. By:anonymous

    you should try to update your nvidia driver, it will surely work

Comment

RSS