Bug 6764

Summary: Problem Nvidia after upgrade Septembre 16 2023
Product: Fedora Reporter: KarmaBoy <karmaboy>
Component: nvidia-kmodAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED WORKSFORME    
Severity: major CC: leigh123linux, leigh123linux
Priority: P1    
Version: f38   
Hardware: x86_64   
OS: GNU/Linux   
namespace:
Attachments: logs Fedora 38 problèm Nvidia after upgrade
Neofetch Fédora 38

Description KarmaBoy 2023-09-17 00:25:23 CEST
Created attachment 2522 [details]
logs Fedora 38 problèm Nvidia after upgrade

Hello, I had an issue with my Nvidia GPU after an update, and I fixed it by running "akmods" and "dracut -f" upon reboot. I'm a beginner, but I'm available to provide you with any logs that might help.
[00:09]
paquet de la dernière upgrade et ta conf
[00:10]
Is it possible to automatically trigger akmods and dracut after each Nvidia or kernel upgrade before rebooting?
Comment 1 KarmaBoy 2023-09-17 00:43:39 CEST
Created attachment 2523 [details]
Neofetch Fédora 38
Comment 2 leigh scott 2023-09-17 08:26:05 CEST
(In reply to KarmaBoy from comment #0)
> Created attachment 2522 [details]
> logs Fedora 38 problèm Nvidia after upgrade
> 
> Hello, I had an issue with my Nvidia GPU after an update, and I fixed it by
> running "akmods" and "dracut -f" upon reboot. I'm a beginner, but I'm
> available to provide you with any logs that might help.
> [00:09]
> paquet de la dernière upgrade et ta conf
> [00:10]
> Is it possible to automatically trigger akmods and dracut after each Nvidia
> or kernel upgrade before rebooting?

akmods is run after updating as standard when using dnf cli, I don't know or care if gnome-software doesn't.
As for running dracut after kernel updates, this shouldn't be required unless you have edited /lib/dracut/dracut.conf.d/99-nvidia-dracut.conf.