hi @ll i use this way to downgrade and compile again . WARNING! use on own risk read the wiki about downgrading and arch linux archive i used linux-6.13.8.arch1-1-x86_64.pkg.tar.zst linux-headers-6.13.8.arch1-1-x86_64.pkg.tar.zst gcc14-14.2.1+r753+g1cd744a6828f-1-x86_64.pkg.tar.zst
first download
wget https://archive.archlinux.org/repos/2025/03/30/core/os/x86_64/linux-6.13.8.arch1-1-x86_64.pkg.tar.zst
install
sudo pacman -U linux-6.13.8 linux-headers-6.13.8 gcc14*
WARNING ! this delete the cc symlink and made a new symlink pointing to gcc-14
sudo unlink /bin/cc
sudo ln -s /bin/gcc-14 /bin/cc
now compile , !dont use the dkms driver! yay nvidia-340xx
when you done , revert symlink to gcc-15 only when you have gcc-15 installed
sudo unlink /bin/cc
sudo ln -s /bin/gcc /bin/cc
Avoid the error of future upgrades !
edit /etc/pacman.conf
IgnorePkg = linux linux-headers
NoUpgrade = linux linux-headers
it works for me and maybe for you , pls send feedback
Pinned Comments
JerryXiao commented on 2022-10-13 03:51 (UTC) (edited on 2022-10-14 02:44 (UTC) by JerryXiao)
For testing users, contributors: check out https://github.com/archlinux-jerry/nvidia-340xx
Warning: force push may happen to match the aur tree