I figured out that kernel fallbacks to nouveau and just wanted to reinstall all dependencies.
According to this answer of @computersavvy it must be a single repo to install dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda
But I’ve got different repos:
====================================================================================================================
Пакет Архитектура Версия Репозиторий Размер
====================================================================================================================
Установка:
akmod-nvidia x86_64 3:560.35.03-1.fc40 rpmfusion-nonfree-updates 42 k
xorg-x11-drv-nvidia-cuda x86_64 3:560.35.03-3.fc40 rpmfusion-nonfree-updates 2.2 M
Установка зависимостей:
akmods noarch 0.5.8-8.fc40 fedora 32 k
egl-gbm x86_64 2:1.1.2-1.fc40 updates 21 k
egl-wayland x86_64 1.1.16-1.fc40 updates 44 k
fakeroot x86_64 1.34-1.fc40 updates 99 k
fakeroot-libs x86_64 1.34-1.fc40 updates 38 k
kernel-devel-matched x86_64 6.10.7-200.fc40 updates 177 k
kmodtool noarch 1.1-10.fc40 fedora 16 k
libgit2 x86_64 1.7.2-4.fc40 updates 543 k
llhttp x86_64 9.2.1-1.fc40 updates 33 k
nvidia-modprobe x86_64 3:560.35.03-1.fc40 rpmfusion-nonfree-updates 32 k
nvidia-persistenced x86_64 3:560.35.03-1.fc40 rpmfusion-nonfree-updates 36 k
nvidia-settings x86_64 3:560.35.03-1.fc40 rpmfusion-nonfree-updates 1.7 M
opencl-filesystem noarch 1.0-20.fc40 fedora 7.5 k
python3-babel noarch 2.16.0-1.fc40 updates 6.5 M
python3-click-plugins noarch 1.1.1-19.fc40 fedora 17 k
python3-progressbar2 noarch 3.53.2-11.fc40 fedora 72 k
python3-pygit2 x86_64 1.14.0-1.fc40 fedora 286 k
python3-rpmautospec-core noarch 0.1.5-1.fc40 updates 15 k
python3-typing-extensions noarch 4.12.2-2.fc40 updates 89 k
python3-utils noarch 3.7.0-3.fc40 fedora 69 k
rpmdevtools noarch 9.6-7.fc40 fedora 96 k
xorg-x11-drv-nvidia x86_64 3:560.35.03-3.fc40 rpmfusion-nonfree-updates 136 M
xorg-x11-drv-nvidia-cuda-libs x86_64 3:560.35.03-3.fc40 rpmfusion-nonfree-updates 41 M
xorg-x11-drv-nvidia-kmodsrc x86_64 3:560.35.03-3.fc40 rpmfusion-nonfree-updates 54 M
xorg-x11-drv-nvidia-libs x86_64 3:560.35.03-3.fc40 rpmfusion-nonfree-updates 63 M
Установка слабых зависимостей:
python3-rpmautospec noarch 0.7.1-1.fc40 updates 74 k
xorg-x11-drv-nvidia-power x86_64 3:560.35.03-3.fc40 rpmfusion-nonfree-updates 103 k
I want to clarify: is it appropriate repos or I should do something before installation?