enfuse is not compiled with GPU support even when enblend is....

60 views
Skip to first unread message

Elias Tsolis

unread,
Sep 3, 2020, 7:41:00 PM9/3/20
to hugin and other free panoramic software
Compiling enblend do not result support for GPU for enfuse. I followed these information for compiling hugin / enblend (included enfuse).

I compiled from source enblend.... Note "-DENABLE_OPENCL:BOOL=ON" that support GPU acceleration on these info... ...as well -DENABLE_SSE2:BOOL=OFF was not on given compilation instructions

sudo cmake ../enblend.hg -DENABLE_GPU:BOOL=ON -DENABLE_IMAGECACHE:BOOL=OFF -DENABLE_OPENMP:BOOL=ON -DCPACK_BINARY_DEB:BOOL=ON -DCPACK_BINARY_NSIS:BOOL=OFF -DCPACK_BINARY_RPM:BOOL=OFF -DCPACK_BINARY_STGZ:BOOL=OFF -DCPACK_BINARY_TBZ2:BOOL=OFF -DCPACK_BINARY_TGZ:BOOL=OFF -DCPACK_BINARY_TZ:BOOL=OFF -DENABLE_OPENCL:BOOL=ON -DENABLE_SSE2:BOOL=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=/usr/local

...after that i run....

sudo make package

it said...

...... CPack: Install projects CPack: - Run preinstall target for: enblend CPack: - Install project: enblend CPack: Create package CPackDeb: - Generating dependency list CPack: - package: /home/elias/src/enblend/enblend.build/enblend-4.1.5-Linux.deb generated.

No information is given about enfuse. Then I run... without errors

sudo dpkg -i enblend*.deb

Then, to get information on the extra features enabled in enblend i run:

enblend --version --verbose

it printed:

enblend 4.1.5 Extra feature: dmalloc support: no Extra feature: image cache: no Extra feature: GPU acceleration: yes - NVIDIA Corporation - GeForce GT 1030/PCIe/SSE2 - version 4.6.0 NVIDIA 390.138 - extensions ........ Extra feature: OpenMP: yes - version 2015-11 - support for nested parallelism; nested parallelism disabled by default - support for dynamic adjustment of the number of threads; dynamic adjustment disabled by default - using 4 processors and up to 4 threads

Until that moment, all perfect...

then... enfuse saying NO GPU acceleration information.... by running:

enfuse --version --verbose

it printed:

enfuse 4.1.5 Extra feature: dmalloc support: no Extra feature: image cache: no Extra feature: OpenMP: yes - version 2015-11 - support for nested parallelism; nested parallelism disabled by default - support for dynamic adjustment of the number of threads; dynamic adjustment disabled by default - using 4 processors and up to 4 threads

How I compile enfuse with GPU accelation as I did in enblend, when both programs are offered in a single package / compilation process ?

Greg 'groggy' Lehey

unread,
Sep 3, 2020, 8:04:16 PM9/3/20
to hugi...@googlegroups.com
On Thursday, 3 September 2020 at 15:12:19 -0700, Elias Tsolis wrote:
> Compiling enblend do not result support for GPU for enfuse. I followed
> these information for compiling hugin / enblend (included enfuse).
>
> ...
> Then, to get information on the extra features enabled in enblend i run:
> enblend --version --verbose
>
> it printed:
> enblend 4.1.5 Extra feature: dmalloc support: no Extra feature: image

Why are you installing this version? The current version is 4.2,
released on 29 March 2016. You might run into the same problem with
the current version, but you don't want to have to do it twice.

FWIW, I read the much less verbose output:

Extra feature: image cache: no
Extra feature: OpenMP: no
Extra feature: OpenCL: no

That shouldn't happen, so I'll have to do some head-scratching. I'll
report here if anything interesting crops up.

Greg
--
Sent from my desktop computer.
Finger groo...@gmail.com for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed. If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA
signature.asc

T. Modes

unread,
Sep 4, 2020, 10:55:22 AM9/4/20
to hugin and other free panoramic software

Am Freitag, 4. September 2020 01:41:00 UTC+2 schrieb Elias Tsolis:

Until that moment, all perfect...

then... enfuse saying NO GPU acceleration information.... by running:

enfuse --version --verbose

it printed:

enfuse 4.1.5 Extra feature: dmalloc support: no Extra feature: image cache: no Extra feature: OpenMP: yes - version 2015-11 - support for nested parallelism; nested parallelism disabled by default - support for dynamic adjustment of the number of threads; dynamic adjustment disabled by default - using 4 processors and up to 4 threads

How I compile enfuse with GPU accelation as I did in enblend, when both programs are offered in a single package / compilation process ?


Because enfuse has no GPU acceleration. Reading the doc of enblend and enfuse, the GPU switch only mentioned for enblend.
And for enblend the gpu switch reads the following in the doc (version 4.1.x)
--gpu  Use the graphics card – in fact the graphics processing unit (GPU) – to accelerate some computations.
This is an experimental feature that may not work on all systems. In this version of Enblend, 4.1.5, only mask optimization by Simulated Annealing benefits from this option.

This explains that only a small subset of the program is ported to GPU and enfuse don't use this code - so no GPU switch for enfuse.

Also in version 4.2 this experimental gpu feature was removed (see changeset 93744abcde03).

Further comments:
Note "-DENABLE_OPENCL:BOOL=ON" that support GPU acceleration on these info... ...
This build switch is only available for enblend/enfuse development version and later and not for 4.1.x series (and also not for 4.2 series).
 
as well -DENABLE_SSE2:BOOL=OFF was not on given compilation instructions

This switch has only effects for 32 bit build, it is disabled for 64 bit builds.

Reply all
Reply to author
Forward
0 new messages