agisoft-llc / cloud-scripts

Configuration scripts for cloud instances with GPUs to make possible usage of OpenGL GUI applications in TurboVNC using VirtualGL.
MIT License
70 stars 18 forks source link

Question regarding ./photoscan.sh -r script -platform offscreen #2

Closed mrgloom closed 6 years ago

mrgloom commented 6 years ago

As I can see here https://agisoft.freshdesk.com/support/solutions/articles/31000133141-how-to-run-the-script-in-headless-mode-from-the-command-line I can run Photoscan without X-server, like: ./photoscan.sh -r script -platform offscreen

But I wonder do I steel need VirtualVNC, VirtualGL, etc. if I don't run Photoscan via GUI? Or maybe Photoscan still will be working but slower and I need some extra work? here I'm more talking about of using Photoscan with GPU, does it need something like 'hardware acceleration'?

PolarNick239 commented 6 years ago

No, for headless computations (even with GPU usage via OpenCL/CUDA) you don't need to install virtualgl - you only need to install GPU drivers for CUDA/OpenCL. If you use NVidia GPUs - you can just check your drivers with executing nvidia-smi (it should list all GPUs).