Cannot boot into cli mode

I try to access every tty with ctrl+alt+f{1,2,3,4,5,6,7,8,9} and only one works which is my GUI, others are always black screen, I go into kernel mode, I add text or 3 at the end and still nothing works.
I have tried everything here and still nothing works.
I think it is because of my nvidia drivers and it’s somehow related.
If you have any ideas, I would be gratefull.

Here is my kernel configuration

GNU GRUB version 2.06
load_video
set gfxpayload-keep
insmod gzio
linux ($root)/vmlinuz-6.7.11-200.fc39.x86_64 root=UUID=70c3a900-753b-40ad-8\ 352-ba9cf5df2a91 ro rootflags=subvol=@ rhgb quiet initcall_blacklist-simple drm_platform_driver_init nvidia-drm.modeset-i rd.driver.blacklist=nouveau m odprobe.blacklist=nouveau 3
initrd ($root)/initramfs-6.7.11-200.fc39.x86_64.img

Here is the output of

cat /etc/default/grub

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet initcall_blacklist=simpledrm_platform_driver_init nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

Here is the output of

dnf list installed *nvidia*

if it’s related…

akmod-nvidia.x86_64                                                                               3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
kmod-nvidia-6.7.10-200.fc39.x86_64.x86_64                                                         3:550.67-1.fc39                                                         @@commandline             
kmod-nvidia-6.7.11-200.fc39.x86_64.x86_64                                                         3:550.67-1.fc39                                                         @@commandline             
kmod-nvidia-6.7.9-200.fc39.x86_64.x86_64                                                          3:550.67-1.fc39                                                         @@commandline             
nvidia-modprobe.x86_64                                                                            3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
nvidia-persistenced.x86_64                                                                        3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
nvidia-settings.x86_64                                                                            3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
nvidia-texture-tools.x86_64                                                                       2.1.2-7.fc39                                                            @fedora                   
xorg-x11-drv-nvidia.x86_64                                                                        3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64                                                                   3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.i686                                                                3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64                                                              3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64                                                                3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.i686                                                                     3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64                                                                   3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64                                                                  3:550.67-1.fc39                                                         @rpmfusion-nonfree-updates
1 Like

At some point it appears that you managed to remove the nvidia-gpu-firmware package which definitely will impact operation of the nvidia GPU and drivers.

If you reinstall that package then the problem may easily be solved.
You seem to say that you are booting into the gui so open a terminal window and enter the following command.
sudo dnf install nvidia-gpu-firmware
Once that completes then reboot and see if it has made a difference.

How long did you wait for the console to respond?
I have seen ctrl-alt-fX take a while to respond.

I installed it, but unfortunately it made no difference.

Trust me when it used to work, it worked almost immediately,… but now a millennia won’t be enough for it.

You might try opening the grub boot menu and booting with the 6.7.10 kernel. Some are reporting various problems with the 6.7.11 kernel

1 Like

UPDATE

So what I did was change from kde to gnome just to see if it had any difference.

@computersavvy was right. If I booted into 6.7.10 kernel, I could access both the GUI and the TTYs

I uninstalled all the drivers with

sudo dnf remove nvidia* --allowerasing

Driver Version was 550.67

, then I could go into any kernel and access both the GUI and the TTYs.
That means the problem was with the drivers-kernel configuration. It worked only at 6.7.10 kernel.

So then I figured to install the proprietary drivers with a runfile that I downloaded from nvidia website that led to all sorts of problems with nouveau and wasn’t able to boot at any kernel with GUI mode.

Driver Version was with runfile the same as before 550.67

So I uninstalled the runfile with
sudo /usr/bin/nvidia-uninstall

The final solution was to install the proprietary driver

sudo dnf module install nvidia-driver:latest-dkms

Driver Version is 550.54

And now I can access both the TTY and the GUI at the current kernel 6.8.4
I am not sure if the driver version compatibility is at fault here and It’s weird for me that akmod-nvidia of 3rd party repo rpmfusion did not work for me.

It seems consistent that drivers from rpmfusion and drivers installed from nvidia do not play well in the same sandbox. I always suggest using one or the other, but never mixing the two.

In fact I have never seen a need to install anything directly from nvidia since what I install from rpmfusion does everything I have ever needed.