Bug 2142277 - New Kernels Hang in LUKS password screen with Nvidia driver
Summary: New Kernels Hang in LUKS password screen with Nvidia driver
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 36
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-12 14:53 UTC by Alireza Haghshenas
Modified: 2022-11-22 04:40 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-11-22 04:40:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alireza Haghshenas 2022-11-12 14:53:30 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0
Build Identifier: 

Starting with Kernel 5.19.16, the system hangs in LUKS password screen (right after choosing Kernel in Grub). The system works fine with 5.19.15.

The system will boot if I connect the monitor to the integrated HDMI/Display port on the motherboard (which use AMD integrated driver), but then will fail to load the Graphical desktop environment, because that is set to use Nvidia.

Another interesting observation is that when using the AMD graphics, the kernel 5.19.15 does not switch to a high resolution, while the newer kernels all switch to a high resolution. So a theory can be: the newer kernels try to switch to high resolution but fail on Nvidia.

Some other observations: I have installed NVIDIA-Linux-x86_64-520.56.06.run, but when I run dkms status I get:

nvidia/520.61.05, 5.19.15-201.fc36.x86_64, x86_64: installed
nvidia/520.61.05, 5.19.16-200.fc36.x86_64, x86_64: installed
nvidia/520.61.05, 6.0.5-200.fc36.x86_64, x86_64: installed
nvidia/520.61.05, 6.1.0-0.rc2.20221027gitb229b6ca5abb.23.vanilla.1.fc36.x86_64, x86_64: installed

Please note that this shows a newer driver (520.61.05) than the one I downloaded (520.56.06) and there is no newer file on NVidia website.

When I try to re-run the installer, it complains that the NVidia module is already loaded (even if I boot to run level 3). But if I want to uninstall the driver it complains that it is not installed.

This crash also happens on rawhide and vanilla kernels.

Reproducible: Always

Steps to Reproduce:
1. Boot the system
2. Choose the kernel 5.19.16 or newer
3. Computer hangs when it reaches the LUKS passwords screen



Operating System: Fedora Linux 36
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 5.19.15-201.fc36.x86_64 (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 7950X 16-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: NVIDIA Graphics Device/PCIe/SSE2 (Rtx 4090, Gigabyte)
Manufacturer: ASUS ROG Strix X670e-e

Comment 1 Alireza Haghshenas 2022-11-15 20:51:31 UTC
UPDATE: I have the same problem with Fedora 37 live, booting from usb: it starts correctly when monitor is connected to the integrated AMD graphics, but not when connected to Nvidia.

Comment 2 Alireza Haghshenas 2022-11-22 04:40:34 UTC
Update: I installed Fedora 37 using the basic graphics mode. Then installed the open-source Nvidia drivers. Things are working almost fine in X11, but I got black screen in Wayland. After some updates, I tried Wayland again and it worked, but crashed a few minutes later. So I'm back to X11.

As I'm cleaning Fedora 36, I'll not be able to check the status of this problem in Fedora 36 anymore. Closing.


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