You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nix-bundle converts nix expressions into static binaries. I've ran some tests, and these static binaries don't seem to mess with environment variables like LD_LIBRARY_PATH. Nevertheless, I am unable to use nixGL to run these static binaries. For example with godot (game engine) I get:
$ nixVulkanNvidia ./godot_static_binary
Godot Engine v3.2.beta.custom_build.b41b66ddf - https://godotengine.org
ERROR: initialize: Condition ' !fbc ' is true. returned: ERR_UNCONFIGURED
At: platform/x11/context_gl_x11.cpp:158.
ERROR: is_viable: Error initializing GLAD
At: drivers/gles3/rasterizer_gles3.cpp:141.
Your video card driver does not support any of the supported OpenGL versions.
Please update your drivers or if you have a very old or integrated GPU upgrade it.
and with glxgears I get:
$ nixGLNvidia ./glxgears_static_binary
Error: couldn't get an RGB, Double-buffered visual
I don't think that nixGL should be used this way. I mean, the point of nix-bundle is to build something which is independant of the system and which works on a system on which nix is not installed (else, there is no point doing the bundle).
So packaging nixGL outside of the bundle does not feel useful. However packaging it inside the bundle is wrong too, because the bundle will then become dependent of the selected OpenGL driver.
nix-bundle converts nix expressions into static binaries. I've ran some tests, and these static binaries don't seem to mess with environment variables like
LD_LIBRARY_PATH
. Nevertheless, I am unable to use nixGL to run these static binaries. For example with godot (game engine) I get:and with
glxgears
I get:which for reference was generated by
The text was updated successfully, but these errors were encountered: