Running on Windows / WSL
Hi, Is there some way to run this on Windows, maybe with WSL2?
I got it working in principle, WSL does not set some important variables, adding
export MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA
export GALLIUM_DRIVER=d3d12
export XAUTHORITY="$HOME/.Xauthority"
to ~/.bashrc fixed it.
However, my performance is bad, and the interface seems broken. Most of these performance issues can probably be attributed to my weak hardware (i5 9th gen, gtx1050m), but when checking task manager, my GPU is almost unused. I tried running in *_gpu mode, and also removed the forced software renderer flag from the compose.yaml file, but nothing changed.
this is what the main window looks like for me.
The icons are out of place and the framerate is very low.
Is there anything I can do or do I need to run it on a stronger system?
Hello @Ubus99,
our docker workflow only supports Ubuntu. While adding Windows support would be a valuable extension, it is not a current development priority. I'm quite sure that your system is powerful enough to run our software smoothly, and the issues you’re experiencing are related to Windows and WSL2 not utilizing your GPU. If you require Windows support, we welcome your contributions and would be happy to assist you.
Thank you, I have managed to get the application to use the GPU, but this results in
[visual-4] INVALID_OPERATION | /home/tum/wsp/src/tod_operator_interface/tod_visual/src/tod_gl/src/renderer/opengl_renderer_api.cpp (106)
And an entirely gray window. This seems to be an issue with
void OpenGLRendererAPI::bind_framebuffer(const uint32_t target, const uint32_t id) {
glBindFramebuffer(target, id);
PrintGLError();
}
I am still investigating why this function is incompatible between the llvmpipe and nvidia drivers