Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 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 Regular
Forum Regular
Posts: 471
Joined: Sun Dec 23, 2018 7:07 pm

Re: How to choose correct Nvidia drivers?

#21

Post by Sparky » Mon Jan 07, 2019 9:27 pm

Stevo wrote:
Mon Jan 07, 2019 9:20 pm
Great!

Try

Code: Select all

optirun inxi -G
and see if the Nvidia card is now doing the rendering in the last line instead of the intel one.

You can also check

Code: Select all

glxspheres64
versus

Code: Select all

optirun glxspheres64
as a sort of benchmark.

So you have to run programs with optirun for them to use the Nvidia GPU for the 3D rendering.

BTW, that trick is in the Debian wiki for Bumblebee, too:
- If your laptop locks up during boot when starting the graphical display you may need to add a kernel parameter to set acpi_osi="!Windows 2015" or some variant.

This is a known ACPI problem with 2017 Dell XPS 15 and others. Refer to Bumblebee github issue #764.
I had seen that before, but forgotten all about it.
I'm too scared to try anything, but I will.
:eek:
MX Linux Asus F552, 12GB RAM, 1TB HDD

User avatar
Stevo
Developer
Posts: 19875
Joined: Fri Dec 15, 2006 8:07 pm

Re: How to choose correct Nvidia drivers?

#22

Post by Stevo » Mon Jan 07, 2019 9:40 pm

Let me know what happens. Those commands won't break anything if Bumblebee isn't working; they'll just report an error.

User avatar
Sparky
Forum Regular
Forum Regular
Posts: 471
Joined: Sun Dec 23, 2018 7:07 pm

Re: How to choose correct Nvidia drivers?

#23

Post by Sparky » Mon Jan 07, 2019 9:51 pm

Graphics: Device-1: Intel HD Graphics 530 driver: i915 v: kernel
Device-2: NVIDIA GM107M [GeForce GTX 960M] driver: nvidia v: 390.87
Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 960M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.87
MX Linux Asus F552, 12GB RAM, 1TB HDD

User avatar
Stevo
Developer
Posts: 19875
Joined: Fri Dec 15, 2006 8:07 pm

Re: How to choose correct Nvidia drivers?

#24

Post by Stevo » Mon Jan 07, 2019 10:07 pm

Sparky wrote:
Mon Jan 07, 2019 9:51 pm
Graphics: Device-1: Intel HD Graphics 530 driver: i915 v: kernel
Device-2: NVIDIA GM107M [GeForce GTX 960M] driver: nvidia v: 390.87
Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 960M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.87
That means it's working!

So you can try the glxspheres64 commands now to see how much faster it runs with the Nvidia GPU. And please edit the title of your first post in this thread to add [SOLVED]. It's nice to get a troublesome machine working.

You can use MX Boot options to permanently add that kernel acpi boot tweak to your boot, if you haven't already done it the command-line way.

The Intel chip still is doing all the display, so if you want to use hardware-accelerated video decoding for VLC with it, you'll have to upgrade VLC from the test repo (currently) and install a few extra packages. Then you should be able to play back even 4K video in VLC with only a couple % extra CPU use! See this how-to: viewtopic.php?f=108&t=47673&p=476162&hi ... pi#p476162

User avatar
Fibogacci
Forum Regular
Forum Regular
Posts: 151
Joined: Sun Dec 30, 2018 4:19 pm

Re: How to choose correct Nvidia drivers?

#25

Post by Fibogacci » Mon Jan 07, 2019 10:30 pm

Thank you for this discussion.

I am using Dell laptop (Inspiron N7110). I had similar problem with MX-16 and Nvidia installation just at the beginning with MX-16.1 in 2017. After installing Nvidia with tool Nvidia driver installer and rebooting, laptop didn't reboot and did freeze.

I did try two or more times but without results, I gave up and from that time I am using nouveau (with MX 16, 17 and 18 now).

But with this solution and your hints I'll try to install Nvidia again (at first with MX Live USB and persistence).

EDIT:

Well, I did it with Nvidia driver installer (Live Media USB and MX-18 installed on laptop). Nice and easy, no problem at all this time.

$ optirun inxi -G

shows there is nvidia driver, all other tests with spheres work as well.

It's MX-18 and new kernel and it's ok.

If I remember correct I was trying installing Nvidia drivers with sgfxi or this second script in MX-16.1.

Anyway, I'm happy it is ok now.
MX-18 Continuum x86_64: laptop Dell Inspiron N7110, Intel Core i5-2410M @ 2.900GHz, 4GB RAM, Kernel: 4.19, DE: Xfce
---
Telegram: @Fibogacci
Telegram group: http://t.me/mxlinuxpopolsku

User avatar
pascar73
Forum Novice
Forum  Novice
Posts: 9
Joined: Fri May 03, 2019 12:42 pm

Re: How to choose correct Nvidia drivers? [SOLVED]

#26

Post by pascar73 » Sun May 05, 2019 5:50 am

I am suffering from the same freeze after installing the nvidia drivers on my old DELL which BTW is my main PC, therefore I am quite careful with whatever I do with it because I don't want to make it unusable.
I've tried a few times when I installed MX 18 but it hangs and I had to reinstall.

So before I run again he nVidia drivers installer, should I do anything else beside adding

Code: Select all

acpi_osi="!Windows 2015"
line to grub.conf?

In this post:

https://github.com/Bumblebee-Project/Bu ... -234494238

They also mention that "acpi_osi="!Windows 2015" (acpi_osi=! acpi_osi="Windows 2013" and acpi_osi=! acpi_osi="Windows 2009" should also work"

Any idea how I can guess which "year" should I chose for my machine? See below the quick system info:

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.2_x64 Continuum Apr 7  2019 
           base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Desktop System: Dell product: Precision WorkStation 380 v: N/A serial: <filter> 
           Mobo: Dell model: 0G9322 serial: <filter> BIOS: Dell v: A02 date: 05/24/2005 
CPU:       Topology: Single Core model: Intel Pentium 4 bits: 64 type: MT 
           arch: Netburst Smithfield rev: 3 L2 cache: 2048 KiB 
           flags: lm nx pae sse sse2 sse3 bogomips: 11970 
           Speed: 2800 MHz min/max: 2800/3000 MHz Core speeds (MHz): 1: 2800 2: 2800 
Graphics:  Device-1: NVIDIA NV44 [Quadro NVS 285] driver: nouveau v: kernel bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.2 driver: nouveau unloaded: fbdev,modesetting,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: NV44 v: 2.1 Mesa 18.2.6 direct render: Yes 
Audio:     Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k4.19.0-1-amd64 
Network:   Device-1: Broadcom Limited NetXtreme BCM5751 Gigabit Ethernet PCI Express 
           vendor: Dell Precision 380 driver: tg3 v: 3.137 port: ece0 bus ID: 04:00.0 
           IF: eth1 state: down mac: <filter> 
           Device-2: U.S. Robotics USR997902 10/100/1000 Mbps PCI Network Card vendor: U.S. 
           driver: r8169 v: kernel port: dc00 bus ID: 05:04.0 
           IF: eth0 state: down mac: <filter> 
           Device-3: ASUSTek USB-N10 802.11n Network Adapter [Realtek RTL8188SU] type: USB 
           driver: r8712u bus ID: 1-2:2 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 596.15 GiB used: 65.55 GiB (11.0%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 840 EVO 120GB size: 111.79 GiB 
           ID-2: /dev/sdb vendor: Crucial model: CT480BX500SSD1 size: 447.13 GiB 
           ID-3: /dev/sdc type: USB model: USB Flash size: 7.50 GiB 
           ID-4: /dev/sdd type: USB model: Multi Flash Reader size: 29.72 GiB 
Partition: ID-1: / size: 437.11 GiB used: 42.96 GiB (9.8%) fs: ext4 dev: /dev/sdb1 
           ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdb2 
Sensors:   System Temperatures: cpu: N/A mobo: N/A 
           Fan Speeds (RPM): cpu: 1137 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://iso.mxrepo.com/antix/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.it.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.it.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://it.mxrepo.com/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 200 Uptime: 46m Memory: 3.79 GiB used: 1.47 GiB (38.8%) Init: systemd 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.33 
Many thanks for any hints.

User avatar
pascar73
Forum Novice
Forum  Novice
Posts: 9
Joined: Fri May 03, 2019 12:42 pm

Re: How to choose correct Nvidia drivers? [SOLVED]

#27

Post by pascar73 » Sun May 05, 2019 3:09 pm

No way... it didn’t work on my machine. Got the MX stuck and unable to finish the boot. Any idea about how to retrieve the previous set up? Or no other way but reinstall the whole thing?

User avatar
Stevo
Developer
Posts: 19875
Joined: Fri Dec 15, 2006 8:07 pm

Re: How to choose correct Nvidia drivers? [SOLVED]

#28

Post by Stevo » Sun May 05, 2019 6:28 pm

The other users had relatively recent Dell Optimus laptops with dual GPUs, not desktops with a single discrete GPU.

What version of the driver did the Nvidia installer say was OK for that 2005 system? If the Nvidia card is the same vintage, Nvidia may have dropped all support for it and you have to stick with nouveau.

You might be able to boot to the terminal, log in as root, and run

Code: Select all

ddm-mx -p nvidia
to purge the drivers. I do want to see the contents of /var/log/ddm.log to see what happened in the install first, though. That can be recovered by booting a MX live USB or DVD if you don't have another distro on your computer that could do the same and you can't boot to a terminal.

User avatar
timkb4cq
Developer
Posts: 5122
Joined: Wed Jul 12, 2006 4:05 pm

Re: How to choose correct Nvidia drivers? [SOLVED]

#29

Post by timkb4cq » Mon May 06, 2019 3:00 pm

According to the nVidia website, the Quadro NVS 285 card listed in your System Info is supported by the 334.21 driver.
That driver is not packaged for debian. The best way to install it is probably using the sgxi program.
https://mxlinux.org/wiki/applications/g ... gfxi-inxi/
If it offers a different driver (unlikely but possible) you might want to exit and use the override

Code: Select all

sgfxi -o 334.21
to get the recommended driver.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
pascar73
Forum Novice
Forum  Novice
Posts: 9
Joined: Fri May 03, 2019 12:42 pm

Re: How to choose correct Nvidia drivers? [SOLVED]

#30

Post by pascar73 » Mon May 06, 2019 3:31 pm

I managed to recover the system through reinstalling with the USB live session and keeping the /home from the previous installation. In this way it was relatively painless.

I will try with the sgfxi method, although while doing some additional researches online, I came across the *.run files on the nvidia website. Confusingly enough, the NVS285 is listed in a number of files. I will go for the latest I guess.

Will get back to you with the results... and indeed, my machine is vintage to say the least, yet still perfectly functional and productive :-)

Post Reply

Return to “Hardware /Configuration”