Skip to content
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

Nvidia disable Open GPU doesn't seem to work on latest Nvidia package (555.58) #323886

Closed
StayBlue opened this issue Jul 1, 2024 · 3 comments
Closed
Labels
0.kind: bug Something is broken

Comments

@StayBlue
Copy link
Contributor

StayBlue commented Jul 1, 2024

Describe the bug

When using the production driver instead of latest, setting open = false; in hardware.nvidia in my nixOS configuration. I use this command to check if GSP is being used or not.

[user@system:~]$ nvidia-smi -q | grep "GSP"

On latest, it prints out the driver version, and on production, it prints out N/A. This likely has to do with this change in the 555 series of drivers (source):

The GSP firmware is now used by default on all GPUs which support it. It can be disabled by setting the kernel module parameter `NVreg_EnableGpuFirmware=0`. 

Steps To Reproduce

Steps to reproduce the behavior:

  1. Set package in hardware.nvidia to latest.
  2. Set open = false; in hardware.nvidia.
  3. Build your nixOS configuration.
  4. Check nvidia-smi -q | grep "GSP" and see that it says N/A.

Expected behavior

When setting open = false;, it should disable the GSP firmware.

Screenshots

N/A

Additional context

N/A

Notify maintainers

@abbradar @aidalgol @NickCao @Kiskae

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.7, NixOS, 24.11 (Vicuna), 24.11.20240701.8787882`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.4`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/icy87d2njy81v4bwm1r9a0xbksi56c5q-source`

Add a 👍 reaction to issues you find important.

@StayBlue StayBlue added the 0.kind: bug Something is broken label Jul 1, 2024
@aidalgol
Copy link
Contributor

aidalgol commented Jul 1, 2024

Sorry, I am not a maintainer of the Nvidia drivers. I only made some very minor changes to the Nvidia NixOS module that have since been reverted.

@Kiskae
Copy link
Contributor

Kiskae commented Jul 1, 2024

When setting open = false;, it should disable the GSP firmware.

This definitely is wrong, if using the open driver the firmware is required, but in theory using the GSP with the proprietary driver will free up resources that the CPU/driver would normally handle.

What I can see happening is adding an option to enable/disable the gsp firmware, with additional defaults/validation for the open driver.

@StayBlue
Copy link
Contributor Author

StayBlue commented Jul 2, 2024

When setting open = false;, it should disable the GSP firmware.

This definitely is wrong, if using the open driver the firmware is required, but in theory using the GSP with the proprietary driver will free up resources that the CPU/driver would normally handle.

What I can see happening is adding an option to enable/disable the gsp firmware, with additional defaults/validation for the open driver.

I only considered this a bug because the open = false; option did what I expected it to do on the 550 series. Setting the kernel parameter as described in the changelog disables the GSP firmware. I can close this issue if this is expected behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants