[Docker Container] Prusaslicer noVNC (Prusaslicer in your browser)
 
Notifications
Clear all

[Docker Container] Prusaslicer noVNC (Prusaslicer in your browser)  

Page 2 / 2
  RSS
Morcegolas
(@morcegolas)
Eminent Member
RE:

@mkurz
Hello, can you share you steps to get it working please? I’m running DSM 7.2 with docker and portainer but I don’t understand too much to this by my own, I’m also using port 8080 to qbittorrent so I would have to change the port. 

This post was modified 1 year ago by Morcegolas
Posted : 19/12/2023 11:52 am
You liked
Morcegolas
(@morcegolas)
Eminent Member
RE: [Docker Container] Prusaslicer noVNC (Prusaslicer in your browser)

I managed to install it but I cannot mount /prints/ folder.

:/

Posted : 22/12/2023 1:28 am
mkurz
(@mkurz)
Member
RE:

when you run the image in the container manager you can add paths. You need to add them there. 
Add a local source on your NAS for the configs mount and one for your prints.

You can also edit your ports there. IIRC i just followed the steps in the guide on the GitHub.

 

This post was modified 1 year ago by mkurz
Posted : 22/12/2023 7:45 am
Morcegolas
(@morcegolas)
Eminent Member
RE: [Docker Container] Prusaslicer noVNC (Prusaslicer in your browser)

 

Posted by: @mkurz

Hi. Thanks for the reply. It indeed works. I‘m currently running it on my DS423+ depending on the model its a bit slow in the preview but thats totaly fine for my needs. 
This NAS has an Intel Celeron J4125 and i maxed out the RAM to 18GB.

thank you 

 

Could you share your docker compose file so I could try something similar?

Thanks.

Posted : 22/12/2023 11:17 am
Aroon
(@aroon)
Member
RE: [Docker Container] Prusaslicer noVNC (Prusaslicer in your browser)

Hey,

i tried to install on Container Manager on a Synology DS1817+ running DSM7.2.

I tried with following yaml:

---
version: "2.1"
services:
  prusaslicer-novnc:
    image: mikeah/prusaslicer-novnc
    container_name: prusaslicer-novnc
    environment:
      - SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
      - NVIDIA_VISIBLE_DEVICES=0
      - NVIDIA_DRIVER_CAPABILITIES=all
      - DISPLAY=:0
      - VGL_DISPLAY=egl # needed to run without X server
      - SUPD_LOGLEVEL=TRACE
      - ENABLEHWGPU=true
      - VNC_RESOLUTION=1920x1080
      - NOVNC_PORT=5910
      #- VNC_PORT=5900
    volumes:
      - /volume1/public/3DPrint:/prints/
      - /volume1/docker/prusaslicer:/configs/
    restart: unless-stopped

But i cannot reach the WEB-UI. Any ideas?

Some parts of the log:

(prusa-slicer:20): Gtk-CRITICAL **: 20:56:23.600: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:20): GLib-GObject-WARNING **: 20:56:23.600: invalid cast from 'wxPizza' to 'GtkCellLayout'

xauth:  file /home/slic3r/.Xauthority does not exist

proxying from :5910 to localhost:5900
DEBG 'novnc' stdout output:
No SSL/TLS support (no cert file)
Web server. Web root: /usr/share/novnc
Listen on :5910
DEBG 'novnc' stdout output:
WebSocket server settings:
DEBG 'novnc' stdout output:
Log file is /home/slic3r/.vnc/29034af21852:0.log
Starting applications specified in /opt/TurboVNC/bin/xstartup.turbovnc
Desktop 'TurboVNC: 29034af21852:0 ()' started on display 29034af21852:0
DEBG 'vnc' stdout output:
INFO success: prusaslicer entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
INFO success: vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

Posted : 30/01/2025 9:08 pm
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: [Docker Container] Prusaslicer noVNC (Prusaslicer in your browser)

You probably need to add section 'port's in the yaml to expose the service with a mapping of host port to container port.

See my GitHub and printables.com for some 3d stuff that you may like.

Posted : 31/01/2025 9:34 am
Aroon
(@aroon)
Member
RE: [Docker Container] Prusaslicer noVNC (Prusaslicer in your browser)

 

Posted by: @_kaszpir_

You probably need to add section 'port's in the yaml to expose the service with a mapping of host port to container port.

Correct! I added following line and can now access the web interface.

ports:
- 5910:5910
- 5900:5900

Now i can see the slicer, but it's flickering all the time and it is not useable.
Is a DS1817+ not good enough for running this?

Posted : 31/01/2025 2:05 pm
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: [Docker Container] Prusaslicer noVNC (Prusaslicer in your browser)

I don't know any Synology device.and it's performance,.though some things o consider:

1. Remove SUPD_LOGLEVEL=TRACE from the options, because this is mainly for debugging

2. Try without ENABLEHWGPU=true or lower the resolution

See my GitHub and printables.com for some 3d stuff that you may like.

Posted : 03/02/2025 7:27 am
Page 2 / 2
Share: