fedora-silverblue / issue-tracker

Fedora Silverblue issue tracker
https://fedoraproject.org/atomic-desktops/silverblue/
122 stars 3 forks source link

LUKS passphrase input not showing when using proprietary NVIDIA drivers #477

Closed ghost closed 3 weeks ago

ghost commented 1 year ago

Describe the bug The LUKS unlock input during boot does not show if the nouveau drivers are blacklisted on a PC with an nvidia GPU and the proprietary drivers installed. At first I thought that my deployment is broken, but I just entered the passphrase with the keyboard "blindly" (as in without seeing the input) and it worked.

To Reproduce

  1. Have PC with NVidia GPU (Quadro P2200 in this case)
  2. Install Silverblue with LUKS root partition encryption
  3. Install nvidia driver with rpm-ostree: troubleshoot docs and rpmfusion docs. I specifically installed every related package that rpm-ostree found then applied kargs --append=rd.driver.blacklist=nouveau --append=modprobe.blacklist=nouveau --append=nvidia-drm.modeset=1.
  4. Reboot

Expected behavior I should see the text input for the decryption password like before.

OS version:

State: idle
BootedDeployment:
● fedora:fedora/38/x86_64/silverblue
                  Version: 38.20230628.0 (2023-06-28T00:42:50Z)
               BaseCommit: f3933b350390ee28c919dc4d5824682b8391a9e4deb56d767d02fcee18a3a9f9
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
      RemovedBasePackages: firefox firefox-langpacks 114.0.2-1.fc38 gnome-terminal-nautilus gnome-terminal 3.48.1-1.fc38
          LayeredPackages: akmod-nvidia distrobox gnome-tweaks hwinfo kmod-nvidia langpacks-en libva-utils lshw lsscsi
                           nvidia-vaapi-driver podman-compose terminator vdpauinfo xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda
                           xorg-x11-drv-nvidia-cuda-libs

Additional context Initially I just tried the instructions from the troubleshooting page, but I rolled it back because it didn't seem to work. Maybe I could have just entered the passphrase even though I didn't see the input on the screen, unsure.

CheariX commented 1 year ago

I have no trouble with my NVIDIA/Luks setup.

Can you try adding initcall_blacklist=simpledrm_platform_driver_init to kargs?

Recently, they silently added this to the rpmfusion docs (Note: there is an --append missing in the rpmfusion docs)

AdamNowotny commented 8 months ago

Having the same issue with GeForce RTX 4050. I thought it's stuck but pressing ESC shows the prompt in command line so you can enter it there.

AdamNowotny commented 8 months ago

@CheariX just tested with rpm-ostree kargs --append=initcall_blacklist=simpledrm_platform_driver_init and rebooting but it makes no difference unfortunately.

AdamNowotny commented 7 months ago

This improved with Fedora Linux 39.20240410.1. initcall_blacklist is required, otherwise system locks up at boot time.

AdamNowotny commented 7 months ago

Just updated to Fedora Silverblue 40 beta and the interesting thing is the LUKS password screen shows up but after entering the password, the system doesn't start up - just keeps spinning and many services fail to start.

When I press "ESC" first and enter the password in console mode then all is fine. Some warnings show up in the logs but I can get to Gnome login screen within few seconds. No idea why that would be but at least there is a workaround.

travier commented 1 month ago

Is this still an issue in Fedora 41?

AdamNowotny commented 1 month ago

@travier on latest Bluefin based on Silverblue 41 with kernel 6.11.5 it works fine now. No need to press any keys for the textbox to show up. I think this can be closed now.

travier commented 3 weeks ago

Thanks