Nvidia discrete gpu not working after fedora 38 update

I reinstalled nvidia driver (dnf install akmod-nvidia) and xorg-x11-drv-nvidia-cuda #optional for cuda/nvdec/nvenc support

Boot into the previous kernel through GRUB. Then reinstall newer kernel (6.2.11 when this reply is written) using

sudo dnf reinstall *kernel*6.2.11-300.fc38.x86_64

It should automatically rebuild akmods and then you should be able to boot now.

1 Like

That would have been (dnf install akmod-nvidia).
If you did that then waited about 5 minutes before rebooting it should have worked.

Please show us the output of lsmod | grep nvidia and dnf list installed '*nvidia*'

Was the nvidia driver working before?
On one system I had a similar issue, but was able to fix it with very little trouble.

I reinstalled f38 so not possible

I had this issue a month ago but i was able to fix by reinstall of drivers. I’ll show the image tomorrow.

Also that dnf install akmod was a typo here. I did do dnf install akmod-nvidia on actual system.

Ok, so the post is a little late. No problem and glad it is resolved. :+1:

It isn’t resolved. It happened once before but i managed to fix it then. Now even a full os reinstall wouldn’t do anything.

If not resolved then please provide the info asked for above so we have a starting point to work from. To the above info add the output of dmesg | grep -iE 'secure|nvidia'

It somehow just decided to work today :sob:.
Idk how, i booted in and it is working well.
Thanks for the help.