GRUB2: Ok, reinstalled and from now on will use the /boot/grub2/grub.cfg destination. The reinstallation though, did put a new /boot/efi/EFI/fedora/grub.cfg
GRUB2_CMDLINE: Thatâs correct. And I just have discovered that what nvidia-drm.modeset=1 does is not activating the nvidia driver instead of the nouveau at boot time, as I supposed, but simply activates the video mode in the kernel for the console. For some reason, my card, or my system denies having this modeset to 1 (the system will not even boot). If you tell me how, I could paste wherever is the log of that no-boot process when nvidia-drm.modeset = 1. I donât know if I can have both, nouveau modeset to 1 and nvidia-drm modeset to 1 in order to have the login screen with the correct resolution. I will try.
LSMOD: lists nvidia drivers loaded.
SECURE BOOT: In my ASUS B650E-F ROG Strix, it allows you to set up two secure boot options: 1/Windows / Microsoft UEFI 2/ Other OS. If I set Other OS, then it disables the Secure Boot. I tried both options having the same result, regarding the black screen (still modeset is most likely the responsible). Besides of that two options, it allows you to choose between two more additional types of secure boot: Standard or Custom (it says that the custom requires a phisical user for ⌠bla bla).
INSTALLATION: I installed the nvidia driver with sudo dnf install nvidia-driver (it is, from rpmfusion).
SIGNING: So you mean that installing from rpmfusion doesnât require to sign anything like we were saying in this post? Ok, then I will get rid of those certs that I generated. Since I thought that my black screen was because of the secure boot + certificates lack before discovering that the problem was the modeset⌠How should i delete the certs, keys, mok, etc?
DMESG:
[ 0.000000] Command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.5.5-200.fc38.x86_64 root=UUID=XXXX ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rhgb quiet nvidia-drm.modeset=0
[ 0.000000] secureboot: Secure boot enabled
[ 0.000000] Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
[ 0.003843] secureboot: Secure boot enabled
[ 0.026106] Kernel command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.5.5-200.fc38.x86_64 root=UUID=XXXX ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rhgb quiet nvidia-drm.modeset=0
[ 0.641514] integrity: Loaded X.509 cert âFedora Secure Boot CA: XXXXâ
[ 3.506281] amdgpu 0000:0d:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[ 7.503151] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input12
[ 7.503202] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input13
[ 7.503265] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input14
[ 7.503388] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input15
[ 8.330498] nvidia: loading out-of-tree module taints kernel.
[ 8.330506] nvidia: module license âNVIDIAâ taints kernel.
[ 8.330510] nvidia: module license taints kernel.
[ 8.621868] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
[ 8.622545] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 8.666318] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 535.113.01 Tue Sep 12 19:41:24 UTC 2023
[ 8.725477] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 8.795327] nvidia-uvm: Loaded the UVM driver, major device number 508.
[ 8.840669] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 535.113.01 Tue Sep 12 19:45:42 UTC 2023
[ 8.844381] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 8.844383] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 2
[ 954.512146] amdgpu 0000:0d:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[ 1862.812445] amdgpu 0000:0d:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
HARDWARE: I have an AMD 7800X3D CPU/APU and it works flawlessly if i connect the cable to the motherboard Display Port, which is what I have been doing until discovering this. Maybe thatâs why dmesg talks about amdgpu.
3080TI: I have my 3080ti on sell (1 yr old), since I donât do gaming and I donât need it with AMD APU, and⌠it has no open source driver unlike ATIâs, and I have these problems. So thatâs why I donât want it anymore. I saw that there is a kernel-space driver, akmod-nvidia-open, which I donât know if has something to do with nouveau. Honestly, there is too much information, too many actions and too many variables for a very small problem which shouldnât have ever existed and that generates too many problems.
EDIT: with journalctl --boot=-1 I saw:
fedora kernel: Kernel command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.5.5-200.fc38.x86_64 root=UUID=XXXX ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
fedora kernel: Unknown kernel command line parameters ârhgb BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.5.5-200.fc38.x86_64â, will be passed to user space.
fedora kernel: Speculative Return Stack Overflow: IBPB-extending microcode not applied!
fedora kernel: Speculative Return Stack Overflow: WARNING: See Speculative Return Stack Overflow (SRSO) â The Linux Kernel documentation for mitigation options.
But with that journalctl of the failed boot (black screen after load), I do not see any fatal crash or NVIDIA related issue? I mean⌠Itâs weird⌠nvidia-drm.modeset=1 doesnât allow the login screen to appear, turns the screen black with a blinking cursor in top-left, and doesnât allow shifting to another terminal: e.g. ctrl+alt+f3.