Official Nvidia drivers made things worse - how do I get back to nouveau?

Hi all,

New Fedora user here. Have been enjoying the latest version for a few weeks but noticed some weird graphical glitching before the login screen appears. So I decided to install the official nvidia drivers by adding the repo and running a script.

Unfortunately this didn’t fix my issue and has in fact made some things in the system behave a little weirdly.

Can anyone provide advice to either:

  1. Correctly deploy nvidia drivers (in case I did something wrong)
  2. Roll back to nouveau drivers

I am using a GTX 1060ti. Scripts were from: How to Install Nvidia Drivers on Fedora Linux

Which repo and script please? What card do you have?

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda

GTX 1060ti

I’ll update the original post as well :slight_smile:

I’m seeing tips which suggest downgrading the nvidia driver might help?

I ended up doing this:
dnf erase *nvidia*

After a reboot the nouveau driver was restored and things started working smoothly again.

I’m still keen to use the non-free driver to get better gaming performance but need to understand why it wasn’t working properly before.

This command is not the correct way to remove the nvidia drivers.
What that does is remove a system firmware file along with the driver files and that firmware is needed for some nvidia GPUs.
sudo dnf install nvidia-gpu-firmware should restore that file.

The correct way that works cleanly for most is
sudo dnf remove \*nvidia\* --exclude nvidia-gpu-firmware

The commands you show for installing the drivers are correct, but for that GPU there may be some issues with the latest kernel and the cuda version (12.4) with the 550.78 drivers.

Downgrading the drivers will probably not help but we may be able to provide pointers to assist if we have more information about your system and the issues you are experiencing.

The only older version of the drivers you may be able to get would be the 470xx driver and that one does not support wayland at all.

1 Like

Thanks for your help. I restored the file as suggested.

Is my best bet (for using the proprietary drivers) to just wait for the next driver version to release?

I do not understand exactly what is going wrong.
I have a desktop with 2 nvidia GTX 1050 gpus and it works quite well with the 550.78 driver.

If you could provide details of what is happening and what you see with that you are trying to do we might help. Without details it becomes almost impossible to assist.

Sure thing.

With just Nouveau driver I have these issues:

  1. screen displays a mess of randomly coloured pixels briefly before login screen is displayed
  2. When selecting a User photo in Gnome, all the default photo entries show glitched out images (seemingly unrelated to the actual pictures).
  3. Hardware acceleration not possible in games

With the nvidia driver installed:
Same as above, except hardware acceleration possible in games. However, any 3D games I’ve tried have a strange flickering issue.

Have since learned that the flickering is caused by Nvidia driver refresh rate sync issue. Turning down refresh rate on my monitor helped as a temporary fix. Permanent fix might be using an older version of the drivers…

Probably not, but we cannot tell without knowing what you have for both hardware and software.

I asked for details above and received nothing in response.

My PC specs:
CPU: i5-4690
GPU: GTX1060ti
RAM: 16GB DDR3

Software:
Fedora Workstation 40

This is not an adequate response when asked for details.

Full details (as text that can be found with a web search) often helps users running different linux distros to find your issue. It is very helpful to know an issue affects multiple distros – “given enough eyeballs, all bugs are shallow” (L. Torvalds).

You should strive to provide enough detail to allow others to reproduce the issue. The output from running inxi -Fzxx (posted as pre-formatted text using the </> button at the top of the text entry panel) shows the hardware and the modules being used.

Developers don’t have access to the full range of hardware, so it is often up to users to provide information that can lead to a fix. Sometimes it is enough to report the kernel version where the issue first appears.

The journalctl command-line tool has access to enormous detail, so you may be able to extract the details that are relevant to your issue. This takes some effort, but can be a very useful learning experience that can be applied the next time you encounter an issue.

1 Like

The GTX 1060 works with the current nvidia driver (550.78) from rpm fusion on f40 with the current kernel (5.8.11)

The only older version you might try (should you wish) would be the 470xx driver from rpmfusion and with that driver you would only be able to use the X11 DE. The plans from fedora seem to be to remove X11 from new installations of fedora beginning with release 41 which is coming this fall. (X11 will still be available but would require the user to install an additional package not in the install.)

It is of course your choice, but not recommended to downgrade the driver when not necessary.

In games the screen resolution/refresh is often cause for display problems when using older hardware – and can even be caused by the lesser amount of video ram on those older GPUs. You turned down the refresh rate and seem to have improved performance. I think that is probably the best you will achieve with a GPU that was released about 8 years ago and usually has a maximum of 4GB ram.

If you want the absolute best in video performance (especially in games) it requires the best in both drivers and hardware.

1 Like

Note that “Best performance” is a rapidly moving target.

1 Like

Thanks all for your patience. I do appreciate your help.

I’ve come from a few other distros where driver installation was a bit simpler, so I think my expectactions were just a little high. Plus I don’t have a lot of free time for diagnosing PC issues and doing research - I have triplets 0.0

I have installed inxi and got the following output:

System:
  Kernel: 6.8.11-300.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: GNOME v: 46.2 tk: GTK v: 3.24.42 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A
    serial: <superuser required>
  Mobo: ASUSTeK model: Z97I-PLUS v: Rev X.0x serial: <superuser required>
    part-nu: All UEFI: American Megatrends v: 2704 date: 02/18/2016
CPU:
  Info: quad core model: Intel Core i5-4690 bits: 64 type: MCP arch: Haswell
    rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 2325 high: 3900 min/max: 800/3900 cores: 1: 2636 2: 1964
    3: 3900 4: 800 bogomips: 27985
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: eVga.com.
    driver: nvidia v: 550.78 arch: Pascal pcie: speed: 2.5 GT/s lanes: 16 ports:
    active: none off: HDMI-A-1 empty: DP-1, DP-2, DP-3, DVI-D-1
    bus-ID: 01:00.0 chip-ID: 10de:1c03
  Device-2: Logitech HD Webcam C510 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-3:2 chip-ID: 046d:081d
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.0
    compositor: gnome-shell driver: gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: HDMI-A-1 model: C49HQW res: 3840x1080 dpi: 82
    diag: 1242mm (48.9")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 550.78 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
    display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel 9 Series Family HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8ca0
  Device-2: NVIDIA GP106 High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f1
  Device-3: Logitech HD Webcam C510 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-3:2 chip-ID: 046d:081d
  Device-4: Razer USA Nommo Chroma
    driver: razeraccessory,snd-usb-audio,usbhid type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-6:5 chip-ID: 1532:0517
  Device-5: Razer USA Nari (Wireless)
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 bus-ID: 3-9.3:10 chip-ID: 1532:051c
  API: ALSA v: k6.8.11-300.fc40.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Ethernet I218-V vendor: ASUSTeK driver: e1000e v: kernel
    port: f040 bus-ID: 00:19.0 chip-ID: 8086:15a1
  IF: eno1 state: down mac: <filter>
  Device-2: Broadcom BCM4352 802.11ac Dual Band Wireless Network Adapter
    vendor: ASUSTeK driver: wl v: kernel pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 14e4:43b1
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: ASUSTek BCM20702A0 driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-11:9 chip-ID: 0b05:17cf
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
    lmp-v: 6
Drives:
  Local Storage: total: 2.27 TiB used: 1.34 TiB (58.8%)
  ID-1: /dev/sda vendor: Seagate model: ST2000DM001-1CH164 size: 1.82 TiB
    speed: 6.0 Gb/s serial: <filter>
  ID-2: /dev/sdb vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 464.17 GiB used: 36.98 GiB (8.0%) fs: btrfs dev: /dev/sdb3
  ID-2: /boot size: 973.4 MiB used: 442.3 MiB (45.4%) fs: ext4
    dev: /dev/sdb2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/sdb1
  ID-4: /home size: 464.17 GiB used: 36.98 GiB (8.0%) fs: btrfs
    dev: /dev/sdb3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.56 GiB used: 4.42 GiB (28.4%)
  Processes: 1002 Power: uptime: 6m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 54 Compilers: gcc: 14.1.1 Shell: Bash
    v: 5.2.26 running-in: gnome-terminal inxi: 3.3.34
1 Like

So no time or money to spare for the next couple decades! Hope they are healthy.

Odd that inxi doesn’t find iGPU (HD Graphics 4600) mentioned in Intel Core i5-4690, but a LHDB probe is also missing the iGPU. An iGPU is very useful when the Nvidia dGPU acts up.

Large enterprises have been dumping high-quality systems that won’t run Windows 11, so you can get 4–5-year old systems at bargain prices from reputable resellers (including OEM refurbished models) anad get 4–5 years of use from linux.

1 Like

Sounds like the answer is a PC upgrade! I’m guessing if I switch to AMD I’ll have a better time running Linux as well.

The upgrade sounds good, though switching to amd is not necessarily going to be better. It does remove the need for the proprietary nvidia drivers.

1 Like