Blank/black screen after Kernel Update

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
peter998
Level 1
Level 1
Posts: 14
Joined: Sun Aug 11, 2013 6:49 am

Blank/black screen after Kernel Update

Post by peter998 »

Hello everyone,

I have the following problem:
After each kernel update (I suppose it is the kernel update, but I have no evidence for that) my laptop starts up with grub. After choosing Linux Mint, I end up with a black screen (I have waited for a long while, but nothing is happening). The laptop is running, however, I have no chance to access anything, using Ctrl+Alt+F2 I cannot change to a command line.

Therefore I shut down the machine hard by pressing the power button for a few seconds. Starting the machine afterwards, the machine boots up normally - however, I can see that the linux mint logo is not a normal resolution but with a default/lower resolution.

I am currently using the 5.4 kernel:
Screenshot from 2021-05-16 10-12-08.png
Is there anything I can see/do? How do I check what is causing this issue? Could you see such a problem in any log file?

Thanks,
Peter


Code: Select all

System:    Host: peter-XPS-L701X Kernel: 5.4.0-73-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 
           Desktop: Cinnamon 4.4.8 wm: muffin dm: LightDM Distro: Linux Mint 19.3 Tricia 
           base: Ubuntu 18.04 bionic 
Machine:   Type: Portable System: Dell product: XPS L701X v: A06 serial: <filter> 
           Mobo: Dell model: N/A v: A06 serial: <filter> BIOS: Dell v: A06 date: 11/29/2010 
Battery:   ID-1: BAT0 charge: 0.1 Wh condition: 0.1/6.6 Wh (1%) volts: 12.5/11.1 
           model: PANASONIC Dell serial: <filter> status: Full 
           Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M325 serial: <filter> 
           charge: 55% status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i7 Q 740 bits: 64 type: MT MCP arch: Nehalem 
           rev: 5 L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 27662 
           Speed: 1300 MHz min/max: 933/1734 MHz Core speeds (MHz): 1: 1016 2: 1212 3: 1095 4: 990 
           5: 965 6: 973 7: 963 8: 1025 
Graphics:  Device-1: NVIDIA GF106M [GeForce GT 445M] vendor: Dell driver: nvidia v: 390.143 
           bus ID: 02:00.0 chip ID: 10de:0dd2 
           Display: x11 server: X.Org 1.20.8 driver: nvidia 
           unloaded: fbdev,modesetting,nouveau,vesa resolution: 1600x900~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: GeForce GT 445M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.143 direct render: Yes 
Audio:     Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:3b56 
           Device-2: NVIDIA GF106 High Definition Audio vendor: Dell driver: snd_hda_intel 
           v: kernel bus ID: 02:00.1 chip ID: 10de:0be9 
           Sound Server: ALSA v: k5.4.0-73-generic 
Network:   Device-1: Intel Centrino Wireless-N 1000 [Condor Peak] driver: iwlwifi v: kernel 
           port: 2000 bus ID: 04:00.0 chip ID: 8086:0083 
           IF: wlp4s0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell 
           driver: r8169 v: kernel port: 6000 bus ID: 0a:00.0 chip ID: 10ec:8168 
           IF: enp10s0 state: down mac: <filter> 
Drives:    Local Storage: total: 829.06 GiB used: 88.66 GiB (10.7%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 840 EVO 250GB size: 232.89 GiB 
           speed: 3.0 Gb/s serial: <filter> 
           ID-2: /dev/sdb vendor: Samsung model: HM640JJ size: 596.17 GiB speed: 3.0 Gb/s 
           serial: <filter> 
Partition: ID-1: / size: 133.57 GiB used: 88.66 GiB (66.4%) fs: ext4 dev: /dev/sda5 
Sensors:   System Temperatures: cpu: 63.0 C mobo: N/A gpu: nvidia temp: 62 C 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
           1: deb https: //repo.vivaldi.com/archive/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/libreoffice-ppa-bionic.list 
           1: deb http: //ppa.launchpad.net/libreoffice/ppa/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/nextcloud-devs-client-bionic.list 
           1: deb http: //ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //mirror.bauhuette.fh-aachen.de/linuxmint tricia main upstream import backport
           2: deb http: //archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ bionic partner
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb https: //linux.teamviewer.com/deb stable main
           Active apt repos in: /etc/apt/sources.list.d/ubuntuhandbook1-darktable-bionic.list 
           1: deb http: //ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu bionic main
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb http: //repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 256 Uptime: 20m Memory: 7.71 GiB used: 1.77 GiB (23.0%) Init: systemd v: 237 
           runlevel: 5 Compilers: gcc: 7.5.0 alt: 7 Client: Unknown python3.6 client inxi: 3.0.32 
User avatar
spamegg
Level 6
Level 6
Posts: 1139
Joined: Mon Oct 28, 2019 2:34 am

Re: Blank/black screen after Kernel Update

Post by spamegg »

Code: Select all

BIOS: Dell v: A06 date: 11/29/2010 
I think you might be better off using the 4.15 series kernels. That's the default on Mint 19 (Ubuntu 18 LTS) series isn't it? Was there a particular reason you switched to 5.4, or did Mint do that for you?
peter998
Level 1
Level 1
Posts: 14
Joined: Sun Aug 11, 2013 6:49 am

Re: Blank/black screen after Kernel Update

Post by peter998 »

Thank you for your suggestion.

It is quite a while so I cannot remember exactly the reason (sorry :cry:), but I am quite sure, that I manually switched to the 5.4 kernel. To be honest, I currently do not know, what led me to the decision, but I think I had issues, that the machine was not more rebooting at all, after updating the kernel. I needed to reboot with an older kernel version.

I will see if there are more suggestions, but otherwise I could give the 4.15 one more try :wink:

Just out of curiosity: What is the reason, why 4.15 might fit better? Does it support better old machines like mine?
User avatar
spamegg
Level 6
Level 6
Posts: 1139
Joined: Mon Oct 28, 2019 2:34 am

Re: Blank/black screen after Kernel Update

Post by spamegg »

Yes, it's an older kernel and it works better for older hardware.
peter998
Level 1
Level 1
Posts: 14
Joined: Sun Aug 11, 2013 6:49 am

Re: Blank/black screen after Kernel Update

Post by peter998 »

Ok, thanks.

Is there a way, I can debug the issue or find out at least, where in the boot process the machine is hanging or stuck at?
User avatar
spamegg
Level 6
Level 6
Posts: 1139
Joined: Mon Oct 28, 2019 2:34 am

Re: Blank/black screen after Kernel Update

Post by spamegg »

You can try looking at

Code: Select all

dmesg
cat /var/log/boot.log
cat /var/log/kern.log
although the way you're describing the issue, it probably will not show up there.
User avatar
SMG
Level 15
Level 15
Posts: 5583
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Blank/black screen after Kernel Update

Post by SMG »

peter998 wrote:
Sun May 16, 2021 4:19 am
After each kernel update (I suppose it is the kernel update, but I have no evidence for that) my laptop starts up with grub. After choosing Linux Mint, I end up with a black screen (I have waited for a long while, but nothing is happening). The laptop is running, however, I have no chance to access anything, using Ctrl+Alt+F2 I cannot change to a command line.

Therefore I shut down the machine hard by pressing the power button for a few seconds. Starting the machine afterwards, the machine boots up normally - however, I can see that the linux mint logo is not a normal resolution but with a default/lower resolution.
...
Is there anything I can see/do? How do I check what is causing this issue? Could you see such a problem in any log file?
This sounds like it might be an issue relate to the Nvidia driver and the dkms which rebuilds the files after each new kernel is installed. The dkms rebuild should happen automatically, but given the age of your computer/processor, it just may not be happening as fast as needed.

If that is the issue, it may show up in journalctl for the boot cycle that ends in a black screen.

You could try seeing if loading the Nvidia modules sooner might help. One way of doing that is explained in this post.
A woman typing on a laptop with LM20.1 Cinnamon.
peter998
Level 1
Level 1
Posts: 14
Joined: Sun Aug 11, 2013 6:49 am

Re: Blank/black screen after Kernel Update

Post by peter998 »

Ok, thanks a lot. I will try things out, when the next update is available. :D
Post Reply