devbox
devbox copied to clipboard
[Package Issue Report]: <xvfb-run> xvfb-run does not support glx
Are you requesting a new package or reporting an issue on an existing one? existing
If reporting an issue on an existing one, what is the name of the package?
xvfb-run
What changes are you requesting? Does not support glx.
xvfb-run in a docker container supports glx via mesa:
> docker run --rm -it --entrypoint bash jetpackio/devbox
devbox@a5d4fec28a64:/$ sudo apt-get install -y libglx-mesa0 xvfb mesa-utils > /dev/null
debconf: delaying package configuration, since apt-utils is not installed
devbox@a5d4fec28a64:/$ xvfb-run glxinfo -B
name of display: :99
display: :99 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 15.0.6, 128 bits) (0xffffffff)
Version: 22.3.6
Accelerated: no
Video memory: 4926MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 15.0.6, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 22.3.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.3.6
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Doing the same thing using devbox fails:
> docker run --rm -it --entrypoint bash jetpackio/devbox
devbox@407082cc40b2:/$ cd /home/devbox
devbox@407082cc40b2:~$ devbox init
✓ Downloading version 0.8.2... [DONE]
✓ Verifying checksum... [DONE]
✓ Unpacking binary... [DONE]
devbox@407082cc40b2:~$ devbox add mesa glxinfo xvfb-run
Info: Adding package "mesa@latest" to devbox.json
Info: Adding package "glxinfo@latest" to devbox.json
Info: Adding package "xvfb-run@latest" to devbox.json
Installing 3 packages: mesa@latest, glxinfo@latest, xvfb-run@latest.
[1/3] mesa@latest
[1/3] mesa@latest: Success
[2/3] glxinfo@latest
[2/3] glxinfo@latest: Success
[3/3] xvfb-run@latest
[3/3] xvfb-run@latest: Success
devbox@407082cc40b2:~$ devbox shell
Starting a devbox shell...
(devbox) devbox@407082cc40b2:~$ xvfb-run glxinfo -B
name of display: :99
Error: couldn't find RGB GLX visual or fbconfig