Welcome!
Forum users- Please read this before asking for help, and don't forget to add Quick System Info to help requests!
- Please follow the Forum Rules
Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here
Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.
News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here
nvidia installer not working
Re: nvidia installer not working
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.
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.
- dolphin_oracle
- Developer
- Posts: 19831
- Joined: Sun Dec 16, 2007 1:17 pm
Re: nvidia installer not working
@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 X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: nvidia installer not working
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.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?
- dolphin_oracle
- Developer
- Posts: 19831
- Joined: Sun Dec 16, 2007 1:17 pm
Re: nvidia installer not working
chasing the rabbit....more info:
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...
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:~
$
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
- dolphin_oracle
- Developer
- Posts: 19831
- Joined: Sun Dec 16, 2007 1:17 pm
Re: nvidia installer not working
or mabye not.
if you do a dist-upgrade with test repo enabled, you get this:
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.
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]
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: nvidia installer not working
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.
Let me try some stuff in a clean install.
- dolphin_oracle
- Developer
- Posts: 19831
- Joined: Sun Dec 16, 2007 1:17 pm
Re: nvidia installer not working
for reference, the command used by ddm-mx is
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:
note its a pretty simple apt-get command, to stay in line with the debian wiki.
Code: Select all
apt-get install --reinstall --install-recommends -y $SWITCH $BP $DRIVER $TESTSWITCH 2>&1 | tee -a $LOG
Code: Select all
nvidia-driver nvidia-settings nvidia-kernel-dkms nvidia-xconfig
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: nvidia installer not working
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:
so it's time to put on the deerstalker cap and pull out the magnifying glass...
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
Re: nvidia installer not working
This seems to be at the root of the issue:
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
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).
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
Re: nvidia installer not working
It's in the test repo now, and it fixed the upgrade problem in my test virtual machine. Can you confirm?