Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  upgrade fails after nvidia reinstall [solved]  (Read 2842 times)

Offline turborat

  • User
  • Posts: 32
upgrade fails after nvidia reinstall [solved]
« 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?
« Last Edit: 2020/02/14, 22:13:38 by turborat »

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: upgrade fails after nvidia reinstall
« Reply #1 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
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline turborat

  • User
  • Posts: 32
Re: upgrade fails after nvidia reinstall
« Reply #2 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.

Offline turborat

  • User
  • Posts: 32
Re: upgrade fails after nvidia reinstall
« Reply #3 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.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: upgrade fails after nvidia reinstall
« Reply #4 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.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline turborat

  • User
  • Posts: 32
Re: upgrade fails after nvidia reinstall
« Reply #5 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.

Offline gnasch

  • User
  • Posts: 63
Re: upgrade fails after nvidia reinstall
« Reply #6 on: 2020/02/14, 12:59:07 »
try ctrl-alt F1
to get a text terminal.
best, gnasch

Offline turborat

  • User
  • Posts: 32
Re: upgrade fails after nvidia reinstall
« Reply #7 on: 2020/02/14, 14:00:07 »
Quote
"try ctrl-alt F1to get a text terminal.best, gnasch"




doesn't work

Offline mdmarmer

  • User
  • Posts: 55
Re: upgrade fails after nvidia reinstall
« Reply #8 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.

Offline turborat

  • User
  • Posts: 32
Re: upgrade fails after nvidia reinstall
« Reply #9 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

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: upgrade fails after nvidia reinstall
« Reply #10 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.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline turborat

  • User
  • Posts: 32
Re: upgrade fails after nvidia reinstall
« Reply #11 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!