Linux Mint 19 Black Screen After Installing Nvidia Driver
<SOLVED>Black screen after nvidia install.
Forum rules
Before you post please read this
- danield
- Level 2
- Posts: 71
- Joined: Sun Sep 30, 2018 4:23 pm
<SOLVED>Black screen after nvidia install.
I am able to install Mint 20.1 using the nomodeset command initially.
I then install the NVIDIA driver through the "driver manager" but after it says "restart to apply changes", I just get a blank screen. This is with and without the nomodeset.
System:
Kernel: 5.4.0-48-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 4.6.7 Distro: Linux Mint 20 Ulyana
base: Ubuntu 20.04 focal
Machine:
Type: Laptop System: HP product: OMEN by HP Laptop 15-dc1xxx v: N/A
serial: <filter>
Mobo: HP model: 8574 v: 21.15 serial: <filter> UEFI: AMI v: F.16
date: 03/23/2020
Battery:
ID-1: BAT0 charge: 66.5 Wh condition: 66.5/66.5 Wh (100%)
model: HP Primary status: Full
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M315/M235
charge: 55% (should be ignored) status: Discharging
CPU:
Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP
arch: Kaby Lake rev: D L2 cache: 12.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 62399
Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 801
3: 800 4: 800 5: 800 6: 800 7: 801 8: 800 9: 800 10: 800 11: 800 12: 801
Graphics:
Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile]
vendor: Hewlett-Packard driver: nvidia v: 450.66 bus ID: 01:00.0
Display: x11 server: X.Org 1.20.8 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~144Hz
OpenGL: renderer: GeForce GTX 1660 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 450.66
direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Device-2: NVIDIA TU116 High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k5.4.0-48-generic
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus ID: 3c:00.0
IF: eno1 state: down mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 3000
bus ID: 3d:00.0
IF: wlo1 state: up mac: <filter>
Drives:
Local Storage: total: 7.74 TiB used: 246.53 GiB (3.1%)
ID-1: /dev/nvme0n1 vendor: SK Hynix model: PC601 HFS512GD9TNG-L2A0A
size: 476.94 GiB
ID-2: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB
ID-3: /dev/sdb type: USB vendor: Seagate model: Expansion size: 1.82 TiB
ID-4: /dev/sdc type: USB vendor: Seagate model: BUP BK size: 4.55 TiB
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
v: 3.0 bus ID: 00:17.0
Partition:
ID-1: / size: 467.96 GiB used: 17.57 GiB (3.8%) fs: ext4
dev: /dev/nvme0n1p2
Sensors:
System Temperatures: cpu: 48.0 C mobo: N/A gpu: nvidia temp: 46 C
Fan Speeds (RPM): N/A
Info:
Processes: 310 Uptime: 6m Memory: 15.51 GiB used: 1.79 GiB (11.6%)
Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17
inxi: 3.0.38
This was when I managed to install 20 a while back, but even if I install 20, I get the same issue now for some reason
Last edited by danield on Tue Jun 15, 2021 1:43 pm, edited 1 time in total.
-
- Level 14
- Posts: 5322
- Joined: Sun Feb 24, 2013 2:41 pm
Re: Black screen after nvidia install.
Post by roblm »
EDITED: 6-25-21
I suggest not reading the posts in this topic because I made some errors in my posts. Go to my last post to read the solution.
When you get the blank screen, press Ctrl+Alt+F1 to enter virtual console tty1. Use these commands and post the output: ls /lib/modprobe.d/
and mokutil --sb-state
If you can't enter tty1, then select Advanced options > Recovery Mode at the GRUB boot menu. If no menu shows, then hold down the Shift key while starting. In the menu, select "root - drop to root shell prompt
" and press ENTER. Press ENTER again. Use the same command above for tty1.
Last edited by roblm on Tue Jun 15, 2021 11:36 am, edited 1 time in total.
- danield
- Level 2
- Posts: 71
- Joined: Sun Sep 30, 2018 4:23 pm
Re: Black screen after nvidia install.
Post by danield »
I am about to that as I type this.
If I install the driver through the terminal, towards the end of the install it says this:
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.4.0-65-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-65-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-65-generic
Found initrd image: /boot/initrd.img-5.4.0-65-generic
Found linux image: /boot/vmlinuz-5.4.0-58-generic
Found initrd image: /boot/initrd.img-5.4.0-58-generic
Adding boot menu entry for UEFI Firmware Settings
done
E: Could not configure 'libc6:i386'.
E: Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
- danield
- Level 2
- Posts: 71
- Joined: Sun Sep 30, 2018 4:23 pm
Re: Black screen after nvidia install.
Post by danield »
I wasn't able to get into the virtual console tty1
If I went into recovery mode i just got the same screen
Holding down shift didn't make any difference either
-
- Level 14
- Posts: 5322
- Joined: Sun Feb 24, 2013 2:41 pm
Re: Black screen after nvidia install.
Post by roblm »
danield post wrote: If I went into recovery mode i just got the same screen
I don't understand what you mean. Are you able to see the the grub boot menu and then select Recovery Mode?
If not, then press and hold the Shift or Esc key at startup or as the BIOS info is loading or right after. Or press the Esc key once after the BIOS info is displayed.
-
- Level 14
- Posts: 5322
- Joined: Sun Feb 24, 2013 2:41 pm
Re: Black screen after nvidia install.
Post by roblm »
After selecting Recovery Mode, you should see a menu and one of the options is:
root - drop to root shell prompt
. After selecting that, press Enter. Then press Enter again.
Then use these commands and copy the output: ls /lib/modprobe.d/
and mokutil --sb-state
-
- Level 14
- Posts: 5322
- Joined: Sun Feb 24, 2013 2:41 pm
Re: Black screen after nvidia install.
Post by roblm »
Do you see the GNU GRUB boot menu? If not, then keep tapping the Shift key rapidly during startup. Then select Advanced options for Linux Mint 20.1 and then Recovery Mode.
- bommelkopp
- Level 1
- Posts: 6
- Joined: Wed Dec 03, 2014 5:03 am
Re: Black screen after nvidia install.
Post by bommelkopp »
Sorry for climbing this thread...
Same problem here, not only with mint 19.3, but also with older versions, and also Lubuntu attempts.
ls /lib/modprobe.d shows aliases.conf, systemd.conf, fbdev-blacklist.conf, and blacklist-linux-hwe-5.0.0-32-generic.conf.
mokutils --sb-state says "EFI variables are not supported on this system"
lsmod shows nouveau is loaded.
Live-Stick runs perfectly...
- danield
- Level 2
- Posts: 71
- Joined: Sun Sep 30, 2018 4:23 pm
Re: Black screen after nvidia install.
Post by danield »
Sorry for the delayed response
The first command outputs
Code: Select all
aliases.conf nvidia-graphics-drivers.conf blacklist_linux_5.4.0-58-generic.conf systemd.conf fbdev-blacklist.conf
The second command outputs
SecureBoot disabled
I was only able to get past the black screen in recovery mode by spamming escape a few times after entering recovery mode
-
- Level 14
- Posts: 5322
- Joined: Sun Feb 24, 2013 2:41 pm
Re: Black screen after nvidia install.
Post by roblm »
Enter Recovery mode. In the menu, select network - Enable networking
. Then select
root - drop to root shell prompt
and press ENTER. Press ENTER again.
Use these commands to upload some more info:
Code: Select all
nvidia-bug-report.sh gunzip nvidia-bug-report.log.gz && cat nvidia-bug-report.log | nc termbin.com 9999
Copy the url address and post it.
Use this command: dpkg -l | grep nvidia | nc termbin.com 9999
Copy the url address and post it.
- danield
- Level 2
- Posts: 71
- Joined: Sun Sep 30, 2018 4:23 pm
-
- Level 14
- Posts: 5322
- Joined: Sun Feb 24, 2013 2:41 pm
Re: Black screen after nvidia install.
Post by roblm »
You did not post the url address after using these two commands to create and upload the bug report:
Code: Select all
nvidia-bug-report.sh gunzip nvidia-bug-report.log.gz && cat nvidia-bug-report.log | nc termbin.com 9999
- danield
- Level 2
- Posts: 71
- Joined: Sun Sep 30, 2018 4:23 pm
Re: Black screen after nvidia install.
Post by danield »
I did, this is the output
Code: Select all
ii libnvidia-cfg1-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library ii libnvidia-common-460 460.39-0ubuntu0.20.04.1 all Shared files used by the NVIDIA libraries ii libnvidia-compute-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package ii libnvidia-compute-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA libcompute package ii libnvidia-decode-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA Video Decoding runtime libraries ii libnvidia-decode-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA Video Decoding runtime libraries ii libnvidia-encode-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVENC Video Encoding runtime library ii libnvidia-encode-460:i386 460.39-0ubuntu0.20.04.1 i386 NVENC Video Encoding runtime library ii libnvidia-extra-460:amd64 460.39-0ubuntu0.20.04.1 amd64 Extra libraries for the NVIDIA driver ii libnvidia-fbc1-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library ii libnvidia-fbc1-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library ii libnvidia-gl-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD ii libnvidia-gl-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD ii libnvidia-ifr1-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library ii libnvidia-ifr1-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library ii nvidia-compute-utils-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities ii nvidia-dkms-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package ii nvidia-driver-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA driver metapackage ii nvidia-kernel-common-460 460.39-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module ii nvidia-kernel-source-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA kernel source package ii nvidia-prime 0.8.15.3~0.20.04.1 all Tools to enable NVIDIA's Prime ii nvidia-prime-applet 1.2.6 all An applet for NVIDIA Prime ii nvidia-settings 440.82-0ubuntu0.20.04.1 amd64 Tool for configuring the NVIDIA graphics driver ii nvidia-utils-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA driver support binaries ii screen-resolution-extra 0.18build1 all Extension for the nvidia-settings control panel ii xserver-xorg-video-nvidia-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA binary Xorg driver
-
- Level 14
- Posts: 5322
- Joined: Sun Feb 24, 2013 2:41 pm
Re: Black screen after nvidia install.
Post by roblm »
danield wrote: I did, this is the output
Code: Select all
ii libnvidia-cfg1-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library ii libnvidia-common-460 460.39-0ubuntu0.20.04.1 all Shared files used by the NVIDIA libraries ii libnvidia-compute-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package ii libnvidia-compute-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA libcompute package ii libnvidia-decode-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA Video Decoding runtime libraries ii libnvidia-decode-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA Video Decoding runtime libraries ii libnvidia-encode-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVENC Video Encoding runtime library ii libnvidia-encode-460:i386 460.39-0ubuntu0.20.04.1 i386 NVENC Video Encoding runtime library ii libnvidia-extra-460:amd64 460.39-0ubuntu0.20.04.1 amd64 Extra libraries for the NVIDIA driver ii libnvidia-fbc1-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library ii libnvidia-fbc1-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library ii libnvidia-gl-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD ii libnvidia-gl-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD ii libnvidia-ifr1-460:amd64 460.39-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library ii libnvidia-ifr1-460:i386 460.39-0ubuntu0.20.04.1 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library ii nvidia-compute-utils-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities ii nvidia-dkms-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package ii nvidia-driver-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA driver metapackage ii nvidia-kernel-common-460 460.39-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module ii nvidia-kernel-source-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA kernel source package ii nvidia-prime 0.8.15.3~0.20.04.1 all Tools to enable NVIDIA's Prime ii nvidia-prime-applet 1.2.6 all An applet for NVIDIA Prime ii nvidia-settings 440.82-0ubuntu0.20.04.1 amd64 Tool for configuring the NVIDIA graphics driver ii nvidia-utils-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA driver support binaries ii screen-resolution-extra 0.18build1 all Extension for the nvidia-settings control panel ii xserver-xorg-video-nvidia-460 460.39-0ubuntu0.20.04.1 amd64 NVIDIA binary Xorg driver
That info was already uploaded to termbin.com when you used this command in Recovery mode:
Code: Select all
dpkg -l | grep nvidia | nc termbin.com 9999
Enter Recovery mode again and use these two commands. You will have to wait a short time after using the first command, for the bug report to be created:
Code: Select all
nvidia-bug-report.sh gunzip nvidia-bug-report.log.gz && cat nvidia-bug-report.log | nc termbin.com 9999
Then there will be another url address displayed. Copy it and post it.
-
- Level 14
- Posts: 5322
- Joined: Sun Feb 24, 2013 2:41 pm
Re: Black screen after nvidia install.
Post by roblm »
Go into Recovery mode. Be sure to Enable Networking in the menu. Use this command: ls
Do you see this file listed: nvidia-bug-report.log.gz
If you don't, then use this command: nvidia-bug-report.sh
Then use this command: gunzip nvidia-bug-report.log.gz && cat nvidia-bug-report.log | nc termbin.com 9999
You should see a url address. Copy it and post it.
If the file nvidia-bug-report.log.gz
already exists, then only use this command:
gunzip nvidia-bug-report.log.gz && cat nvidia-bug-report.log | nc termbin.com 9999
- danield
- Level 2
- Posts: 71
- Joined: Sun Sep 30, 2018 4:23 pm
Re: Black screen after nvidia install.
Post by danield »
I think something may be going wrong somewhere.
What am I meant to see in the recovery mode, all I am getting is my usual interface (as I would if everything is working normally, networking is already on), but to get this I get a blank screen which I can only get past by pressing a few different keys.
I have noticed if I tried the installation and set up auto login, I can hear the usual signing in noise but again the screen is black.
Linux Mint 19 Black Screen After Installing Nvidia Driver
Source: https://forums.linuxmint.com/viewtopic.php?t=342929
0 Response to "Linux Mint 19 Black Screen After Installing Nvidia Driver"
Post a Comment