You are not logged in.

#1 2013-09-24 13:12:43

tim
Member
From: Sweden
Registered: 2006-10-29
Posts: 98

Cannot load nvidia driver module [SOLVED]

OK so for some reason I can no longer load the nvidia (proprietary) driver.

I have a laptop with optimus, on board intel and discrete nvidia GTX680M. I use this laptop for cuda development so I don't care about games etc, I just need the driver loaded to debug and run my cuda  apps. bbswitch still works fine as does bumblebee which I don't use normally but I do have it setup and running in case. Also I didn't really work much on coding last week so not sure exactly when this started.

So here is what happens when I try to insert the nvidia module or use optirun:

$ sudo modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': No such device

$ sudo insmod nvidia
insmod: ERROR: could not load module nvidia: No such file or directory

$ optirun -vv glxspheres 
[   27.485342] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[   27.485506] [INFO]Configured driver: nvidia
[   27.485635] [DEBUG]optirun version 3.2.1 starting...
[   27.485642] [DEBUG]Active configuration:
[   27.485645] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[   27.485662] [DEBUG] X display: :8
[   27.485674] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
[   27.485676] [DEBUG] Socket path: /var/run/bumblebee.socket
[   27.485679] [DEBUG] Accel/display bridge: primus
[   27.485681] [DEBUG] VGL Compression: xv
[   27.485684] [DEBUG] VGLrun extra options: 
[   27.485686] [DEBUG] Primus LD Path: /usr/lib:/usr/lib32
[   27.560627] [INFO]Response: No - error: Could not load GPU driver
[   27.560647] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[   27.560651] [DEBUG]Socket closed.
[   27.560666] [ERROR]Aborting because fallback start is disabled.
[   27.560671] [DEBUG]Killing all remaining processes.

I don't have an xorg file for the intel gpu.

device nodes are created:

$ ls /dev/ | grep nv
crw-rw-rw-   1 root root    195,   0 Sep 24 14:58 nvidia0
crw-rw-rw-   1 root root    195, 255 Sep 24 14:58 nvidiactl


log info:

$cat /var/log/Xorg.0.log | grep EE
[     3.385] Current Operating System: Linux gpumonster 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     4.299] Initializing built-in extension MIT-SCREEN-SAVER
[     4.308] (EE) Failed to load module "vesa" (module does not exist, 0)
[     4.308] (EE) Failed to load module "modesetting" (module does not exist, 0)
[     4.309] (EE) Failed to load module "fbdev" (module does not exist, 0)
  
$ cat /var/log/Xorg.8.log
[ 11367.762] 
X.Org X Server 1.14.3
Release Date: 2013-09-12
[ 11367.762] X Protocol Version 11, Revision 0
[ 11367.762] Build Operating System: Linux 3.11.0-1-ARCH x86_64 
[ 11367.762] Current Operating System: Linux gpumonster 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64
[ 11367.762] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=1c3a736e-6aab-45e1-a9ad-5d2f6195cd7d ro quiet
[ 11367.762] Build Date: 13 September 2013  01:28:59PM
[ 11367.762]  
[ 11367.762] Current version of pixman: 0.30.2
[ 11367.762]    Before reporting problems, check [url]http://wiki.x.org[/url]
        to make sure that you have the latest version.
[ 11367.762] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 11367.762] (==) Log file: "/var/log/Xorg.8.log", Time: Thu Sep 19 23:04:24 2013
[ 11367.762] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 11367.762] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 11367.762] (==) ServerLayout "Layout0"
[ 11367.762] (==) No screen section available. Using defaults.
[ 11367.762] (**) |-->Screen "Default Screen Section" (0)
[ 11367.762] (**) |   |-->Monitor "<default monitor>"
[ 11367.762] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[ 11367.762] (**) |   |-->Device "DiscreteNvidia"
[ 11367.762] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[ 11367.762] (**) Option "AutoAddDevices" "false"
[ 11367.762] (**) Option "AutoAddGPU" "false"
[ 11367.762] (**) Not automatically adding devices
[ 11367.762] (==) Automatically enabling devices
[ 11367.762] (**) Not automatically adding GPU devices
[ 11367.762] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 11367.762]    Entry deleted from font path.
[ 11367.762] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 11367.762]    Entry deleted from font path.
[ 11367.762]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 11367.762] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 11367.762]    Entry deleted from font path.
[ 11367.762]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 11367.762] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/Type1/
[ 11367.762] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[ 11367.762] (==) |-->Input Device "<default pointer>"
[ 11367.763] (==) |-->Input Device "<default keyboard>"
[ 11367.763] (==) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
[ 11367.763] (==) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
[ 11367.763] (II) Loader magic: 0x7fdc20
[ 11367.763] (II) Module ABI versions:
[ 11367.763]    X.Org ANSI C Emulation: 0.4
[ 11367.763]    X.Org Video Driver: 14.1
[ 11367.763]    X.Org XInput driver : 19.1
[ 11367.763]    X.Org Server Extension : 7.0
[ 11367.763] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 11367.763] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 11367.763] setversion 1.4 failed
[ 11367.764] (--) PCI:*(0:1:0:0) 10de:11a0:1558:5105 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 11367.764] Initializing built-in extension Generic Event Extension
[ 11367.764] Initializing built-in extension SHAPE
[ 11367.764] Initializing built-in extension MIT-SHM
[ 11367.764] Initializing built-in extension XInputExtension
[ 11367.764] Initializing built-in extension XTEST
[ 11367.764] Initializing built-in extension BIG-REQUESTS
[ 11367.764] Initializing built-in extension SYNC
[ 11367.764] Initializing built-in extension XKEYBOARD
[ 11367.764] Initializing built-in extension XC-MISC
[ 11367.764] Initializing built-in extension SECURITY
[ 11367.764] Initializing built-in extension XINERAMA
[ 11367.764] Initializing built-in extension XFIXES
[ 11367.764] Initializing built-in extension RENDER
[ 11367.764] Initializing built-in extension RANDR
[ 11367.764] Initializing built-in extension COMPOSITE
[ 11367.764] Initializing built-in extension DAMAGE
[ 11367.764] Initializing built-in extension MIT-SCREEN-SAVER
[ 11367.764] Initializing built-in extension DOUBLE-BUFFER
[ 11367.764] Initializing built-in extension RECORD
[ 11367.764] Initializing built-in extension DPMS
[ 11367.764] Initializing built-in extension X-Resource
[ 11367.764] Initializing built-in extension XVideo
[ 11367.764] Initializing built-in extension XVideo-MotionCompensation
[ 11367.764] Initializing built-in extension XFree86-VidModeExtension
[ 11367.764] Initializing built-in extension XFree86-DGA
[ 11367.764] Initializing built-in extension XFree86-DRI
[ 11367.764] Initializing built-in extension DRI2
[ 11367.764] (II) LoadModule: "glx"
[ 11367.764] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[ 11367.773] (II) Module glx: vendor="NVIDIA Corporation"
[ 11367.773]    compiled for 4.0.2, module version = 1.0.0
[ 11367.773]    Module class: X.Org Server Extension
[ 11367.773] (II) NVIDIA GLX Module  325.15  Wed Jul 31 18:12:00 PDT 2013
[ 11367.773] Loading extension GLX
[ 11367.773] (II) LoadModule: "nvidia"
[ 11367.773] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 11367.773] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 11367.773]    compiled for 4.0.2, module version = 1.0.0
[ 11367.773]    Module class: X.Org Video Driver
[ 11367.773] (II) LoadModule: "mouse"
[ 11367.773] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 11367.773] (II) Module mouse: vendor="X.Org Foundation"
[ 11367.773]    compiled for 1.14.0, module version = 1.9.0
[ 11367.773]    Module class: X.Org XInput Driver
[ 11367.773]    ABI class: X.Org XInput driver, version 19.1
[ 11367.773] (II) LoadModule: "kbd"
[ 11367.774] (WW) Warning, couldn't open module kbd
[ 11367.774] (II) UnloadModule: "kbd"
[ 11367.774] (II) Unloading kbd
[ 11367.774] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 11367.774] (II) NVIDIA dlloader X Driver  325.15  Wed Jul 31 17:50:57 PDT 2013
[ 11367.774] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 11367.774] (--) using VT number 7

[ 11367.774] (II) Loading sub module "fb"
[ 11367.774] (II) LoadModule: "fb"
[ 11367.774] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 11367.774] (II) Module fb: vendor="X.Org Foundation"
[ 11367.774]    compiled for 1.14.3, module version = 1.0.0
[ 11367.774]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 11367.774] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 11367.774] (II) Loading sub module "wfb"
[ 11367.774] (II) LoadModule: "wfb"
[ 11367.774] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 11367.774] (II) Module wfb: vendor="X.Org Foundation"
[ 11367.774]    compiled for 1.14.3, module version = 1.0.0
[ 11367.774]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 11367.774] (II) Loading sub module "shadow"
[ 11367.774] (II) LoadModule: "shadow"
[ 11367.774] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 11367.774] (II) Module shadow: vendor="X.Org Foundation"
[ 11367.774]    compiled for 1.14.3, module version = 1.1.0
[ 11367.774]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 11367.774] (II) Loading sub module "ramdac"
[ 11367.774] (II) LoadModule: "ramdac"
[ 11367.774] (II) Module "ramdac" already built-in
[ 11367.774] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[ 11367.774] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 11367.775] (==) NVIDIA(0): RGB weight 888
[ 11367.775] (==) NVIDIA(0): Default visual is TrueColor
[ 11367.775] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 11367.775] (**) NVIDIA(0): Option "NoLogo" "true"
[ 11367.775] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
[ 11367.775] (**) NVIDIA(0): Option "UseEDID" "false"
[ 11367.775] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 11367.775] (**) NVIDIA(0): Enabling 2D acceleration
[ 11367.775] (**) NVIDIA(0): Ignoring EDIDs
[ 11367.775] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 11367.775] (**) NVIDIA(0):     mode
[ 11368.299] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[ 11368.300] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 680M (GK104) at PCI:1:0:0 (GPU-0)
[ 11368.300] (--) NVIDIA(0): Memory: 4194304 kBytes
[ 11368.300] (--) NVIDIA(0): VideoBIOS: 80.04.29.00.01
[ 11368.300] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 11368.300] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 680M at PCI:1:0:0
[ 11368.300] (--) NVIDIA(0):     none
[ 11368.300] (II) NVIDIA(0): Validated MetaModes:
[ 11368.300] (II) NVIDIA(0):     "nvidia-auto-select"
[ 11368.300] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 11368.300] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 11368.300] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 11368.300] (--) Depth 24 pixmap format is 32 bpp
[ 11368.300] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 11368.300] (II) NVIDIA:     access.
[ 11368.304] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 11368.304] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[ 11368.304] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[ 11368.304] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[ 11368.304] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[ 11368.304] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[ 11368.304] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[ 11368.304] (II) NVIDIA(0):     Config Options in the README.
[ 11368.304] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[ 11368.308] Loading extension NV-GLX
[ 11368.312] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 11368.312] (==) NVIDIA(0): Backing store disabled
[ 11368.312] (==) NVIDIA(0): Silken mouse enabled
[ 11368.312] (==) NVIDIA(0): DPMS enabled
[ 11368.312] Loading extension NV-CONTROL
[ 11368.312] (II) Loading sub module "dri2"
[ 11368.312] (II) LoadModule: "dri2"
[ 11368.312] (II) Module "dri2" already built-in
[ 11368.312] (II) NVIDIA(0): [DRI2] Setup complete
[ 11368.312] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[ 11368.312] (--) RandR disabled
[ 11368.316] (II) Initializing extension GLX
[ 11368.342] (II) Using input driver 'mouse' for '<default pointer>'
[ 11368.342] (**) Option "CorePointer" "on"
[ 11368.342] (**) <default pointer>: always reports core events
[ 11368.342] (WW) <default pointer>: No Device specified, looking for one...
[ 11368.422] (II) <default pointer>: Setting Device option to "/dev/input/mice"
[ 11368.422] (--) <default pointer>: Device: "/dev/input/mice"
[ 11368.422] (==) <default pointer>: Protocol: "Auto"
[ 11368.422] (**) <default pointer>: always reports core events
[ 11368.422] (**) Option "Device" "/dev/input/mice"
[ 11368.475] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[ 11368.475] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[ 11368.475] (**) <default pointer>: Buttons: 9
[ 11368.475] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
[ 11368.475] (**) <default pointer>: (accel) keeping acceleration scheme 1
[ 11368.475] (**) <default pointer>: (accel) acceleration profile 0
[ 11368.475] (**) <default pointer>: (accel) acceleration factor: 2.000
[ 11368.475] (**) <default pointer>: (accel) acceleration threshold: 4
[ 11368.475] (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2"
[ 11368.769] (II) <default pointer>: ps2EnableDataReporting: succeeded
[ 11368.769] (II) LoadModule: "kbd"
[ 11368.769] (WW) Warning, couldn't open module kbd
[ 11368.769] (II) UnloadModule: "kbd"
[ 11368.769] (II) Unloading kbd
[ 11368.769] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 11368.769] (EE) No input driver matching `kbd'
[ 11368.771] (II) config/udev: Adding input device Power Button (/dev/input/event6)
[ 11368.771] (II) AutoAddDevices is off - not adding device.
[ 11368.771] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
[ 11368.771] (II) AutoAddDevices is off - not adding device.
[ 11368.771] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
[ 11368.771] (II) AutoAddDevices is off - not adding device.
[ 11368.771] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[ 11368.771] (II) AutoAddDevices is off - not adding device.
[ 11368.771] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[ 11368.771] (II) AutoAddDevices is off - not adding device.
[ 11368.772] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[ 11368.772] (II) AutoAddDevices is off - not adding device.
[ 11368.772] (II) config/udev: Adding drm device (/dev/dri/card1)
[ 11368.772] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 11368.772] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 11368.772] setversion 1.4 failed
[ 11368.772] (II) config/udev: Adding input device HP HP Link-5 micro dongle (/dev/input/event1)
[ 11368.772] (II) AutoAddDevices is off - not adding device.
[ 11368.773] (II) config/udev: Adding input device HP HP Link-5 micro dongle (/dev/input/event2)
[ 11368.773] (II) AutoAddDevices is off - not adding device.
[ 11368.773] (II) config/udev: Adding input device HP HP Link-5 micro dongle (/dev/input/mouse0)
[ 11368.773] (II) AutoAddDevices is off - not adding device.
[ 11368.773] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event12)
[ 11368.773] (II) AutoAddDevices is off - not adding device.
[ 11368.773] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event13)
[ 11368.773] (II) AutoAddDevices is off - not adding device.
[ 11368.773] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event14)
[ 11368.773] (II) AutoAddDevices is off - not adding device.
[ 11368.773] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event15)
[ 11368.773] (II) AutoAddDevices is off - not adding device.
[ 11368.774] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event16)
[ 11368.774] (II) AutoAddDevices is off - not adding device.
[ 11368.774] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event17)
[ 11368.774] (II) AutoAddDevices is off - not adding device.
[ 11368.774] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event18)
[ 11368.774] (II) AutoAddDevices is off - not adding device.
[ 11368.774] (II) config/udev: Adding input device BisonCam, NB Pro (/dev/input/event8)
[ 11368.774] (II) AutoAddDevices is off - not adding device.
[ 11368.774] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 11368.774] (II) AutoAddDevices is off - not adding device.
[ 11368.774] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event10)
[ 11368.774] (II) AutoAddDevices is off - not adding device.
[ 11368.775] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[ 11368.775] (II) AutoAddDevices is off - not adding device.
[ 11368.775] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[ 11368.775] (II) AutoAddDevices is off - not adding device.
[ 11374.183] (II) UnloadModule: "mouse"
[ 11374.199] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 11374.200] (EE) Server terminated successfully (0). Closing log file.

I'm not willing to give up and install/build the drivers from the cuda SDK just yet so any help would be greatly appreciated.

Last edited by tim (2013-10-02 08:20:49)

Offline

#2 2013-09-24 13:16:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Cannot load nvidia driver module [SOLVED]

When pasting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.


Have you tried https://wiki.archlinux.org/index.php/Bu … _Bumblebee ?
Have you read the wiki (particularly the relevant troubleshooting sections) to see if there's a hint what may be causing this issue and how to fix it?

Offline

#3 2013-09-24 13:29:12

tim
Member
From: Sweden
Registered: 2006-10-29
Posts: 98

Re: Cannot load nvidia driver module [SOLVED]

Sorry about the missing code tags, I've added them in now.

Thanks for the links and yes I've read the bumblebee wiki but its not relevant because I'm not using it.

As for the small section you pointed out regarding the 'not well documented' ability to run cuda without bumblebee or bbswitch, again thanks but its also not really relevant because
a) nvidia have clear instructions on how to run cuda on optimus systems running linux with absolutely no mention or requirement for bumblebee or bbswitch so to say that it is not well document is kind of not true. b) i've been coding, running and debugging cuda code for the last 6 months on this laptop without bumblebee so its not an issue of it not being possible. It most certainly is.

Something just broke recently that doesn't allow me to load the nvidia driver and unfortunately i've reached the limit of my knowledge on drivers and such.

Offline

#4 2013-09-24 19:11:54

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Cannot load nvidia driver module [SOLVED]

Interesting, when I search nvidia for your hardware[1], it recommends the 319.49 driver.  Currently, [extra] contains 325.15.  I haven't dug any deeper into it.  You may want to look at the readme for the drivers to see that your hardware is supported.

1. http://www.nvidia.com/object/linux-disp … river.html


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Online

#5 2013-09-24 19:51:06

tim
Member
From: Sweden
Registered: 2006-10-29
Posts: 98

Re: Cannot load nvidia driver module [SOLVED]

@graysky, that is interesting. I wonder why it doesn't recommend the 325 driver? My GTX680M is listed under the supported device list and there is nothing in the readme that seems related.

Except perhaps this (http://us.download.nvidia.com/XFree86/L … sacpivbios):

Why does the VBIOS fail to load on my Optimus system?

On some notebooks with Optimus graphics, the NVIDIA driver may not be able to retrieve the Video BIOS due to interactions between the System BIOS and the Linux kernel's ACPI subsystem. On affected notebooks, applications that require the GPU will fail, and messages like the following may appear in the system log:

NVRM: failed to copy vbios to system memory.
NVRM: RmInitAdapter failed! (0x30:0xffffffff:858)
NVRM: rm_init_adapter(0) failed
Such problems are typically beyond the control of the NVIDIA driver, which relies on proper cooperation of ACPI and the System BIOS to retrieve important information about the GPU, including the Video BIOS.

Now I have no idea what that means but given that it mentions ACPI perhaps it is related to another annoying issue i've been having where I can't shutdown completely because I get a message about watchdog  not shutting down just before power off.

???

I don't know, I'm lost.

I think perhaps I should just install the 319 driver or the driver from the SDK instead of spending more time on this.

Last edited by tim (2013-09-24 19:52:05)

Offline

#6 2013-09-25 14:44:22

tim
Member
From: Sweden
Registered: 2006-10-29
Posts: 98

Re: Cannot load nvidia driver module [SOLVED]

well I tried to install the drivers from nvidia and it was an epic fail. somehow the nouveau driver was supposedly loaded even though its not even installed and i've blacklisted it and a bunch of other stuff. So then I manually unload it and it says the kernel headers aren't installed even though they are, and then ....

pfft it was a nightmare, I can't understand why. I've done it a bunch of times before on arch and never had a problem.

Anyway, so re-installed the nvidia driver from the repo. Is it normal for the to be just twp files created, an nvidia.ko.gz file in /usr/lib/modules/extramodules-3.11-ARCH  and an nvidia.conf file in /usr/lib/modprobe.d/ ?

Offline

#7 2013-09-25 19:19:11

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Cannot load nvidia driver module [SOLVED]

Pacman knows all:

pacman -Ql nvidia

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Online

#8 2013-09-25 19:55:27

tim
Member
From: Sweden
Registered: 2006-10-29
Posts: 98

Re: Cannot load nvidia driver module [SOLVED]

I guess I meant more, is this all the files there should be installed/created for a fully functioning driver.

I really don't know a thing about drivers so I don't even have the vocabulary to particularly intelligent questions on the topic most likely.

For instance, I see a range of file types (at least file name extension) for different drivers; .ko, .ko.gz, .so etc, and I wondered if maybe there was some file/s missing? I presume people use different file extensions for a reason. Was some part of the installer supposed to unzip the nvidia.ko.gz file... or something like that. That probably sounded like a rather dumb question but hey, I fully admit that the whole driver system is something I've never ever taken an interest in and know nothing about.

Last edited by tim (2013-09-25 19:56:16)

Offline

#9 2013-09-26 14:16:44

tim
Member
From: Sweden
Registered: 2006-10-29
Posts: 98

Re: Cannot load nvidia driver module [SOLVED]

OK so some new information:

[12498.956790] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:11a0)
NVRM: installed in this system is not supported by the 319.49
NVRM: NVIDIA Linux driver release.  Please see 'Appendix
NVRM: A - Supported NVIDIA GPU Products' in this release's
NVRM: README, available on the Linux driver download page
NVRM: at www.nvidia.com.
[12498.957162] NVRM: The NVIDIA probe routine failed for 1 device(s).
[12498.957164] NVRM: None of the NVIDIA graphics adapters were initialized!

But I checked the drivers appendix A and my card with device ID 11a0 is listed under supported products!!!

GRRRR this is driving me mad.

PLEASE, ANYONE?

Offline

#10 2013-10-01 22:20:47

tim
Member
From: Sweden
Registered: 2006-10-29
Posts: 98

Re: Cannot load nvidia driver module [SOLVED]

So in simple terms, the fix invovled ensuring the nvidia module is loaded before the bbswitch module. I'm not sure about the necessity of the things that follow but the fix may possibly also require removing bumblebee and possibly requires removing nvidia from repos and building the driver downloaded from nvidia.

This fix could be completely unrelated to the problems I was having with arch but I cannot verify the fix on arch specifically cos I installed every distro under the sun trying to get it all working and I got it to work on a non arch distro.
So... I'm not sure if I should really mark this a solved because I haven't/can't verify it on arch and technically the solution involved changing to another distro but in fact, I know it has absolutely nothing to do with arch since I saw the same behaviour on 3 other distros. If I have time, I will reinstall arch and verify but for the moment, I have a lot of work to catch up on now that I have a working nvidia driver I can actually use for dev

Anyway, what I think is going on is there is some bizarre issue with bbswitch that stops the nvidia driver from being found because on the current distro I have installed, if I have no bbswitch, no bumblebee and no nvidia modules loaded or services running etc. I can modprobe the nvidia driver and all works fine. I can then modprobe the bbswitch driver and that works too. IF I modprobe the bbswitch driver first and then modprobe the nvidia driver, I get this error that says the nvidia module cant be found. The location it prints is in some updates directory whcih is odd too because I installed from nvidia source and never installed updates at all and made sure that there were absolutely no repo nvidia drivers or updates etc.

.

Last edited by tim (2013-10-02 08:35:39)

Offline

Board footer

Powered by FluxBB