Welcome!
Important information
-- Spectre and Meltdown vulnerabilities

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

Current releases
-- MX-18 Final release info here
-- Migration Information to MX-18 here
-- antiX-17.3 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

How to choose correct Nvidia drivers? [SOLVED]

User avatar
Sparky
Forum Novice
Forum  Novice
Posts: 58
Joined: Sun Dec 23, 2018 7:07 pm

How to choose correct Nvidia drivers? [SOLVED]

#1

Post by Sparky » Sat Jan 05, 2019 5:56 pm

So my main computer had refused to run any Linux distro If modprobe.blacklist=nouveau was running
How do I know which drivers to include? Nvidia GTX 960M

Code: Select all

System:    Host: mx Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-18_x64 Continuum Dec 20  2018 
           base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: Dell product: Inspiron 7559 v: 1.2.9 serial: <filter> 
           Mobo: Dell model: 0H87XC v: A00 serial: <filter> UEFI [Legacy]: Dell v: 1.2.9 
           date: 09/03/2018 
Battery:   ID-1: BAT0 charge: 48.4 Wh condition: 71.1/74.0 Wh (96%) model: SDI Dell 
           status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i5-6300HQ bits: 64 type: MCP arch: Skylake-S 
           rev: 3 L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 18432 
           Speed: 1177 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900 
Graphics:  Device-1: Intel HD Graphics 530 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GM107M [GeForce GTX 960M] vendor: Dell driver: N/A bus ID: 02:00.0 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) v: 4.5 Mesa 18.2.6 
           direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-H HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.19.0-1-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell 
           driver: r8169 v: kernel port: d000 bus ID: 04:00.0 
           IF: eth0 state: down mac: <filter> 
           Device-2: Intel Wireless 3165 driver: iwlwifi v: kernel port: d000 bus ID: 05:00.0 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 471.36 GiB used: 5.21 GiB (1.1%) 
           ID-1: /dev/sda vendor: SanDisk model: Z400s M.2 2280 256GB size: 238.47 GiB 
           ID-2: /dev/sdb vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB 
Partition: ID-1: / size: 225.99 GiB used: 5.21 GiB (2.3%) fs: ext4 dev: /dev/sdb2 
           ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdb3 
Sensors:   System Temperatures: cpu: 38.0 C mobo: N/A sodimm: 35.0 C 
           Fan Speeds (RPM): cpu: 0 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.gr.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.gr.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://ftp.cc.uoc.gr/mirrors/linux/mx/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 187 Uptime: 8m Memory: 7.54 GiB used: 1.12 GiB (14.8%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.29 
Last edited by Sparky on Wed Jan 09, 2019 5:36 am, edited 1 time in total.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4594
Joined: Wed Jul 12, 2006 4:05 pm

Re: How to choose correct Nvidia drivers?

#2

Post by timkb4cq » Sat Jan 05, 2019 6:21 pm

You have a Hybrid graphics system with both Intel and Nvidia graphics hardware.
If you run the Nvidia driver installer in MX-Tools it should install the proprietary nvidia driver along with the Bumblebee daemon.

With this setup you will typically be using Intel graphics, but if there's an application where you need the graphics horsepower you start that application with optirun <appname> (e.g. optirun vlc myhiresvideo.mp4 instead of vlc myhiresvideo.mp4.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2683
Joined: Wed Apr 11, 2018 5:09 pm

Re: How to choose correct Nvidia drivers?

#3

Post by fehlix » Sat Jan 05, 2019 6:25 pm

Sparky wrote:
Sat Jan 05, 2019 5:56 pm
How do I know which drivers to include? Nvidia GTX 960M
FWIW:
ALt+F1 -> Ctrl+F
type: nvidia driver installer
press: Enter
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Sparky
Forum Novice
Forum  Novice
Posts: 58
Joined: Sun Dec 23, 2018 7:07 pm

Re: How to choose correct Nvidia drivers?

#4

Post by Sparky » Sat Jan 05, 2019 6:34 pm

fehlix wrote:
Sat Jan 05, 2019 6:25 pm
Sparky wrote:
Sat Jan 05, 2019 5:56 pm
How do I know which drivers to include? Nvidia GTX 960M
FWIW:
ALt+F1 -> Ctrl+F
type: nvidia driver installer
press: Enter
that simple?
Will it clash with my blacklist of nouveau?
Thanks!

User avatar
Sparky
Forum Novice
Forum  Novice
Posts: 58
Joined: Sun Dec 23, 2018 7:07 pm

Re: How to choose correct Nvidia drivers?

#5

Post by Sparky » Sat Jan 05, 2019 6:36 pm

timkb4cq wrote:
Sat Jan 05, 2019 6:21 pm
You have a Hybrid graphics system with both Intel and Nvidia graphics hardware.
If you run the Nvidia driver installer in MX-Tools it should install the proprietary nvidia driver along with the Bumblebee daemon.

With this setup you will typically be using Intel graphics, but if there's an application where you need the graphics horsepower you start that application with optirun <appname> (e.g. optirun vlc myhiresvideo.mp4 instead of vlc myhiresvideo.mp4.
oK, i See. No automatic way. Thanks for taking the time to answer.

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

Re: How to choose correct Nvidia drivers?

#6

Post by Stevo » Sat Jan 05, 2019 7:17 pm

The Nvidia driver installation automatically blacklists the nouveau driver and sets up Bumblebee for your system, which is more than any other distro does.

How much more automatic do you want the MX Nvidia Installer to get?

User avatar
Sparky
Forum Novice
Forum  Novice
Posts: 58
Joined: Sun Dec 23, 2018 7:07 pm

Re: How to choose correct Nvidia drivers?

#7

Post by Sparky » Mon Jan 07, 2019 5:14 pm

Well, I finally got the nerve and installed the Nvidia drivers from MX-Tools and it broke the OS.
Will reinstall the OS shortly.

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 6787
Joined: Wed Jul 12, 2006 2:10 am

Re: How to choose correct Nvidia drivers?

#8

Post by Eadwine Rose » Mon Jan 07, 2019 5:16 pm

Broke the OS.. What happened?
MX-18_x64 20-12-2018 * 4.19.0-1-amd64 ext4 Xfce 4.12.3 * AMD Asus M4A785TD-V EVO AM3 * ASUS GF GT640-1GD5-L NVIDIA 390.87 * AMD Proc. Athl II X4 635, sAM3 * HDA ATI SB VT1708S An * 2x4Gb DDR3 1600 Kingston * 22" Samsung SyncMaster P2250 * HP Envy5030

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

Re: How to choose correct Nvidia drivers?

#9

Post by Stevo » Mon Jan 07, 2019 5:21 pm

"Broke the OS" is too vague for us to diagnose the problem at all. If the driver installer did it the right way, you will still be using the Intel GPU for the display.

We'd like to fix it if possible--can you be more specific? The laptop may also have some settings for the GPUs in the BIOS that could affect the install. Did you manually mess with nouveau beforehand?

You can also make a snapshot or other backup (Timeshift) before trying the driver install, just to make it very easy to restore if it goes wrong.

User avatar
Sparky
Forum Novice
Forum  Novice
Posts: 58
Joined: Sun Dec 23, 2018 7:07 pm

Re: How to choose correct Nvidia drivers?

#10

Post by Sparky » Mon Jan 07, 2019 5:43 pm

It just stops while booting. I ran it from USB and tried to repair GRUB and re-install GRUB (from the tools). It froze when it completed the Nvidia install. It had ended, and it just froze, no life. I shut it down from the laptop button and rebooted several times. I wish I could provide more info, but how can I do that If I can't get to the OS?
Nouveau was blacklisted, that's the only way it worked.
I did absolutely nothing to mess with the install, I just clicked on it.
P.S. It did asking at some point to try to search for a newer driver from Debian backend and I said no, this was during the installation.

Post Reply

Return to “Hardware /Configuration”