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

Unable to query GPU information in nvidia/opengl docker image #1

Closed
kimown opened this issue Aug 12, 2020 · 1 comment
Closed

Unable to query GPU information in nvidia/opengl docker image #1

kimown opened this issue Aug 12, 2020 · 1 comment

Comments

@kimown
Copy link

kimown commented Aug 12, 2020

I want to use nvidia-xconfig in nvidai/opengl, when I run nvidia-xconfig --query-gpu-info, it throw error like this:

WARNING: Unable to use the nvidia-cfg library to query NVIDIA hardware.


ERROR: Unable to query GPU information
@kimown
Copy link
Author

kimown commented Aug 17, 2020

My mistake, it works.

docker run --gpus all myubuntu nvidia-xconfig --query-gpu-info
Number of GPUs: 2

GPU #0:
  Name      : Tesla T4
  UUID      : GPU-XXXX
  PCI BusID : PCI:59:0:0

  Number of Display Devices: 0


GPU #1:
  Name      : Tesla T4
  UUID      : GPU-XXXX
  PCI BusID : PCI:134:0:0

  Number of Display Devices: 0


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

No branches or pull requests

1 participant