Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

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

Message
Author
supusr
Forum Novice
Forum  Novice
Posts: 14
Joined: Sun May 29, 2016 2:06 pm

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

#1 Post by supusr » Sat Jan 13, 2018 2:56 pm

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.
Last edited by supusr on Sun Jan 14, 2018 12:49 am, edited 1 time in total.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9397
Joined: Sun Dec 16, 2007 1:17 pm

Re: Go from Nvidia to Open Source Nouveau Video Driver

#2 Post by dolphin_oracle » Sat Jan 13, 2018 3:10 pm

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.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16305
Joined: Fri Dec 15, 2006 8:07 pm

Re: Go from Nvidia to Open Source Nouveau Video Driver

#3 Post by Stevo » Sat Jan 13, 2018 5:22 pm

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.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9397
Joined: Sun Dec 16, 2007 1:17 pm

Re: Go from Nvidia to Open Source Nouveau Video Driver

#4 Post by dolphin_oracle » Sat Jan 13, 2018 5:40 pm

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
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Paul..
Forum Guide
Forum Guide
Posts: 2277
Joined: Sun Mar 18, 2007 6:34 pm

Re: Go from Nvidia to Open Source Nouveau Video Driver

#5 Post by Paul.. » Sat Jan 13, 2018 5:46 pm

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

Daily: MSI 890FXA-GD70 | AMD Phenom II X6 1055T | GeForce GTX 750 Ti | 8G
Test: Thinkpad T431s | Intel i5-3437U | Intel 3rd gen Graphics | 4G

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16305
Joined: Fri Dec 15, 2006 8:07 pm

Re: Go from Nvidia to Open Source Nouveau Video Driver

#6 Post by Stevo » Sat Jan 13, 2018 6:19 pm

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?
Last edited by Stevo on Sat Jan 13, 2018 6:56 pm, edited 1 time in total.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9397
Joined: Sun Dec 16, 2007 1:17 pm

Re: Go from Nvidia to Open Source Nouveau Video Driver

#7 Post by dolphin_oracle » Sat Jan 13, 2018 6:43 pm

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.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16305
Joined: Fri Dec 15, 2006 8:07 pm

Re: Go from Nvidia to Open Source Nouveau Video Driver

#8 Post by Stevo » Sat Jan 13, 2018 7:00 pm

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...

supusr
Forum Novice
Forum  Novice
Posts: 14
Joined: Sun May 29, 2016 2:06 pm

Re: Go from Nvidia to Open Source Nouveau Video Driver

#9 Post by supusr » Sun Jan 14, 2018 12:48 am

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...

dr-kart
Forum Regular
Forum Regular
Posts: 127
Joined: Sun Oct 22, 2017 8:12 pm

Re: Go from Nvidia to Open Source Nouveau Video Driver

#10 Post by dr-kart » Sun Jan 14, 2018 11:29 am

supusr wrote:...not install any Nvidia driver for now...
or you can try to install nvidia closed source driver manually

Post Reply

Return to “Software / Configuration”