Fedora 38 not finding secondary monitor HDMI

You have the drivers installed from the repo cuda-fedora36-12-0-local and have the older 525 driver and not the current 530.41.03 driver.

Many have noted problems with drivers from that repo and I always recommend using the rpmfusion repo to install the nvidia drivers. Very few have any problems with the drivers installed from rpmfusion, and those drivers are tweaked and tested for stability and function.

You have the GTX 1660 card so the latest drivers are the proper ones for you to use.

With just a few steps I can guide you to remove those older drivers, disable the cuda-fedora repo, and install the drivers from rpmfusion.

  1. remove the currently installed drivers with sudo dnf remove '*nvidia*' --exclude nvidia-gpu-firmware (the firmware files are required and installed from fedora).

  2. dnf repolist will give you the list of currently enabled repos. Find the one in the first column for the cuda-fedora repo then use sudo dnf config-manager --disable 'cuda-fedora*' to disable it.
    Also verify that you have either the nvidia-nonfree or the nvidia-nonfree-nvidia-driver (or both) repo(s) listed. If not then follow the steps here (https://rpmfusion.org/Configuration )to enable the rpmfusion repos.

  3. Disable the remaining modular entry from the cuda-fedora repo
    sudo dnf module disable nvidia-driver

  4. install the drivers from rpmfusion.
    sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda

  5. Wait at least 5 minutes for the modules to be compiled and installed. Once complete you will see a response to the command dnf list installed 'kmod-nvidia*'

  6. Once you get a positive response to step 5 then reboot and the system should load the drivers newly installed from rpmfusion.

4 Likes