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

[Solved] Impossible to use Nvidia drivers

Bertaga
Forum Novice
Forum  Novice
Posts: 6
Joined: Wed Apr 17, 2019 12:58 am

[Solved] Impossible to use Nvidia drivers

#1

Post by Bertaga » Wed Apr 17, 2019 1:03 am

Hello,
I am new to MX and Debian. I have a Dell G5 5587 (running a GTX 1060 Max-Q design) and I want to install the proprietary driver. I tried using the ddm-mx but when I say that I want to use bumblebee, nvidia appears in the "FAILED" category of inxi - G. So I tried again without bumblebee but this time there is a black screen when I reboot.
On reddit someone told me about firmware but I haven't looked at it yet.
Someone had the same issues and have solved it?
Thank you
Last edited by Bertaga on Thu Apr 18, 2019 4:32 am, edited 1 time in total.

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

Re: Impossible to use Nvidia drivers

#2

Post by Eadwine Rose » Wed Apr 17, 2019 2:12 am

Please provide the content of mx tools - quick system info. Might be of further help to the folks in the know here.

Welcome!
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

Bertaga
Forum Novice
Forum  Novice
Posts: 6
Joined: Wed Apr 17, 2019 12:58 am

Re: Impossible to use Nvidia drivers

#3

Post by Bertaga » Wed Apr 17, 2019 4:05 am

Code: Select all

System:    Host: belial 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: Laptop System: Dell product: G5 5587 v: N/A serial: <filter> 
           Mobo: Dell model: 0M2MWX v: A00 serial: <filter> UEFI: Dell v: 1.8.0 date: 12/21/2018 
Battery:   ID-1: BAT0 charge: 39.6 Wh condition: 42.9/56.0 Wh (77%) model: BYD DELL 7FHHV87 
           status: Discharging 
CPU:       Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Kaby Lake 
           rev: A L2 cache: 9216 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 52992 
           Speed: 2043 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 2054 2: 1662 3: 1633 
           4: 1857 5: 1866 6: 1892 7: 1762 8: 1659 9: 1883 10: 1918 11: 1781 12: 1667 
Graphics:  Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GP106M [GeForce GTX 1060] driver: nouveau v: kernel bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.2 driver: modesetting,nouveau unloaded: fbdev,vesa 
           resolution: 3840x2160~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) 
           v: 4.5 Mesa 18.2.6 direct render: Yes 
Audio:     Device-1: Intel 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: Intel driver: iwlwifi v: kernel port: 5000 bus ID: 00:14.3 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Qualcomm Atheros Killer E2400 Gigabit Ethernet vendor: Dell driver: alx 
           v: kernel port: 3000 bus ID: 3c:00.0 
           IF: eth0 state: down mac: <filter> 
Drives:    Local Storage: total: 2.29 TiB used: 15.49 GiB (0.7%) 
           ID-1: /dev/nvme0n1 model: CA3-8D512-Q11 NVMe LITEON 512GB size: 476.94 GiB 
           ID-2: /dev/sda vendor: Seagate model: ST2000LM007-1R8174 size: 1.82 TiB temp: 30 C 
           ID-3: /dev/sdb type: USB vendor: Kingston model: DataTraveler 3.0 size: 7.20 GiB 
Partition: ID-1: / size: 475.94 GiB used: 8.78 GiB (1.8%) fs: btrfs dev: /dev/dm-0 
           ID-2: /boot size: 487.9 MiB used: 79.8 MiB (16.3%) fs: ext4 dev: /dev/nvme0n1p3 
           ID-3: /home size: 1.81 TiB used: 6.63 GiB (0.4%) fs: xfs dev: /dev/dm-1 
           ID-4: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:   System Temperatures: cpu: 34.0 C mobo: N/A gpu: nouveau temp: 35 C 
           Fan Speeds (RPM): N/A 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb https://mirrors.evowise.com/mxlinux-packages/antix/stretch/ stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://debian.mirror.ate.info/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://debian.mirror.ate.info/ 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 https://mirrors.evowise.com/mxlinux-packages/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 345 Uptime: 4m Memory: 15.36 GiB used: 1.16 GiB (7.5%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.33 

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4221
Joined: Wed Apr 11, 2018 5:09 pm

Re: Impossible to use Nvidia drivers

#4

Post by fehlix » Wed Apr 17, 2019 7:59 am

Seems nouveau drive is still loaded. Suggest add both of these boot parameters

Code: Select all

nouveau.modeset=0 modprobe.blacklist=nouveau
(In the GRUB-menu press <e>-key - that's the letter E on the keyboard, use arrow keys to navigate to the line starting with linux and add space-separated the kernel parameter add the end of the line. Press F10 to boot.
The 2nd parameter might not be needed if nvidia driver was installed properly.
I'm just in the process to figure out the best way to get this done properly for those graphic hybrids in an automated fashion.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Bertaga
Forum Novice
Forum  Novice
Posts: 6
Joined: Wed Apr 17, 2019 12:58 am

Re: Impossible to use Nvidia drivers

#5

Post by Bertaga » Wed Apr 17, 2019 11:56 am

Using the bumblebee driver?

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4221
Joined: Wed Apr 11, 2018 5:09 pm

Re: Impossible to use Nvidia drivers

#6

Post by fehlix » Wed Apr 17, 2019 2:01 pm

Bertaga wrote:
Wed Apr 17, 2019 11:56 am
Using the bumblebee driver?
Yes, do so before trying to install nvidia + bumblebee as the loaded nouveau driver is probably blocking to get the installation done. After having installed nvidia + bumblebee successfully but still have issues with nouveau get loaded, do add kernel parameter to your grub menu permanently as described here. The last step might not be needed if nvidia get loaded properly.
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
Stevo
Forum Veteran
Forum Veteran
Posts: 19528
Joined: Fri Dec 15, 2006 8:07 pm

Re: Impossible to use Nvidia drivers

#7

Post by Stevo » Wed Apr 17, 2019 2:31 pm

The Nvidia driver install will blacklist the nouveau driver, but it didn't because it failed. The first thing is not to choose the install from backports, because Debian just removed it.

So what we really need to see is the log file for the installer, /var/log/ddm-mx.log.

This is aside from the other special tweaks that Dell laptops seem to need to get Bumblebee working, but let's get the Nvidia drivers installed correctly first.

Edit: or the Nvidia driver may have succeeded, but Bumblebee needs those Dell laptop tweaks. Someone wrote a guide here on how they got it working on a new Dell with pretty much the same hardware, so we'll just have to track it down if that's the case. Hopefully, it's in our tips and tricks section.

Bertaga
Forum Novice
Forum  Novice
Posts: 6
Joined: Wed Apr 17, 2019 12:58 am

Re: Impossible to use Nvidia drivers

#8

Post by Bertaga » Wed Apr 17, 2019 4:14 pm

fehlix wrote:
Wed Apr 17, 2019 2:01 pm
Bertaga wrote:
Wed Apr 17, 2019 11:56 am
Using the bumblebee driver?
Yes, do so before trying to install nvidia + bumblebee as the loaded nouveau driver is probably blocking to get the installation done. After having installed nvidia + bumblebee successfully but still have issues with nouveau get loaded, do add kernel parameter to your grub menu permanently as described here. The last step might not be needed if nvidia get loaded properly.
Now the quick info gives:

Code: Select all

System:    Host: belial 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: Laptop System: Dell product: G5 5587 v: N/A serial: <filter> 
           Mobo: Dell model: 0M2MWX v: A00 serial: <filter> UEFI: Dell v: 1.8.0 date: 12/21/2018 
Battery:   ID-1: BAT0 charge: 42.9 Wh condition: 42.9/56.0 Wh (77%) model: BYD DELL 7FHHV87 
           status: Full 
CPU:       Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Kaby Lake 
           rev: A L2 cache: 9216 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 52992 
           Speed: 801 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 801 2: 2311 3: 1527 
           4: 2403 5: 1675 6: 1844 7: 1784 8: 1686 9: 1492 10: 1699 11: 1445 12: 1786 
Graphics:  Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GP106M [GeForce GTX 1060] driver: N/A bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 3840x2160~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) 
           v: 4.5 Mesa 18.2.6 direct render: Yes 
Audio:     Device-1: Intel 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: Intel driver: iwlwifi v: kernel port: 5000 bus ID: 00:14.3 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Qualcomm Atheros Killer E2400 Gigabit Ethernet vendor: Dell driver: alx 
           v: kernel port: 3000 bus ID: 3c:00.0 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.29 TiB used: 9.61 GiB (0.4%) 
           ID-1: /dev/nvme0n1 model: CA3-8D512-Q11 NVMe LITEON 512GB size: 476.94 GiB 
           ID-2: /dev/sda vendor: Seagate model: ST2000LM007-1R8174 size: 1.82 TiB 
Partition: ID-1: / size: 475.94 GiB used: 9.23 GiB (1.9%) fs: btrfs dev: /dev/dm-0 
           ID-2: /boot size: 487.9 MiB used: 79.8 MiB (16.3%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-3: /home size: 1.78 TiB used: 313.3 MiB (0.0%) fs: ext4 dev: /dev/dm-1 
           ID-4: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:   System Temperatures: cpu: 68.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb https://mirrors.evowise.com/mxlinux-packages/antix/stretch/ stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://debian.proxad.net/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://debian.proxad.net/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 https://mirrors.evowise.com/mxlinux-packages/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 324 Uptime: 3m Memory: 15.36 GiB used: 879.9 MiB (5.6%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.33 
and when I try to run optirun glxgears for example it says:

Code: Select all

[  260.521991] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card

[  260.522075] [ERROR]Aborting because fallback start is disabled.

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4221
Joined: Wed Apr 11, 2018 5:09 pm

Re: Impossible to use Nvidia drivers

#9

Post by fehlix » Wed Apr 17, 2019 4:28 pm

Looks good so far no nouveau driver loaded.
Now try as Stevo recommended to install nvidia only. and see if this get loaded. If successfull try install bumblebee also.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Bertaga
Forum Novice
Forum  Novice
Posts: 6
Joined: Wed Apr 17, 2019 12:58 am

Re: Impossible to use Nvidia drivers

#10

Post by Bertaga » Wed Apr 17, 2019 4:46 pm

Ah, I used the kernel options you said and installed the driver with bumblebee and this is the result :s

Post Reply

Return to “Hardware /Configuration”