Conversation
Correct. I was indeed mounting an old directory based on the previous image, however it contains my freecad configs with the toolbars set up the way I like.
Ok I deleted the image and repulled it. Testing confirms, it works 100% for me now as I expect. I am however a fairly basic user of freecad I would say. For me, using only an intel gpu for acceleration, it is enough to get freecad to render fast enough for me. Without it, I have to say it was too slow using cpu rendering. Here is a simplified version of my docker-compose config freecad:
#image: lscr.io/linuxserver/freecad:latest
image: ghcr.io/linuxserver/lsiodev-freecad:1.0.1-selkies
container_name: freecad
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- DRINODE=/dev/dri/renderD128 # Specify the Intel GPU rendering device
volumes:
- /mnt/tank/docker/apps/freecad:/config
- /mnt/tank/docker/apps/nextcloud/html/data/tinuva/files:/Files
devices:
- /dev/dri:/dev/dri # Mount the DRI devices into the container
#ports:
# - 3000:3000
# - 3001:3001
restart: unless-stopped
labels:
- "traefik.http.routers.freecad-secure.middlewares=basic-auth@file" #basic-auth@file #oauth@file
- "traefik.enable=true"
- "traefik.http.routers.freecad-secure.tls=true"
- "traefik.http.services.freecad.loadbalancer.server.port=3000"
#- com.centurylinklabs.watchtower.enable=true |
|
I am a bot, here are the test results for this PR:
|
|
@tinuva are you saying mounting in an intel GPU makes a difference for you in the new image ? |
|
I am a bot, here are the test results for this PR:
|
Tested now without in the new image, and seems to be the same. On the old image it definitely made a difference. Looks like I dont understand all the new changes enough to really know if it should make a difference or not, but its seems smooth enough without the dri items. Then I hope the orca slicer gets rebased soon too in the future, thats the other image I use. |
Yeah that is my experience as well FreeCAD can run with just a CPU. As I said DRI3 is not in the new base yet it is a pending feature so just was pointing out that the Intel mount in will no longer have any effect until it is implemented. |
|
I am a bot, here are the test results for this PR:
|
|
Ok @tinuva We are cut over and building now, thanks for the PR, the help, and the testing. |
|
@tinuva DRI3 has been implemented the image is building now |
So one downside to the appimage is size, it really is a kitchen sink. On the other hand though this is the functionality and packages the developers of the application want to be bundled with it, so that really should be honored and they know best. We can do it leaner from repos, but I think this is worth it for now.
This also rebases to Selkies, this image was at the end of the list as it is 3D accelerated and we do not have DRI3 yet in the stack, but given it is so out of date best to do it all at once.
Referencing all issues/PR I just closed:
#4
#2
#7
#6
We need to confirm that this is all setup how users can use it I am specifically now looking for information on freecadcmd, the binary is in the appimage at
/opt/freecad/usr/binbut it will only work in that internal environment so it has to be launched like:In this image, is that a known thing or does it need to be documented ?
The image can be tested with
ghcr.io/linuxserver/lsiodev-freecad:1.0.1-selkiesmin run command:
Land on https://host:3001/
you can use nvidia with: