3DPrinting
3DPrinting is a place where makers of all skill levels and walks of life can learn about and discuss 3D printing and development of 3D printed parts and devices.
The r/functionalprint community is now located at: or !functionalprint@fedia.io
There are CAD communities available at: !cad@lemmy.world or !freecad@lemmy.ml
Rules
-
No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia. Code of Conduct.
-
Be respectful, especially when disagreeing. Everyone should feel welcome here.
-
No porn (NSFW prints are acceptable but must be marked NSFW)
-
No Ads / Spamming / Guerrilla Marketing
-
Do not create links to reddit
-
If you see an issue please flag it
-
No guns
-
No injury gore posts
If you need an easy way to host pictures, https://catbox.moe/ may be an option. Be ethical about what you post and donate if you are able or use this a lot. It is just an individual hosting content, not a company. The image embedding syntax for Lemmy is 
Moderation policy: Light, mostly invisible
view the rest of the comments
Yes, but your laptop is not liking the software, and now you are running it in a browser too. Unless the service offered by the container is remote control, then it’s not going to be of any help for you. Difference between running a HTML5 game in your browser, or GeForce Now: one runs locally, the other is just a video feed.
FreeCad is run inside the container, on the server hardware, the frontend is then accessed via browser. My laptop is not doing any more work than browsing the internet, it's all handled by the server hardware.
A lot of the work FreeCAD does is in the client though. Rendering the display. That's not going to be done server-side.
Thats also not the most intensive part. Managing geometries and compute is the most intensive part and that is done server side.
It's still an intensive part though.
Its really not that intensive, I barely break 15% CPU utilization and 25% RAM utilization on my laptop wheen using via browser to dockerized FreeCad on the server, compared to 100% CPU and 45% RAM when running FreeCad directly on the laptop.
I didn't realize it was using a remote-desktop setup. Still 2-D rendering performance could be an issue in the browser depending on whether it's using accelerated graphics or not.
There are performance metrics other than CPU/memory usage. Like network latency, disk i/o, and bandwidth. UI performance on remote desktops tends to suffer from latency even with fast machines on local networks. The "proxmox console" for VMs I run in browser is a remote desktop and it performs... well enough for a server but I wouldn't want to do anything significant in it. And that's just presenting a desktop.
You haven't described the nature of your 'poor performance' well though. Is it display latency like I'm describing or things like loading projects or creating STL files that is slow?
It's gigabit WiFi, latency to server is something like 5ms, and disk i/o and bandwidth barely even register above 1% on my laptop...the bottleneck is not network or the laptop.
Okay - then everything is working fine. You've ruled out all of your options.
Are you familiar with remote desktop or ssh? Imagine you ssh in to a remote server and run a command. What resources are being used on your client PC? Same thing with FreeCad running on a remote server and you connecting to it via a web browser as a remote desktop. The client web browser is doing nothing but getting a compressed video stream from the server. Like watching Youtube.
Very.
I didn't realize that's what this was doing though. Still requires a bit of client-side rendering performance from the browser and network capability. Depending on what potato they're using on the desktop the latency might be giving the perception of "slowness".
Thats not how that docker container is actually set up.
What you describe does exist, but here it is actually running on the server and gets streamed to the users browser.