Hi all. I’m newbee want to use vtk.
I think it’s a really good tool for 3d volume rendering, so I’m studying to use it.
I have a problem using it, so I leave a question.
I use X11 to connect workstation remotely from my local and sometimes nothing appears when I print 3d volume rendering results. I’ve been looking for some articles and it’s because we’re assigned a cpu-based ‘mesa’ instead of a gpu (rtx 2080ti) on our workstation for GPU rendering. As they say, if i print 3d rendering results directly on the server without remote access, this problem disappears. But I hope my rendering results will be printed in my local desktop with remote connection. Can I fix this problem by changing when I build vtk or something else? I found a way to turn off-screen rendering by not using x server. However, if I do this, the buffering is quite severe. Is there any way to do it on-screen? Please give me any advice.
Thank you.
Thank you for your reply. Unfortunately, I’ve tried all the solutions you posted, but the problem hasn’t been fixed.
In glxinfo, only name of display part is different(You are 99 and I am 10.), but I think this part is unlikely to affect.
A little suspicious about glxinfo is that It’s set to accelerated:no in Extended rendere info, but I’m not sure if this will affect it. I’ve tried both -X and -Y, but the problem hasn’t been solved.
In fact, if I do not remote connect so without X11 connection, the problem will be resolved.
In this case, the gpu resources appear as follows:
GPU Vendor : NVIDIA Corporation
GPU Renderer : GeForce RTX 2080 Ti/PCIe/SSE2
GPU Version : 4.6.0 NVIDIA 460.91.03
It would be nice if I could force the assignment of these gpu vendors in the process of building vtk, but I don’t know how.
If you know, please leave a comment. If there’s no such way, I’ll have to find another way as you told me.
That’s not possible, unfortunately. The GPU vendor is discovered at runtime, it isn’t configured at build time. This is just the way that OpenGL is done on Linux: libglvnd automatically dispatches OpenGL calls to the appropriate hardware/software implementations at runtime.
You can try “export LIBGL_ALWAYS_SOFTWARE=1” or other GL environment variables to see if they have an effect.