Restarting to a black screen

Ubuntu Version:
25.10

Desktop Environment (if applicable):
GNOME

Problem Description:

Upon trying to restart my computer, I usually just wind up with a black screen.

Relevant System Information:

I’m using an AMD graphics card and processor.

Kernel version is 6.17.0-1006-realtime.

What I’ve Tried:
Force shut down and powering back on usually works after a few tries.

I tried booting in recovery mode and trying to check for broken packages, but nothing came of it.

Have you tried booting an older kernel?

Does the problem persist?

Please post the output of this command wrapped with code tags:

inxi -Fzxxx

The output of inxi -Fzxxx is:

System:
  Kernel: 6.17.0-1006-realtime arch: x86_64 bits: 64 compiler: gcc v: 15.2.0
    clocksource: tsc
  Desktop: GNOME v: 49.0 tk: GTK v: 3.24.50 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM3 v: 49.0.1 Distro: Ubuntu 25.10
    (Questing Quokka)
Machine:
  Type: Laptop System: Framework product: Laptop 13 (AMD Ryzen 7040Series)
    v: A5 serial: <superuser required>
  Mobo: Framework model: FRANMDCP05 v: A5 serial: <superuser required>
    part-nu: FRANDRCP05 uuid: <superuser required> UEFI: INSYDE v: 03.18
    date: 01/08/2026
Battery:
  ID-1: BAT1 charge: 57.6 Wh (98.4%) condition: 58.5/60.6 Wh (96.5%)
    volts: 16.95 min: 15.48 model: NVT FRANGWA type: Li-ion serial: <filter>
    charging: status: discharging cycles: 42
  Device-1: hidpp_battery_0 model: Logitech M720 Triathlon Multi-Device
    Mouse serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: 6-core model: AMD Ryzen 5 7640U w/ Radeon 760M Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 4 rev: 1 cache: L1: 384 KiB L2: 6 MiB
    L3: 16 MiB
  Speed (MHz): avg: 2942 min/max: 406/4972 boost: enabled cores: 1: 2942
    2: 2942 3: 2942 4: 2942 5: 2942 6: 2942 7: 2942 8: 2942 9: 2942 10: 2942
    11: 2942 12: 2942 bogomips: 83839
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a
    ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Phoenix1 vendor: Framework
    driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports:
    active: DP-3,eDP-1 empty: DP-1, DP-2, DP-4, DP-5, DP-6, DP-7, DP-8,
    Writeback-1 bus-ID: c1:00.0 chip-ID: 1002:15bf class-ID: 0300 temp: 50.0 C
  Device-2: Framework Laptop Webcam Module (2nd Gen) driver: uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-1:2 chip-ID: 32ac:001c
    class-ID: fe01 serial: <filter>
  Display: wayland server: Xwayland v: 24.1.6 compositor: gnome-shell
    driver: gpu: amdgpu display-ID: 0
  Monitor-1: DP-3 model: LG (GoldStar) FULL HD res: 1920x1080 dpi: 102
    size: 480x270mm (18.9x10.63") diag: 551mm (21.7") modes: max: 1920x1080
    min: 720x400
  Monitor-2: eDP-1 model: BOE Display NE135A1M-NY1 res: 2880x1920 dpi: 257
    size: 285x190mm (11.22x7.48") diag: 343mm (13.5") modes: max: 2880x1920
    min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa
    v: 25.2.8-0ubuntu0.25.10.1 glx-v: 1.4 direct-render: yes renderer: AMD
    Radeon 760M Graphics (radeonsi phoenix LLVM 20.1.8 DRM 3.64
    6.17.0-1006-realtime) device-ID: 1002:15bf display-ID: :0.0
  API: Vulkan v: 1.4.321 layers: 10 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu hw: amd driver: mesa radv device-ID: 1002:15bf
    device: 1 type: cpu driver: mesa llvmpipe device-ID: 10005:0000
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo de: kscreen-doctor
    wl: wlr-randr x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Radeon High Definition Audio
    [Rembrandt/Strix] vendor: Framework driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: c1:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Audio Coprocessor vendor: Framework
    driver: snd_pci_ps v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: c1:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Framework driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: c1:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Logitech Yeti Nano driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-2.1.4:11
    chip-ID: 046d:0acf class-ID: 0300 serial: <filter>
  API: ALSA v: k6.17.0-1006-realtime status: kernel-api
  Server-1: PipeWire v: 1.4.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 01:00.0
    chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 bus-ID: 1-5:3 chip-ID: 0e8d:e616 class-ID: e001
    serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 sub-v: 2505 hci-v: 11 rev: 2310 class-ID: 6c010c
Drives:
  Local Storage: total: 3.75 TiB used: 756.96 GiB (19.7%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN770 2TB
    size: 1.82 TiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 731130WD temp: 40.9 C scheme: GPT
  ID-2: /dev/sda vendor: SanDisk model: USB 3.2Gen1 size: 114.6 GiB
    type: USB rev: 2.1 spd: 480 Mb/s lanes: 1 tech: N/A serial: <filter>
    fw-rev: 1.00 scheme: MBR
  ID-3: /dev/sdb vendor: Seagate model: Portable size: 1.82 TiB type: USB
    rev: 2.1 spd: 480 Mb/s lanes: 1 tech: N/A serial: <filter> fw-rev: 0712
    scheme: MBR
Partition:
  ID-1: / size: 1.79 TiB used: 489.05 GiB (26.7%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 1.05 GiB used: 6.3 MiB (0.6%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 16 GiB used: 0 KiB (0.0%) priority: -2
    file: /swap.img
Sensors:
  System Temperatures: cpu: 58.4 C mobo: 45.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 14.43 GiB used: 3.07 GiB (21.3%)
  Processes: 529 Power: uptime: 1m states: freeze,mem suspend: s2idle
    wakeups: 0 hibernate: disabled Init: systemd v: 257 default: graphical
  Packages: 3118 pm: dpkg pkgs: 3045 pm: flatpak pkgs: 38 pm: snap pkgs: 35
    Compilers: clang: 20.1.8 alt: 18 gcc: 15.2.0 alt: 13/14 Shell: Bash
    v: 5.2.37 running-in: ptyxis-agent inxi: 3.3.39

I’ll give booting an older kernel a try in a bit and let you know how it goes.

Followed the instructions here:

https://askubuntu.com/questions/100232/how-do-i-change-the-grub-boot-order/110738#110738

And tried to get my computer to boot using Ubuntu with Linux 6.17.0-14-generic. However, when I restarted I got a Kernel Panic with the message ‘attempted to kill the idle task’ and when I tried to power the computer off and back on again, I get stuck in this menu:

Attempting to “Continue” or turn the computer off and on again just brings me back to this screen. I also can’t figure out how to get to GRUB, either (hitting shift and escape when the logo appears doesn’t seem to work). How do I get out of it and return to desktop?

UPDATE: Managed to get out of that screen by booting into my Ubuntu install media and chrooting to get grub back to its old value. The contents of /etc/default/grub look like this for now:

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`( . /etc/os-release && echo ${NAME} )`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Are you aware that the realtime kernel flavor is optimized for industrial/robotics/medical-device/automotive use-cases ? It really is not anything you want to use on desktop installs …

Does your issue happen if you use a normal preemptive desktop kernel ?

1 Like

Tried to install a newer generic kernel through Mainline, but keep running into errors like this:

 Autoinstall of module hid-xpadneo/v0.9-222-gcd25680 for kernel 6.19.0-061900-generic (x86_64)Building module(s)…(bad exit status: 2)Failed command:make -j12 KERNELRELEASE=6.19.0-061900-generic -C ‘/lib/modules/6.19.0-061900-generic/build’ M=‘/var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/src’ VERSION=‘v0.9-222-gcd25680’ modulesERROR (dkms apport): binary package for hid-xpadneo: v0.9-222-gcd25680 not found
Error! Bad return status for module build on kernel: 6.19.0-061900-generic (x86_64)Consult /var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/make.log for more information.

The make.log file output this:

DKMS (dkms-3.2.0) make.log for hid-xpadneo/v0.9-222-gcd25680 for kernel 6.19.0-061900-generic (x86_64)
Tue Mar  3 12:43:05 CST 2026

Building module(s)
# command: make -j12 KERNELRELEASE=6.19.0-061900-generic -C '/lib/modules/6.19.0-061900-generic/build' M='/var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/src' VERSION='v0.9-222-gcd25680' modules
make: Entering directory '/usr/src/linux-headers-6.19.0-061900-generic'
make[1]: Entering directory '/var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/src'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-15 (Ubuntu 15.2.0-4ubuntu4) 15.2.0
  You are using:           gcc-15 (Ubuntu 15.2.0-4ubuntu4) 15.2.0
cp hid-xpadneo.c xpadneo.c
  CC [M]  xpadneo/core.o
  CC [M]  xpadneo/consumer.o
  CC [M]  xpadneo/keyboard.o
  CC [M]  xpadneo.o
xpadneo.c: In function ‘xpadneo_probe’:
xpadneo.c:1225:21: error: implicit declaration of function ‘ida_simple_get’ [-Wimplicit-function-declaration]
 1225 |         xdata->id = ida_simple_get(&xpadneo_device_id_allocator, 0, 0, GFP_KERNEL);
      |                     ^~~~~~~~~~~~~~
xpadneo.c: In function ‘xpadneo_release_device_id’:
xpadneo.c:1330:17: error: implicit declaration of function ‘ida_simple_remove’ [-Wimplicit-function-declaration]
 1330 |                 ida_simple_remove(&xpadneo_device_id_allocator, xdata->id);
      |                 ^~~~~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-6.19.0-061900-generic/scripts/Makefile.build:289: xpadneo.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.19.0-061900-generic/Makefile:2062: .] Error 2
make[1]: *** [/usr/src/linux-headers-6.19.0-061900-generic/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/var/lib/dkms/hid-xpadneo/v0.9-222-gcd25680/build/src'
make: *** [Makefile:248: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.19.0-061900-generic'

# exit code: 2
# elapsed time: 06:00:00
----------------------------------------------------------------

The Mainline app is known to install non-ubuntu kernels that are known to be insecure and have missing kernel configs (and security patches) the Ubuntu userspace expects to be there …

These kernels will also turn off all automatic kernel updates of the system for the future, you should really not use this …

1 Like

Alright. Sorry for my ignorance - there’s still a lot I don’t know about Ubuntu. How would I go about installing the latest kernel?

sudo apt install linux-generic gives you the default kernel … (for LTS releases (like 24.04 or 26.04 when it comes out) you can also have newer kernels than the default (called HWE), for short lived releases that go EOL after 9 months like 25.10 is, nobody makes such an effort though…

Here is some info about HWE kernels for long term releases:

https://ubuntu.com/kernel/lifecycle

Running that command tells me I’ve already got the newest version (6.17.0-14.14). However, I’ve still got the realtime kernels and I’m not sure how to get rid of them (or at least make sure the generic kernel runs first without having to enter GRUB). How do I do that?

It’s always useful to allow Grub to appear when you start the PC.
Then, it’s easy to select an alternative kernel, recovery mode or access UEFI settings.

sudo nano /etc/default/grub

Here’s an example:-

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10 # or however many seconds for your own comfort
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Don’t forget to run:-

sudo update-grub
1 Like

This command will list your kernels

ls /boot | grep vmlinuz-

Which do you want to remove?

1 Like

When I get home from work tonight, I’ll give this a try to remove that realtime kernel ogra said was no good. I’ll also try setting up that GRUB menu you mentioned and let you know how it goes.

Just gave this a try, but while I do manage to get to grub, there’s an odd problem I’m still having.

I have a lot of things plugged into my computer at once - an external monitor, a USB hub with USBs for a keyboard, computer mice, and a mic, and an external SSD.

I’m unsure if I’m mistaking correlation for causation, but the computer only seems to boot up properly (to the GRUB and then the login screen) when I turn it on after disconnecting all those devices.

Any idea what I can do to help determine if these plug-in devices are somehow the issue?

With many USB devices attached this might be a power issue, is your USB HUB powered ?
Else it might simply brown out …

1 Like

My USB hub currently doesn’t have a power supply connected. I’ll see about getting one and then giving it a try.

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.