New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/nvidia : added nvidia-persistenced #77054
Conversation
I believe this should be optional with default being turned off, reason being its when you have NVidia GPU's that are used for machine learning so you want the Nvidia GPU's to always be online even though your display is being run through a completely different GPU (i.e. Intel integrated GPU) or not at all (server with a terminal interface over network). @CMCDragonkai Can you confirm this? |
Yes by default it should be off. |
OK. |
This requires a module option and a |
Done changes to make this optional and default to |
Looks fine to me, @CMCDragonkai ? |
Works for me: nvidia-smi consistently reports both GPUs available
|
Your machine is different. This is needed headless servers with embedded intel gpu and 4 or more gpus.
…On 22 January 2020 12:47:07 GMT+11:00, coreyoconnor ***@***.***> wrote:
Works for me: nvidia-smi consistently reports both GPUs available
~~~
Tue Jan 21 17:46:14 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.44 Driver Version: 440.44 CUDA Version:
10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile
Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util
Compute M. |
|===============================+======================+======================|
| 0 Tesla K10.G1.8GB On | 00000000:05:00.0 Off |
Off |
| N/A 29C P8 17W / 117W | 0MiB / 4037MiB | 0%
Default |
+-------------------------------+----------------------+----------------------+
| 1 Tesla K10.G1.8GB On | 00000000:06:00.0 Off |
Off |
| N/A 37C P8 17W / 117W | 0MiB / 4037MiB | 0%
Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU
Memory |
| GPU PID Type Process name
Usage |
|=============================================================================|
| No running processes found
|
+-----------------------------------------------------------------------------+
~~~
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#77054 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
I think you are confused. This is useful on any system using a nvidia GPU in a headless mode. As that is my system and this definitely resolves issues the requirements of "embedded intel gpu and 4 or more gpus" is incorrect. That would also be inconsistent with the documentation of nvidia-persistenced. |
Great, then this works for any headless system then. |
This is ready to be merged. Anybody? |
@Rakesh4G Can you clean up the commits, and squash them into 1, and abide by the commit standard. |
3acc886
to
bdff4d6
Compare
Hi @CMCDragonkai , I have cleaned up the commits, and squash them into 1. Thanks. |
You have to resolve the conflicts in the MR right now. But it's unfortunate that this MR has been left without any one attempting to push it in. |
bdff4d6
to
4fda14a
Compare
4fda14a
to
89a8a31
Compare
This is ready to be merged. Anyone? Someone please merge this before this falls out of scope for maintenance! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no permission to merge, I think you will have to ping a maintainer. |
Who's the maintainer for this module? |
Motivation for this change
Fixes: #75099
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @CMCDragonkai @mdedetrich