User Tools

Site Tools


no_gpu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
no_gpu [2021/04/10 15:50]
badmin created
no_gpu [2021/04/10 15:58]
badmin
Line 4: Line 4:
 Normally you'd run binvox on your own PC, where it will use your installed graphics card (unless you are using the "exact voxelization"​ method). Normally you'd run binvox on your own PC, where it will use your installed graphics card (unless you are using the "exact voxelization"​ method).
  
-To run binvox on a headless server instead, either:+To run binvox on a headless server instead ​you can install Xvfb (the X virtual frame buffer).
  
-  - install Xvfb (on CentOS, for example: ''​yum install xorg-x11-server-Xvfb''​), +On CentOS, for example: ''​yum install xorg-x11-server-Xvfb''​ , then start a virtual screen: 
-    ​then start a virtual screen: + 
-    <​code>​ +''​Xvfb :99 -screen 0 640x480x24 &''​ 
-    Xvfb :99 -screen 0 640x480x24 & + 
-    setenv DISPLAY :99 (or, if you're running bash, do: export DISPLAY=:​99) +''​setenv DISPLAY :99'' ​(or, if you're running bash, do: ''​export DISPLAY=:99''​
-    </​code>​ + 
-    After this you can run binvox. +After this you can run binvox. 
-     + 
-  ​- ​Note: with newer versions of Xvfb and/or Mesa (I still have to figure out where the problem lies) it no longer seems to be possible to use "​pbuffers"​ on a virtual screen, so you won't be able to use the -pb option. :-( (also see this bug report). +**Note:** with newer versions of Xvfb and/or Mesa (I still have to figure out where the problem lies) it no longer seems to be possible to use "​pbuffers"​ on a virtual screen, so you won't be able to use the -pb option. :-( (also see this [[https://​gitlab.freedesktop.org/​xorg/​xserver/​-/​issues/​192%22|bug report]]). In this case, it may be that the Xvfb screen has to be large enough to support the size you're voxelizing at, please let me know your experiences with this. 
-    ​In this case, it may be that the Xvfb screen has to be large enough to support the size you're voxelizing at, please let me know your experiences with this. +
  
 (thanks to @vineet7kumar for figuring this out)  (thanks to @vineet7kumar for figuring this out) 
  
no_gpu.txt · Last modified: 2021/04/10 15:59 by badmin