Solved: Nvidia ain't working and reinstalling the driver has failed.

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Solved: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

This is my first high -powered computer with an Nvidia graphics card, i5 processor and high resolution: 1920 x 1080 (16:9).
It has been running in a ragged, jerky fashion since installing Mint 19.1.

Some of that could be related to the touch pad. I tried to reset it to one finger operation with dconf Editor, but it failed to hold. 2 fingers seems a lot smoother, but my muscle memory tends to 1 finger operation...

I am using this computer for this post, but not yet for daily activities.

Configuration:

Code: Select all

Dell Inspiron 15 7000 series
Linux Mint 19.1 Cinnamon, Kernel: 4.18.0-13-generic
Intel Corporation Device 591b (graphics)
NVIDIA GP107M, GeForce GTX 1050 Ti Mobile
Intel© Core™ i5-7300HQ CPU @ 2.50GHz × 4
These 2 commands returned nothing, even though NVIDIA driver version 390 was selected.

Code: Select all

lsmod | grep nvidia
lsmod | grep nouveau
As per pjotr's Easy Linux Tips Project:
https://easylinuxtipsproject.blogspot.com/p/nvidia.html
I purged NVIDIA

Code: Select all

sudo apt-get purge nvidia*
then added the software source:

Code: Select all

sudo add-apt-repository ppa:graphics-drivers/ppa
and updated apt

Code: Select all

sudo apt-get update
and tried to install the latest driver, 410:

Code: Select all

sudo apt-get install nvidia-driver-410
Error :

Code: Select all

(Reading database ... 363435 files and directories currently installed.)
Preparing to unpack .../xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb ...

Unpacking xserver-xorg-video-nvidia-410 (410.78-0ubuntu1~gpu18.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb (--unpack):

 trying to overwrite '/usr/share/X11/xorg.conf.d/10-nvidia.conf', which is also in package xserver-xorg-video-nvidia-390 390.77-0ubuntu0.18.04.1

Errors were encountered while processing:
 /var/cache/apt/archives/xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)
Update Manager is offering NVIDIA driver and settings - level 4 updates, which I have not yet applied.

On reboot, a black screen came up with not even a pointer showing.
I powered off and rebooted into Cinnamon and it seems normal, other than the Nvidia issue.

I tried the above procedure again, but it failed.

Also, I do not use Windows much, but I used Win10 to shrink Win10's partition.

It would not shrink below 120 GB on a 256 GB SSD.
So, I used Gparted to shrink it to just above its current usage.
I have not allowed Win10 to update much beyond registering with Dell.

I do not know if this will be much of a problem beyond Win10's ability to download and install updates.

I have not used Windows in the past 6 years or better.
Have I made a serious mistake.?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by trytip »

trying to overwrite '/usr/share/X11/xorg.conf.d/10-nvidia.conf', which is also in package xserver-xorg-video-nvidia-390 390.77-0ubuntu0.18.04.1
after a purge of graphics you need to reboot BUT rename this or compress it so the new file can be installed
/usr/share/X11/xorg.conf.d/10-nvidia.conf
dkms status will show you what nvidia if any installed for what kernel.
Image
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

Hi, trytip.

Code: Select all

$ dkms status
bbswitch, 0.8, 4.18.0-13-generic, x86_64: installed
I added .bak to that file:

Code: Select all

/usr/share/X11/xorg.conf.d/10-nvidia.conf.bak
Same error, again:

Code: Select all

$ sudo apt-get install nvidia-driver-410
Back after a reboot.

Thanks.

Edit: Working on it:

After getting the same errror, I renamed that file, again:
ReNamed_10-nvidia.conf.bak

Same dkms message:
$ dkms status
bbswitch, 0.8, 4.18.0-13-generic, x86_64: installed


Same error:
(Reading database ... 363435 files and directories currently installed.)
Preparing to unpack .../xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb ...

Unpacking xserver-xorg-video-nvidia-410 (410.78-0ubuntu1~gpu18.04.1) ...

dpkg: error processing archive /var/cache/apt/archives/xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb (--unpack):

trying to overwrite '/usr/share/X11/xorg.conf.d/10-nvidia.conf', which is also in package xserver-xorg-video-nvidia-390 390.77-0ubuntu0.18.04.1

Errors were encountered while processing:
/var/cache/apt/archives/xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

Now, to try again.
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by trytip »

seems you have leftovers somewhere search xserver-xorg-video-nvidia-390 in synaptic
also use the driver manager to install the drivers since it uses scripts especially for disabling and enabling switches. unless 410 isn't in the driver manager
Image
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

Same error.
Do I need to shut down completely and restart.
I'll try that...

It does not seem to know that the original file has been renamed, so that file should no longer be there....

Code: Select all

'/usr/share/X11/xorg.conf.d/10-nvidia.conf'
No change:

Code: Select all

$ dkms status
bbswitch, 0.8, 4.18.0-13-generic, x86_64: installed
Error:

Code: Select all

$ sudo apt-get install nvidia-driver-410
Unpacking xserver-xorg-video-nvidia-410 (410.78-0ubuntu1~gpu18.04.1) ...

dpkg: error processing archive /var/cache/apt/archives/xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb (--unpack):

 trying to overwrite '/usr/share/X11/xorg.conf.d/10-nvidia.conf', which is also in package xserver-xorg-video-nvidia-390 390.77-0ubuntu0.18.04.1

Errors were encountered while processing:
 /var/cache/apt/archives/xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

Should I remove it, since Synaptic is showing installed:

Code: Select all

xserver-xorg-video-nvidia-390
410 seems to be the latest version.
but 415 is in the driver manager.

I'm trying 410, for now.

I can only see one line at a time:

Code: Select all

installArchives() failed: (Reading database ... 
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 363435 files and directories currently installed.)

Preparing to unpack .../xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb ...

Unpacking xserver-xorg-video-nvidia-410 (410.78-0ubuntu1~gpu18.04.1) ...

dpkg: error processing archive /var/cache/apt/archives/xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb (--unpack):

 trying to overwrite '/usr/share/X11/xorg.conf.d/10-nvidia.conf', which is also in package xserver-xorg-video-nvidia-390 390.77-0ubuntu0.18.04.1

Errors were encountered while processing:
 /var/cache/apt/archives/xserver-xorg-video-nvidia-410_410.78-0ubuntu1~gpu18.04.1_amd64.deb
Need to restart, so Restarting...
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by trytip »

crap i said 410 but i just meant the latest or whatever driver manager showing you if showing any 4 series. yes remove xserver-xorg-video-nvidia-390
after you reboot search synaptic for nvidia to see if anything leftover, purge* reboot search for nvidia again . open driver manager
Image
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

Beginnig to wonder about 'things'...

390 is installed, per driver manager.
On reboot, a black, empty screen was all I had.
So, I powered down, gave it a few seconds and rebooted.

Nvidia shows up in System Info.

Commands returned nothing.

Code: Select all

lsmod | grep nvidia
lsmod | grep nouveau
I am at a loss...
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by trytip »

you didn't start the process correctly by making sure nvidia* was purged and open source nouveau driver was running before the installation
you should have used the driver manager first not nvidia manually
i don't know where you are right now. can you boot or is it all black? do you have a timeshift snapshot you can restore before you tried?
if 390 is installed then rename your xorg file back maybe from a live mint if you can't boot dkms status is what you want to run to see if nvidia is there
Image
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

I do screw up, a lot...

Yes, I powered down, gave it a few seconds and rebooted.
Nvidia driver 390 - meta package, is showing as active.

I have Timeshift disabled with the idea of reinstalling Mint 19.1, after it matured a little.

A new file has shown up:

Code: Select all

/usr/share/X11/xorg.conf.d /10-nvidia.conf
The old one renamed, is still there, too.

I'm wondering if it a setting in Nvidia.?
I've looked at it and did not play around, as I have no experience with Nvidia.

Will have to shut down in a few minutes.
Back tomorrow.

Thank you, trytip.
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

I just made nouveau the driver.
Will return tomorrow to see how the computer works with that one.

Then, figure out what to do next.
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by trytip »

dkms status when you have the time. i believe it took me about 10 or more re-install of the whole ubuntu 11.04 to get nvidia-295 running
Image
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

10 or more re-installs..?
I can't tell you have encouraging that is...

Booted, then shut down after a few minutes.
Booted again after 10 minutes and nothing but an empty black screen.
Re-booted to a normal desktop.

After updating 2 Nvidia application, driver and settings, I think, 1 package was broken, with 8 files to update.
Then, at some point, 8 files were marked for removal, so I applied.
Don't know if that were a mistake, but it is Synaptic's fault. I did not do it.

In updating, I got an error message, repeated 3 times:

Code: Select all

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
The errors are now gone from Synaptic.

dkms status - before reboot

Code: Select all

$ dkms status
bbE: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

Code: Select all

switch, 0.8, 4.18.0-13-generic, x86_64: installed
nvidia, 390.87, 4.18.0-13-generic, x86_64: installed
dkms status - after reboot

Code: Select all

See below.
Not sure how I found the saved draft, but there it is. Thought it was gone..

I'm moving too fast.
I saved a draft, rebooted and there is no content in the draft.

I had bumblebee installed. Now removed, along with bbswitch

I updated a couple of Nvidia files with the update manager.
Had Nvidia 390 package broken. Now fixed.
That seems to have involved removing 8 related files.

I tried to do something... Synaptic reported that I could not update the package, because I had held the package.
That message is not there now and I forget exactly which files to which it was related.
I'm pretty sure it was Nvidia 390 files...

I am unable to select an Nvidia driver, from the driver manager.
Button selected at the bottom:

Code: Select all

Continue to use manually installed driver.

Code: Select all

$ dkms status
nvidia, 390.87, 4.18.0-13-generic, x86_64: installed
No more saving a draft response..

Rebooting.
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

Looks like it is running on the Nvidia driver...
The button at the end of the driver manager listing, continues to show:

Code: Select all

Continue using a manually installed driver.
And the driver selections are grayed out. I can not choose another option,

The only drivers shown are now:

Code: Select all

Nvidia 390 and xserver-xorg-video-nouveau
The message in the driver manager status bar indicates:

Code: Select all

No proprietary drivers are in use.

Code: Select all

$ lsmod | grep nvidia
nvidia_uvm            757760  0
nvidia_drm             40960  2
nvidia_modeset       1114112  5 nvidia_drm
nvidia              14364672  208 nvidia_uvm,nvidia_modeset
ipmi_msghandler       102400  2 ipmi_devintf,nvidia
drm_kms_helper        172032  2 nvidia_drm,i915
drm                   458752  6 drm_kms_helper,nvidia_drm,i915

Code: Select all

$ lsmod | grep nouveau
$


I found the command to put a hold on application updates

Code: Select all

sudo apt-mark hold nvidia-driver-410
Don't know if it is something to worry about, right now.
And I don't recall running the command.

This is frustrating. I don't think I even need such a graphics card.
All I want is a smooth running system that does what I tell it to do.

I'll be back tomorrow.

Thanks, again, trytip.
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by trytip »

next time you see this post this from Terminal to see where things are:
inxi -Fxzd
nvidia-smi
Image
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

I was almost out the door... now, I'm gone.

Edit:

Code: Select all

$ nvidia-smi
Command 'nvidia-smi' not found, but can be installed with:
sudo apt install nvidia-340      
sudo apt install nvidia-utils-390 
Also installed:

Code: Select all

nvidia-utils-390

Code: Select all

$ inxi -Fxzd
System:    Host: 11 Kernel: 4.18.0-13-generic x86_64 bits: 64 compiler: gcc v: 7.3.0 
           Desktop: Cinnamon 4.0.9 Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: Dell product: Inspiron 15 7000 Gaming v: N/A serial: <filter> 
           Mobo: Dell model: 0MK77P v: A00 serial: <filter> UEFI: Dell v: 1.6.0 date: 03/27/2018 
Battery:   ID-1: BAT0 charge: 73.9 Wh condition: 73.9/74.0 Wh (100%) model: Samsung SDI DELL 0GFJ682 
           status: Full 
CPU:       Topology: Quad Core model: Intel Core i5-7300HQ bits: 64 type: MCP arch: Kaby Lake rev: 9 
           L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19968 
           Speed: 800 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 
Graphics:  Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Dell driver: nvidia v: 390.87 
           bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.6 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 390.87 direct render: Yes 
Audio:     Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.18.0-13-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169 
           v: 2.3LK-NAPI port: d000 bus ID: 02:00.0 
           IF: enp2s0 state: down mac: <filter> 
           Device-2: Intel Wireless 3165 driver: iwlwifi v: kernel port: d000 bus ID: 03:00.0 
           IF: wlp3s0 state: up mac: <filter> 
Drives:    Local Storage: total: 238.47 GiB used: 45.77 GiB (19.2%) 
           ID-1: /dev/sda vendor: Micron model: 1100 SATA 256GB size: 238.47 GiB 
           Message: No Optical or Floppy data was found. 
RAID:      Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 bus ID: 00:17.0 
Partition: ID-1: / size: 169.82 GiB used: 45.71 GiB (26.9%) fs: ext4 dev: /dev/sda8 
Sensors:   System Temperatures: cpu: 55.0 C mobo: 42.0 C sodimm: 51.0 C gpu: nvidia temp: 51 C 
           Fan Speeds (RPM): cpu: 2290 
Info:      Processes: 206 Uptime: 1h 02m Memory: 7.66 GiB used: 1.30 GiB (17.0%) Init: systemd runlevel: 5 
           Compilers: gcc: 7.3.0 Shell: bash v: 4.4.19 inxi: 3.0.27 

Then I did this, as I was closing the door..

Code: Select all

$ sudo apt install nvidia-driver-390
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-driver-390 : Depends: libnvidia-gl-390 (= 390.77-0ubuntu0.18.04.1) but 390.87-0ubuntu0~gpu18.04.1 is to be installed
                     Depends: xserver-xorg-video-nvidia-390 (= 390.77-0ubuntu0.18.04.1) but 390.87-0ubuntu0~gpu18.04.1 is to be installed
                     Depends: libnvidia-cfg1-390 (= 390.77-0ubuntu0.18.04.1) but 390.87-0ubuntu0~gpu18.04.1 is to be installed
                     Depends: libnvidia-ifr1-390 (= 390.77-0ubuntu0.18.04.1) but 390.87-0ubuntu0~gpu18.04.1 is to be installed
                     Depends: libnvidia-fbc1-390 (= 390.77-0ubuntu0.18.04.1) but 390.87-0ubuntu0~gpu18.04.1 is to be installed
                     Recommends: nvidia-settings but it is not going to be installed
                     Recommends: nvidia-prime (>= 0.8) but it is not going to be installed
                     Recommends: libnvidia-compute-390:i386 (= 390.77-0ubuntu0.18.04.1)
                     Recommends: libnvidia-decode-390:i386 (= 390.77-0ubuntu0.18.04.1)
                     Recommends: libnvidia-encode-390:i386 (= 390.77-0ubuntu0.18.04.1)
                     Recommends: libnvidia-ifr1-390:i386 (= 390.77-0ubuntu0.18.04.1)
                     Recommends: libnvidia-fbc1-390:i386 (= 390.77-0ubuntu0.18.04.1)
                     Recommends: libnvidia-gl-390:i386 (= 390.77-0ubuntu0.18.04.1)
E: Unable to correct problems, you have held broken packages.
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by trytip »

open a Terminal and maximize it to get a better output

Code: Select all

dpkg -l nvidia*
Image
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

Today, nvidia-smi returned a different result:

Code: Select all

$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
The following packages have unmet dependencies:

Code: Select all

nvidia-driver-390: Depends: libnvidia-gl-390 (= 390.77-0ubuntu0.18.04.1) but 390.87-0ubuntu0~gpu18.04.1 is to be installed$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
                   Depends: nvidia-dkms-390 (= 390.77-0ubuntu0.18.04.1) but 390.77-0ubuntu0.18.04.1 is to be installed
                   Depends: nvidia-kernel-source-390 (= 390.77-0ubuntu0.18.04.1) but 390.77-0ubuntu0.18.04.1 is to be installed
                   Depends: libnvidia-compute-390 (= 390.77-0ubuntu0.18.04.1) but 390.77-0ubuntu0.18.04.1 is to be installed
                   Depends: nvidia-compute-utils-390 (= 390.77-0ubuntu0.18.04.1) but 390.77-0ubuntu0.18.04.1 is to be installed
                   Depends: libnvidia-decode-390 (= 390.77-0ubuntu0.18.04.1) but 390.77-0ubuntu0.18.04.1 is to be installed
                   Depends: libnvidia-encode-390 (= 390.77-0ubuntu0.18.04.1) but 390.77-0ubuntu0.18.04.1 is to be installed
                   Depends: nvidia-utils-390 (= 390.77-0ubuntu0.18.04.1) but 390.77-0ubuntu0.18.04.1 is to be installed
                   Depends: xserver-xorg-video-nvidia-390 (= 390.77-0ubuntu0.18.04.1) but 390.87-0ubuntu0~gpu18.04.1 is to be installed
                   Depends: libnvidia-cfg1-390 (= 390.77-0ubuntu0.18.04.1) but 390.87-0ubuntu0~gpu18.04.1 is to be installed
                   Depends: libnvidia-ifr1-390 (= 390.77-0ubuntu0.18.04.1) but 390.87-0ubuntu0~gpu18.04.1 is to be installed
                   Depends: libnvidia-fbc1-390 (= 390.77-0ubuntu0.18.04.1) but 390.87-0ubuntu0~gpu18.04.1 is to be installed
So, I purged N-390, then went for the v. 410 update...
The result several version options became available in the driver manager.

So, I selected the version 4.15 driver metapackage.
The status bar message remains:

Code: Select all

No proprietary drivers in use.
When I post this, I'll reboot to see what happened...
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
User avatar
trytip
Level 14
Level 14
Posts: 5371
Joined: Tue Jul 05, 2016 1:20 pm

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by trytip »

i'm lost at this point. if you purged nvidia did you reboot? was the open source driver working after the reboot? what were the options in driver manager? how did you install the new driver?
you need to purge nvidia completely first and not install another driver.
the follow up was
trytip wrote: Thu Jan 10, 2019 10:10 pm open a Terminal and maximize it to get a better output

Code: Select all

dpkg -l nvidia*
Image
Resistor
Level 4
Level 4
Posts: 258
Joined: Wed Nov 03, 2010 12:04 am
Location: Western Ozarks

Re: Nvidia ain't working and reinstalling the driver has failed.

Post by Resistor »

I purged, then installed from the ppa and Re-booted.

After this, I will post my endeavor into Nvidia Settings. I'm almost to the end of Settings.

I understand little of what this is saying, other than it is a listing of what is installed...
Not necessarily what is active and properly configured.

dpkg -l nvidia*

Code: Select all

$ dpkg -l nvidia* 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name             Version       Architecture  Description
+++-================-=============-=============-======================================
un  nvidia           <none>        <none>        (no description available)
un  nvidia-304       <none>        <none>        (no description available)
un  nvidia-304-updat <none>        <none>        (no description available)
un  nvidia-310       <none>        <none>        (no description available)
un  nvidia-310-updat <none>        <none>        (no description available)
un  nvidia-313       <none>        <none>        (no description available)
un  nvidia-313-updat <none>        <none>        (no description available)
un  nvidia-319       <none>        <none>        (no description available)
un  nvidia-319-updat <none>        <none>        (no description available)
un  nvidia-325       <none>        <none>        (no description available)
un  nvidia-325-updat <none>        <none>        (no description available)
un  nvidia-331       <none>        <none>        (no description available)
un  nvidia-331-updat <none>        <none>        (no description available)
un  nvidia-334       <none>        <none>        (no description available)
un  nvidia-334-updat <none>        <none>        (no description available)
un  nvidia-337       <none>        <none>        (no description available)
un  nvidia-337-updat <none>        <none>        (no description available)
un  nvidia-340       <none>        <none>        (no description available)
un  nvidia-340-updat <none>        <none>        (no description available)
un  nvidia-343       <none>        <none>        (no description available)
un  nvidia-343-updat <none>        <none>        (no description available)
un  nvidia-346       <none>        <none>        (no description available)
un  nvidia-346-updat <none>        <none>        (no description available)
un  nvidia-349       <none>        <none>        (no description available)
un  nvidia-349-updat <none>        <none>        (no description available)
un  nvidia-352       <none>        <none>        (no description available)
un  nvidia-352-updat <none>        <none>        (no description available)
un  nvidia-355       <none>        <none>        (no description available)
un  nvidia-355-updat <none>        <none>        (no description available)
un  nvidia-358       <none>        <none>        (no description available)
un  nvidia-358-updat <none>        <none>        (no description available)
un  nvidia-361       <none>        <none>        (no description available)
un  nvidia-361-updat <none>        <none>        (no description available)
un  nvidia-364       <none>        <none>        (no description available)
un  nvidia-364-updat <none>        <none>        (no description available)
un  nvidia-367       <none>        <none>        (no description available)
un  nvidia-367-updat <none>        <none>        (no description available)
un  nvidia-375       <none>        <none>        (no description available)
un  nvidia-375-updat <none>        <none>        (no description available)
un  nvidia-378       <none>        <none>        (no description available)
un  nvidia-378-updat <none>        <none>        (no description available)
un  nvidia-381       <none>        <none>        (no description available)
un  nvidia-381-updat <none>        <none>        (no description available)
un  nvidia-384       <none>        <none>        (no description available)
un  nvidia-384-updat <none>        <none>        (no description available)
un  nvidia-387       <none>        <none>        (no description available)
un  nvidia-387-updat <none>        <none>        (no description available)
un  nvidia-390       <none>        <none>        (no description available)
un  nvidia-common    <none>        <none>        (no description available)
rc  nvidia-compute-u 410.78-0ubunt amd64         NVIDIA compute utilities
ii  nvidia-compute-u 415.25-0ubunt amd64         NVIDIA compute utilities
un  nvidia-current   <none>        <none>        (no description available)
un  nvidia-current-u <none>        <none>        (no description available)
rc  nvidia-dkms-410  410.78-0ubunt amd64         NVIDIA DKMS package
ii  nvidia-dkms-415  415.25-0ubunt amd64         NVIDIA DKMS package
un  nvidia-dkms-kern <none>        <none>        (no description available)
un  nvidia-driver    <none>        <none>        (no description available)
ii  nvidia-driver-41 415.25-0ubunt amd64         NVIDIA driver metapackage
un  nvidia-driver-bi <none>        <none>        (no description available)
un  nvidia-driver-li <none>        <none>        (no description available)
un  nvidia-driver-li <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-experimen <none>        <none>        (no description available)
un  nvidia-kernel-co <none>        <none>        (no description available)
rc  nvidia-kernel-co 410.78-0ubunt amd64         Shared files used with the kernel modu
ii  nvidia-kernel-co 415.25-0ubunt amd64         Shared files used with the kernel modu
un  nvidia-kernel-dk <none>        <none>        (no description available)
un  nvidia-kernel-so <none>        <none>        (no description available)
un  nvidia-kernel-so <none>        <none>        (no description available)
ii  nvidia-kernel-so 415.25-0ubunt amd64         NVIDIA kernel source package
un  nvidia-legacy-30 <none>        <none>        (no description available)
un  nvidia-legacy-30 <none>        <none>        (no description available)
un  nvidia-legacy-34 <none>        <none>        (no description available)
un  nvidia-legacy-34 <none>        <none>        (no description available)
un  nvidia-opencl-ic <none>        <none>        (no description available)
un  nvidia-persisten <none>        <none>        (no description available)
ii  nvidia-prime     0.8.8.2       all           Tools to enable NVIDIA's Prime
ii  nvidia-settings  415.25-0ubunt amd64         Tool for configuring the NVIDIA graphi
un  nvidia-settings- <none>        <none>        (no description available)
un  nvidia-smi       <none>        <none>        (no description available)
un  nvidia-utils     <none>        <none>        (no description available)
ii  nvidia-utils-415 415.25-0ubunt amd64         NVIDIA driver support binaries

$ 
Dell Inspiron 15-7567 Gaming Laptop i5, 8GB Ram, 256GB SSD. - Win 10 Inhibited. Nvidia GTX 1050 Ti. LM 19.3 Cinnamon x2
Asus VivoBook F512FA-AB34, 8 GB Ram, Kernel 5.3.0-45-generic, i3-8145U. No Win10.
Locked

Return to “Graphics Cards & Monitors”