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

[Fixed] 4.14.12 kernel + nvidia driver

Help for Current Versions of MX
Message
Author
dr-kart
Forum Regular
Forum Regular
Posts: 127
Joined: Sun Oct 22, 2017 8:12 pm

Re: 4.14.12 kernel + nvidia driver

#11 Post by dr-kart » Mon Jan 08, 2018 3:25 pm

@timkb4cq @Eadwine Rose thanks
I know about sgfxi. Thing is it's not working properly lately. First of all it won't install lib32 libs for nvidia driver. Such an option ("i" letter for 32bit libs) worked with mx16 though. Not anymore. That's why I try to avoid sgfxi.
The only script I tried there is sgfxi -! 32 to purge drivers. Looks like it worked.

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

Re: 4.14.12 kernel + nvidia driver

#12 Post by Stevo » Mon Jan 08, 2018 3:58 pm

Just sent up a new mx-system 17.05 which will make sure that libelf-dev gets installed for everyone. Other drivers such as Virtual Box and broadcom-sta also need it to build with any 4.14 kernel. Somehow Debian didn't catch that in the upstream testing of their kernels, though there is now a bug report for it. 4.14 Liquorix kernels fixed that a while back.

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

Re: 4.14.12 kernel + nvidia driver

#13 Post by dr-kart » Tue Jan 09, 2018 6:12 pm

Main 375 nvidia driver now can be installed with ddm-mx. Tested on both 4.14.12 kernels from main repo. Thanks!

(2nd option) Unfortunately backported 384 driver can only be installed with debian 4.9 kernel. Hopefully it's going to be fixed too.

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

Re: 4.14.12 kernel + nvidia driver

#14 Post by dolphin_oracle » Tue Jan 09, 2018 9:19 pm

dr-kart wrote:Main 375 nvidia driver now can be installed with ddm-mx. Tested on both 4.14.12 kernels from main repo. Thanks!

(2nd option) Unfortunately backported 384 driver can only be installed with debian 4.9 kernel. Hopefully it's going to be fixed too.

well, they've changed up some of the depends. nvidia-xconfig is no longer even a recommend of the backports nvidia-driver, so I'll need to do a little adjustment to ddm-mx.
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.

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

Re: [Fixed] 4.14.12 kernel + nvidia driver

#15 Post by dr-kart » Wed Jan 10, 2018 10:31 am

Thank you! D_O

Edit:
Since nvidia has patched its drivers to fix Meltdown
https://nvidia.custhelp.com/app/answers ... /a_id/4611
I could install those manually (downloaded from nvidia site) with kernel:

Code: Select all

4.14.0-3-amd64 #1 SMP Debian 4.14.12-2~mx17+1
inxi -Gxxx

Code: Select all

Display Server: x11 (X.Org 1.19.2 )
drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
version: 4.5.0 NVIDIA 390.12 (compat-v: 4.6.0) Direct Render: Yes
both 384.111 and 390.12 (beta) have no issues with current 4.14.12 MX kernel. Even opengl 32bit libs are ok.
------------------------------------------------------------------------------------------------------
Here's how I did it:

1.Download nvidia driver
2.Make it executable

Code: Select all

chmod +x NVIDIA-Linux-x86_64-384.111.run
3.Use Grub Customizer to add 'nomodeset' to kernel parameter
Image
4.Reboot to edit GRUB boot string.
5.Edit (via 'e' key) GRUB's 'linux...' string to add '3' at the end of that string. And press 'F10' key.
6.Now you're in command line interface.
***To purge all nvidia drivers I used as root or sudo

Code: Select all

sgfxi -! 32
7.Last step. Run install as root or sudo

Code: Select all

sudo ./NVIDIA-Linux-x86_64-384.111.run
------------------------------------------------------------------------------------------------------
In order to uninstall:
[code]sudo ./NVIDIA-Linux-x86_64-384.111.run --uninstall[/code]

Post Reply

Return to “MX Help”