Thanks a lot for your help ! Unfortunately I had also already tried along those lines and just did it again to be sure, removing all nvidia* and with --uninstall from the shell installation, and get this (that is quite a mess...) :
Code:
root@ST-2019003060:~# apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libnvidia-gl-450-server
The following NEW packages will be installed:
libnvidia-gl-450-server
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/60.5 MB of archives.
After this operation, 217 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 413682 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-450-server_450.80.02-0ubuntu0.18.04.3_amd64.deb ...
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340
dpkg-divert: error: mismatch on package
when removing 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 by libnvidia-gl-450-server'
found 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340'
dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-450-server_450.80.02-0ubuntu0.18.04.3_amd64.deb (--unpack):
new libnvidia-gl-450-server:amd64 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-gl-450-server_450.80.02-0ubuntu0.18.04.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
OK, I already tried that approach and had some broken dependencies... I tried following this :
https://askubuntu.com/questions/1035...ivers-on-18-04
which looks very similar to my situation. So I tried
Code:
apt-get purge *nvidia*
apt-get update
apt-get upgrade
apt autoremove
dpkg-divert --list '*nvidia-340*' | sed -nre 's/^diversion of (.*) to .*/\1/p' | xargs -rd'\n' -n1 -- sudo dpkg-divert --remove
ubuntu-drivers devices
apt install nvidia-driver-450-server (=> which ran smoothly for the first time)
I get :
Code:
root@ST-2019003060:~# prime-select query
nvidia
lshw -numeric -C display
WARNING: you should run this program as super-user.
*-display UNCLAIMED
description: VGA compatible controller
product: TU117GLM [Quadro T1000 Mobile] [10DE:1FB9]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: vga_controller cap_list
configuration: latency=0
resources: memory:b3000000-b3ffffff memory:70000000-7fffffff memory:80000000-81ffffff ioport:3000(size=128) memory:b4000000-b407ffff
*-display
description: VGA compatible controller
product: Intel Corporation [8086:9BF6]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: iomemory:600-5ff iomemory:400-3ff irq:151 memory:604a000000-604affffff memory:4000000000-400fffffff ioport:4000(size=64) memory:c0000-dffff
so nvidia-settings tells me nvidia card is on but lshw thinks differently...
Bookmarks