Fedora 40 drivers update problem

Hi Everyone I did post in another Necro thread so I’m starting from scratch.

i’m super new to linux, even if I have a notebook since 2 years now, It is difficult but fun process on learning something totally new.

The actual situation:

I have a lenovo laptop that came with out OS, so I have installed Fedora, I think it was 38, then 39 and now i think few month from now I did updated to 40.
After I updated to 40, some things stoped working like, the camera of the laptop, Parsec (remoto desktop software) I’m using for work, acutally the software is working, what is not working is the second screen, that is super important for me to work, becasue (my guess) the nvida drivers.

I think at this point the only healthy solution will be to move backwards to fedora 39, but let me know if there is other solution.

Cheers,

2 Likes

From Site Help & Feedback to Ask Fedora

Added f40 and removed Site Help & Feedback

Thank you for opening this new thread.

We can work on the aspect that it may be nvidia drivers. I would suggest that you do a full system upgrade using sudo dnf upgrade --refresh followed by a short wait of about 5 minutes then reboot before continuing.

Information needed is the output from the commands I provide below. Please post those as text, using the preformatted text tags to retain the on-screen formatting. This is done by pasting the text then highlight it and click the </> button on the text input toolbar.

inxi -Fzxx and dnf list installed '*nvidia*'

Once we have a chance to review that information we may be able to provide usable suggestions.

1 Like

Hi Jeff!

Thank you!

I did try de sudo dnf upgrade --refresh

But i get this message error:

unitedrpms 40 - x86_64                          9.8 kB/s |  25 kB     00:02    
Errors during downloading metadata for repository 'unitedrpms':
  - Status code: 404 for https://sourceforge.net/projects/unitedrpms/files/40/x86_64/repodata/repomd.xml (IP: 2606:4700:4400::6812:256f)
Error: Failed to download metadata for repo 'unitedrpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Copr repo for PyCharm owned by phracek          3.0 kB/s | 1.8 kB     00:00    
Fedora 40 - x86_64                               60  B/s |  19  B     00:00    
Errors during downloading metadata for repository 'fedora':
  - Status code: 404 for http://download.fedoraproject.org/repodata/repomd.xml (IP: 2a05:d01c:c6a:cc01:269:da52:9ae1:43e6)
Error: Failed to download metadata for repo 'fedora': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

It’s like I’m stuck here!

thank you for your help!

Cheers,
Pato.

1 Like

Possible that this Parsec only supports Xorg and Wayland was set as a default in the process?

Annoy the developers to support Wayland, it is very possible

Added 3rd-party-software, remote-desktop, webcam

Hi @vgaetera

Thank you for your help! When I execute that command I get this, I just copied the location of fedora.repo just is case and same result.

(base) legionaria@legionaria:~$ wget -O /etc/yum.repos.d/ferora.repo \https://src.fedoraproject.org/rpms/fedora-repos/raw/f$(rpm -E %{fedora})/f/fedora.repo
Failed to open '/etc/yum.repos.d/ferora.repo' (2)
/etc/yum.repos.d/fer 100% [===========================================================================================================================================>]    1.24K    --.-KB/s
                          [Files: 1  Bytes: 1.24K [1.67KB/s] Redirects: 0  Todo: 0  Errors: 0       

Thank you!

You got a backslash before “http”. Remove that.

Hi Here I’m pasting here the commands

First Inxi -Fzxx

System:
  Kernel: 6.9.12-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: GNOME v: 46.3.1 tk: GTK v: 3.24.43 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: 82RB v: Legion 5 15IAH7H
    serial: <superuser required> Chassis: type: 10 v: Legion 5 15IAH7H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
    part-nu: LENOVO_MT_82RB_BU_idea_FM_Legion 5 15IAH7H UEFI: LENOVO v: J2CN37WW
    date: 02/28/2022
Battery:
  ID-1: BAT0 charge: 72.5 Wh (98.1%) condition: 73.9/80.0 Wh (92.4%)
    volts: 17.1 min: 15.4 model: Celxpert L21C4PC1 serial: <filter>
    status: not charging
CPU:
  Info: 14-core (6-mt/8-st) model: 12th Gen Intel Core i7-12700H bits: 64
    type: MST AMCP arch: Alder Lake rev: 3 cache: L1: 1.2 MiB L2: 11.5 MiB
    L3: 24 MiB
  Speed (MHz): avg: 484 high: 1035 min/max: 400/4600:4700:3500 cores:
    1: 1035 2: 400 3: 400 4: 901 5: 400 6: 400 7: 400 8: 400 9: 955 10: 400
    11: 400 12: 400 13: 400 14: 400 15: 400 16: 400 17: 400 18: 400 19: 400
    20: 400 bogomips: 107520
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GA104M [Geforce RTX 3070 Ti Laptop GPU] vendor: Lenovo
    driver: nvidia v: 555.58.02 arch: Ampere pcie: speed: 2.5 GT/s lanes: 8
    ports: active: none off: HDMI-A-1,eDP-1 empty: DP-1,DP-2 bus-ID: 01:00.0
    chip-ID: 10de:24e0
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 24.1.1
    compositor: gnome-shell driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x2520 s-dpi: 96
  Monitor-1: not-matched mapped: DP-4 pos: primary,top-left res: 2560x1440
    dpi: 189 diag: 394mm (15.53")
  Monitor-2: not-matched mapped: HDMI-0 pos: bottom-r res: 1920x1080
    dpi: 142 diag: 394mm (15.53")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 555.58.02 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3070 Ti Laptop GPU/PCIe/SSE2
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:51c8
  Device-2: NVIDIA GA104 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:228b
  API: ALSA v: k6.9.12-200.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 31:00.0 chip-ID: 10ec:8168
  IF: enp49s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-10:8 chip-ID: 8087:0033
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
Drives:
  Local Storage: total: 953.87 GiB used: 284.44 GiB (29.8%)
  ID-1: /dev/nvme0n1 vendor: Micron model: MTFDKBA1T0TFH size: 953.87 GiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 37.9 C
Partition:
  ID-1: / size: 952.28 GiB used: 283.93 GiB (29.8%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 498.4 MiB (51.2%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 23.2 MiB (3.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 952.28 GiB used: 283.93 GiB (29.8%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 42.0 C mobo: N/A gpu: nvidia temp: 45 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 31.13 GiB used: 5.5 GiB (17.7%)
  Processes: 454 Power: uptime: 14m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 33 Compilers: gcc: 14.2.1 Shell: Bash
    v: 5.2.26 running-in: gnome-terminal inxi: 3.3.34

And dnf list installed ‘nvidia

Installed Packages
akmod-nvidia.x86_64                                                                       3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.9.12-100.fc39.x86_64.x86_64                                                 3:555.58.02-1.fc39                                                  @@commandline                   
kmod-nvidia-6.9.12-200.fc40.x86_64.x86_64                                                 3:555.58.02-1.fc40                                                  @@commandline                   
kmod-nvidia-6.9.6-100.fc39.x86_64.x86_64                                                  3:550.90.07-1.fc39                                                  @@System                        
kmod-nvidia-6.9.8-100.fc39.x86_64.x86_64                                                  3:555.58.02-1.fc39                                                  @@System                        
nvidia-gpu-firmware.noarch                                                                20240709-1.fc40                                                     @updates                        
nvidia-modprobe.x86_64                                                                    3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                                                                3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                                                                    3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                                                                3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64                                                           3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686                                                        3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64                                                      3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64                                                        3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686                                                             3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64                                                           3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64                                                          3:555.58.02-1.fc40                                                  @rpmfusion-nonfree-nvidia-driver

I think that is it at the moment! Waiting for your comments!
Thank you everyone!

1 Like

Hi Everyone!

Any clue with this information? I really need the camera and Parsec working, and some how this is affecting both :frowning:

Thank you for the help I really appreciate it!

Cheers,
Pato.

Hello,

Did you try what @vgaetera and @vekruse suggested you to do?

Hi Chris,

I’ll do all the steps again and share, as I’m a bit confused now!

If I run the

sudo dnf config-manager --disable unitedrpms

I get

Invalid configuration value: enabled=AUTO_VALUE in /etc/yum.repos.d/fedora.repo; invalid boolean value 'auto_value'
Invalid configuration value: metadata_expire=AUTO_VALUE in /etc/yum.repos.d/fedora.repo; stod
Invalid configuration value: metadata_expire=AUTO_VALUE in /etc/yum.repos.d/fedora.repo; stod
Invalid configuration value: metadata_expire=AUTO_VALUE in /etc/yum.repos.d/fedora.repo; stod

What they are saying is the code I added below I guess, and please try to paste it to terminal, what is the output?

sudo wget -O /etc/yum.repos.d/fedora.repo https://src.fedoraproject.org/rpms/fedora-repos/raw/f$(rpm -E %{fedora})/f/fedora.repo

Hi Chris , pasting exactly that code I get

/etc/yum.repos.d/fed 100% [===========================================================================================================================================>]    1.24K    --.-KB/s
                          [Files: 1  Bytes: 1.24K [1.88KB/s] Redirects: 0  Todo: 0  Errors: 0  

That is everything I get

I’m definitely not a Linux IT guy but it did what we want it to do. Now, could you try to update system? What will be the output? Probably some errors will occur but there should be some differences, I guess.

That tells you the file name and the problem.
If you need advice then show us the content of /etc/yum.repos.d/fedora.repo

The file downloaded with your command contains several lines that have the term AUTO_VALUE and the original file on my f40 system reads actual values in those spots

$ cat /etc/yum.repos.d/fedora.repo
[fedora]
name=Fedora $releasever - $basearch
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
countme=1
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

[fedora-source]
name=Fedora $releasever - Source
#baseurl=http://download.example/pub/fedora/linux/releases/$releasever/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
repo_gpgcheck=0
type=rpm
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False

@patoaltaco
If you copy and paste the content I just included above into the file /etc/yum.repos.d/fedora.repo it should fix the content of that file which was altered using the wget command.

Once that is done the dnf config-manager disable unitedrpms command should work.

1 Like

Thank you guys! I’ll read carefully and try to follow! and let you know

Hi All

@computersavvy I did what you said I copied that on my fedora.repo

then dnf config-manager disable unitedrpms worked and I did executed sudo wget -O /etc/yum.repos.d/fedora.repo https://src.fedoraproject.org/rpms/fedora-repos/raw/f$(rpm -E %{fedora})/f/fedora.repo

and this is the result again

base) legionaria@legionaria:~$ sudo wget -O /etc/yum.repos.d/fedora.repo https://src.fedoraproject.org/rpms/fedora-repos/raw/f$(rpm -E %{fedora})/f/fedora.repo
/etc/yum.repos.d/fed 100% [===========================================================================================================================================>]    1.24K    --.-KB/s
                          [Files: 1  Bytes: 1.24K [1.75KB/s] Redirects: 0  Todo: 0  Errors: 0 

Thank you!