Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

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

Current releases
-- MX-17.1 Final release info here
-- antiX-17 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

nvidia installer not working

Report Bugs, Issues and non- pacakage Requests
Message
Author
User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15938
Joined: Fri Dec 15, 2006 8:07 pm

Re: nvidia installer not working

#11 Post by Stevo » Sun May 06, 2018 7:30 pm

Yes, keep going down the chain of command line installs of those newly revealed problem packages until you get to the one that's at the root of the problem. But first try the purge command that dolphin recommends.

You still have stretch-backports enabled, but not the non-free part where the Nvidia driver lives, so that should not be the issue. I don't think deb-multimedia can affect the driver install, either.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9040
Joined: Sun Dec 16, 2007 1:17 pm

Re: nvidia installer not working

#12 Post by dolphin_oracle » Sun May 06, 2018 7:42 pm

@stevo - Is there anything in test repo that might be affecting things, say if a dist-upgrade had happened while test was enabled. mesa or something maybe?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

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

Re: nvidia installer not working

#13 Post by Stevo » Sun May 06, 2018 8:14 pm

dolphin_oracle wrote:@stevo - Is there anything in test repo that might be affecting things, say if a dist-upgrade had happened while test was enabled. mesa or something maybe?
No, the mesa backport is in a separate experimental repo that has to be added by hand. Stretch-backports had a bad libglvnd (??} a month or two ago that would destroy your GUI if you tried to install it, but I don't know if it's still there.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9040
Joined: Sun Dec 16, 2007 1:17 pm

Re: nvidia installer not working

#14 Post by dolphin_oracle » Sun May 06, 2018 8:28 pm

chasing the rabbit....more info:

Code: Select all


ddm-mx output

The following packages have unmet dependencies:
 nvidia-driver : Depends: nvidia-driver-libs (= 390.48-2~mx17+1) but it is not going to be installed or
                          nvidia-driver-libs-nonglvnd (= 390.48-2~mx17+1) but it is not going to be installed
                 Depends: nvidia-driver-bin (= 390.48-2~mx17+1) but it is not going to be installed
                 Depends: xserver-xorg-video-nvidia (= 390.48-2~mx17+1) but it is not going to be installed
                 Depends: nvidia-vdpau-driver (= 390.48-2~mx17+1) but it is not going to be installed
                 Depends: nvidia-alternative (= 390.48-2~mx17+1)
                 Recommends: nvidia-persistenced
 nvidia-kernel-dkms : Depends: nvidia-kernel-support--v1
 nvidia-settings : Depends: nvidia-alternative
                   Recommends: libgl1-nvidia-glvnd-glx but it is not going to be installed or
                               libgl1-nvidia-glx but it is not going to be installed
                   Recommends: nvidia-vdpau-driver but it is not going to be installed
                   Recommends: libnvidia-ml1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


dolphin@mx:~
$ sudo apt-get install -s libgl1-nvidia-glvnd-glx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 libgl1-nvidia-glvnd-glx : Depends: libgl1 (>= 0.2.999) or
                                    libgl1-glvnd-nvidia-glx but it is not going to be installed
                           Depends: libglx-nvidia0 (= 390.48-2~mx17+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
dolphin@mx:~
$ sudo apt-get install -s libgl1-glvnd-nvida-glx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgl1-glvnd-nvida-glx
dolphin@mx:~
$ sudo apt-get install libgl1-nvidia-glvnd-glx 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 libgl1-nvidia-glvnd-glx : Depends: libgl1 (>= 0.2.999) or
                                    libgl1-glvnd-nvidia-glx but it is not going to be installed
                           Depends: libglx-nvidia0 (= 390.48-2~mx17+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
dolphin@mx:~
$ sudo apt-get install -s libgl1-glvnd-nvidia-glx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 libgl1-glvnd-nvidia-glx : Depends: nvidia-alternative (= 390.48-2~mx17+1)
                           Depends: libglx0 but it is not installable or
                                    libglx0-glvnd-nvidia (>= 384.111) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
dolphin@mx:~
$ sudo apt-get install -s libglx
libglx0-glvnd-nvidia  libglx-nvidia0        
dolphin@mx:~
$ sudo apt-get install -s libglx0-glvnd-nvidia 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 libglx0-glvnd-nvidia : Depends: nvidia-alternative (= 390.48-2~mx17+1)
E: Unable to correct problems, you have held broken packages.
dolphin@mx:~
$ sudo apt-get install -s nvidia-alternative 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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-alternative : Depends: glx-alternative-nvidia (>= 0.8.3~)
E: Unable to correct problems, you have held broken packages.
dolphin@mx:~
$ apt-cache policy nvidia-alternative 
nvidia-alternative:
  Installed: (none)
  Candidate: 390.48-2~mx17+1
  Version table:
     390.48-2~mx17+1 500
        500 http://mxrepo.com/mx/testrepo stretch/test amd64 Packages
     384.111-3~~mx17+1 500
        500 http://antix.daveserver.info/stretch stretch/main amd64 Packages
        500 http://mxrepo.com/mx/repo stretch/non-free amd64 Packages
     375.82-1~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/non-free amd64 Packages
dolphin@mx:~
$ apt-cache policy glx-alternative-nvidia 
glx-alternative-nvidia:
  Installed: (none)
  Candidate: 0.7.4
  Version table:
     0.7.4 500
        500 http://ftp.us.debian.org/debian stretch/contrib amd64 Packages
dolphin@mx:~
$ 
this is with the test repo enabled. Nothing has been installed from it. otherwise stock mx17.1 installation. note that the nvidia install with the basic repos went OK. looks like there are some potential conflicts with glx stuff...
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9040
Joined: Sun Dec 16, 2007 1:17 pm

Re: nvidia installer not working

#15 Post by dolphin_oracle » Sun May 06, 2018 8:42 pm

or mabye not.


if you do a dist-upgrade with test repo enabled, you get this:

Code: Select all

dolphin@mx:~
$ apt-cache policy libxnvctrl0
libxnvctrl0:
  Installed: 384.111-1~deb9u1
  Candidate: 390.48-2~mx17+1
  Version table:
     390.48-2~mx17+1 500
        500 http://mxrepo.com/mx/testrepo stretch/test amd64 Packages
 *** 384.111-1~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
dolphin@mx:~
$ sudo apt-get remove libxnvctrl0 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libaudclient2 libxmmsclient6
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  conky conky-std
Suggested packages:
  apcupsd audacious moc mpd xmms2
The following packages will be REMOVED:
  conky-all libxnvctrl0
The following NEW packages will be installed:
  conky conky-std
0 upgraded, 2 newly installed, 2 to remove and 147 not upgraded.
Need to get 372 kB of archives.
After this operation, 479 kB disk space will be freed.
Do you want to continue? [Y/n] 
libxnvctrl0 is apparently preinstalled on mx iso because of conky-all and will be updated if a dist-upgrade is performed with the test repo enabled. I suspect that updating that package is enough to make everything go haywire with the nvidia-driver install.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

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

Re: nvidia installer not working

#16 Post by Stevo » Mon May 07, 2018 1:53 pm

Hmmm---I did a manual upgrade of the debs on 64-bit after I built them by searching for the installed packages in Synaptic< keyword "nvidia", and then putting all the deb packages that were going to be upgrades into a folder and installing them with apt. They didn't need a newer nvidia-settings, and conky-all and libxnvctrl0 remained installed, so there must be some way out of this puzzle. Maybe the repo didn't pick up one package, like it's failed to do in the past with the nvidia-driver debs.

Let me try some stuff in a clean install.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9040
Joined: Sun Dec 16, 2007 1:17 pm

Re: nvidia installer not working

#17 Post by dolphin_oracle » Mon May 07, 2018 2:02 pm

for reference, the command used by ddm-mx is

Code: Select all

apt-get install --reinstall --install-recommends -y $SWITCH $BP $DRIVER $TESTSWITCH 2>&1 | tee -a $LOG
where $SWITCH and $BP let the user specify the debian-backports repo if they wish, $TESTSWITCH is an internal marker to use the -s parameter on apt-get when in test mode, and $DRIVER varies, but for nvidia-driver its this:

Code: Select all

nvidia-driver nvidia-settings nvidia-kernel-dkms nvidia-xconfig
note its a pretty simple apt-get command, to stay in line with the debian wiki.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

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

Re: nvidia installer not working

#18 Post by Stevo » Mon May 07, 2018 2:13 pm

I just installed nvidia-driver and primus with --install-recommends per the wiki in virtualbox. After adding the test repo, the followings are held back:

Code: Select all

The following packages have been kept back:
  libegl-nvidia0 libegl1-glvnd-nvidia libgl1-glvnd-nvidia-glx libgl1-nvidia-glvnd-glx
  libgles-nvidia1 libgles-nvidia2 libgles1-glvnd-nvidia libgles2-glvnd-nvidia libglx-nvidia0
  libglx0-glvnd-nvidia libnvidia-cfg1 libnvidia-egl-wayland1 libnvidia-eglcore libnvidia-glcore
  libnvidia-ml1 nvidia-driver nvidia-driver-bin nvidia-driver-libs nvidia-egl-icd
  nvidia-egl-wayland-icd nvidia-kernel-dkms nvidia-kernel-support nvidia-vdpau-driver
  nvidia-vulkan-icd xserver-xorg-video-nvidia
so it's time to put on the deerstalker cap and pull out the magnifying glass...

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

Re: nvidia installer not working

#19 Post by Stevo » Mon May 07, 2018 2:45 pm

This seems to be at the root of the issue:

Code: Select all

The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-alternative : Depends: glx-alternative-nvidia (>= 0.8.3~) but 0.7.4 is to be installed
E: Broken packages

root@mx:/home/steve/Desktop# apt upgrade glx-alternative-nvidia
Reading package lists... Done
Building dependency tree       
Reading state information... Done
glx-alternative-nvidia is already the newest version (0.7.4).
So we just have to fix that...they are on the way to the test repo.

I believe that nvidia-alternative and glx-alternative-nividia can also be updated from this zip manually, and then the rest of the upgrades will go through: https://drive.google.com/open?id=1H-JWp ... QsPBCfW_Em

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

Re: nvidia installer not working

#20 Post by Stevo » Mon May 07, 2018 4:47 pm

It's in the test repo now, and it fixed the upgrade problem in my test virtual machine. Can you confirm?

Post Reply

Return to “Bugs and Non-Package Requests Forum”