Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue  (Read 3936 times)

Offline terroreek

  • User
  • Posts: 202

Hi All,

Just did a DU, and I get the following error in my Xorg log, if I read this correctly it maybe the nvidia module is failing to initialize with the latest kernel. 

This is my Xorg.0.log

Code: [Select]
X.Org X Server 1.19.5
Release Date: 2017-10-12
[   159.589] X Protocol Version 11, Revision 0
[   159.589] Build Operating System: Linux 4.9.0-4-amd64 x86_64 Debian
[   159.589] Current Operating System: Linux darthvader 4.14.8-towo.2-siduction-amd64 #1 SMP PREEMPT siduction 4.14-12 (2017-12-22) x86_64
[   159.589] Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-4.14.8-towo.2-siduction-amd64 root=UUID=93f6e45b-6a99-46bb-9ba1-63e8012470ab ro rootflags=subvol=@ intel_iommu=on quiet
[   159.589] Build Date: 16 October 2017  12:28:38PM
[   159.589] xorg-server 2:1.19.5-1 (https://www.debian.org/support)
[   159.589] Current version of pixman: 0.34.0
[   159.589]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   159.589] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   159.589] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 23 09:47:23 2017
[   159.589] (==) Using config file: "/etc/X11/xorg.conf"
[   159.589] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   159.589] (==) ServerLayout "Layout0"
[   159.589] (**) |-->Screen "Screen0" (0)
[   159.590] (**) |   |-->Monitor "Monitor0"
[   159.590] (==) No device specified for screen "Screen0".
    Using the first device section listed.
[   159.590] (**) |   |-->Device "970GTX"
[   159.590] (**) |-->Input Device "Keyboard0"
[   159.590] (**) |-->Input Device "Mouse0"
[   159.590] (==) Automatically adding devices
[   159.590] (==) Automatically enabling devices
[   159.590] (==) Automatically adding GPU devices
[   159.590] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   159.590] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   159.590]     Entry deleted from font path.
[   159.590] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   159.590]     Entry deleted from font path.
[   159.590] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[   159.590]     Entry deleted from font path.
[   159.590] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   159.590]     Entry deleted from font path.
[   159.590] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/100dpi,
    built-ins
[   159.590] (==) ModulePath set to "/usr/lib/xorg/modules"
[   159.590] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   159.590] (WW) Disabling Keyboard0
[   159.590] (WW) Disabling Mouse0
[   159.590] (II) Loader magic: 0x558b627eede0
[   159.590] (II) Module ABI versions:
[   159.590]     X.Org ANSI C Emulation: 0.4
[   159.590]     X.Org Video Driver: 23.0
[   159.590]     X.Org XInput driver : 24.1
[   159.590]     X.Org Server Extension : 10.0
[   159.590] (++) using VT number 7

[   159.590] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   159.616] (--) PCI:*(0:1:0:0) 10de:1b80:1462:3362 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[   159.616] (II) LoadModule: "glx"
[   159.616] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[   159.621] (II) Module glx: vendor="NVIDIA Corporation"
[   159.621]     compiled for 4.0.2, module version = 1.0.0
[   159.621]     Module class: X.Org Server Extension
[   159.621] (II) NVIDIA GLX Module  384.98  Thu Oct 26 14:35:55 PDT 2017
[   159.621] (II) LoadModule: "nvidia"
[   159.622] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   159.622] (II) Module nvidia: vendor="NVIDIA Corporation"
[   159.622]     compiled for 4.0.2, module version = 1.0.0
[   159.622]     Module class: X.Org Video Driver
[   159.622] (II) NVIDIA dlloader X Driver  384.98  Thu Oct 26 14:06:45 PDT 2017
[   159.622] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   159.626] (II) Loading sub module "fb"
[   159.626] (II) LoadModule: "fb"
[   159.627] (II) Loading /usr/lib/xorg/modules/libfb.so
[   159.627] (II) Module fb: vendor="X.Org Foundation"
[   159.627]     compiled for 1.19.5, module version = 1.0.0
[   159.627]     ABI class: X.Org ANSI C Emulation, version 0.4
[   159.627] (II) Loading sub module "wfb"
[   159.627] (II) LoadModule: "wfb"
[   159.627] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   159.627] (II) Module wfb: vendor="X.Org Foundation"
[   159.627]     compiled for 1.19.5, module version = 1.0.0
[   159.627]     ABI class: X.Org ANSI C Emulation, version 0.4
[   159.627] (II) Loading sub module "ramdac"
[   159.627] (II) LoadModule: "ramdac"
[   159.627] (II) Module "ramdac" already built-in
[   159.630] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[   159.630] (EE) NVIDIA:     system's kernel log for additional error messages and
[   159.630] (EE) NVIDIA:     consult the NVIDIA README for details.
[   159.630] (EE) No devices detected.
[   159.630] (EE)
Fatal server error:
[   159.630] (EE) no screens found(EE)
[   159.630] (EE)
Please consult the The X.Org Foundation support

I rolled back my upgrade, I apologize but I didn't check if 4.14.8-towo.1 has the same problem with the updates. 

Here are the pending updates

Code: [Select]
The following NEW packages will be installed:
  libtesseract4 linux-headers-4.14.8-towo.2-siduction-amd64
  linux-image-4.14.8-towo.2-siduction-amd64
The following packages have been kept back:
  gir1.2-rsvg-2.0 librsvg2-2 librsvg2-common
The following packages will be upgraded:
  aisleriot apt-listchanges gir1.2-clutter-1.0 gir1.2-gtk-2.0 git git-man
  glib-networking glib-networking:i386 glib-networking-common
  glib-networking-services gtk2-engines gtk2-engines:i386 gtk2-engines-pixbuf
  gtk2-engines-pixbuf:i386 libart-2.0-2 libcairo-gobject2
  libcairo-gobject2:i386 libcairo-script-interpreter2 libcairo2 libcairo2:i386
  libcairo2-dev libcairomm-1.0-1v5 libcairomm-1.0-dev libclutter-1.0-0
  libdebconfclient0 libegl-mesa0:i386 libegl1-mesa libgail-common libgail18
  libgbm1 libgbm1:i386 libgl1-mesa-dri libgl1-mesa-dri:i386 libgl1-mesa-glx
  libgl1-mesa-glx:i386 libglapi-mesa libglapi-mesa:i386 libglib2.0-0
  libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libglib2.0-dev
  libglib2.0-dev-bin libglx-mesa0 libglx-mesa0:i386 libgpgme++2v5 libgtk2.0-0
  libgtk2.0-0:i386 libgtk2.0-common libgtk2.0-dev libiodbc2 libkxmlrpcclient4
  libllvm3.8 libllvm3.8:i386 libllvm3.9 libllvm3.9:i386 libllvm5.0
  libllvm5.0:i386 libmouse-perl libopencv-calib3d3.2 libopencv-contrib3.2
  libopencv-core3.2 libopencv-features2d3.2 libopencv-flann3.2
  libopencv-highgui3.2 libopencv-imgcodecs3.2 libopencv-imgproc3.2
  libopencv-ml3.2 libopencv-objdetect3.2 libopencv-photo3.2 libopencv-shape3.2
  libopencv-stitching3.2 libopencv-superres3.2 libopencv-video3.2
  libopencv-videoio3.2 libopencv-videostab3.2 libopencv-viz3.2 libosmesa6
  libosmesa6:i386 libphonon4 libruby2.3 libtiff5 libtiff5:i386
  libtry-tiny-perl libupnp6 libvlc-bin libvlc5 libvlccore9
  libwayland-egl1-mesa libwayland-egl1-mesa:i386 libxatracker2
  linux-headers-siduction-amd64 linux-image-siduction-amd64 linux-libc-dev
  mesa-va-drivers:i386 mesa-vdpau-drivers:i386 phonon phonon-backend-vlc
  qtchooser ruby2.3 vlc vlc-bin vlc-data vlc-l10n vlc-plugin-base
  vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba vlc-plugin-video-output
109 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 212 MB/213 MB of archives.
After this operation, 310 MB of additional disk space will be used.
Do you want to continue? [Y/n] n

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue
« Reply #1 on: 2017/12/23, 17:20:38 »
Keep the 4.14.8-towo.1 kernel for now, which also works with nvidia 387.34

I couldn't get 4.14.8-towo.2 kernel to work with 387.34

24hrs

http://paste.debian.net/1002110/
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Online towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue
« Reply #2 on: 2017/12/23, 21:23:23 »
For 384.98 a little patch is needed:
http://www.hlmjr.com/MoM/nvidia-driver-384.98-kernel-4.14.html


387.34 should work with 4.14.9-rc1, which is .14.8-towo.2 it does indeed here:
Code: [Select]
~
towo:Defiant> inxi -SG
System:    Host: Defiant Kernel: 4.14.8-towo.2-siduction-amd64 x86_64 bits: 64 Desktop: Cinnamon 3.4.6
           Distro: siduction 13.2.0 December - xfce - (201312310323)
Graphics:  Card: NVIDIA GP107 [GeForce GTX 1050 Ti]
           Display Server: x11 (X.Org 1.19.5 ) driver: nvidia Resolution: 1920x1080@60.00hz
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 version: 4.5.0 NVIDIA 387.34
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline ajavibp

  • User
  • Posts: 110
    • The website of the association where I collaborate.
Re: Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue
« Reply #3 on: 2017/12/23, 21:55:52 »
It did not work for me either. It was solved installing libelf-dev

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue
« Reply #4 on: 2017/12/24, 01:57:18 »
Quote from: ajavibp
It did not work for me either. It was solved installing libelf-dev

Yes this works
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline terroreek

  • User
  • Posts: 202
Re: Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue
« Reply #5 on: 2017/12/24, 04:17:41 »
I installed libelf-dev and that did not solve it for me.  Booting with 4.14.8-towo.1, is the only fix/workaround for me.
« Last Edit: 2017/12/24, 04:34:00 by terroreek »

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue
« Reply #6 on: 2017/12/24, 10:50:52 »
Same as terroreek here. Back to 4.14.8-towo.1 and all is good.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline terroreek

  • User
  • Posts: 202
Re: Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue
« Reply #7 on: 2017/12/27, 05:28:39 »
Ok I get the same problem with 4.14.9-towo.1 I think the problem is the Nvidia Kernel Module is failing to build.

Linked is the build log (/var/lib/dkms/nvidia-current/384.98/build/make.log)

I noticed there is no module for the 4.14.8-towo.2 kernel either. 

-edit-
ok I have nvidia-driver 384.98 looks like I need to run the patch that towo posted earlier. 

Sorry I see the patch thats posted but umm how do I apply the patch?
« Last Edit: 2017/12/27, 05:37:49 by terroreek »

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue
« Reply #8 on: 2017/12/27, 11:19:13 »
You can enable the debian experimental repo and install the 387.34 driver -- it installs and builds flawlessly. Don't forget to comment out debian experimental when you finish installing the driver.   ;)
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline minixjr

  • User
  • Posts: 14
Re: Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue
« Reply #9 on: 2017/12/27, 13:23:56 »
What worked for me:
install libelf-dev
Changed the file nv-lock.h according to the above linked patch
Code: [Select]
/usr/src/nvidia-current-384.98/common/inc/nv-lock.hRemoved the nvidia module
Code: [Select]
dkms remove nvidia-current/384.98 --allReboot to Kernel 4.14.9-towo.1
and build the nvidia module
Code: [Select]
dkms install nvidia-current/384.98
I'm sure there are easier ways, but for me it's now OK.

jeedee

  • Guest
Re: Nvidia Driver [384.98-3]with Kernel 4.14.8-towo.2 issue
« Reply #10 on: 2017/12/27, 23:54:29 »
worked here too, thank you