Hello everyone, I have an laptop with an old gpu and an iGPU from intel. I can not get it to work with nixos. But i need its CUDA capabilities. Here is the device.
I installed the nixos via the KDE installer iso in a flash drive. But the hardware-configuration.nix file doesnt have anything related to nvidia. And the nvidia-smi command doesn’t work. And also pytorch doesnt see my GPU.
I tried to follow the nixos wiki but after i had applied these changes
These changes are applied but the nvidia-smi command still doesn’t work and after rebooting i lose the graphical interface. The computer starts from tty text interface. So i have to rollback and undo my changes.
I am very lost, what can i do to diagnose this issue? I dont know much about kernel modules. So there may be a problem but I dont know. Any suggestion would help.
With that config you linked, did you set both bus IDs to match your system?
The part that took me a while to figure out, is that especially with intelBusId (or in my case amdBusId) you might have to convert it from hex to decimal.
Okay, in that case I’d recommend to review the output of journalctl -b for errors, after it fails to bring up the desktop environment (So, from the console. Or you can boot your older generation and use journalctl --list-boots to get the argument to -b).