Sign inSign up

tswetnam/xpra-cc

By tswetnam

•Updated over 5 years ago

CloudCompare build with Ubuntu and Xpra

Image
0

1.7K

tswetnam/xpra-cc repository overview

⁠CloudCompare

Docker build for CloudCompare⁠ based on NVIDIA OpenGL Ubuntu⁠ containers.

CloudCompare Github⁠

imagedescriptionsizemetricsbuild status
DockerHubCloudCompare w/ NVIDIA OpenGL Ubuntu 18.04 base

⁠Instructions

Pull the latest container from Docker-Hub:

docker pull tswetnam/xpra-cc:cudagl-18.04

Build the container yourself:

git clone https://github.com/tyson-swetnam/cloudcompare-docker && \
cd cloudcompare-docker/cudagl
docker build -t  tswetnam/xpra-cc:cudagl-18.04 .

⁠Linux

To run a Docker GUI container⁠ with OpenGL on Intel graphics (e.g. Atmosphere Virtual Machines, Intel NUCs):

To run Xpra on a machine with an NVIDIA GPU installed:

docker run --gpus all --rm -it -p 9876:9876 -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY -e XAUTHORITY -e NVIDIA_DRIVER_CAPABILITIES=all tswetnam/xpra-cc:cudagl-18.04

⁠Singularity

You can run the Docker container with Singularity (for HPC use).

singularity exec docker://tswetnam/xpra-cc:cudagl-18.04 vglrun CloudCompare

⁠University of Arizona HPC

Log into the HPC

ssh -X [email protected]

Select a system from the Bastion

ocelote -X

Start a GPU node

qsub -X -I -N cloudcompare -m bea -W group_list=$GROUP -q windfall -l select=1:ncpus=28:mem=168gb:ngpus=1 -l cput=1:0:0 -l walltime=1:0:0

Load Cuda and Singularity

module load cuda80/gtk
module load singularity

Run the container and start CloudCompare

singularity exec --nv --bind /xdisk/$USER docker://tswetnam/xpra-cc:cudagl-18.04 vglrun CloudCompare

If you get an error, you may need to reset the DISPLAY.

Find out what the local display is:

echo $DISPLAY

Run Docker container as shell

singularity shell --bind /xdisk/$USER docker://tswetnam/cloudcompare:latest

From the Singularity shell:

export DISPLAY=localhost:50.0

Start CloudCompare

CloudCompare

Tag summary

Content type

Image

Digest

Size

3.4 GB

Last updated

over 5 years ago

docker pull tswetnam/xpra-cc:18.04