I’d recommend tracking this ticket instead.
The temporary workaround is to install older Mesa release with:
$ sudo dnf install mesa-dri-drivers-24.0.5-1.fc40.x86_64 -y
I also intentionally excluded the related packages from the Fedora 40 Updates repository, just so they don’t get updated until that’s resolved (note the excludepkgs
line at the bottom):
$ cat /etc/yum.repos.d/fedora-updates.repo
[updates]
name=Fedora $releasever - $basearch - Updates
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
countme=1
repo_gpgcheck=0
type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False
excludepkgs='mesa*'
[...]