The nouveau drivers are a bit "wonky". If you don't mind using proprietary drivers, you can enable them through the software center (if you're using GNOME); that will almost certainly solve your issue. If you're using Fedora 35/36 with GNOME, these are the steps:
- Open 'Software Center'.
- Click on the "hamburger menu" (top right corner, three horizontal lines).
- Select 'Software Repositories'.
- Scroll down until you see 'RPM Fusion for Fedora - Nonfree - NVIDIA Driver' and click to enable it.
- Close the 'Software Repositories' window and click on 'Updates' on the top bar of the 'Software Center'.
- Top left corner, click on the update icon (circled arrow) and wait for it to finish.
- Press on 'Explore' in the top bar and search for 'nvidia' and you will get the available packages.
If you are using a different DE or prefer installing the drivers through the CLI, these are the steps and (minimum required) packages you'll need to install:
akmod-nvidia
kmod-nvidia
nvidia-modprobe
xorg-x11-drv-nvidia
(if you plan on using X11 instead of Wayland)
I haven't used Nvidia hardware in years, but I'm maybe the first two packages alone install everything you'll need to get up and running.
Good luck and you're welcome to ask or edit your question if this did not work.
EDIT: please try the following.
Check if you have secure boot enabled, and if so, you'll have to disable it (if you don't know how to do it, Google your motherboard manufacturer/model). Then:
# dnf remove \*nvidia\*
# dnf install -y akmod-nvidia kernel-devel
# akmods --force
# dracut --force
$ shutdown -r
Please note that #
means that the command is supposed to be executed with escalated privileges (i.e. sudo
) and $
means not.