GPU driver broken after enabling secure boot

Long story short: Had to enable secure boot for Battlefield 6 in dual boot and it worked fine on Windows.

After switching back to the secure boot options i had before, even then it seems that my third party nvidia drivers are not loading back correctly. In Software 580 matepackage is enabled but in settings nothing changes. And when starting a game its obvious somethings wrong.

How can I change back?

Screenshot from 2026-01-12 00-35-50

Edit:
When running mokutil --sb-state I get SecureBoot disabled

1 Like

Definitely, does not look right, I'd swap to 570 driver, restart then do the 580 driver restart and see if NVIDIA shows back up in "About" to see if its probably done it.

secure boot probably caused some issues here.

Already tried, does not work...

Edit: Even after reinstalling nvidia driver via terminal, it does not work. At the end of the installation I get quite the error messages. Maybe it has something to do with that?

W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module am
dgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdg
pu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_cap.bin for mod
ule amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdg
pu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module a
mdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module a
mdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin for mo
dule amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for mod
ule amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdg
pu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module a
mdgpu
W: Possible missing firmware /lib/firmware/amdgpu/smu_14_0_2.bin for module amdg
pu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_5_1_dmcub.bin for module
 amdgpu

Update: After reinstalling nvidia drivers again in the terminal via:

sudo apt purge nvidia* libnvidia*
sudo apt autoremove

and in this case

sudo apt install nvidia-driver-580

after another reboot, got quite a lot of errors on shutting down but after that everything worked.

Got a workaround with secure boot: Enabling, launching Windows, disabling and launching Zorin afterwards.

Is there any better way to do that?

2 Likes

Happy you got it working, and fingers crossed the level of detail you provided should help someone who is more knowledgeable in helping figure it out

this is an issue that happens because you didn't enable secure boot support while installing Zorin OS

There is probably a way to fix this without a reinstall (for example, with sbctl, that i used to set up secure boot on my arch pc), but if you're okay with reinstalling, please try installing by enabling secure boot before inserting the Installation USB, there will be an option to setup secure boot in the Zorin setup.

True, didnt use the option secure boot during installation.
As you use it, with that installed, third party driver work without any issues?

And is there any chance you could help me installing it afterwards without reinstalling, e.g. by the aforementioned sbctl? Thanks!

Yes third party drivers worked perfectly.
I don't know if sbctl is available on Zorin though, i used that for my Arch installation.
I had setup secure boot correctly for Zorin.

Got some problems with my nvidia gpu drivers... Long story stort. I activated secure boot without installing the required software when installing Zorin. Now my nvidia drivers seem to be broken:

Screenshot from 2026-01-16 09-32-09

So the drivers or the gpu seems to be recognized but when I start Cyperpunk, I get around 8 fps.
I already tried reinstalling everything from the scratch with:

sudo apt purge nvidia* libnvidia*
sudo apt autoremove
sudo apt install nvidia-driver-580

but it doesnt seem to fix the problem.

neofetch gives me with following output:

GPU: NVIDIA 01:00.0 NVIDIA Corporati 
GPU: AMD ATI 0c:00.0 Device 164e

I think the gpu is not recognized correctly and/or the drivers have problem.

Can anyone help me with that? Help is highly appreciated! Thanks!

Edit: Spelling

Have you tried using xorg instead of Wayland compositor? Zorin defaults to Wayland at login and it does not play nice with nvidia graphics. At login, choose your username and a cog appears lower right. Click on it and change to 'Zorin on xorg'.

Please ask your questions in the thread you have already created about this topic:

1 Like

yet, already using X11

You can disable Secure Boot afterward, if that is an option for you.

If it is not, you can enroll Secure Boot in MOK afterward.
You would need to fully remove, then reinstall the Nvidia driver in order to trigger the signing process

Followed by a reboot - then at the MOK Manager screen, enrolling with a password you create.

However, since you say you did not seem to get the MOK manager screen before... What is your terminal output for:

mokutil --sb-state

If it shows "Enabled", then run

sudo mokutil --reset

Reinstall again:

sudo apt install --reinstall nvidia-driver-580

And watch for the prompt for a Secure Boot password.

Thank you very much, Aravisian!

I followed your steps and and got the drivers working again - but somehow not fully.

X11 and nvidia drivers showing up as intended but when I start a game e.g. Cyberpunk I now get around 30 fps in areas where I had 80 fps before.

I have no idea if that means some drivers are not loaded or have not been installed correctly...

Maybe my aforementioned error have something to do with that?

W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module am
dgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdg
pu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_cap.bin for mod
ule amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdg
pu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module a
mdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module a
mdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin for mo
dule amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for mod
ule amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdg
pu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module a
mdgpu
W: Possible missing firmware /lib/firmware/amdgpu/smu_14_0_2.bin for module amdg
pu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_5_1_dmcub.bin for module
 amdgpu

No, these relate to missing expected AMD software that is not yet included in the kernel. They note anticipated release, not an actual missing file and are harmless.

Can you launch cyber punk and while it is fully running, alt+tab and open a terminal and run

nvidia-smi

And relay the terminal output here? (What I am looking for here is if PRIME Select is routing the rendering through the Nvidia GPU or if your system is Hybrid,w here Nvidia does rendering but Intel GPU does the display scan out).

I made this script a while ago back on Mint, but it should work for any Debian-based distro. Signs all kernel drivers (including the NVIDIA ones), allowing you to boot in to Linux with secure boot enabled. No toggling needed. However, I'd more-so recommend backing up your files and reinstalling Zorin with secure boot enabled so it can do it properly. I haven't used this script in a long time, and I never used it on Zorin, but it should work.

1 Like

@Aravisian: nvidia-smi generates that:

$ nvidia-smi
Fri Jan 23 15:27:45 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.126.09             Driver Version: 580.126.09     CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4080 ...    Off |   00000000:01:00.0  On |                  N/A |
| 41%   59C    P0            233W /  320W |    6446MiB /  16376MiB |     83%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            1786      G   /usr/lib/xorg/Xorg                      350MiB |
|    0   N/A  N/A            1941      G   /usr/bin/gnome-shell                    120MiB |
|    0   N/A  N/A            2609      G   /opt/Mullvad VPN/mullvad-gui             28MiB |
|    0   N/A  N/A            4778      G   ...share/Steam/ubuntu12_32/steam          4MiB |
|    0   N/A  N/A            4784      G   /usr/bin/nextcloud                        3MiB |
|    0   N/A  N/A            4800      G   firefox                                 148MiB |
|    0   N/A  N/A            5285      G   ./steamwebhelper                          9MiB |
|    0   N/A  N/A            5315    C+G   ...am/ubuntu12_64/steamwebhelper          9MiB |
|    0   N/A  N/A            9384    C+G   ...077\bin\x64\Cyberpunk2077.exe       5583MiB |
+-----------------------------------------------------------------------------------------+

Yes, this looks like Nvidia is performing the rendering, with iGPU doing the Scan out.
Using Prime Select, can you test if you switch to Nvidia Only and see if FPS improves?

Could you tell me how to do that... Thanks for all your help!

sudo prime-select nvidia