jeasinema / egl-docker

A customized docker for headless GPU rendering without host-side configuration
10 stars 1 forks source link

Error: unable to open display #3

Open yangtaodummt opened 3 weeks ago

yangtaodummt commented 3 weeks ago

I build the docker then docker run into the container, but: vglrun /opt/VirtualGL/bin/glxinfo Error: unable to open display

yangtaodummt commented 3 weeks ago

sorry, i made a mistake, after fix the mistake, i meet this issue: vglrun /opt/VirtualGL/bin/glxspheres Polygons in scene: 62464 (61 spheres * 1024 polys/spheres) GLX FB config ID of window: 0x11 (8/8/8/0) Visual ID of window: 0x21 Context is Direct OpenGL Renderer: llvmpipe (LLVM 12.0.0, 256 bits) 19.890246 frames/sec - 22.197515 Mpixels/sec

nvidia-smi Thu Aug 15 13:56:53 2024
+-----------------------------------------------------------------------------+ | NVIDIA-SMI 460.73.01 Driver Version: 460.73.01 CUDA Version: 11.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 Tesla V100-PCIE... Off | 00000000:00:0D.0 Off | 0 | | N/A 31C P0 24W / 250W | 47MiB / 32510MiB | 0% Default

i really have the GPU in container but why i cannot use it?

yangtaodummt commented 3 weeks ago

After some struggle, i can do this: vglrun /opt/VirtualGL/bin/glxspheres64 Polygons in scene: 62464 (61 spheres * 1024 polys/spheres) GLX FB config ID of window: 0x11 (8/8/8/0) Visual ID of window: 0x21 Context is Direct OpenGL Renderer: Tesla V100-PCIE-32GB/PCIe/SSE2 615.451871 frames/sec - 686.844288 Mpixels/sec

but why cannot i see the image or figure on my local screen