nvidia 34xx @ fedora 41 / 42

yes, it's obsolete, dead, unsupported, …but not buried 👻

You are using nvidia-34xx on F40 and wanna upgrade to F41 or F42 but still disagree nouveau it's the way.

You followed RPM Fusion advice.

Then failed to dnf system-upgrade download --releasever=41/2. 😔

Workaround 🤓

  1. Tweak your X11 startup to use -ignoreABI.

    e.g. with lxdm, edit /etc/lxdm/lxdm.conf, go to [server] block, append option to arg= line.

  2. xorg-x11-drv-nvidia-340xx: d/l F40 SRPM from rpmfusion, edit SPEC to comment Xorg ≥ 1.20.99 conflict line, build your F41/42 RPM.
  3. nvidia-340xx-kmod: build your F41/42 RPM using F40 SRPM from rpmfusion.
  4. Add these RPMs to your local repo and upgrade. 🤪