Open GuillaumeDesforges opened 4 years ago
Maybe this has something to do with hardware.opengl.enable. It's automatically set to true when you declare services.xserver.enable = true AFAIK.
Would it help if I tried rebuilding NixOS with:
services.xserver.enable = false;
hardware.opengl.enable = true
?
@GuillaumeDesforges Try it, I don't think it could hurt.
I'm not very familiar with all of this, but the docs for hardware.opengl.enable say that it's needed for 3d acceleration and is automatically turn on as a dependency of certain modules ( x11 & wayland WM's ). I'm assuming that it's set as "false" in your case since your not using x11.
This did not fix the issue.
Hello, I'm a bot and I thank you in the name of the community for opening this issue.
To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.
The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.
If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.
Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.
Describe the bug I am trying to setup a server with a GPU for my computations. I am using this server remotely.
If I install nvidia using the settings
And then run
I get a proper output but then the console freezes. I can open a new ssh connection so it does seem like the server crashes though.
If I setup with xserver enabled like this:
then everything works fine, nothing hangs and I can use other GPU related processes like PyTorch.
To Reproduce Steps to reproduce the behavior:
/etc/nixos/configuration.nix
as described above.Expected behavior
nvidia-smi
and other GPU related processes should not hang.Metadata
Maintainer information: