I am running Fedora 39 right now and the last time I did a distro upgrade my graphics drivers were a huge PITA. Did your upgrade to 40 went smooth?
Had no problems even on KDE spin. Upgrade from KDE 5 to 6 went smooth
qt was stuck with 5.15 because the telegram app depended on it (sigh). Had to do a dnf upgrade --best --allowerasing
for the update to qt6 (and the removal of telegram lol).
But now everything works fine.
There is a flatpak available for Telegram if you need it 😃