Ok, problem solved, hooray! Thanks to @linux-aarhus for helping me out!
Taking a look back at some stuff, there was definitely something wrong with my installation of the drivers as they were not loaded at boot, not available according to inxi and so on.
The solution consisted of deleting the drivers and reinstalling them through mwhd (or you cas use the hardware settings GUI as well, not surw how it’s called in English). I did an install of the same drivers, the hybrid version.
After uninstalling the drivers, I rebooted, I updated my kernel as well to 6.6.10, and rebooted. Then upon reinstalling the nvidia hybrid drivers Mhwd complained it could’t find linux60 drivers (? why, I was using the new 6.6 kernel?!). So, removed the 6.0 kernel (pacman -Qs linux60 ), rebooted again, and then the install finally worked.
And inxi -G shows that the nvidia driver was installed, nvidia-smi also worked:
nvidia-smi ✔
Sun Jan 28 19:38:47 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06 Driver Version: 545.29.06 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+
| 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 40C P0 752W / 35W | 8MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 597 G /usr/lib/Xorg 4MiB |
+---------------------------------------------------------------------------------------+
One last tip: when I installed the Nvidia-drivers, it noticed this:
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
It wasn’t necessary in my case, as Stable diffusion immediatly detected the GPU. It generated an image with the same prompt and variables in 8 seconds instead of 4 minutes when it had to use the CPU.