I tried to reinstall the nvidia drivers from rpmfusion:
$ sudo dnf install xorg-x11-drv-nvidia-390xx akmod-nvidia-390xx
I still have the same issue on the screen resolution and here is the
output of the commands:
$ lspci|grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF116M [GeForce
GT 560M] (rev a1)
$ cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-6.0.5-200.fc36.x86_64
root=UUID=4aab7630-84b2-4eae-9c5e-804ff8657b7f ro rhgb quiet
rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
nvidia-drm.modeset=1
$ cat /etc/sysconfig/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau nvidia-drm.modeset=1 rhgb quiet
rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
nvidia-drm.modeset=1"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true