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

stress-ng: Missing --gpu support #311932

Open
lelgenio opened this issue May 15, 2024 · 0 comments · May be fixed by #312599
Open

stress-ng: Missing --gpu support #311932

lelgenio opened this issue May 15, 2024 · 0 comments · May be fixed by #312599

Comments

@lelgenio
Copy link

Describe the bug

The --gpu flag does not work because a few dependencies are missing.

Steps To Reproduce

Steps to reproduce the behavior:

nix run -- nixpkgs/f1010e04#stress-ng --gpu 1
stress-ng: info:  [401459] defaulting to a 1 day, 0 secs run per stressor
stress-ng: info:  [401459] dispatching hogs: 1 gpu
stress-ng: info:  [401470] gpu: this stressor is not implemented on this system: x86_64 Linux 6.1.90 gcc 13.2.0 (built without EGL/egl.h, EGL/eglext.h, GLES2/gl2.h or gbm.h)
stress-ng: info:  [401459] skipped: 1: gpu (1)
stress-ng: info:  [401459] passed: 0
stress-ng: info:  [401459] failed: 0
stress-ng: info:  [401459] metrics untrustworthy: 0
stress-ng: info:  [401459] successful run completed in 0.00 secs

Additional context

Adding libglvnd and mesa to buildInputs works, but I think this may cause issues for other users?

Notify maintainers

@c0bw3b

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.90, NixOS, 24.05 (Uakari), 24.05.20240509.f1010e0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/asymc3nsl739p1wwr0w6xbjnqs3qb94p-source`

Add a 👍 reaction to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant