aitviewer icon indicating copy to clipboard operation
aitviewer copied to clipboard

Real headless rendering

Open Arthur151 opened this issue 1 year ago • 1 comments

Awesome project! The rendering works great on the desktop. But on the remote server, we may need a real headless rendering to avoid the error like: (standalone) XOpenDistplay: cannot open display

Arthur151 avatar Sep 25 '22 09:09 Arthur151

The following should fix this problem (it essentially fakes the existence of a display device):

export DISPLAY=:0.0
Xvfb :0 -screen 0 640x480x24 &

This is usually sufficient for us. Did you have any other strategies for "real headless rendering" in mind? Would be curious to hear!

kaufManu avatar Sep 26 '22 08:09 kaufManu