PDA

View Full Version : [SOLVED] Video driver won't load unless I launch "Recovery Menu" first???



Mugsy323
October 5th, 2018, 04:09 AM
Help. I don't know why, but suddenly Ubuntu (64bit 18.04.01 LTS) won't start without going through the Recovery Mode menu first. I don't have to check or change anything. Just click "Resume" to finish the boot process. ] (*,)

The other day I had to manually d/l & reinstall the nVidia graphics driver. Now, every time I start Ubu, The only way I can get back into the normal Ubu desktop is to select "Recovery Mode" first from the GRUB boot menu, and once the text menu appears, select "resume", which finishes the normal boot and everything is fine (including graphics driver.)

If I simply select "Ubuntu" from Grub, startup switches resolutions a few times, a brief horizontal bar of garbage, then I lose my video signal and my monitor shuts off. :confused:

In Recovery Mode, I try "fix dpkg" but it says it can't connect (I'm connected.) When I do get to the desktop, I run the "Software Updater" and it reports:

"Failed to Download Repository":
https://www120.zippyshare.com/i/0nh8wTVR/49838/Failed%20to%20dl%20repos.png
...my Internet connection is fine.

I click OK, and it proceeds to download & install my updates. I don't know which "Repository" it can't connect to in order to remove it.
And is the the updated video driver (downloaded from nvidia's own website) the reason Ubu won't start normally anymore? The system won't allow me to go back to the old method:
https://www61.zippyshare.com/i/kqd1pG7t/4045/Can%27t%20set%20Update%20to%20update%20driver.png

This is all very annoying. How do I fix this? TIA

Bashing-om
October 5th, 2018, 11:24 PM
Mugsy323' Yukkie -

Nvidia themselves advise do not do that .


Note that many Linux distributions provide their own packages of the NVIDIA Linux Graphics Driver in the distribution's native package management format. This may interact better with the rest of your distribution's framework, and you may want to use this rather than NVIDIA's official package.


so now we got to see what it takes to remove the OEM driver;
what shows:


sudo find / -name "NVIDIA-Linux-*"
dpkg -l | grep -i nvidia
lsmod | grep nvidia
dkms status


Then we want to know the card we are installing the driver for:


lspci -k|grep -iEA5 'vga|3d'

to verify the driver to be installed.



nothing but a thing ?

Mugsy323
October 6th, 2018, 03:28 AM
Nvidia themselves advise do not do that.

Live & Learn.

Thanks for the reply. :D



so now we got to see what it takes to remove the OEM driver;
what shows:


sudo find / -name "NVIDIA-Linux-*"

Here is what I get executing that first command:


find: ‘/run/user/1000/gvfs’: Permission denied
/home/mugsy/Downloads/NVIDIA-Linux-x86_64-390.87.run
find: ‘/proc/2586/task/2586/net’: Invalid argument
find: ‘/proc/2586/net’: Invalid argument

Gack! :o

Bashing-om
October 6th, 2018, 04:08 AM
Mugsy323; Well ,,

not much given to work with , working with what we have,
The run file also contains a UN-installer.


cd /home/mugsy/Downloads/
sudo NVIDIA-Linux-x86_64-390.87.run --uninstall




try'n 2 help

Mugsy323
October 6th, 2018, 02:16 PM
not much given to work with , working with what we have,

:p

Yeah, I saw that coming. I'll let you know. Thanks.

Mugsy323
October 8th, 2018, 12:46 AM
Mugsy323; Well ,,

not much given to work with , working with what we have,
The run file also contains a UN-installer.


cd /home/mugsy/Downloads/
sudo NVIDIA-Linux-x86_64-390.87.run --uninstall


Sorry for the late reply. Busy weekend. A/C out. :(

When I try the above command, I get:

sudo: NVIDIA-Linux-x86_64-390.87.run: command not found

I tried "chmod +x NVIDIA-Linux-x86_64-390.87.run" and trying again, but it made no difference. :eek:

Bashing-om
October 8th, 2018, 01:03 AM
Mugsy323; Hummm ...

"find" said:


/home/mugsy/Downloads/NVIDIA-Linux-x86_64-390.87.run

what now shows:


ls -al /home/mugsy/Downloads/NVIDIA-Linux-x86_64-390.87.run

Maybe we got to explicitly declare where the file is.
" ./Nvidiawhatever.run --uninstall" ??



maybe ?

Mugsy323
October 8th, 2018, 01:20 AM
Thx. A little searching online, I found:

sudo nvidia-uninstall

nVidia's own uninstaller did the trick. I then rebooted and reinstalled the driver "properly" using the "Software & Updates" utility (just search "driver".)

Not only did it properly install the latest driver, but Vulkan too, and booting is back to normal! Yea!

Thanks.

PS: You were probably right about needing the "./" prefix.

Bashing-om
October 8th, 2018, 01:49 AM
Mugsy323; Outstanding :)

Pleased ya got it fingered out .

If this matter is concluded to your satisfaction ->
Please mark this thread solved;
aides others seeking the solution,
helps keep the forum clean and
precludes others miss-directing efforts to aid.
https://wiki.ubuntu.com/UnansweredPostsTeam/SolvedThreads


and we have more fun else-when