NVIDIA / open-gpu-kernel-modules

NVIDIA Linux open GPU kernel module source
Other
15.19k stars 1.27k forks source link

Failed to display anything when early KMS #637

Open ArcticLampyrid opened 6 months ago

ArcticLampyrid commented 6 months ago

NVIDIA Open GPU Kernel Modules Version

550.78

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.

Operating System and Version

Arch Linux

Kernel Release

6.8.9-arch1-1

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

Hardware: GPU

NVIDIA GeForce RTX 3050 Ti Laptop GPU

Describe the bug

Failed to display anything when early KMS. Only a small portion on the left side of the screen can display content, but flash quickly. When I power on my laptop, I get chaotic content displayed. It works well for a long time, and 550.76 is the last version that it works well.

I've enabled early KMS for Nvidia (much early than this issue happening), which is needed for Plymouth. (I do not know if it is related to this issue).

# /etc/mkinitcpio.conf
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
HOOKS=(base systemd plymouth autodetect modconf kms keyboard sd-vconsole numlock block sd-encrypt filesystems fsck)

image

To Reproduce

Install the driver and you'll meet it

Bug Incidence

Always

nvidia-bug-report.log.gz

Failed to collect it. I cannot operate my laptop without display!

More Info

No response

ArcticLampyrid commented 6 months ago

~~Sorry, maybe this is a bug due to ArchBuilder (not sure) nvidia-open (Arch Package, pre-built modules) didn't work but nvidia-open-dkms (Arch Package, built by local machine using DKMS) works well. (Both are 550.78)~~

Not right. This happens due to my mistake to forget regenerating initramfs. The bug still exists.