P.S.A. 2026-04-20 about Nvidia Drivers

Today the 580.142 update came out.
A computer of mine was set to “install updates after restart”.

AKMODS was keeping on failing to build, each and every single time it was booting up, so I swapped to the iGPU (I am lucky this one has it)[1] and now I ran the almighty

sudo akmods --rebuild --force


Using the GUI to update Nvidia drivers seems dangerous, which shouldn’t be.


  1. You can technically use Ctrl + Alt + F3 to log in without graphics, but this one computer had a different username compared to my other ones because the way Fedora gets installed changed and I didn’t notice that iclarke became isaac on this one alone. ↩︎

If you still have the /var/cache/akmods/nvidia/580.142-2*.failed.log, can you paste
its end ? (30 lines will be enough I think).

What gives also ?: journalctl --since -1d -u akmods

Thanks.

:~$ journalctl --since -1d -u akmods
Apr 19 16:21:57 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 19 16:21:58 fedora akmods[749]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 19 16:21:58 fedora systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packages.
Apr 19 17:59:26 DESKTOP-L9HGLLK systemd[1]: akmods.service: Deactivated successfully.
Apr 19 17:59:26 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 19 17:59:26 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 209ms CPU time, 74.1M memory peak.
-- Boot 59a6294f879741b89bdddc64963d10a6 --
Apr 20 07:32:47 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 07:32:48 fedora akmods[749]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 07:32:48 fedora systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packages.
Apr 20 07:41:48 DESKTOP-L9HGLLK systemd[1]: akmods.service: Deactivated successfully.
Apr 20 07:41:48 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 07:41:48 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 209ms CPU time, 76.3M memory peak.
-- Boot 20f96f43e2cf479a9e031627d23af8d8 --
Apr 20 07:43:34 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 07:43:35 fedora akmods[744]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 07:43:35 fedora runuser[986]: pam_unix(runuser:session): session opened for user akmods(uid=971) by (uid=0)
Apr 20 07:45:13 DESKTOP-L9HGLLK runuser[986]: pam_unix(runuser:session): session closed for user akmods
Apr 20 07:45:29 DESKTOP-L9HGLLK akmods[744]: Building and installing nvidia-kmod
Apr 20 07:45:29 DESKTOP-L9HGLLK systemd[1]: akmods.service: Main process exited, code=killed, status=15/TERM
Apr 20 07:45:29 DESKTOP-L9HGLLK systemd[1]: akmods.service: Failed with result 'signal'.
Apr 20 07:45:29 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 07:45:29 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 5min 39.624s CPU time, 1.1G memory peak.
-- Boot 5c05df1d342b469986f070abda9b60f7 --
Apr 20 07:46:05 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 07:46:06 fedora akmods[737]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 07:46:06 fedora runuser[924]: pam_unix(runuser:session): session opened for user akmods(uid=971) by (uid=0)
Apr 20 07:47:39 DESKTOP-L9HGLLK runuser[924]: pam_unix(runuser:session): session closed for user akmods
Apr 20 07:47:40 DESKTOP-L9HGLLK akmods[737]: Building and installing nvidia-kmod [  OK  ]
Apr 20 07:47:41 DESKTOP-L9HGLLK systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packa>
-- Boot eedac114d18e431d9140400a16fb3358 --
Apr 20 07:51:29 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 07:51:30 fedora akmods[743]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 07:51:30 fedora runuser[924]: pam_unix(runuser:session): session opened for user akmods(uid=971) by (uid=0)
Apr 20 07:52:57 DESKTOP-L9HGLLK akmods[743]: Building and installing nvidia-kmod
Apr 20 07:52:57 DESKTOP-L9HGLLK runuser[924]: pam_unix(runuser:session): session closed for user akmods
Apr 20 07:52:57 DESKTOP-L9HGLLK systemd[1]: akmods.service: Main process exited, code=killed, status=15/TERM
Apr 20 07:52:57 DESKTOP-L9HGLLK systemd[1]: akmods.service: Failed with result 'signal'.
Apr 20 07:52:57 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 07:52:57 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 5min 10.253s CPU time, 1.1G memory peak.
-- Boot 6e11e1b0c0814545b564e2e81f24fee7 --
Apr 20 07:53:27 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 07:53:28 fedora akmods[747]: Checking kmods exist for 6.19.11-200.fc43.x86_64 [  OK  ]
Apr 20 07:53:28 fedora runuser[933]: pam_unix(runuser:session): session opened for user akmods(uid=971) by (uid=0)
Apr 20 07:54:18 DESKTOP-L9HGLLK akmods[747]: Building and installing nvidia-kmod
Apr 20 07:54:18 DESKTOP-L9HGLLK runuser[933]: pam_unix(runuser:session): session closed for user akmods
Apr 20 07:54:18 DESKTOP-L9HGLLK systemd[1]: akmods.service: Main process exited, code=killed, status=15/TERM
Apr 20 07:54:18 DESKTOP-L9HGLLK systemd[1]: akmods.service: Failed with result 'signal'.
Apr 20 07:54:18 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 07:54:18 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 2min 46.744s CPU time, 1G memory peak.
-- Boot fe5d2d55a6544f5190521f0f7f44196c --
Apr 20 08:07:17 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 08:07:18 fedora akmods[720]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 08:07:18 fedora runuser[907]: pam_unix(runuser:session): session opened for user akmods(uid=971) by (uid=0)
Apr 20 08:08:51 DESKTOP-L9HGLLK runuser[907]: pam_unix(runuser:session): session closed for user akmods
Apr 20 08:08:52 DESKTOP-L9HGLLK akmods[720]: Building and installing nvidia-kmod [  OK  ]
Apr 20 08:08:53 DESKTOP-L9HGLLK systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packa>
-- Boot ef547326dad4478d89c261e1fe886067 --
Apr 20 08:16:18 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 08:16:19 fedora akmods[741]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 08:16:19 fedora runuser[928]: pam_unix(runuser:session): session opened for user akmods(uid=971) by (uid=0)
Apr 20 08:17:54 DESKTOP-L9HGLLK runuser[928]: pam_unix(runuser:session): session closed for user akmods
Apr 20 08:17:55 DESKTOP-L9HGLLK akmods[741]: Building and installing nvidia-kmod [  OK  ]
Apr 20 08:17:56 DESKTOP-L9HGLLK systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packa>
-- Boot 5d689e8d4e374f6fb6d34cca16f03484 --
Apr 20 08:30:04 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 08:30:05 fedora akmods[738]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 08:30:05 fedora runuser[925]: pam_unix(runuser:session): session opened for user akmods(uid=971) by (uid=0)
Apr 20 08:31:38 DESKTOP-L9HGLLK runuser[925]: pam_unix(runuser:session): session closed for user akmods
Apr 20 08:31:40 DESKTOP-L9HGLLK akmods[738]: Building and installing nvidia-kmod [  OK  ]
Apr 20 08:31:40 DESKTOP-L9HGLLK systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packa>
Apr 20 08:34:05 DESKTOP-L9HGLLK systemd[1]: akmods.service: Deactivated successfully.
Apr 20 08:34:05 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 08:34:05 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 5min 25.555s CPU time, 1.1G memory peak.
-- Boot 3bcc465e5fad47a0b0fa67aa8bd0ceba --
Apr 20 08:39:20 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 08:39:20 fedora akmods[751]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 08:39:21 fedora runuser[939]: pam_unix(runuser:session): session opened for user akmods(uid=971) by (uid=0)
Apr 20 08:39:37 DESKTOP-L9HGLLK akmods[751]: Building and installing nvidia-kmod
Apr 20 08:39:37 DESKTOP-L9HGLLK runuser[939]: pam_unix(runuser:session): session closed for user akmods
Apr 20 08:39:37 DESKTOP-L9HGLLK systemd[1]: akmods.service: Main process exited, code=killed, status=15/TERM
Apr 20 08:39:37 DESKTOP-L9HGLLK systemd[1]: akmods.service: Failed with result 'signal'.
Apr 20 08:39:37 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 08:39:37 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 44.614s CPU time, 768.9M memory peak.
-- Boot 54b7ab50b3b6434b9cc18f74b65df9bb --
Apr 20 08:40:26 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 08:40:27 fedora akmods[753]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 08:40:27 fedora runuser[942]: pam_unix(runuser:session): session opened for user akmods(uid=971) by (uid=0)
Apr 20 08:42:03 DESKTOP-L9HGLLK runuser[942]: pam_unix(runuser:session): session closed for user akmods
Apr 20 08:42:04 DESKTOP-L9HGLLK akmods[753]: Building and installing nvidia-kmod [  OK  ]
Apr 20 08:42:04 DESKTOP-L9HGLLK systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packa>
Apr 20 08:52:57 DESKTOP-L9HGLLK systemd[1]: akmods.service: Deactivated successfully.
Apr 20 08:52:57 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 08:52:57 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 5min 34.434s CPU time, 1.1G memory peak.
-- Boot 8fa8bba17013472b9d9e36f86800c190 --
Apr 20 08:55:07 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 08:55:08 fedora akmods[740]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 08:55:09 fedora systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packages.
Apr 20 09:12:44 DESKTOP-L9HGLLK systemd[1]: akmods.service: Deactivated successfully.
Apr 20 09:12:44 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 09:12:44 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 213ms CPU time, 74.4M memory peak.
-- Boot 0b61be2ea811451db384a649ffa20409 --
Apr 20 09:13:25 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 09:13:26 fedora akmods[767]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 09:13:26 fedora systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packages.
Apr 20 09:18:45 DESKTOP-L9HGLLK systemd[1]: akmods.service: Deactivated successfully.
Apr 20 09:18:45 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 09:18:45 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 207ms CPU time, 74.3M memory peak.
-- Boot 6dd5abf6d9a743f9b15cb1c8f006c357 --
Apr 20 09:20:47 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 09:20:48 fedora akmods[743]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 09:20:48 fedora systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packages.
Apr 20 09:51:35 DESKTOP-L9HGLLK systemd[1]: akmods.service: Deactivated successfully.
Apr 20 09:51:35 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 09:51:35 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 204ms CPU time, 74.3M memory peak.
-- Boot ebcf77c837de4d1ea1ab57f212dfb925 --
Apr 20 09:54:52 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 09:54:52 fedora akmods[747]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 09:54:52 fedora systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packages.
Apr 20 10:43:25 DESKTOP-L9HGLLK systemd[1]: akmods.service: Deactivated successfully.
Apr 20 10:43:25 DESKTOP-L9HGLLK systemd[1]: Stopped akmods.service - Builds and install new kmods from akmod packag>
Apr 20 10:43:25 DESKTOP-L9HGLLK systemd[1]: akmods.service: Consumed 210ms CPU time, 76.4M memory peak.
-- Boot 55d33f24511e4f00a7e77245dd860bd7 --
Apr 20 10:48:45 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...
Apr 20 10:48:46 fedora akmods[738]: Checking kmods exist for 6.19.12-200.fc43.x86_64 [  OK  ]
Apr 20 10:48:47 fedora systemd[1]: Finished akmods.service - Builds and install new kmods from akmod packages.
lines 75-126/126 (END)


Btw another user isn’t giving me the command which that user used to get some data.
Could you help me out there too?

This journal seems to include logs from 2 machines: fedora and DESKTOP-L9HGLLK.

Am I right ? Have you setup journald to centralise the logs ?

On DESKTOP-L9HGLLK the akmods service has been killed 3 times by I guess a reboot.

The listing of /var/cache/akmods/nvidia/ only shows one log for today: the last
successful one. I’m working to modify akmods to keep all the logs.

Do you know how “install updates after restart” is implemented on this machine ?
I guess it should be a systemd service. It should be then safer to make akmods.service
start after it.

No, sorry: I’m not a vlc expert.

There were[1] 2 accounts on this one.

Mine is root, the other was not.

It’s a gaming machine for the livingroom.


I have no idea how Linux works in the background.
I updated from the user one[2] because I was there, doing things, and when I restarted the PC I got the message “building stuff” with the MOBO’s and Fedora’s Logos; then I got to Login, and after that the KDE screen didn’t show up, but I could move the mouse, alt-tab (with nothing open) and Meta+Esc shower that System Monitor tried to start, but didn’t.

tl;dr I’ve already seen things like this in the 2+ years I’ve been with Fedora KDE, so I knew what to do.



It’s ok, but it’s not about VLC.
The user said —>

—> without giving me the correct command to get the logs, and another user’s command gave me logs as old as 1 month if not more.

I need a way to fish out that data from the log, if you can help with it, please.


  1. I deleted the User account because I was having other problems which are not related to this one. ↩︎

  2. Which has the default setting of “update once restarted”, since I didn’t change it yet, because it should not be a problem. ↩︎

If you want to restrict the output of journalctl to recent logs and not see all the older stuff, a few ways are:

  1. Use -b to specify a boot index. So journalctl -b 0 gives logs only from the current boot, journalctl -b -1 only from the previous one, journalctl -b -2 only from the one before that, etc.
  2. Use --since with a relative timestamp, like the journalctl --since 1d that @francismontagnac showed earlier
  3. Use --since with an absolute timestamp, for example journalctl --since "2026-04-18 12:00:00"

To clarify, the logs are weird.

In this log:

Apr 19 16:21:57 fedora systemd[1]: Starting akmods.service - Builds and install new kmods from akmod packages...

the name of the machine is fedora

in this one, it is DESKTOP-L9HGLLK:

Apr 19 17:59:26 DESKTOP-L9HGLLK systemd[1]: akmods.service: Deactivated successfully.

I don’t see why one has that :frowning:

Ok: it was thus a manual update, not an automatic one as I thought.

Seeing an update of nvidia or of the kernel, you should wait a few minutes to give
time to akmods to build and install the nvidia driver. That’s sad yes: still work in
progress to fix that …

Rebooting too early may effectively make akmods fail repeatedly to properly build the
nvidia driver, and the fix is as you said: sudo akmods --rebuild --force (another
fix to come).

PS: Beware, I forgot to use sudo in my journalctl command. It worked for you
probably because your account is in the wheel group (as mine is).
This applies also to the logs you want to see in the other “Vulcan video ..” topic.

Could be that the second hostname is acquired over DHCP, after akmods.service starts up.

Yes, this is surely that. Thanks.
Using sudo journalctl --no-hostname would have been better/clearer.

In addition akmods.service uses RemainAfterExit=yes. This explain the long delays
between Finished and Deactivated.

Indeed.
There’s no loading screen, or to better say it, it shouldn’t allow to reach Login IF AKMODS didn’t finishing to build… which should happen alongside all the other updates between the 0% and 100%…

That’s the thing, I didn’t “restart too early”, I restarted it when the PC told me to.
The account was set as “download first, update when booting”, as default, with 800+ things (grouped in a blob called “system updates”).

No, I just added Sudo afterwards.

Btw, I updated the Nvidia drivers TODAY, when the new ones came out.
Why is there anything AKMODS-related from yesterday?

:~$ journalctl --since 8d
Failed to parse timestamp: 8d
:~$ journalctl --since 1d
Failed to parse timestamp: 1d
:~$ journalctl --since 8g
Failed to parse timestamp: 8g

(The g is for giorni, because I’m italian and I tried just in case some setting were in italian, just to not have to try later.)

Doesn’t seem to work? ,':-/

I tried 8 days because It’s x+1 from when I needed the message for.

journalctl --since "2026-04-12 00:00:00" worked, but there are 50k lines for just 17 hours or logs.
Is there a way to filter the results for words like avcodec decoder?

My bad, I missed the minus sign. (@francismontagnac had it correct earlier.)

journalctl --since -8d

…will hopefully work?

The -g option allows you to filter the output by a grep pattern. So for example:

journalctl --since -8d -g "avcodec decoder"

should find any line in the last 8 days containing the text “avcodec decoder”.

Thanks.

I see now what means “install updates after restart”. This is also called “offline updates”.
I guess that you setup that with the plasma-discover GUI.

This is a known bug of akmods: when using offline updates, the automatic reboot at the end of the updates may happen too early. There is also a work in progress to correct that.

I think thus that it’s not worth to dig deeper for this case,

FWIW, there will be a somehow related change in plasma-discover with Fedora 44:

My bad: it would have been better to specify --since 00:00 instead of --since -1d

A proper call would have been thus:

  • sudo journalctl --no-hostname --since 00:00 -u akmods

That’s not the problem.
What I asked was “why was there AKMODS activity a day in which I didn’t do anything related to it?”.

Is it just the normal behaviour of the software/driver?

Ah, sorry. The akmods service is started at every boot. Its goal is to check that
every automatic kmod (akmod-*) has a corresponding kernel module
(kmod-KMOD-KERNEL_VERSION) installed for the current and default kernel, otherwise
attempt to build and install them.

Those logs show thus that you rebooted your machine around Apr 19 16:21 the day before
(on Sunday).

Of the akmods.service service yes.