Black screen linux что такое

Ubuntu Linux – Black screen and frozen system after upgrade and/or install

After upgrading a computer from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS or Ubuntu 18.04 LTS to Ubuntu 20.04 LTS, during boot the screen goes blank (turns black), all HD disk activity halts, and the system becomes frozen. This event can also occur on a fresh installation or when updates are installed.

This is due to a video mode issue that causes the system to halt or freeze. It’s much like the issue I described here on a Fedora Linux system.

Temporary Fix

To get the system to boot:

  1. After turning on your PC, hold the right SHIFT key to get to the GRUB bootloader if your computer uses a BIOS. If your computer uses EFI or UEFI, continuously tap the “ESC” (escape) key after turning on your PC.
  2. Once GRUB is open, press the “e” key to edit the first highlighted entry “Ubuntu”.
  3. Move your cursor down to the line that starts with “linux”, and use the right arrow key to find the section with the words “ro quiet splash”.
  4. Add “nomodeset” after these words.

Permanent Fix

To permanently resolve the issue:

  1. Once the system has booted using the temporary fix, log in.
  2. Open a terminal window (Applications -> Terminal, or press the “Start” button and type terminal).
  3. Either “su” in to root, or use “sudo” to open your favorite text editor and edit the file “/etc/default/grub” (I use nano which can be install by running “apt install nano”):
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

Please Note: Always make sure you have a full system backup before modifying any system files!

81 Responses to “Ubuntu Linux – Black screen and frozen system after upgrade and/or install”

Worked for me after upgrade to Xubuntu 19.10. The only difference is Esc key to enter grub menu. Thanks

Had this happen to me between package linux-image-5.3.0-28-generic (5.3.0-28.30~18.04.1) and linux-image-5.3.0-40-generic (5.3.0-40.32.~18.04.1). The machine is a HP laptop model 17-ca1006no with Ryzen 3 CPU. $ uname -a
Linux hp-laptop-17 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 23
model : 24
model name : AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx

$ sudo lspci -v

04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c4) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 85b3

Capabilities: [320] Latency Tolerance Reporting
Kernel modules: amdgpu

$ With the new kernel the system halts, with black screen and not responding to anything. With the older kernel, it works as it should with full HDMI resolution. With the nomodeset, the new kernel boots, but only with the 1027×768 resolution. So my solution will be to have the old kernel and see if next will fix this, and look for bug reports at Ubuntu.com

During install of16.04, the system encountered an error, supposedly from the original disk write. Ubuntu tried to send error message, no go. Tried another disk, nothing. Machine is Toshiba Satelite A15 AMD Turion.
Bios splash appears then nothing but a nonresponsive flashing cursor.
Tried Windows rescue, nothing.

After dual booting Ubuntu into system, I shutdown the system after a day and on restart, the goes into black screen. So I added nomodeset after quite splash in the grub and pressed ctrl+X, but now the system falls into PCIe bus error. What do I do? I even tried by removing quite splash and added nomod set but still it goes into PCIe bus error. There were solutions on internet to add pci=nomsi or noaer but then system goes into clearing orphaned inode . So I completely reinstalled the Ubuntu but still the same thing happens again black screen, PCIe bus error, etc.. can anybody understand my problem and give me solution to this mess? I have been trying the solutions all over the internet since a week. But this doesn’t seem to get resolved. Please help!

This happened to me after upgrading from Ubuntu 18.04 LTS to 20.04 LTS. I’m now able to at least boot into the operating system. Thanks.

I tried with adding nomodeset and removed quiet and splash. But after pressing F10, system not booting
please help

Hi anjana, It sounds like your issue is different from the issue in the blog post. I’d recommend troubleshooting the issue to attempt to find out what’s going on so that you can try to find a solution once the issue is identified.

Ubuntu 20.04 fresh install black screen and upgrade black screen your article helps get my computer back up. I have a GeForce GTX 550 TI from the video and that seemed to be the problem but how do I get my graphics back or do I wait. At least I’m inside everything’s fine, but my graphics suck should I upgrade to the driver 4:40 or just leave it alone? Thanks a bunch.

Thanks a lot.
I’ve not performed both sequences, only the temporary fix.
That’s because I’ve knowed that the NVIDIA grafic is the reason for the black screen after login, I’ve installed the propriete driver from NVIDIA after the successful login.
After installation and rebooting the system (then without the modification “nomodeset”), after the login, the desktop has appeared as it shall.
Since it isn’t described 100 %: Before and after “nomodeset” there shall be a blank or rather space to the other words (no idea if it’s really required, but initially I was unsure if or if not). For your information:
My support request with Dell has gone over weeks. I’ve asked if there are special drivers necessary. Also I’ve asked for a Dell specific image for installation, but for both I’ve got a “NO”.
With help of a forum I found out that NVIDIA is the reason. And once again I’ve asked the Dell support how to solve this. After many “Try this link”, “do that”, they’ve sent me the link to your instructions. Seams that they are not able to generate such a description, or rather to solve this problem in total with Canonical or NVIDIA, for all the other users which are having this problem.
Well done – thanks.

Источник

Troubleshooting/Black Screen

Please keep in mind that this page is just an experiment to collect the working solutions to common problems from hundreds of forum posts to a wiki-like troubleshooting page. It assumes you are running KDE Neon or another Debian based distribution. It needs to be checked by experienced users.

If you have a GPU and can’t see the login screen

If the loading screen freezes during boot, try adding the nomodeset parameter to GRUB

The newest kernels have moved the video mode setting into the kernel. This makes it possible to have high resolution nice looking splash (boot) screens and flicker free transitions from boot splash to login screen. Unfortunately, on some video cards this doesn’t work properly and you end up with a black screen. Adding the nomodeset parameter instructs the kernel to not load video drivers and use BIOS modes instead until X is loaded.

To edit Grub2 during the boot process try the following:

  1. Immediately after the BIOS splash screen during boot, press and hold the SHIFT button. This will display you grub containing a list of kernels and recovery options
  2. Press e to edit the first kernel displayed
  3. Find the line ending with quiet splash. Add your boot option before these key words — i.e. so the line looks like [. ]nomodeset quiet splash
  4. Press CTRL+ X to boot

If you have an Nvidia RTX 30 series GPU you need to add nomodeset AND nouveau.nomodeset=1 to the boot parameters. While in the grub menu, hit E and then in the line with the boot options, add both of those, and also make sure any i915, amdgpu, or radeon modeset options are also disabled (if it says radeon.nomodeset=0, change it to 1, for example). The 30 series has no support in Nouveau yet, so obviously it’s not going to work. — u/gatrdotd426

Update/reinstall GPU drivers

Press ctrl+alt+f2 to go to the terminal and log in. You can install the recommended drivers for your GPU with:

sudo ubuntu-drivers autoinstall

You can install the driver version you prefer with:

sudo apt install nvidia-driver-440

If the installation is successful reboot with:

If you can see the cursor or the login screen

Has something crashed when you turned off your PC?

Have you recently updated? Blumen wrote on Reddit: If you can see your cursor, but there is no wallpaper and panel, this means the process plasmashell crashed. Try running:

systemctl --user restart plasma-plasmashell.service
Do you have offline updates turned off?

Then it’s possible you didn’t let discover finish installing updates so you have now broken packages. When you get to the black screen hit ctrl+alt+f1 and log in into terminal with your username and password. It would be good if you can connect your pc to the internet.

In terminal run these commands:

If the system freezes in command-line mode too: emvaized wrote: Situation: The latest update included updated Nvidia drivers. System boots up with nomodeset flag, but completely freezes in 4 or 5 seconds, even the cursor. The same happens when I try to boot in recovery mode or the command-line mode.

A solution to fix broken packages: 1. Boot system from Live USB 2. Get to the current installation terminal from live usb system’s terminal — as described here, by opening terminal from current installation drive in Dolphin and performing these commands (‘sda1’ was actually ‘sda2’ in this case, due to dual-boot with W10):

sudo mount /dev/sda1 /mnt sudo mount --bind /dev /mnt/dev sudo mount --bind /proc /mnt/proc sudo mount --bind /sys /mnt/sys sudo chroot /mnt

3. Run the following command from here to get full list of all packages that were installed in latest 72 hours (more out of curiosity):

find /var/lib/dpkg/info/ -name \*.list -mtime -3 | sed 's#.list$##;s#.*/##'

4.Update all installed packages (then reboot back to system to check) with:

sudo apt update sudo apt full-upgrade

5. If the issue isn’t resolved run:

sudo ubuntu-drivers autoinstall

this command finds broken packages and version mismatches between Nvidia libraries, and automatically fixed them.

Do you have python modules installed?

You can try fixing update errors with already existing python modules: remove the old version from the system installation with

sudo pip uninstall python-

Have you installed kernel updates lately?

You can try booting with a different kernel from the GRUB menu (Advanced options for GNU/Linux).

If you can’t see your mouse:

You can try hitting ctrl+alt+f2 to a terminal then running:

It’s possible that your home directory is so full it stops the GUI from loading. You can try booting from a live-USB and cleaning up some space. If you can’t boot from a live-USB it’s likely you have a hardware problem with your PC.

Эта страница в последний раз была отредактирована 31 августа 2022 в 00:22. Содержание доступно по лицензии Creative Commons License SA 4.0 (если не указано иное).

Visit the KDE MetaStore

Show your love for KDE! Purchase books, mugs, apparel, and more to support KDE.

Источник

Читайте также:  Bios update linux dell
Оцените статью
Adblock
detector