installed the akmod-nvidia-default-open rpm and then runned sudo mokutil --import /etc/pki/akmods/certs/public_key.der signed the MOK and then installed rest of the drivers restart and finally sudo rpm-ostree kargs --append=rd.driver.blacklist=nouveau --append=modprobe.blacklist=nouveau --append=nvidia-drm.modeset=1
also should that akmod-nvidia-default-open be local package or layered package
my bad i guess i somehow thought i dont need to do the special hack when doing this… so now i used that special hack and have open drivers installed too with secure boot and now all is working as should i guess atleast cuda is working
phatle@cosmic:~$ nvidia-smi
Sat Mar 8 08:40:02 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.86.16 Driver Version: 570.86.16 CUDA Version: 12.8 |
|-----------------------------------------+------------------------+----------------------+
| 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 3050 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 43C P3 14W / 35W | 1MiB / 4096MiB | 4% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+