Help Installing Graphic Drivers on Laptop

When you run into problems installing MX Linux XFCE
Message
Author
Syzygianinfern0

Help Installing Graphic Drivers on Laptop

#1 Post by Syzygianinfern0 »

I own an Asus TUF FX504 laptop with a 1050ti graphic card. What is the most favoured way of installing NVidia Drivers?

User avatar
masterpeace
Posts: 36
Joined: Sun Jun 16, 2019 11:35 pm

Re: Help Installing Graphic Drivers on Laptop

#2 Post by masterpeace »

using MX Tools > Nvidia Driver Installer ?

Syzygianinfern0

Re: Help Installing Graphic Drivers on Laptop

#3 Post by Syzygianinfern0 »

masterpeace wrote: Sun Aug 25, 2019 6:20 am using MX Tools > Nvidia Driver Installer ?
I keep getting this error during the installation... Any idea on how to fix?

Code: Select all

About to execute /usr/local/bin/ddm-mx -i nvidia.
This command needs root privileges to be executed.
Using su...
Enter root password at prompt.
Password: 
creating lock ...

Distribution:   MX

===================================
Install drivers for: nvidia
Start at (m/d/y): 08/26/2019 01:57:45
===================================
Refreshing Sources with apt-get update

Continue?
  1) yes (default)
  2) no
Press <Enter> for the default entry
Use 'q' to quit
1
Hit:1 http://iso.mxrepo.com/antix/stretch stretch InRelease
Hit:2 http://ftp.us.debian.org/debian stretch-updates InRelease
Hit:3 http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo stretch InRelease
Ign:4 http://ftp.us.debian.org/debian stretch InRelease
Hit:5 http://ftp.us.debian.org/debian stretch Release
Hit:7 http://security.debian.org stretch/updates InRelease
Reading package lists...

nvidia-optimus detected

Candidate is:  3.2.1-17~mx17+1
Installed is:  (none)

Would you like to check MX Test Repo for a later version?

Yes or No?

1: Yes
2: No

Enter Number of selection
1
Ok...
Enabling MX Test repo
Running apt-get update...
Hit:1 http://security.debian.org stretch/updates InRelease
Get:2 http://la.mxrepo.com/mx/testrepo stretch InRelease [4,982 B]
Hit:3 http://ftp.us.debian.org/debian stretch-updates InRelease
Hit:4 http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo stretch InRelease
Hit:5 http://iso.mxrepo.com/antix/stretch stretch InRelease
Ign:6 http://ftp.us.debian.org/debian stretch InRelease
Get:7 http://la.mxrepo.com/mx/testrepo stretch/test amd64 Packages [1,002 kB]
Hit:8 http://ftp.us.debian.org/debian stretch Release
Get:10 http://la.mxrepo.com/mx/testrepo stretch/test i386 Packages [996 kB]
Fetched 2,003 kB in 22s (90.5 kB/s)
Reading package lists...

Installing latest nvidia-detect package

Reading package lists...
Building dependency tree...
Reading state information...
nvidia-detect is already the newest version (418.74-2~mx17+1).
0 upgraded, 0 newly installed, 0 to remove and 193 not upgraded.

Candidate is:  3.2.1-17~mx17+1
Installed is:  (none)

Candidate is:  3.2.1-17~mx17+1
MX Test repo candidate is:   3.2.1-17~mx17+1
Installed is:  (none)



Need driver: bumblebee-nvidia (3.2.1-17~mx17+1)
 packages to install are  bumblebee-nvidia nvidia-driver nvidia-kernel-dkms primus primus-libs-ia32:i386 nvidia-settings virtualgl virtualgl-libs:i386

Continue?
  1) yes (default)
  2) no
Press <Enter> for the default entry
Use 'q' to quit
1
Frontend: 
Nvidia command  = apt-get install --reinstall -y    bumblebee-nvidia nvidia-driver nvidia-kernel-dkms primus primus-libs-ia32:i386 nvidia-settings virtualgl virtualgl-libs:i386
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 193 not upgraded.
                                                                               Need to get 0 B/777 kB of archives.
          After this operation, 0 B of additional disk space will be used.
(Reading database ... 256803 files and directories currently installed.)  (Reading database ... 
Preparing to unpack .../build-essential_12.3_amd64.deb ...
Unpacking build-essential (12.3) over (12.3) ...
Preparing to unpack .../firmware-linux-nonfree_20190717-1~mx17+1_all.deb ...
Unpacking firmware-linux-nonfree (20190717-1~mx17+1) over (20190717-1~mx17+1) ...
Preparing to unpack .../linux-headers-4.19.0-5-amd64_4.19.37-5+deb10u2~mx17+1_amd64.deb ...
Unpacking linux-headers-4.19.0-5-amd64 (4.19.37-5+deb10u2~mx17+1) over (4.19.37-5+deb10u2~mx17+1) ...
Setting up build-essential (12.3) ...
Setting up linux-headers-4.19.0-5-amd64 (4.19.37-5+deb10u2~mx17+1) ...
Setting up firmware-linux-nonfree (20190717-1~mx17+1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-driver : Depends: nvidia-driver-libs (= 418.74-2~mx17+1) but it is not going to be installed or
                          nvidia-driver-libs-nonglvnd (= 418.74-2~mx17+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
groupadd: group 'bumblebee' already exists
groupadd: group 'video' already exists
bumblebeed: unrecognized service
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nvidia-xconfig' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 193 not upgraded.
mv: cannot stat '/etc/X11/xorg.conf': No such file or directory
Finished


Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://iso.mxrepo.com/antix/stretch stretch InRelease                                    
Hit:3 http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo stretch InRelease                     
Hit:4 http://ftp.us.debian.org/debian stretch-updates InRelease          
Ign:5 http://ftp.us.debian.org/debian stretch InRelease
Hit:6 http://ftp.us.debian.org/debian stretch Release
Reading package lists... Done

Press <Enter> to exit

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Help Installing Graphic Drivers on Laptop

#4 Post by JayM »

Please run MX Tools/Quick System Info, then right-click paste into a reply. (Quick System Info automatically copies the information to your clipboard, already formatted properly for pasting into the forum so all you have to do is a right-click/ paste, not a copy/paste.) Thanks.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

Syzygianinfern0

Re: Help Installing Graphic Drivers on Laptop

#5 Post by Syzygianinfern0 »

JayM wrote: Mon Aug 26, 2019 2:23 am Please run MX Tools/Quick System Info, then right-click paste into a reply. (Quick System Info automatically copies the information to your clipboard, already formatted properly for pasting into the forum so all you have to do is a right-click/ paste, not a copy/paste.) Thanks.
Here you go

Code: Select all

[code]
System:    Host: mx Kernel: 4.19.0-5-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-18.3_x64 Continuum May 26  2019 
           base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: ASUSTeK product: TUF GAMING FX504GE_FX80GE v: 1.0 
           serial: <filter> 
           Mobo: ASUSTeK model: FX504GE v: 1.0 serial: <filter> UEFI: American Megatrends 
           v: FX504GE.318 date: 06/10/2019 
Battery:   ID-1: BAT1 charge: 41.9 Wh condition: 42.6/48.1 Wh (89%) model: ASUS A32-K55 
           status: Charging 
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: 900 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900 
           5: 900 6: 900 7: 900 8: 900 9: 900 10: 900 11: 900 12: 900 
Graphics:  Device-1: Intel vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA vendor: ASUSTeK driver: nouveau v: kernel bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.2 driver: modesetting,nouveau unloaded: fbdev,vesa 
           resolution: 1920x1080~120Hz 
           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: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.19.0-5-amd64 
Network:   Device-1: Intel driver: iwlwifi v: kernel port: 5000 bus ID: 00:14.3 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK 
           driver: r8169 v: kernel port: 3000 bus ID: 03:00.0 
           IF: eth0 state: down mac: <filter> 
Drives:    Local Storage: total: 1.03 TiB used: 4.90 GiB (0.5%) 
           ID-1: /dev/nvme0n1 model: HFM128GDJTNG-8310A size: 119.24 GiB 
           ID-2: /dev/sda vendor: Seagate model: ST1000LX015-1U7172 size: 931.51 GiB 
           ID-3: /dev/sdb type: USB vendor: SanDisk model: Cruzer size: 7.53 GiB 
Partition: ID-1: / size: 48.96 GiB used: 4.74 GiB (9.7%) fs: ext4 dev: /dev/sda4 
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A gpu: nouveau temp: 511 C 
           Fan Speeds (RPM): cpu: 0 
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.us.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.us.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://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 327 Uptime: 4m Memory: 23.40 GiB used: 1.04 GiB (4.5%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.33 
[/code]

Huckleberry Finn

Re: Help Installing Graphic Drivers on Laptop

#6 Post by Huckleberry Finn »

It proceeds ok till this point, but there appears to be a "dependency" problem therefore it quits installation from that point on:
The following packages have unmet dependencies:
nvidia-driver : Depends: nvidia-driver-libs (= 418.74-2~mx17+1) but it is not going to be installed or
nvidia-driver-libs-nonglvnd (= 418.74-2~mx17+1) but it is not going to be installed
So still the generic driver is kept:
Device-2: NVIDIA vendor: ASUSTeK driver: nouveau
Here it looks 418.74 is for Buster https://pkgs.org/download/nvidia-driver-libs-nonglvnd
Last edited by Huckleberry Finn on Mon Aug 26, 2019 3:41 pm, edited 1 time in total.

User avatar
Stevo
Developer
Posts: 14922
Joined: Fri Dec 15, 2006 7:07 pm

Re: Help Installing Graphic Drivers on Laptop

#7 Post by Stevo »

You're choosing to try the "test repo" version in the installer by hitting 1 when it asks. There is a problem with those at the moment, so just choose to install the standard version. You can always work around that issue by using MX package installer to update the Nvidia packages from the test repo later.

It looks like you have an Optimus system, so you'll also have to use "optirun" to have the system switch to the Nvidia GPU for a specific program. You can test that after a successful install and reboot with

Code: Select all

glxspheres64
versus

Code: Select all

optirun glxspheres64

Post Reply

Return to “Installation”