UM 24.04.1 boots to black screen

As I was opening my laptop today, it booted to a black screen. This happened twice and I tried waiting for 20 minutes for no avail.

I've had this issue before in Xubuntu 24.04 too, which I've temporarily dealt by opening my one-time boot menu (BIOS works too) and selecting the Ubuntu entry. I thought of doing that, just to see if it works, and it did.

I wonder what seems to be the problem in the said instances and how can I deal with it permanently. Thank you!

Is there a cursor visible or a prompt of any kind, or is it just black?

No cursor, no prompt, just black. It gets stuck there until I force shut down my laptop.

If you have an AMD GPU, read this:

The alternative is to disable plymouth from within grub

4 Likes

Not using an AMD GPU, I'm on a Latitude 5300 (i3-8145U). I did switch to Slick Greeter for now though, given the Arctica Greeter bug. It seems to work just fine for now. Maybe I'll drop an update if something goes wrong. Thanks!

3 Likes

In order to help better, can you show the return of: sudo inxi -Fxz
It show full specs of your pc.

keiaa@Latitude-5300:~$ sudo inxi -Fxz
[sudo] password for keiaa: 
System:
  Kernel: 6.8.0-48-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
  Desktop: MATE v: 1.26.2 Distro: Ubuntu 24.04.1 LTS (Noble Numbat)
Machine:
  Type: Laptop System: Dell product: Latitude 5300 v: N/A serial: <filter>
  Mobo: Dell model: 0932VT v: A00 serial: <filter> UEFI: Dell v: 1.9.2
    date: 03/19/2020
Battery:
  ID-1: BAT0 charge: 0.4 Wh (1.3%) condition: 31.6/42.0 Wh (75.3%) volts: 2.7
    min: 11.4 model: BYD DELL 8JYHH05 status: not charging
CPU:
  Info: dual core model: Intel Core i3-8145U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check rev: C cache: L1: 128 KiB L2: 512 KiB
    L3: 4 MiB
  Speed (MHz): avg: 800 high: 801 min/max: 400/3900 cores: 1: 801 2: 800
    3: 800 4: 800 bogomips: 18399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Dell
    driver: i915 v: kernel arch: Gen-9.5 bus-ID: 00:02.0
  Device-2: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB
    bus-ID: 1-6:2
  Display: x11 server: X.Org v: 21.1.11 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms:
    active: x11,surfaceless,device inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.9-0ubuntu0.2
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (WHL
    GT2)
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Dell
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  API: ALSA v: k6.8.0-48-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: n/a (root, process)
Network:
  Device-1: Intel Ethernet I219-V vendor: Dell driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6
  IF: eno1 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Dell driver: ath10k_pci v: kernel bus-ID: 01:00.0 temp: 58.0 C
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros driver: btusb v: 0.8 type: USB bus-ID: 1-10:3
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
    lmp-v: 8
Drives:
  Local Storage: total: 119.24 GiB used: 12.96 GiB (10.9%)
  ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZNS128G NVMe KIOXIA 128GB
    size: 119.24 GiB temp: 33.9 C
Partition:
  ID-1: / size: 115.78 GiB used: 12.95 GiB (11.2%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 1.05 GiB used: 6.1 MiB (0.6%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) file: /swap.img
Sensors:
  System Temperatures: cpu: 61.0 C pch: 58.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB available: 7.58 GiB used: 3.13 GiB (41.2%) igpu: 32 MiB
  Processes: 225 Uptime: 4h 28m Init: systemd target: graphical (5)
  Packages: 1920 Compilers: gcc: 13.2.0 Shell: Sudo v: 1.9.15p5 inxi: 3.3.34
keiaa@Latitude-5300:~$ 

Since you're on Intel:
In case you encounter some flickering in your display, you might need the following line in your /etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=igfx_off"

It disables VGA passthrough for Virtual Machines and such , which is a new capability of the videodriver (but not entirely bug free yet).

3 Likes

Yes, I do encounter some flickering, kinda white-ish once in a while. If you don't mind, what does intel_iommu=igfx_off do?

It disables hardware assisted VGA virtualisation for Virtual Machines (VM)

Usually the VM gets VGA handed by the host and it will be using the VGA-driver of the host. Easy and efficient because it communicates over a socket with the Xorg-server.

VGA passthrough uses the IOMMU to let every virtual machine see the GPU directly. This is only used in very special setups but not really a good idea in other cases.

the IOMMU (Input/Output Memory Management unit) 'maps' the physical address lines of I/O-bound devices to virtual ones to support hardware assisted virtualisation.

The good part of it is that you can play FarCry 6 from within a VM.
(something nobody ever will do)

The bad part is that it might cause instabilities or result in a security issue if the driver is not 100% bugfree.

intel_iommu=igfx_off disables this hardware assisted virtualisation for the GPU.

3 Likes

Oh okay, that's understandable. I'll update Grub tonight and I'll get back tomorrow if there's anything I'd stumble upon. Thank you!