I’ve been working on an API written in GO that uses Blender to render STL files as thumbnails image previews for my web application. I’ve been running into issues with the two Tesla M40’s I have at the moment.
nvidia-smi:
As we can see so far nvidia drivers are setup correctly and the gpu’s are seen but I seem to be running into issues with blender specifically wanting a display to enable OpenCL support for the EEVEE rendering otherwise the program just exits.
I ran into sort of a solution but am having trouble following the correct setup procedure.
EEVEE and Cycles differ in the way they use and need a GPU. EEVEE always uses OpenGL and can’t work without it. But Cycles’ GPU rendering mode is based on CUDA and doesn’t need OpenGL. Therefore, GPU-based Cycles rendering (through CUDA) can be used without have an X server running.
Any help is appreciated It seems I just need help setting up the XORG server to have the display’s using the Tesla M40’s and can prepend my blender starting arguments with DISPLAY=:1.0 to force it run on that display using the M40.