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

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:

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 17515
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 Novice
Forum  Novice
Posts: 58
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

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 17515
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 Novice
Forum  Novice
Posts: 10
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
---
MX-18 386/antiX-17 386: desktop Dell OptiPlex GX240, Intel Pentium 4 1794 MHz, 256MB-1GB SD-RAM PC133, Kernel: 4.19/4.20, DE: Xfce

Post Reply

Return to “Hardware /Configuration”