How to install an NVIDIA GTX 760 Driver for Fedora

I want to install a GPU Driver for my HP Z440 Workstation.
I’m on Fedora 40 Worksation Edition
The screen has low resolution and the OS thinks that my screen is bigger so it writes image data to nothing (the screen is “cropped”).
I tried the akmod-nvidia driver/package, nothing is solved, but the cursor while loading forgets to delete the cursor image when moving the cursor (there are multiple cursors that are deleted by the real cursor when moving over them), and it’s random, meaning that it’s not continuously forgetting to delete the cursor from the current rendering and it duplicates the cursor instead of moving it.

1 Like

Welcome to the forums. Sorry about the post being held in moderation. That’s our automated system which helps to fight spam. I’ve dealt with this issue before on my old Alienware laptop :skull_and_crossbones:

Let’s try a few steps to get your GTX 760 working properly.

  1. Ensure Your System is Up-to-Date:
    First, ensure that your system is fully updated. Run the following commands to update your system:

    sudo dnf update -y
    
  2. Install NVIDIA Drivers from RPMFusion:
    The akmod-nvidia package is usually the best approach, but sometimes conflicts can occur. Let’s make sure you have the correct packages installed:

    sudo dnf install -y akmod-nvidia xorg-x11-drv-nvidia-cuda
    sudo dnf update -y
    sudo reboot
    
  3. Verify the Driver is Loaded:
    After rebooting, check if the NVIDIA driver is correctly loaded:

    nvidia-smi
    

    This should display your GPU information if the driver is loaded correctly.

  4. Troubleshoot the Cursor Issue:
    The cursor issue might be due to an Xorg configuration problem. Sometimes, the configuration file doesn’t play well with certain monitors or GPUs. You can try resetting the Xorg configuration:

    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
    sudo reboot
    

    This will cause Xorg to generate a new configuration file automatically.

  5. Adjust Display Settings:
    If the screen is still not displaying correctly, try adjusting the display settings manually through the NVIDIA settings tool:

    sudo dnf install -y nvidia-settings
    sudo nvidia-settings
    

    Here, you can adjust the resolution, refresh rate, and other settings to match your display.

  6. Fallback to Nouveau Drivers (Optional):
    If the NVIDIA proprietary drivers continue to cause issues, you might consider falling back to the open-source nouveau drivers as a temporary workaround. Keep in mind that these drivers may not offer the same level of performance:

    sudo dnf remove -y xorg-x11-drv-nvidia akmod-nvidia
    sudo dnf install -y xorg-x11-drv-nouveau
    sudo reboot
    

If these steps don’t resolve the issue, it might be worth checking the logs for more detailed errors:

journalctl -xe

or

dmesg | grep nvidia

These logs can provide more insight into what might be going wrong.

Let me know how it goes or if you encounter any other issues!