hi fasulia
I had this problem too. As you suspect I think this is the nVidia driver (I was using 510.68.02 from the nVidia website rather than the standard Fedora build - I originally needed this to get the 5.17 kernel working but it gave up when I updated to 5.17.11). My video is working again after I uninstalled the nVidia driver and switched back to nouveau (I am using KDE desktop).
Iām not sure how the interaction between X, Wayland and nVidia works - I clearly need to read up on this but in the meantime, my priority was to switch out nVidia. The uninstall procedure I used is loosely based on
No responsibility accepted for problems resulting, make sure you take backups etc.
Boot into runlevel 3 using the 5.17.9 kernel
Change to root user:
sudo -i
Start nVidia uninstall
nvidia-installer --uninstall
When prompted re restoration of /etc/X11/xorg.conf I responded Yes. Ignore any warnings (what am I supposed to do about them anyway?)
Remove nouveau blacklisting:
either get rid of file /etc/modprobe.d/nouveau-blacklist.conf
or remove āblacklist nouveauā line from /etc/modprobe.d/blacklist.conf
There may be a blacklist clause ārd.driver.blacklist=nouveauā in āGRUB_CMDLINE_LINUX=āā¦āā config in
/etc/default/grub. In my case there wasnāt, so I didnāt have to remove it, and by the same token I didnāt have to regenerate GRUB config so did not run
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
(or grub2-mkconfig -o /boot/grub2/grub.cfg if not using EFI)
I already had the nouveau driver installed but if not:
dnf install xorg-x11-drv-nouveau
Then generate a new initramfs. I am running 5.17.9 while troubleshooting but want to update the 5.17.11 initramfs, so specify the kernel explicitly and donāt use $(uname -r):
mv /boot/initramfs-5.17.11-200.fc35.x86_64.img /boot/initramfs-5.17.11-200.fc35.x86_64-nvidia.img
dracut /boot/initramfs-5.17.11-200.fc35.x86_64.img 5.17.11-200.fc35.x86_64
I did not do this - not required on FC35?
dnf reinstall xorg-* mesa* libglvnd*
Then reboot. Hope this helps