Siduction Forum

Siduction Forum => Software - Support => Topic started by: turborat on 2020/02/13, 16:27:54

Title: upgrade fails after nvidia reinstall [solved]
Post by: turborat on 2020/02/13, 16:27:54
   5.5.3-towo.1-siduction-amd64 cinnamon

 
After a sytem update/upgrade, I tried to reinstall nvidia driver and failed.
Now system boots to a blank (black) screen.  
Can someone please help me fix this?
Title: Re: upgrade fails after nvidia reinstall
Post by: dibl on 2020/02/13, 23:13:41
Kernel 5.5.3 is working correctly here, with Nvidia driver ver. 440.59.

Code: [Select]
System:    Host: dibl-patience Kernel: 5.5.3-towo.1-siduction-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.14.5
           Distro: siduction 18.3.0 Patience - kde - (201805132121)
CPU:       Quad Core: Intel Core i7-7740X type: MT MCP speed: 4499 MHz min/max: 800/4500 MHz
Graphics:  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 440.59
           Display: x11 server: X.Org 1.20.7 driver: nvidia resolution: 1920x1200~60Hz, 1920x1080~60Hz
           OpenGL: renderer: GeForce GTX 1060 6GB/PCIe/SSE2 v: 4.6.0 NVIDIA 440.59
Drives:    Local Storage: total: 2.27 TiB used: 1010.70 GiB (43.4%)
Info:      Processes: 297 Uptime: 10h 59m Memory: 31.28 GiB used: 4.02 GiB (12.9%) Shell: bash inxi: 3.0.37
Title: Re: upgrade fails after nvidia reinstall
Post by: turborat on 2020/02/13, 23:30:45
thanks dibl,
but I don't know how to go about downloading and installing nvidia driver with a black screen.
Title: Re: upgrade fails after nvidia reinstall
Post by: turborat on 2020/02/13, 23:43:38
forgot to mention, i had the nvidia 440.44 installed before update.
I could put the 440.59 on a usb thumb drive from another pc, but I wouldn't know what to do from there.
Title: Re: upgrade fails after nvidia reinstall
Post by: dibl on 2020/02/14, 01:26:00
It's the nvidia-driver package from the Debian unstable repo.  No need for USB sticks or copying files.

Ctrl-C or Alt-Del-F1 to get a prompt.  Login as root.

Code: [Select]
apt update
apt install nvidia-driver

should be all you need.
Title: Re: upgrade fails after nvidia reinstall
Post by: turborat on 2020/02/14, 02:58:30
   Thanks dibl
 Ctrl-C or Alt-Del-F1  doesn’t work; screen stays black.
 I used ‘nomodeset’ in grub>advanced>recovery and logged in as root and tried:
 apt update
 apt install nvidia-driver
 but it doesn’t work either; still boots to black screen.
Title: Re: upgrade fails after nvidia reinstall
Post by: gnasch on 2020/02/14, 12:59:07
try ctrl-alt F1
to get a text terminal.
best, gnasch
Title: Re: upgrade fails after nvidia reinstall
Post by: turborat on 2020/02/14, 14:00:07
Quote
"try ctrl-alt F1to get a text terminal.best, gnasch"




doesn't work
Title: Re: upgrade fails after nvidia reinstall
Post by: mdmarmer on 2020/02/14, 16:36:24
If you have the standard siduction grub2 boot process, you should get a screen that has 2 or more lines when your system first comes up, before the kernel boots.  From that screen, select the second line, which should say something about Advanced options.  That should give you another boot screen, and the second line there should say Recovery mode.  Select that line and boot and you should be in single user mode.  press <ENTER> and then key in your root password.  You can then do apt update ; apt install nvidia-driver.  Then exit or reboot should get you back to your normal starting screen.
Title: Re: upgrade fails after nvidia reinstall
Post by: turborat on 2020/02/14, 17:56:00
Quote
If you have the standard siduction grub2 boot process, you should get a screen that has 2 or more lines when your system first comes up, before the kernel boots.  From that screen, select the second line, which should say something about Advanced options.  That should give you another boot screen, and the second line there should say Recovery mode.  Select that line and boot and you should be in single user mode.  press <ENTER> and then key in your root password.  You can then do apt update ; apt install nvidia-driver.  Then exit or reboot should get you back to your normal starting screen.


did that; doesn't work
Title: Re: upgrade fails after nvidia reinstall
Post by: dibl on 2020/02/14, 21:42:51
From your grub menu, the "Advanced" option should offer an earlier kernel.  If the problem is really the 5.5.3 kernel, then it will boot an earlier kernel, and from there you can work to discover what is wrong (review /etc/X11/xorg.0.log for example).

If it won't boot and start X from an earlier kernel, that will prove that the problem is not the 5.5.3, it has to do with the video driver.

Also, when the grub menu appears. with the top line highlighted you can touch "e", then move the cursor down to the end of the kernel boot line and add "3", then do Ctrl-X to boot to the tty 1 login prompt.
Title: Re: upgrade fails after nvidia reinstall
Post by: turborat on 2020/02/14, 22:11:06

thanks dibl!

Quote
From your grub menu, the "Advanced" option should offer an earlier kernel.  If the problem is really the 5.5.3 kernel, then it will boot an earlier kernel,


booted into 5.4.16 and downloaded nvidia 440.59 and rebooted with 'nomodeset' and it installed on 5.5.3 and good as new!