[GH-ISSUE #284] Boot hang / Black screen on Fedora 44 with Secure Boot (sbctl + UKI + akmods) #260

Open
opened 2026-11-07 17:54:28 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @a012-alex on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/284

Result

Unlock failed (error in the log)

Card

NVIDIA GeForce RTX 3060 Lite Hash Rate 12 GB

PCI IDs

10de:2504

VBIOS version

00000000:01:00.0, 94.06.25.00.FC

Is the card modified?

Not sure

Distribution

Fedora Linux 44 (KDE Plasma Desktop Edition)

Kernel

7.2.13-200.fc44.x86_64

NVIDIA driver

615.71.09(Source: terra-nvidia repository)

Initramfs generator

Other or not sure

gpu-unlock version and install method

7eb51bc, Installed via make install (RPM package).

Kernel command line

(At the time of the failing boot)root=UUID=8c3ce378-990a-4e74-8dd9-5f138730c99e ro rootflags=subvol=root rd.luks.uuid=luks-f698ea19-607d-41ad-8464-3b6262f52fde rhgb quiet plymouth.use-simpledrm=1 audit=1 rd.driver.blacklist=nouveau rd.driver.blacklist=nova-core gpu_unlock.targets=all

Setup

My system uses a strict, custom Secure Boot chain managed by sbctl:

  • Secure Boot: Enabled. Custom keys enrolled via sbctl create-keys and sbctl enroll-keys -m.
  • Boot Chain: systemd-boot + UKI. The UKI .efi file is signed by sbctl.
  • Module Signing: I use akmods to build and sign out-of-tree modules (NVIDIA, v4l2loopback, VirtualBox) using my custom db key. This pipeline has been stable for other modules.
  • Initramfs generator:
    dracut + ukify (Unified Kernel Image)
    Configured via /etc/kernel/install.conf:
layout=uki
uki_generator=ukify
  • Dracut Configuration: My system includes /usr/lib/dracut/dracut.conf.d/99-nvidia.conf which omits NVIDIA drivers from the initramfs (omit_drivers+=" nvidia ...").
❯ cat /usr/lib/dracut/dracut.conf.d/99-nvidia.conf 
# Omit the nvidia driver from the ramdisk, to avoid needing to regenerate
# the ramdisk on updates.
omit_drivers+=" nvidia nvidia_drm nvidia_modeset nvidia_peermem nvidia_uvm "

Kernel log

Note: Due to multiple hard power-offs during the black screen state, the journal logs for the specific failing boots were overwritten. The current successful boot does not contain gpu_unlock logs as the package has been uninstalled to restore system functionality.

Benchmark before and after

N/A (The system never successfully booted with the unlock active).

Suspend and resume

Not tested

Anything else

The installation process followed the standard make install -> kernel-install add-all -> reboot flow.

The failure mode was immediate: after selecting the entry in systemd-boot, the screen went black, no LUKS prompt appeared, and no video signal was sent to the monitor, although the system remained powered on (fans spinning).

Critical Context regarding Module Signing:
I was unaware that gpu-unlock relies on DKMS for module management. Consequently, I did not configure any DKMS-specific signing config. In my environment, all other out-of-tree modules are strictly built and signed via the akmods pipeline using my custom Secure Boot db key.

Additionally, my dracut configuration explicitly omits NVIDIA drivers from the initramfs (omit_drivers+=" nvidia ...").

Originally created by @a012-alex on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/284 ### Result Unlock failed (error in the log) ### Card NVIDIA GeForce RTX 3060 Lite Hash Rate 12 GB ### PCI IDs ```text 10de:2504 ``` ### VBIOS version 00000000:01:00.0, 94.06.25.00.FC ### Is the card modified? Not sure ### Distribution Fedora Linux 44 (KDE Plasma Desktop Edition) ### Kernel 7.2.13-200.fc44.x86_64 ### NVIDIA driver 615.71.09(Source: terra-nvidia repository) ### Initramfs generator Other or not sure ### gpu-unlock version and install method 7eb51bc, Installed via `make install` (RPM package). ### Kernel command line (At the time of the failing boot)root=UUID=8c3ce378-990a-4e74-8dd9-5f138730c99e ro rootflags=subvol=root rd.luks.uuid=luks-f698ea19-607d-41ad-8464-3b6262f52fde rhgb quiet plymouth.use-simpledrm=1 audit=1 rd.driver.blacklist=nouveau rd.driver.blacklist=nova-core gpu_unlock.targets=all ### Setup My system uses a strict, custom Secure Boot chain managed by `sbctl`: - **Secure Boot**: Enabled. Custom keys enrolled via `sbctl create-keys` and `sbctl enroll-keys -m`. - **Boot Chain**: `systemd-boot` + UKI. The UKI `.efi` file is signed by `sbctl`. - **Module Signing**: I use `akmods` to build and sign out-of-tree modules (NVIDIA, v4l2loopback, VirtualBox) using my custom `db` key. This pipeline has been stable for other modules. - **Initramfs generator:** `dracut` + `ukify` (Unified Kernel Image) Configured via `/etc/kernel/install.conf`: ```ini layout=uki uki_generator=ukify ``` - **Dracut Configuration**: My system includes `/usr/lib/dracut/dracut.conf.d/99-nvidia.conf` which omits NVIDIA drivers from the initramfs (`omit_drivers+=" nvidia ..."`). ```text ❯ cat /usr/lib/dracut/dracut.conf.d/99-nvidia.conf # Omit the nvidia driver from the ramdisk, to avoid needing to regenerate # the ramdisk on updates. omit_drivers+=" nvidia nvidia_drm nvidia_modeset nvidia_peermem nvidia_uvm " ``` ### Kernel log ```text Note: Due to multiple hard power-offs during the black screen state, the journal logs for the specific failing boots were overwritten. The current successful boot does not contain gpu_unlock logs as the package has been uninstalled to restore system functionality. ``` ### Benchmark before and after N/A (The system never successfully booted with the unlock active). ### Suspend and resume Not tested ### Anything else The installation process followed the standard `make install` -> `kernel-install add-all` -> `reboot` flow. The failure mode was immediate: after selecting the entry in `systemd-boot`, the screen went black, no LUKS prompt appeared, and no video signal was sent to the monitor, although the system remained powered on (fans spinning). **Critical Context regarding Module Signing:** I was unaware that `gpu-unlock` relies on DKMS for module management. Consequently, I did not configure any DKMS-specific signing config. In my environment, all other out-of-tree modules are strictly built and signed via the `akmods` pipeline using my custom Secure Boot `db` key. Additionally, my dracut configuration explicitly omits NVIDIA drivers from the initramfs (`omit_drivers+=" nvidia ..."`).
Author
Owner

@a012-alex commented on GitHub (Nov 3, 2026):

The computer fails to boot. The console output stops after "Starting dracut-pre-udev.service", and the screen then goes black with no HDMI signal.

<!-- gh-comment-id:6606987334 --> @a012-alex commented on GitHub (Nov 3, 2026): The computer fails to boot. The console output stops after "Starting dracut-pre-udev.service", and the screen then goes black with no HDMI signal.
Author
Owner

@a012-alex commented on GitHub (Nov 3, 2026):

After the screen went black and the HDMI signal was lost, I had to force the computer to shut down using the power button. I then booted into GParted Live via GRUB, chrooted into my Fedora installation, and ran the following command:

journalctl -k -b | grep -i gpu_unlock

However, no logs were returned.

<!-- gh-comment-id:6607098808 --> @a012-alex commented on GitHub (Nov 3, 2026): After the screen went black and the HDMI signal was lost, I had to force the computer to shut down using the power button. I then booted into GParted Live via GRUB, chrooted into my Fedora installation, and ran the following command: journalctl -k -b | grep -i gpu_unlock However, no logs were returned.
Author
Owner

@a012-alex commented on GitHub (Nov 4, 2026):

My system boots fine with the gpu_unlock module loaded, as long as I don't pass gpu_unlock.targets=all in the kernel command line. Adding that parameter prevents booting. Tested without secure boot enabled at this time.

<!-- gh-comment-id:6624999126 --> @a012-alex commented on GitHub (Nov 4, 2026): My system boots fine with the gpu_unlock module loaded, as long as I don't pass gpu_unlock.targets=all in the kernel command line. Adding that parameter prevents booting. Tested without secure boot enabled at this time.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Zagitta/gpu-unlock#260
No description provided.