Comment on FreeCad in docker
Test_Tickles@lemmy.world 1 week ago
My guess is that the GPU available on the Serv is either really underpowered for 3d rendering, or not being clearly picked up by the docker. If the docker having to completely render in software, it is going to be slow
dual_sport_dork@lemmy.world 1 week ago
FWIW, FreeCAD does not use the GPU for geometry calculation at all. That’s done purely in software and insofar as I’m aware it’s not even multithreaded. Your GPU is only used in any capacity for final display, i.e. spinning the already calculated model(s) around in the preview window which it does via OpenGL. Otherwise it’s all CPU.
Spinning a complicated model around at 244 FPS (my monitor’s maximum display frequency) makes my GPU peak at all of… around 3.5%. Doing a total recalculation on said model or changing a feature on it spikes CPU load momentarily but doesn’t register on GPU usage at all. Doing the same on my laptop which instead has the usual early-gen Intel Graphics Decelerator in it doesn’t provide much of anything different in the speed and usability department. OP’s problem therefore surely lies elsewhere.
Test_Tickles@lemmy.world 1 week ago
That’s true. I hadn’t realized how little it uses the GPU. I have had other 3d cad apps that I have worked with that were impossible to run on a server without a well above average video card, so that was definitely my first thought.
I guess one thing he could do is try some other opengl apps on his server and in the same docker. I have seen some badly configured servers and docker instances that fell back to rendering everything to bitmap.and then using some antiquated x11 bitmap handling routines to transfer the images. The handling of the images was so slow it was impossible to use.