Re: After having updated nvidia drivers, cannot start obs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 30 Mar 2024 10:55:35 -0600 Joe Zeff wrote:

> On 03/30/2024 10:43 AM, Francis.Montagnac@xxxxxxxx wrote:
>> Have you wait for akmods to compile the nvidia kernel modules before
>> rebooting ?

> Unless things have changed considerably since I used those drivers,

Probably not.

> the akmod module runs at boot, and checks to see if it needs to do
> anything.  If it does, it rebuilds the kmod; if not, it simply
> exits.

Right, but it also runs asynchonously to the dnf transaction, before
the reboot.

The check at boot is incomplete: it only checks that the
kmod-nvidia-KVER rpm is installed, but this rpm does a mandatory
"depmod" in postinstall and this "depmod" may have been killed during
shutdown.

I made a proposal to prevent that:

  kmod failed to load after upgrade Fedora using dnf system-upgrade
  https://bugzilla.redhat.com/show_bug.cgi?id=2011120

still waiting for approval:

> Running it after an update and before reboot is just making sure it
> gets done and can be skipped if you don't mind the extra few seconds
> during boot.

Not only. AFAIK, the nvidia kernel module is mandatory at boot
otherwise Xorg may fail since it loads the nvidia_drv.so driver from
xorg-x11-drv-nvidia.that has to have the exact version as the kernel
module.

Also, on some machines, nvidia-drm.modeset=1 is mandatory in the
kernel command line.

> I never bothered and never had any problems letting them do their
> jobs as they were designed to do.

IMO you were lucky.

-- 
francis
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux