Replies: 6 comments 4 replies
-
I don't believe the way Smokeview works currently that you'll be able to run it headless. Have you looked into virtual framebuffers? That was a solution we were looking into but never implemented. |
Beta Was this translation helpful? Give feedback.
-
both firebot and smokebot generate images using Xvfb on our linux cluster - our head node has a monitor but these scripts do not use it to generate the images |
Beta Was this translation helpful? Give feedback.
-
look at fds/Verification/scripts/Make_FDS_Pictures.sh in the fds repo |
Beta Was this translation helpful? Give feedback.
-
you will also need to install Mesa (opengl without a video card), and some X libraries. |
Beta Was this translation helpful? Give feedback.
-
Thanks for pointing me to the verification scripts. It was straightforward to implement in the github action after reviewing the files. I did not have to add any additional packages to get Xvfb running in the instance since QGIS had many of the same dependencies. For future reference these are the relevant commands:
|
Beta Was this translation helpful? Give feedback.
-
great! the script firebot and smokebot uses to compare images is located at bot/Firebot/compare_images.sh in the bot repo search for the string 'convert' - that is where the comparison is done. I blur the two images slightly to be compared first. It is an attempt to minimizes false positives (a positive meaning two images are different). The command convert is from the imagemagick package |
Beta Was this translation helpful? Give feedback.
-
I have a first cut at Github actions for running qgis2fds verification cases on my fork. Unfortunately, because QGIS packages different versions of external libraries with the same QGIS version on different OS, there are small differences in the binary bingeom files generated which makes it difficult to add a rule for acceptance at the end of the action. Rather than looking for an exact match in the binary data, I was hoping to use the same algorithm firebot uses to check the delta between images generated from SMV running the generated FDS case. Unfortunately, SMV hangs when I try to generate the images with a headless display. Has anyone else used SMV in this way?
Beta Was this translation helpful? Give feedback.
All reactions