[vtkusers] Python/VTK offscreen / headless rendering
Robert.Atwood at diamond.ac.uk
Robert.Atwood at diamond.ac.uk
Fri Apr 27 09:25:03 EDT 2018
HI Isaiah,
Thanks for the link. However , it defies comprehension (by me)
The link which you sent claims the following,
2-> You can use a modern version of X that supports running a dummy framebuffer. This can be installed in user mode so you don't even need to have root on the system.
Xdummy standlone
You can start a new display using the dummy driver without needing any special privileges (no root, no suid), you should specify your own log and config files:
Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./10.log -config ./xorg.conf :10
However, the link within the link that this link refers to does not say anything about how o install it in user mode. Do you know anyting about that ?
The nodes do not have Xorg installed.
A workstation already has Xorg running so I don’t understand If I run as specified in the link, it either doesn’t work *cannot specify –logfile with elevated priviliges* or else if I skip the logfile, it opens a *real* display on top of my display.
I don’t understand which part of the command is supposed to access the dummy driver.
com09-10 ~]$ Xorg
-bash: Xorg: command not found
From: Isaiah Norton [mailto:isaiah.norton at gmail.com]
Sent: 26 April 2018 19:28
To: Atwood, Robert (DLSLtd,RAL,SCI)
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Python/VTK offscreen / headless rendering
Depends on the OS, but for Linux see some links to discussion/resources here:
https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python_scripting#How_can_I_run_Slicer_on_a_headless_compute_node.3F
On Mon, Apr 23, 2018 at 6:52 AM, Robert.Atwood at diamond.ac.uk<mailto:Robert.Atwood at diamond.ac.uk> <Robert.Atwood at diamond.ac.uk<mailto:Robert.Atwood at diamond.ac.uk>> wrote:
Hi,
I would like to have a Python script to render several volume images (tomography data) on a headless machine. I could not find any advice more recent than 2011 , is this something that just isn't configured in the Python as installed from existing packages? How do I tell?
If it's not in the python , what needs to be done, at the time of prior questions it seemed to be a compile-time option of the VTK library, is that still the case, Any exaples on line that are for the current release ?
Thanks
Robert
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Search the list archives at: http://markmail.org/search/?q=vtkusers
Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180427/a4a68cf1/attachment.html>
More information about the vtkusers
mailing list