Visit Our UNIX and Linux User Community

Nvidia Module Not Loading (Desktop Gone)

Thread Tools Search this Thread
Operating Systems Linux Fedora Nvidia Module Not Loading (Desktop Gone)
# 1  
Old 04-22-2014
Debian Nvidia Module Not Loading (Desktop Gone)

Well, I followed the steps in the Debian wiki here to install the drivers for the following video card:

$ lspci | grep VGA
03:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1)

I confirmed the correct driver is installed. As you probably see I've tried this a few times and a few different ways so I may have some packages I shouldn't?:

$ nvidia-detect
Detected NVIDIA GPUs:
03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF104 [GeForce GTX 460] [10de:0e22] (rev a1)
Your card is supported by the default drivers and legacy driver series 304.
It is recommended to install the

# dpkg -l | awk '/nvidia/ { print $2 }'

Then I did the following to try and match the wiki:

# aptitude update

# uname -r

# aptitude -r install linux-headers-3.14-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-legacy-96xx-dkms

# update-initramfs -u

Rebooted and now have no desktop. The startx command mentioned to look in /var/log/Xorg.0.log and I noticed this:

# tail -n 50 /var/log/Xorg.0.log
[  4849.460] (II) Loading sub module "fb"
[  4849.460] (II) LoadModule: "fb"
[  4849.460] (II) Loading /usr/lib/xorg/modules/
[  4849.461] (II) Module fb: vendor="X.Org Foundation"
[  4849.461]     compiled for 1.15.1, module version = 1.0.0
[  4849.461]     ABI class: X.Org ANSI C Emulation, version 0.4
[  4849.461] (WW) Unresolved symbol: fbGetGCPrivateKey
[  4849.461] (II) Loading sub module "wfb"
[  4849.461] (II) LoadModule: "wfb"
[  4849.461] (II) Loading /usr/lib/xorg/modules/
[  4849.462] (II) Module wfb: vendor="X.Org Foundation"
[  4849.462]     compiled for 1.15.1, module version = 1.0.0
[  4849.462]     ABI class: X.Org ANSI C Emulation, version 0.4
[  4849.462] (II) Loading sub module "ramdac"
[  4849.462] (II) LoadModule: "ramdac"
[  4849.462] (II) Module "ramdac" already built-in
[  4849.462] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[  4849.462] (==) NVIDIA(0): RGB weight 888
[  4849.462] (==) NVIDIA(0): Default visual is TrueColor
[  4849.462] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  4849.462] (**) NVIDIA(0): Enabling 2D acceleration
[  4849.462] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
[  4849.462] (EE) NVIDIA(0):     system's kernel log for additional error messages and
[  4849.462] (EE) NVIDIA(0):     consult the NVIDIA README for details.
[  4849.462] (EE) NVIDIA(0):  *** Aborting ***
[  4849.462] (EE) NVIDIA(0): Failing initialization of X screen 0
[  4849.462] (II) UnloadModule: "nvidia"
[  4849.462] (II) UnloadSubModule: "wfb"
[  4849.462] (II) UnloadSubModule: "fb"
[  4849.462] (EE) Screen(s) found, but none have a usable configuration.
[  4849.462] (EE) 
Fatal server error:
[  4849.462] (EE) no screens found(EE) 
[  4849.462] (EE) 
Please consult the The X.Org Foundation support 

Seems to not be loading the module correctly, but I don't know why. For good measure here is what I have in my /etc/X11/xorg.conf.d/20-nvidia.conf and /etc/X11/xorg.conf:

# cat /etc/X11/xorg.conf.d/20-nvidia.conf
Section "Device"
    Identifier "My GPU"
        Driver "nvidia"

# cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 319.72  (pbuilder@cake)  Sat Nov  9 14:15:48 UTC 2013

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"

Section "Files"

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24

I'm new to configuring video cards such as this. Any advice much appreciated.

EDIT: I don't know if anyone's still watching this, but I just noticed this in /var/log/messages:
Apr 25 16:19:28 leviathan kernel: [  126.571155] NVRM: API mismatch: the client has the version 331.67, but
Apr 25 16:19:28 leviathan kernel: [  126.571155] NVRM: this kernel module has the version 96.43.23.  Please
Apr 25 16:19:28 leviathan kernel: [  126.571155] NVRM: make sure that this kernel module and all NVIDIA driver
Apr 25 16:19:28 leviathan kernel: [  126.571155] NVRM: components have the same version.

Does this mean I need to recompile the driver? Or perhaps upgrade a package with the API?

Last edited by Azrael; 04-25-2014 at 11:16 PM.. Reason: New Information
# 2  
Old 04-26-2014
Well, I finally got it. I had remove all the .ko driver from my previous attempts and then used the following script which did most of the work for me:

It was made for Debian Sid, but claims to work with Arch and Fedora now too. Definitely simplified things for anyone interested.
This User Gave Thanks to Azrael For This Post:

Previous Thread | Next Thread
Test Your Knowledge in Computers #909
Difficulty: Easy
In computer science, a pointer is a programming language object that stores the memory address of another value located on a hard drive.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Problem loading cpufreq module

I'd like to install cpufreq modules on my server . I tried sudo modprobe acpi-cpufreq but got the error FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.18-238.12.1.el5xen/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko): No such device cat /proc/cpuinfo gives this ... (11 Replies)
Discussion started by: vishwamitra
11 Replies

2. Solaris

Loading Kernel module at boot

Is there any link/tutorial on loading Solaris kernel modules at boot time?? (0 Replies)
Discussion started by: unisolin
0 Replies

3. Shell Programming and Scripting

Perl - Error loading module.

Hi, I have a strange issue in my script. When script is run from command prompt it runs fine,but when run from cron it exist with error message. I narrowed down the issue and found that " use Mail::Sender;" is the culprit. If I comment the statment the code runs fine in both command and... (9 Replies)
Discussion started by: coolbhai
9 Replies

4. Shell Programming and Scripting

Help loading a program into perl from a file on desktop

So I want to use this program that I have downloaded from: PaGE - Patters from Gene Expression However, I am not sure how to actually get in to and run the program... I can log into the server, and was assuming I needed to get the "" file into a folder some how, but not sure how to... (2 Replies)
Discussion started by: silkiechicken
2 Replies

5. Linux

problem with kernel module loading

Hi masters, I am new to linux and unix forum and this is my first forum. So please excuse if I am not giving sufficient information. I will give them on request. I have created a bandwidth manager module. I am using a 2.6.9 kernel and in Red Hat 3.4.3 distribution. But when i run make... (1 Reply)
Discussion started by: iamjayanth
1 Replies

6. Linux

How to convert Linux Kernel built-in module into a loadable module

Hi all, I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/. I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies

7. Shell Programming and Scripting

Function loading in a shell scripting like class loading in java

Like class loader in java, can we make a function loader in shell script, for this can someone throw some light on how internally bash runs a shell script , what happenes in runtime ... thanks in advance.. (1 Reply)
Discussion started by: mpsc_sela
1 Replies

8. Programming

Dynamically loading a module

Hi there: Thanks for clicking in first. I have a question here. I have a module that needs to be dynamically loaded when another piece of code needs it at runtime. I know that I will have to make a soname file before I can use it dynamically. My question is what commad I should use to make... (2 Replies)
Discussion started by: yanhu
2 Replies

9. UNIX for Dummies Questions & Answers

nvidia drviers

hi guys i tryed to in stall nvidia driver the other day then i got no kernel found i installed the latest kernal for the drivers rpm based from and downloaded the pkg 1,2 and the src and the reg bin rpm installed it and droped out of X and init 3 and went to the cmd line and... (1 Reply)
Discussion started by: 3bumbs plumming
1 Replies

Featured Tech Videos