Page 1 of 2

[Resolved] Go from Nvidia to Open Source Nouveau Video Driver

Posted: Sat Jan 13, 2018 2:56 pm
by supusr
I am using MX-17 and Debian's 4.14.0-3-amd64 x86_64 Kernel. My (added) graphics card is NVIDIA GK208 [GeForce GT 730] with Display Server: x11 (X.Org 1.19.2 ) driver: nvidia Resolution: 1920x1080@60.00hz and OpenGL: renderer: GeForce GT 730/PCIe/SSE2 version: 4.5.0 NVIDIA 375.82. My motherboard is a: ASUSTeK model: CM6850 v: Rev 1.xx serial: N/A and the BIOS is: American Megatrends v: 1301 date: 12/21/2011. The CPU is: Quad core Intel Core i5-2310 (-MCP-) cache: 6144 KB. I am unable to use the package installer to go to the Nividia 384.111 driver, so would like to go back to the open source Nouveau driver until such time as all the Nvidia specter patches are compatible with the available kernels that work with MX. If anyone can provide a clear how to I would appreciate it, as what I am finding on the net seems contradictory, above my head, or ambiguous (I am an intermediate user). Thanks, in advance.

Re: Go from Nvidia to Open Source Nouveau Video Driver

Posted: Sat Jan 13, 2018 3:10 pm
by dolphin_oracle
we have a function for that.

Code: Select all

ddm-mx -p nvidia
will purge out the nvidia driver and reverse the nouvaue blacklist.

also we are updating mx-packageinstaller today with the 4.9.0-5 debian stretch kernel with patches. Its already available in synaptic. I do believe those nvidia 384 driver will build on that kernel.

Re: Go from Nvidia to Open Source Nouveau Video Driver

Posted: Sat Jan 13, 2018 5:22 pm
by Stevo
I see that 384.111 with the spectre patches was just added to stretch-backports. http://metadata.ftp-master.debian.org/c ... _changelog

What is keeping it from building with your current kernel? I would think that it's compatible with linux-4.14.

Re: Go from Nvidia to Open Source Nouveau Video Driver

Posted: Sat Jan 13, 2018 5:40 pm
by dolphin_oracle
Stevo wrote:I see that 384.111 with the spectre patches was just added to stretch-backports. http://metadata.ftp-master.debian.org/c ... _changelog

What is keeping it from building with your current kernel? I would think that it's compatible with linux-4.14.
stevo, it will build the dkms module on the debian 4.9 and d-backports 4.14, but not on the MX-4.14 you built. I posted the make log here: viewtopic.php?f=86&t=43749

Re: Go from Nvidia to Open Source Nouveau Video Driver

Posted: Sat Jan 13, 2018 5:46 pm
by Paul..
Running NVIDIA 375.82 on the patched Kernel: 4.9.0-5-amd64 x86_64 as of today...no issues...but I see you are trying to go to NVIDIA 384.111

Code: Select all

System:    Host: xxxxx Kernel: 4.9.0-5-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3
           Distro: MX-17_x64 Horizon December 15, 2017
Machine:   Device: desktop Mobo: MSI model: 890FXA-GD70 (MS-7640) v: 1.0 serial: N/A
           BIOS: American Megatrends v: V1.14 date: 03/20/2012
CPU:       6 core AMD Phenom II X6 1055T (-MCP-) cache: 3072 KB
           clock speeds: max: 2800 MHz 1: 800 MHz 2: 1500 MHz 3: 800 MHz 4: 2200 MHz 5: 800 MHz
           6: 800 MHz
Graphics:  Card: NVIDIA GM107 [GeForce GTX 750 Ti]
           Display Server: x11 (X.Org 1.19.2 ) driver: nvidia Resolution: 1920x1080@60.00hz
           OpenGL: renderer: GeForce GTX 750 Ti/PCIe/SSE2 version: 4.5.0 NVIDIA 375.82

Re: Go from Nvidia to Open Source Nouveau Video Driver

Posted: Sat Jan 13, 2018 6:19 pm
by Stevo
I directly downloaded and installed the nvidia-kernel-dkms 384.111 deb from stretch-backports, which had no trouble building on the 4.14-13.1 Liquorix kernel I'm currently running. Rather than reboot to the 4.14-13 MX kernel, I issued a command to rebuild all dkms packages for all installed kernels:

Code: Select all

ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start
and relevant output:

Code: Select all

Building module:
cleaning build area...
unset ARCH; env NV_VERBOSE=1 make -j4 modules KERNEL_UNAME=4.14.0-3-amd64..................
cleaning build area...

DKMS: build completed.

nvidia-current.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

depmod...

DKMS: install completed.
. ok 
So it appears that the builds are successful. I have the linux-compiler-gcc-6-x86 package installed that matches this kernel; does that make any difference?

Re: Go from Nvidia to Open Source Nouveau Video Driver

Posted: Sat Jan 13, 2018 6:43 pm
by dolphin_oracle
Stevo wrote:I directly downloaded and installed the nvidia-kernel-dkms 384.111 deb from stretch-backports, which had no trouble building on the 4.14-13.1 Liquorix kernel I'm currently running. Rather than reboot to the 4.14-13 MX kernel, I issued a command to rebuild all dkms packages for all installed packages:

Code: Select all

ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start
and relevant output:

Code: Select all

Building module:
cleaning build area...
unset ARCH; env NV_VERBOSE=1 make -j4 modules KERNEL_UNAME=4.14.0-3-amd64..................
cleaning build area...

DKMS: build completed.

nvidia-current.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

nvidia-current-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

nvidia-current-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

nvidia-current-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

depmod...

DKMS: install completed.
. ok 
So it appears that the builds are successful. I have the linux-compiler-gcc-6-x86 package installed that matches this kernel; does that make any difference?
probably. I believe the gcc compiler has also been patched...or will be. or maybe you have some dev packages that aren't being pulled in.

Re: Go from Nvidia to Open Source Nouveau Video Driver

Posted: Sat Jan 13, 2018 7:00 pm
by Stevo
The linux-compiler-gcc-6-x86 package actually is a metapackage that is built with the kernel, though I had to modify and rename it from the original upstream linux-compiler-gcc-7-x86 package in the Sid source.

I need to do more experiments with a fresh install...

Re: Go from Nvidia to Open Source Nouveau Video Driver

Posted: Sun Jan 14, 2018 12:48 am
by supusr
Stevo & Dolphin_Oracle, I have read your exchanges and tried to absorb the information. Before coming back to this forum I had installed updates to the package installer and the intel-microcode that came through, but still was not able to install the driver I wanted on any of the kernels available through the MX distro. I'm sure it is the long way to go about it, but I think I will just reinstall and fully update MX-17 and not install any Nvidia driver for now (the open source one works fine for my purposes). This will leave me protected, which is my main goal. I appreciate the interest and insights from both of you. In general, I find so far that the MX Forum is much more friendly than many others, including Debian' s. I have enjoyed using MX-15, 16, & 17, and recognize that these hardware issues threw a wrench into all the distros. Thanks again...

Re: Go from Nvidia to Open Source Nouveau Video Driver

Posted: Sun Jan 14, 2018 11:29 am
by dr-kart
supusr wrote:...not install any Nvidia driver for now...
or you can try to install nvidia closed source driver manually