Kernel problems installing nvidia-experimental-310

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
GoopyMonkey

Kernel problems installing nvidia-experimental-310

Post by GoopyMonkey »

Hello Linux Mint Forum. I recently tried to install the latest version of the nvidia binary drivers (both using the Jockey GUI in Software Sources and using apt-get) and am running into kernel module problems after installation. I have the 304 version supplied by nvidia-current-updates on a 660Ti working perfectly; however this gives lower performance for games (Team Fortress 2, Bastion, etc.) than I get on the Windows equivalents, and the newer version is reported to be up to twice as fast in certain cases. The procedure I use to get this result is as follows:
  • Remove nvidia-current-updates via apt-get
  • Install nvidia-experimental-310
  • Log out or restart mdm
At this point mdm fails to launch and reverts to tty1, giving the following error in syslog:

Code: Select all

Feb  5 15:30:19 radiant-garden kernel: [ 5033.626175] NVRM: API mismatch: the client has the version 310.14, but
Feb  5 15:30:19 radiant-garden kernel: [ 5033.626175] NVRM: this kernel module has the version 304.51.  Please
Feb  5 15:30:19 radiant-garden kernel: [ 5033.626175] NVRM: make sure that this kernel module and all NVIDIA driver
Feb  5 15:30:19 radiant-garden kernel: [ 5033.626175] NVRM: components have the same version.
Here's Xorg.0.log when the error occurs:

Code: Select all

[  5664.987] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  5664.987] (WW) Disabling Keyboard0
[  5664.987] (WW) Disabling Mouse0
[  5664.987] (II) Loader magic: 0x7f32d6c43c40
[  5664.987] (II) Module ABI versions:
[  5664.987] 	X.Org ANSI C Emulation: 0.4
[  5664.987] 	X.Org Video Driver: 13.0
[  5664.987] 	X.Org XInput driver : 18.0
[  5664.987] 	X.Org Server Extension : 7.0
[  5664.988] (--) PCI:*(0:1:0:0) 10de:1183:3842:3660 rev 161, Mem @ 0xf6000000/16777216, 0xe8000000/134217728, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  5664.989] (II) Open ACPI successful (/var/run/acpid.socket)
[  5664.989] Initializing built-in extension Generic Event Extension
[  5664.989] Initializing built-in extension SHAPE
[  5664.989] Initializing built-in extension MIT-SHM
[  5664.989] Initializing built-in extension XInputExtension
[  5664.989] Initializing built-in extension XTEST
[  5664.989] Initializing built-in extension BIG-REQUESTS
[  5664.989] Initializing built-in extension SYNC
[  5664.989] Initializing built-in extension XKEYBOARD
[  5664.989] Initializing built-in extension XC-MISC
[  5664.989] Initializing built-in extension SECURITY
[  5664.989] Initializing built-in extension XINERAMA
[  5664.989] Initializing built-in extension XFIXES
[  5664.989] Initializing built-in extension RENDER
[  5664.989] Initializing built-in extension RANDR
[  5664.989] Initializing built-in extension COMPOSITE
[  5664.989] Initializing built-in extension DAMAGE
[  5664.989] Initializing built-in extension MIT-SCREEN-SAVER
[  5664.989] Initializing built-in extension DOUBLE-BUFFER
[  5664.989] Initializing built-in extension RECORD
[  5664.989] Initializing built-in extension DPMS
[  5664.989] Initializing built-in extension X-Resource
[  5664.989] Initializing built-in extension XVideo
[  5664.989] Initializing built-in extension XVideo-MotionCompensation
[  5664.989] Initializing built-in extension XFree86-VidModeExtension
[  5664.989] Initializing built-in extension XFree86-DGA
[  5664.989] Initializing built-in extension XFree86-DRI
[  5664.989] Initializing built-in extension DRI2
[  5664.989] (II) LoadModule: "glx"
[  5664.989] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[  5664.997] (II) Module glx: vendor="NVIDIA Corporation"
[  5664.997] 	compiled for 4.0.2, module version = 1.0.0
[  5664.997] 	Module class: X.Org Server Extension
[  5664.997] (II) NVIDIA GLX Module  310.14  Tue Oct  9 12:14:30 PDT 2012
[  5664.997] Loading extension GLX
[  5664.997] (II) LoadModule: "nvidia"
[  5664.997] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[  5664.998] (II) Module nvidia: vendor="NVIDIA Corporation"
[  5664.998] 	compiled for 4.0.2, module version = 1.0.0
[  5664.998] 	Module class: X.Org Video Driver
[  5664.998] (II) NVIDIA dlloader X Driver  310.14  Tue Oct  9 11:54:19 PDT 2012
[  5664.998] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  5664.998] (++) using VT number 7

[  5665.001] (II) Loading sub module "wfb"
[  5665.001] (II) LoadModule: "wfb"
[  5665.001] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  5665.001] (II) Module wfb: vendor="X.Org Foundation"
[  5665.001] 	compiled for 1.13.0, module version = 1.0.0
[  5665.001] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  5665.001] (II) Loading sub module "ramdac"
[  5665.001] (II) LoadModule: "ramdac"
[  5665.001] (II) Module "ramdac" already built-in
[  5665.001] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[  5665.001] (==) NVIDIA(0): RGB weight 888
[  5665.001] (==) NVIDIA(0): Default visual is TrueColor
[  5665.001] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  5665.001] (**) NVIDIA(0): Option "Stereo" "0"
[  5665.001] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "CRT-0"
[  5665.001] (**) NVIDIA(0): Stereo disabled by request
[  5665.001] (**) NVIDIA(0): Option "CustomEDID" "CRT-0:/home/sora/Downloads/HSD899A_test.bin"
[  5665.001] (**) NVIDIA(0): Option "MetaModes" "CRT: 1920x1080_60 +0+0; CRT: nvidia-auto-select +0+0; CRT: nvidia-auto-select +0+0; CRT: 640x480 +0+0; CRT: nvidia-auto-select +0+0"
[  5665.001] (**) NVIDIA(0): Enabling 2D acceleration
[  5665.002] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
[  5665.002] (EE) NVIDIA(0):     system's kernel log for additional error messages and
[  5665.002] (EE) NVIDIA(0):     consult the NVIDIA README for details.
[  5665.002] (EE) NVIDIA(0):  *** Aborting ***
[  5665.002] (EE) NVIDIA(0): Failing initialization of X screen 0
[  5665.002] (II) UnloadModule: "nvidia"
[  5665.002] (II) UnloadSubModule: "wfb"
[  5665.002] (EE) Screen(s) found, but none have a usable configuration.
[  5665.002] 
Fatal server error:
[  5665.002] no screens found
[  5665.002] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  5665.002] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  5665.002] (EE) 
[  5665.004] Server terminated with error (1). Closing log file.
System specs as output by inxi -Fc 0:

Code: Select all

sora@radiant-garden ~ $ inxi -Fc 0
System:    Host: radiant-garden Kernel: 3.5.0-19-generic x86_64 (64 bit) Desktop: Xfce 4.10.0 Distro: Linux Mint 14 Nadia
Machine:   Mobo: MSI model: H61M-P20 (G3) (MS-7788) version: 1.0 Bios: American Megatrends version: V1.5 date: 01/18/2012
CPU:       Dual core Intel Core i3-2100 CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) 
           Clock Speeds: 1: 1600.00 MHz 2: 1600.00 MHz 3: 1600.00 MHz 4: 1600.00 MHz
Graphics:  Card: NVIDIA GK104 [GeForce GTX 660 Ti] X.Org: 1.13.0 driver: nvidia Resolution: 1920x1080@60.0hz 
           GLX Renderer: GeForce GTX 660 Ti/PCIe/SSE2 GLX Version: 4.2.0 NVIDIA 304.51
Audio:     Card-1: NVIDIA GK104 HDMI Audio Controller Sound: ALSA ver: 1.0.25
           Card-2: Intel 6 Series/C200 Series Chipset Family High Definition Audio Controller
           Card-3: Plantronics driver: USB Audio
           Card-4: Logitech QuickCam E2500 series driver: USB Audio
Network:   Card: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller driver: r8169 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 8c:89:a5:dc:c9:4d
Drives:    HDD Total Size: 500.1GB (36.3% used) 1: id: /dev/sda model: ST500DM002 size: 500.1GB 
Partition: ID: / size: 90G used: 25G (29%) fs: ext4 ID: swap-1 size: 4.25GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 35C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 163 Uptime: 2:13 Memory: 908.3/3918.7MB Client: Shell inxi: 1.8.4
The problem seems to be the glx module specifically, however I'm not sure how to make a new version of the module load (or whether it's supplied as part of the nvidia binary drivers itself and therefore unchangeable). Previously I have tried the following steps to attempt to get the module to rebuild for the 310 version of the nvidia drivers:

Code: Select all

sudo apt-get remove --purge nvidia*
sudo apt-get install nvidia-experimental-310
sudo dpkg-reconfigure nvidia-experimental-310
and then restarting mdm (the above has also been tried without mdm running at all), to no avail.

If any more information is needed, don't hesistate to ask. A few other people seem to have this problem, however all the solutions I've seen were from changes to older versions of the nvidia drivers to the 304 version and the solutions have mainly been to rebuild the drivers and their kernel modules, which has not worked for me. Thank you for any help received!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Kernel problems installing nvidia-experimental-310

Post by AlbertP »

Do you perhaps have multiple kernels installed on your system? You can see this in Grub by the presence of a "Previous Linux versions" item.

Please run this command in terminal and post the output:

Code: Select all

dkms status
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
GoopyMonkey

Re: Kernel problems installing nvidia-experimental-310

Post by GoopyMonkey »

It seems that there is also another version of the Linux kernel (3.2.0-23) installed from before, but it has not been used since whenever 3.5.0-19 was installed.

The output of dkms status is:

Code: Select all

sora@radiant-garden ~ $ dkms status
nvidia-current-updates, 304.51, 3.5.0-19-generic, x86_64: installed
virtualbox-guest, 4.1.18, 3.2.0-23-generic, x86_64: installed (original_module exists)
virtualbox-guest, 4.1.18, 3.5.0-19-generic, x86_64: installed
virtualbox-guest, 4.1.18, 3.5.0-23-generic, x86_64: installed
A quick note: that shows that 304.51 is installed because I had to go back to it to get a graphical user interface back. I will try again having reinstalled the newer drivers and edit in the output.

Edit: the output of dkms status after removing current drivers and installing newer version as detailed in the first post:

Code: Select all

nvidia-experimental-310, 310.14, 3.5.0-19-generic, x86_64: installed
virtualbox-guest, 4.1.18, 3.2.0-23-generic, x86_64: installed (original_module exists)
virtualbox-guest, 4.1.18, 3.5.0-19-generic, x86_64: installed
virtualbox-guest, 4.1.18, 3.5.0-23-generic, x86_64: installed
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Kernel problems installing nvidia-experimental-310

Post by AlbertP »

Ok, it says 310 is installed. Maybe it helps to purge 304 before installing 310?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
GoopyMonkey

Re: Kernel problems installing nvidia-experimental-310

Post by GoopyMonkey »

I made sure to remove the 304 drivers as best I could before posting the edited 'dkms status' output, using the command

Code: Select all

sudo apt-get remove --purge nvidia*
and lsmod and 'dkms status' do not list the 304 version of the drivers loading at all.
Locked

Return to “Graphics Cards & Monitors”