Solved Fedora 43 booting to black screen, even after reinstalls

Solved issue
Done, but same failures in name resolution


I've followed steps 1, 2, and 3 to the character, but resolvectl status is not showing any DNS servers, and resolvectl query fedoraproject.org gives resolve call failed: No appropriate name servers or networks for name found

I attach a screenshot of what my configuration looks like:
I installed a vm with Fedora and did the same changes you did and it all just works, as well as without those changes. So my best guess is that the problem is elsewhere so either your vpn setup or maybe on your internal network, ie: router that blocks other dns servers except itself?

I would just undo the previous changes that you are back to the default setup, so just rmove /etc/systemd/resolved.conf and /etc/NetworkManager/conf.d/10-dns-systemd-resolved.conf and then restart the services.

Then what you can try is the following, edit the file /etc/resolv.conf. The change the line "nameserver" to something like this.
Code:
#nameserver 127.0.0.53
nameserver 8.8.8.8

Then run the following.
Code:
resolvectl query linux.org
dig linux.org
The latter should show that you are using "SERVER" 8.8.8.8 where you get the answer from. If you still get a can't resolve type error I would look into your vpn setup or your home router/firewall.
 


I gave up, and reinstalled Fedora again
It turns out that, in addition to messing with my graphics drivers, the upgrade process is also wiping my WiFi connection
Sorry - I should have thought to check if I was even connected to the Wi-Fi sooner! (i.e. first) :facepalm:

For current NVIDIA cards
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda
You had the package name correct, the reason it failed, it because "re-install" looks for installed packages first, then the repo.
If it never was installed, it say "no match".

You were very very close :-), if you would have just said "install: instead of "reinstall" it would have worked :-).
@ozfbu what @dos2unix said.

After it's done installing wait 2-3 minutes and then reboot.

As can be seen from the below screenshot, I am connected to the Wi-Fi, and can ping linux.org :)
I can also update and load the Fedora repositories
(please excuse the whitespace; I was not connected to a VPN and I was acting in a paranoid manner - I know now that the IP address shown in linux.org's IP address, not mine)

However, as can also be seen from the below screenshot...none of
akmod-nvidia
xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-cuda
are recognised as valid arguments - No match for argument: akmod-nvidia

Have I mis-typed something? :confused:

EDIT 1 & 2: Trying JPEG (what worked last time) and PNG (what I tried this time)
EDIT 3: Adding the exact error message:

EDIT 4: Adding the entire output manually, as neither image format is playing nice with the forums atm

Code:
user@fedora:etc/NetworkManager$ ping linux.org
PING linux.org (104.26.15.72) 56(84) bytes of data.
64 bytes from 104.26.15.72: icmp_seq=1 ttl=56 time=[<100 milliseconds]
64 bytes from 104.26.15.72: icmp_seq=1 ttl=56 time=[<100 milliseconds]
^C
--- linux.org pin statistics ---
2 packets transmitted, 2 received, 0% packet loss
rtt min/avg/max/mdev = [some times in milliseconds]
user@fedora:etc/NetworkManager$ sudo dnf install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda
[sudo] password for user:
Updating and loading repositories:
  Fedora 43 openh264 (From Cisco) - x86_64
  Fedora 43 - x86_64 - Updates
  Fedora 43 - x86_64
Repositories loaded.
Failed to resolve the transaction:
No match for argument: akmod-nvidia
No match for argument: xorg-x11-drv-nvidia
No match for argument: xorg-x11-drv-nvidia-cuda
You can try to add to command line:
  --skip-unavailable to skip unavailable packages
user@fedora:etc/NetworkManager$
[\CODE]
 

Attachments

  • Screenshot_2026-03-08_16-32-50.jpeg
    Screenshot_2026-03-08_16-32-50.jpeg
    506.7 KB · Views: 46
  • Screenshot_2026-03-08_16-32-50.png
    Screenshot_2026-03-08_16-32-50.png
    31.1 KB · Views: 34
Last edited:
However, as can also be seen from the below screenshot...none of
akmod-nvidia
xorg-x11-drv-nvidia
xorg-x11-drv-nvidia-cuda
are recognised as valid arguments - No match for argument: akmod-nvidia
Looking from your output it look like you don't have third party repos enabled, which it asks you if you want to enable them or not after going through the setup. The third party repos it talks about are rpmfusion repos, you can enable them manually.
Code:
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Then try the following again.
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda
You probably don't need the packages with xorg-x11 but it can't hurt installing them.

I can't see your attached images, one looks purple and one looks brown.
 
Ended up running
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
individually, as there was a connection hiccup for the non-free one

sudo dnf install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda
run. Some orange text appeared, but it completed without red error messages
Progress :)

I left it for 6-7 minutes, then ran shutdown now
I started up, selected Fedora; the spinning icon and the Fedora symbol appears, but then...still a black screen :(

Going to try installing the nVidia drivers again, in case it helps
EDIT: sudo dnf install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda gives
Code:
Package "akmod-nvidia-3:580.126.18-1.fc43.x86_64" is already installed
Package "xorg-x11-drv-nvidia-3:580.126.18-1.fc43.x86_64" is already installed
Package "xorg-x11-drv-nvidia-cuda-3:580.126.18-1.fc43.x86_64" is already installed

Nothing to do.
 
Last edited:
I started up, selected Fedora; the spinning icon and the Fedora symbol appears, but then...still a black screen :(
Have you tried disabling secure-boot in your BIOS? Can you take a picture of what the blackscreen looks like?

EDIT: sudo dnf install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda gives
To reinstall, you just use the "reinstall" command instead of "install".

What you can also try is adding this to your dracut config. Create a file /etc/dracut.conf.d/drivers.conf with the following content.
Code:
force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "
Then run the following.
Code:
dracut --regenerate-all --force
Then reboot, what it does is add the nvidia drivers to your initramfs which sometimes solves some issues.
 
Last edited:
Photo of my black screen attached

Secure boot not looked at yet

Three packages reinstalled; all happened without comment or error

drivers.conf created in dracut.conf.d
Code:
dracut-install: Failed to find module 'nvidia'
...I imagine that not being able to find an nVidia module is relevant, but I've followed your steps...

Photo of file and command output attached
 

Attachments

  • IMG_20260308_191112Z.jpg
    IMG_20260308_191112Z.jpg
    3.1 MB · Views: 41
  • IMG_20260308_191932Z.jpg
    IMG_20260308_191932Z.jpg
    2.7 MB · Views: 42
drivers.conf created in dracut.conf.d
Code:
dracut-install: Failed to find module 'nvidia'
...I imagine that not being able to find an nVidia module is relevant, but I've followed your steps...
Yeah that's it.

Can you try installing "kernel-devel" and "kernel-headers"
Code:
sudo dnf install kernel-devel-matched kernel-headers -y
Then running the following?
Code:
sudo dnf reinstall akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda
dracut --regenerate-all --force
 
kernel-devel-matched and kernel-headers already installed

nVidia packages reinstalled
dracut regeneration gives the same error
 

Attachments

  • IMG_20260308_194426Z.jpg
    IMG_20260308_194426Z.jpg
    3 MB · Views: 41
modinfo -F version nvidia
gives
580.126.18


EDIT: screenshot not cooperating, despite photos from the same device uploading successfully

nvidia-smi gives
[system date and time]
NVIDIA-SMI 580.126.18 Driver version 580.126.18 CUDA Version: 13.0
[to be continued]
 

Attachments

  • IMG_20260308_195336Z.jpg
    IMG_20260308_195336Z.jpg
    2.7 MB · Views: 34
modinfo -F version nvidia
gives
580.126.18

Please see the screenshot of what nvidia-smi gives
I can't view the image you shared it shows up as a garbled looking image. It shows that the nvidia module is installed since it's showing a version number of the installed module. What happens when you reboot now?
 
Also did you encrypt your installation during setup, as in do you have to type in a password before your system boots?
 
Shut down, restarted, and re-accessed Fedora. Same blank screen

I do not have to type in a password before my system boots

Screenshot of nvidia-smi attached, and should be legible this time
 

Attachments

  • IMG_20260308_200009Z.jpg
    IMG_20260308_200009Z.jpg
    3.3 MB · Views: 39
sudo systemctl restart sddm
yields the usual Fedora login screen from which I can log in, and Discover Software Centre informs me that I'm fully up-to-date

Restarting returns the black screen, but Ctrl+Alt+F3, logging in via the terminal, then running sudo systemctl restart sddm gets me back to the login screen again
Massive progress! Thank you very much!
 
sudo systemctl restart sddm
yields the usual Fedora login screen from which I can log in, and Discover Software Centre informs me that I'm fully up-to-date

Restarting returns the black screen, but Ctrl+Alt+F3, logging in via the terminal, then running sudo systemctl restart sddm gets me back to the login screen again
Massive progress! Thank you very much!
Share the output of the following, just so I know what the status before running another command.
Code:
systemctl status sddm
Then run the following.
Code:
sudo systemctl enable sddm
Then reboot, what happens then?
 
Share the output of the following, just so I know what the status before running another command.
Code:
systemctl status sddm
Photo attached

Then run the following.
Code:
sudo systemctl enable sddm
Then reboot, what happens then?
Same black screen, which can still be overcome by sudo systemctl restart sddm
 

Attachments

  • IMG_20260308_214952.jpg
    IMG_20260308_214952.jpg
    576.4 KB · Views: 57


Follow Linux.org

Members online


Top