You are not logged in.

#1 2015-08-04 09:41:23

Fol
Member
Registered: 2013-12-16
Posts: 8

[SOLVED][nvidia] Failed to initialize the NVIDIA kernel module

Hello,

I have a nvidia card and since a few kernel updates, I have been forced to switch to the beta drivers. However, since the last kernel update, I have the following error in my Xorg logs :

[  1450.959] 
X.Org X Server 1.17.2
Release Date: 2015-06-16
[  1450.959] X Protocol Version 11, Revision 0
[  1450.959] Build Operating System: Linux 4.0.4-2-ARCH x86_64 
[  1450.959] Current Operating System: Linux buzuck 4.1.3-1-ARCH #1 SMP PREEMPT Wed Jul 22 20:37:12 CEST 2015 x86_64
[  1450.959] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=08aa9df2-8d76-4183-9f3a-a033806adfbb rw quiet
[  1450.959] Build Date: 17 July 2015  05:38:19PM
[  1450.959]  
[  1450.959] Current version of pixman: 0.32.6
[  1450.959]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[  1450.959] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1450.960] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug  4 11:01:48 2015
[  1450.960] (==) Using config file: "/etc/X11/xorg.conf"
[  1450.960] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1450.960] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1450.960] (==) ServerLayout "Layout0"
[  1450.960] (**) |-->Screen "Screen0" (0)
[  1450.960] (**) |   |-->Monitor "Monitor0"
[  1450.960] (**) |   |-->Device "Device0"
[  1450.960] (**) |-->Input Device "Keyboard0"
[  1450.960] (**) |-->Input Device "Mouse0"
[  1450.960] (==) Automatically adding devices
[  1450.960] (==) Automatically enabling devices
[  1450.960] (==) Automatically adding GPU devices
[  1450.960] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1450.960]    Entry deleted from font path.
[  1450.960]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1450.960] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1450.960]    Entry deleted from font path.
[  1450.960]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1450.960] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/
[  1450.960] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1450.960] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1450.960] (WW) Disabling Keyboard0
[  1450.960] (WW) Disabling Mouse0
[  1450.960] (II) Loader magic: 0x817d60
[  1450.960] (II) Module ABI versions:
[  1450.960]    X.Org ANSI C Emulation: 0.4
[  1450.960]    X.Org Video Driver: 19.0
[  1450.960]    X.Org XInput driver : 21.1
[  1450.960]    X.Org Server Extension : 9.0
[  1450.961] (EE) systemd-logind: failed to get session: PID 24621 does not belong to any known session
[  1450.961] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1450.963] (--) PCI:*(0:1:0:0) 10de:11c0:1462:2871 rev 161, Mem @ 0xfb000000/16777216, 0xc8000000/134217728, 0xd6000000/33554432, I/O @ 0x0000af00/128, BIOS @ 0x????????/524288
[  1450.963] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1450.963] (II) LoadModule: "glx"
[  1450.963] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1450.980] (II) Module glx: vendor="NVIDIA Corporation"
[  1450.980]    compiled for 4.0.2, module version = 1.0.0
[  1450.980]    Module class: X.Org Server Extension
[  1450.980] (II) NVIDIA GLX Module  352.30  Tue Jul 21 18:22:32 PDT 2015
[  1450.980] (II) LoadModule: "nvidia"
[  1450.980] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  1450.981] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1450.981]    compiled for 4.0.2, module version = 1.0.0
[  1450.981]    Module class: X.Org Video Driver
[  1450.981] (II) NVIDIA dlloader X Driver  352.30  Tue Jul 21 18:01:20 PDT 2015
[  1450.981] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1450.981] (++) using VT number 1

[  1450.981] (II) Loading sub module "fb"
[  1450.981] (II) LoadModule: "fb"
[  1450.981] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1450.981] (II) Module fb: vendor="X.Org Foundation"
[  1450.981]    compiled for 1.17.2, module version = 1.0.0
[  1450.981]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1450.981] (II) Loading sub module "wfb"
[  1450.981] (II) LoadModule: "wfb"
[  1450.981] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  1450.981] (II) Module wfb: vendor="X.Org Foundation"
[  1450.981]    compiled for 1.17.2, module version = 1.0.0
[  1450.981]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1450.981] (II) Loading sub module "ramdac"
[  1450.981] (II) LoadModule: "ramdac"
[  1450.981] (II) Module "ramdac" already built-in
[  1450.982] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[  1450.982] (EE) NVIDIA:     system's kernel log for additional error messages and
[  1450.982] (EE) NVIDIA:     consult the NVIDIA README for details.
[  1450.982] (EE) No devices detected.
[  1450.982] (EE) 
Fatal server error:
[  1450.982] (EE) no screens found(EE) 
[  1450.982] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[  1450.982] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1450.982] (EE) 

I've tried to switch to stable nvidia drivers, nouveau, and nvidia-beta again. I still have the same error.
nvidia-xconfig didn't change anything either

The re-generated /etc/X11/xorg.conf :

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 352.30  (buildmeister@swio-display-x64-rhel04-18)
# Tue Jul 21 19:36:26 PDT 2015


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

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

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

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

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

I'm still a newbie with journalctl however, and I was not able to find anything relevant in there.

Here is lspci for my GPU :

01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 660] (rev a1)

If someone has any clue about what's happening, or if there is more information somewhere (like in journalctl... ^^") smile
This post may even deserve a place in the newbie corner... I feel silly asking here...

Last edited by Fol (2015-08-04 09:58:49)

Offline

#2 2015-08-04 10:03:00

Fol
Member
Registered: 2013-12-16
Posts: 8

Re: [SOLVED][nvidia] Failed to initialize the NVIDIA kernel module

Actually I just solved the issue. I'm not sure about what it was exactly. I followed the french wiki about nvidia proprietary driver installation,

pacman -S nvidia nvidia-utils nvidia-libgl

regenerated the initramfs

mkinitcpio -p linux

,
installed libva-vdpau-driver,
rebooted and... that's it yikes

Offline

Board footer

Powered by FluxBB