Bug 2359799 - Inital-setup: VK_ERROR_DEVICE_LOST using nvidia hardware
Summary: Inital-setup: VK_ERROR_DEVICE_LOST using nvidia hardware
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-initial-setup
Version: 42
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: GNOME SIG Unassigned
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-15 17:00 UTC by Lars Loe
Modified: 2025-04-29 12:02 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lars Loe 2025-04-15 17:00:03 UTC
System info:
Ryzen 5800X3D
Nvidia RTX 4070
24GB RAM

- Used the latest F42 Workstation release *.iso to do a fresh install (full disk install, SSD, no dual boot)
- Everything boots up fine until the described issue occurs

- Since it's the initial setup I'm unable to log into any user account from tty console or view logs, take a screenshot etc.

- mounting the journalctl directory from a working Linux installation using `journalctl -D $PATH` shows that it's possibly a nouveau driver issue:

Github Gist: https://gist.github.com/MadByteDE/e5003fc079f02bb7f5494057812087c5

Apr 15 18:12:11 fedora gnome-initial-s[2031]: vkQueuePresentKHR(): The logical or physical device has been lost. (VK_ERROR_DEVICE_LOST) (-4)
Apr 15 18:12:11 fedora gnome-initial-s[2031]: Vulkan: ../src/nouveau/vulkan/nvk_queue.c:380: Submit failed (VK_ERROR_DEVICE_LOST)
Apr 15 18:12:11 fedora gnome-initial-s[2031]: vkQueueSubmit(): The logical or physical device has been lost. (VK_ERROR_DEVICE_LOST) (-4)
Apr 15 18:12:11 fedora gnome-initial-s[2031]: Vulkan: ../src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_ctx.c:149: DRM_NOUVEAU_EXEC failed: Kein passendes Gerät gefunden (VK_ERROR_DEVICE_LOST)
Apr 15 18:12:11 fedora kernel: nouveau 0000:26:00.0: gnome-initial-s[2031]: channel 64 killed!
Apr 15 18:12:11 fedora kernel: nouveau 0000:26:00.0: fifo:c00000:0008:0040:[gnome-initial-s[2031]] errored - disabling channel
Apr 15 18:12:11 fedora kernel: nouveau 0000:26:00.0: gsp: rc engn:00000001 chid:64 type:31 scope:1 part:233
Apr 15 18:12:11 fedora kernel: nouveau 0000:26:00.0: gsp: mmu fault queued
Apr 15 18:12:00 fedora gnome-initial-s[2031]: Trying to measure GtkBox 0x55662b32c750 for width of 121, but it needs at least 128

Reproducible: Always

Steps to Reproduce:
1. Boot into initial-setup after a fresh Fedora 42 Workstation installation
2. Proceed until time zone setup screen & press `Next`
Actual Results:
The initial setup window freezes instantly on clicking the button - the Gnome interface still works (e.g. top right menu)

Expected Results:
Initial setup should proceed normally

Additional Information:

Comment 1 Lars Loe 2025-04-15 17:02:24 UTC
Used *.iso version: Fedora-Workstation-Live-42-1.1.x86_64.iso

Comment 2 Lars Loe 2025-04-15 17:52:54 UTC
According to https://gitlab.freedesktop.org/drm/nouveau/-/issues/382 - disabling the gsp blob using `nouveau.config=NvGspRm=0`could work to work around the issue. 

If this really is the issue, I'm aware that `initial-setup` / Fedora is not at fault here. 

That said, if this is an issue other users can confirm, it might be worth to disable the gsp blob for nouveau by default for new Fedora installs so that they can at least fully boot into Gnome & install updates or proprietary Nvidia drivers.

Comment 3 Lars Loe 2025-04-24 15:22:27 UTC
For visibility - another bug report describing the same issue:
https://bugzilla.redhat.com/show_bug.cgi?id=2361117

Comment 4 Martin Kolman 2025-04-29 12:02:08 UTC
So if this happens after you install from the Workstation media & reboot, then what runs is actually the GNOME Initial Setup - yes, its confusing. :)


Note You need to log in before you can comment on or make changes to this bug.