I was trying to install the Nvidia drivers. I think it went well after many attempts. Anyways, I had a kernel upgrade from 6.6.6.200 to 6.6.7.200 while following this tutorial and I think something went wrong because the order was:
sudo dnf install xorg-x11-drv-nvidia-470xx-cuda #optional for cuda up to 11.4 support
And then I rebooted.
Now when I try to boot from 6.6.7, the system won’t completely boot. It seems like it will, but it stays in the “Lenovo” screen.
I believe the Nvidia drivers are correcly installed because I see something with the nvidia-smi command (tbh, I don’t know what I see, but is not an error like before), and I see the Nvidia card configuration in the Nvidia X Server app, which I didn’t see neither before.
Based on all that, I believe that I should update again, since I don’t want this mistake to be kept on further updates. How should I “reupdate” the system?
Did you wait at least 5 minutes after upgrading before you rebooted?
Updating the nvidia drivers is one thing, updating the entire machine is something different.
I hope the update was done using the command you show in the second step above.
The steps you show in the order performed should have worked, but if you rebooted too early after the installation then it may be an issue.
If possible please show the output of both dnf list installed \*nvidia\* and inxi -Fzxx so we may see the details of the system and have more info to assist. Use the preformatted text button </> to retain on-screen formatting of the text you post.
That shows you installed an incorrect driver. The 1650 is perfectly supported by the latest nvidia driver.
Please remove the 470xx driver and install the latest driver.
sudo dnf remove \*nvidia\* --exclude nvidia-gpu-firmware to remove all the invalid packages.
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda to install all the proper versioned packages.
Wait at least 5 minutes after step 2 completes then reboot.
After this the dnf list installed \*nvidia\* command should show all the packages at the 545.29.06-1 version (as the nvidia-persistenced package is now).
One of the major failings of using the 470xx driver with that GPU is not that the gpu is unsupported, but rather that the driver does not support wayland at all and forces use of xorg, in addition to the fact there have been no updates to actually support new features in kernels for several years.
I did as you say, sadly I’m still unable to boot into the 6.6.7 kernel and now my laptop has this strange behaviour, where the screen slows down for like half a secod (on a video is really obvious)
The kernel booted but still I’m facing this kind of microfreezing.
I made some changes in the grub to try some stuff, since the microfreezing thing is something I faced before and I thought I fixed.
Before the whole Nvidia + updating I did:
Add drm.debug=0 drm.vblankoffdelay=1 i915.semaphores=0 i915.modeset=1 i915.use_mmio_flip=1 i915.powersave=1 i915.enable_ips=1 i915.disable_power_well=1 i915.enable_hangcheck=1 i915.enable_cmd_parser=1 i915.fastboot=0 i915.enable_ppgtt=1 i915.reset=0 i915.lvds_use_ssc=0 i915.enable_psr=0 to the the /etc/default/grub file.
Change GRUB_ENABLE_BLSCFG=true in /etc/default/grub to false. This has to be done before generating the grub config or if not you won’t be able to boot to fedora.
Then remove old grub config : sudo rm /boot/grub2/grub.cfg
After that generate new : sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Reboot
And it was like that so far, till I experienced the microfreezings again after booting into 6.6.7. To try to fix that I changed the first step to just add GRUB_CMDLINE_LINUX_DEFAULT="i915.enable_psr=0", but like said, it started showing again the microfreezings (which were back before I rebooted into 6.6.7) any idea of how can I get rid of that behaviour?