Page 1 of 2

Linux Mint 18.3 - BlendLuxCore - Latest Master

Posted: Mon Feb 05, 2018 4:50 pm
by SteffenD
Hi there,

I'm just beginning to explore the exciting world of LuxCore, Linux Mint and my own compiles of Blender master.
I know that on the Windows side of things there's no way to use the latest BlendLuxCore with a master build of Blender.
On Linux on the other hand I can successfully install and use BlendLuxCore with a downloaded build from Buildbot.
I also had success with a simple build of master (a simple make without further configuration) but as soon as I start activating further build options LuxCore no longer shows up in the list of available render engines.

I'm currently trying to find the "culprit" but this will take a long time, so maybe some developer or anyone with more experience can help me.

I can e.g. activate "Alembic" and still use BlendLuxCore but I can't use "Alembic_HDF5".

Now rather than testing all possible combinations, I'd like to know what kind of compile options LuxCore "accepts" and which it "hates". ;)

Cheers

Re: Linux Mint 18.3 - BlendLuxCore - Latest Master

Posted: Mon Feb 05, 2018 4:58 pm
by jensverwiebe
Don't use HDF5 option.
We decided not to use it anymore cause of too many versions having different capabilities/compatibilities.
Also it would only compile with a special version of alembic, major pita.
The recommended format is alembic.abc.
If you need converting .abc files, you can use the alembic_utilities.
In case i have some prepared on my server.

Away from this i use actual master builds on my linux mint 17.3 just fine with luxcore2.
It would be interesting what your log throws about conflicts, i don't know any btw..
But i have something suspicious in mind.

2.8 branch indeed is a nogo.

EDIT: my guess :)

Code: Select all

undefined symbol: _ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE
If so, either disable OpenVDB or update your tbb/tbbmalloc to the versions that come with luxcore delivered embree version.
Buildbot builds use tbb static ( which is highly not recommended btw. , same is true for openMP), but typically you will
get it linked dynamic thus ending up in version problems ( a module pulls the symbols from the host ! )
P.S.: guess you know its best to see this when starting blender in a terminal ( flag in starter or ./blender from inside blender dir )


Jens

Re: Linux Mint 18.3 - BlendLuxCore - Latest Master

Posted: Mon Feb 05, 2018 7:36 pm
by SteffenD
Thanks for your reply, Jens.

yes, this "undefined symbol" is exactly the error that comes up.
I'm trying a new compile right now with both HDF5 and VDB / BLOSC disabled. I can live without both of them at the moment. :)

EDIT: That didn't work. I'll uncheck some more things like OpenCollada and others I don't really need at the moment...

Re: Linux Mint 18.3 - BlendLuxCore - Latest Master

Posted: Mon Feb 05, 2018 8:14 pm
by jensverwiebe
SteffenD wrote: Mon Feb 05, 2018 7:36 pm Thanks for your reply, Jens.

yes, this "undefined symbol" is exactly the error that comes up.
I'm trying a new compile right now with both HDF5 and VDB / BLOSC disabled. I can live without both of them at the moment. :)

EDIT: That didn't work. I'll uncheck some more things like OpenCollada and others I don't really need at the moment...
Nah, if it was exactly this symbol missing, its from tbb. If another symbol is missing, its another problem.;)
Am not aware other parts of blender thread with tbb except mantaflow builds ( if configured todo so ).
Check with ldd blender if tbb is still linked . ( mach hinne :P )
For devs: demangled its:

Code: Select all

tbb::interface7::internal::task_arena_base::internal_max_concurrency(tbb::interface7::task_arena const*)
Checked over: really only opnvdb uses tbb, so perhaps you missed to clean the cmake cache ?
Looking for another trick as well atm ( export maps supress )


Jens

Re: Linux Mint 18.3 - BlendLuxCore - Latest Master

Posted: Mon Feb 05, 2018 9:00 pm
by SteffenD
Thanks for your help. I'm still a noob when it comes to a) Linux b) building Blender and c) LuxCore ;)

Of course I already compiled another version before I could do a "ldd blender" but I was quite sure that I used "make clean" and even deleted the "build_full" folder before compiling.

Now I'm completely recompiling everything with OpenVDB and OpenVDB_Blosc OFF... my system is 10 years old so it takes a little while. I'll update this with the result of "ldd blender" afterwards. The error message is 100% exactly the one you mentioned, though.

EDIT: Hmm, the new compile is ready and not working with BlendLuxCore. "ldd blender" shows that it still links tbb stuff, although I switched off VDB and BLOSC and completely deleted the build_linux folder before compiling.
Here's the log:

Code: Select all

	linux-vdso.so.1 =>  (0x00007fff9e3e2000)
	libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f1154dae000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1154b94000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f11548ea000)
	libpython3.6m.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython3.6m.so.1.0 (0x00007f11541f9000)
	libopenal.so.1 => /usr/lib/x86_64-linux-gnu/libopenal.so.1 (0x00007f1153f89000)
	libfftw3.so.3 => /usr/lib/x86_64-linux-gnu/libfftw3.so.3 (0x00007f1153b8b000)
	libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f1153922000)
	libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f11536ae000)
	libOpenImageIO.so.1.7 => /opt/lib/oiio/lib/libOpenImageIO.so.1.7 (0x00007f1152b94000)
	libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f115293b000)
	libboost_thread.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0 (0x00007f1152715000)
	libboost_locale.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_locale.so.1.58.0 (0x00007f115242d000)
	libboost_system.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 (0x00007f1152229000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f115200c000)
	libHalf.so.12 => /usr/lib/x86_64-linux-gnu/libHalf.so.12 (0x00007f1151dc9000)
	libIex-2_2.so.12 => /usr/lib/x86_64-linux-gnu/libIex-2_2.so.12 (0x00007f1151bab000)
	libIlmImf-2_2.so.22 => /usr/lib/x86_64-linux-gnu/libIlmImf-2_2.so.22 (0x00007f11516dd000)
	libosdGPU.so.3.1.1 => /opt/lib/osd/lib/libosdGPU.so.3.1.1 (0x00007f11514ae000)
	libosdCPU.so.3.1.1 => /opt/lib/osd/lib/libosdCPU.so.3.1.1 (0x00007f115123b000)
	liboslcomp.so => /opt/lib/osl/lib/liboslcomp.so (0x00007f1150f68000)
	liboslexec.so => /opt/lib/osl/lib/liboslexec.so (0x00007f114fd50000)
	libAlembic.so => /opt/lib/alembic/lib/libAlembic.so (0x00007f114f8c5000)
	libavformat-ffmpeg.so.56 => /usr/lib/x86_64-linux-gnu/libavformat-ffmpeg.so.56 (0x00007f114f4c7000)
	libavcodec-ffmpeg.so.56 => /usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56 (0x00007f114e098000)
	libavutil-ffmpeg.so.54 => /usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54 (0x00007f114de29000)
	libavdevice-ffmpeg.so.56 => /usr/lib/x86_64-linux-gnu/libavdevice-ffmpeg.so.56 (0x00007f114dbfb000)
	libswscale-ffmpeg.so.3 => /usr/lib/x86_64-linux-gnu/libswscale-ffmpeg.so.3 (0x00007f114d96c000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f114d6fc000)
	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f114d341000)
	libjemalloc.so.1 => /usr/lib/x86_64-linux-gnu/libjemalloc.so.1 (0x00007f114d10a000)
	libspnav.so.0 => /usr/lib/libspnav.so.0 (0x00007f114cf06000)
	libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f114cc97000)
	libGL.so.1 => /usr/lib/nvidia-390/libGL.so.1 (0x00007f114c95b000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f114c621000)
	libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f114c411000)
	libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f114c20b000)
	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f114c005000)
	libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f114bdfb000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f114bbf7000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f114b82d000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f1154fd3000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f114b524000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f114b1a2000)
	libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f114af80000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f114ad6a000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f114ab41000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f114a93e000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f114a736000)
	libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f114a4c1000)
	libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f114a218000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f1149ff6000)
	libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f1149de8000)
	libopenjpeg.so.5 => /usr/lib/x86_64-linux-gnu/libopenjpeg.so.5 (0x00007f1149bc5000)
	libboost_filesystem.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0 (0x00007f11499ad000)
	libboost_regex.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.58.0 (0x00007f11496a5000)
	libicui18n.so.55 => /usr/lib/x86_64-linux-gnu/libicui18n.so.55 (0x00007f1149243000)
	libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55 (0x00007f1148eaf000)
	libIlmThread-2_2.so.12 => /usr/lib/x86_64-linux-gnu/libIlmThread-2_2.so.12 (0x00007f1148ca8000)
	libtbbmalloc_proxy.so.2 => /usr/lib/x86_64-linux-gnu/libtbbmalloc_proxy.so.2 (0x00007f1148aa4000)
	libGLEW.so.1.13 => /usr/lib/x86_64-linux-gnu/libGLEW.so.1.13 (0x00007f1148821000)
	libtbb.so.2 => /usr/lib/x86_64-linux-gnu/libtbb.so.2 (0x00007f11485e4000)
	libboost_wave.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_wave.so.1.58.0 (0x00007f11482bd000)
	libssh-gcrypt.so.4 => /usr/lib/x86_64-linux-gnu/libssh-gcrypt.so.4 (0x00007f1148074000)
	librtmp.so.1 => /usr/lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f1147e58000)
	libmodplug.so.1 => /usr/lib/x86_64-linux-gnu/libmodplug.so.1 (0x00007f1147acd000)
	libgme.so.0 => /usr/lib/x86_64-linux-gnu/libgme.so.0 (0x00007f114787f000)
	libbluray.so.1 => /usr/lib/x86_64-linux-gnu/libbluray.so.1 (0x00007f1147636000)
	libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f1147306000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f11470f6000)
	libswresample-ffmpeg.so.1 => /usr/lib/x86_64-linux-gnu/libswresample-ffmpeg.so.1 (0x00007f1146ed9000)
	libva.so.1 => /usr/lib/x86_64-linux-gnu/libva.so.1 (0x00007f1146cbd000)
	libzvbi.so.0 => /usr/lib/x86_64-linux-gnu/libzvbi.so.0 (0x00007f1146a32000)
	libxvidcore.so.4 => /usr/lib/x86_64-linux-gnu/libxvidcore.so.4 (0x00007f114671e000)
	libx265.so.79 => /usr/lib/x86_64-linux-gnu/libx265.so.79 (0x00007f1145aff000)
	libx264.so.148 => /usr/lib/x86_64-linux-gnu/libx264.so.148 (0x00007f114575b000)
	libwebp.so.5 => /usr/lib/x86_64-linux-gnu/libwebp.so.5 (0x00007f11454ff000)
	libwavpack.so.1 => /usr/lib/x86_64-linux-gnu/libwavpack.so.1 (0x00007f11452d6000)
	libvpx.so.3 => /usr/lib/x86_64-linux-gnu/libvpx.so.3 (0x00007f1144eb2000)
	libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f1144c86000)
	libvo-amrwbenc.so.0 => /usr/lib/x86_64-linux-gnu/libvo-amrwbenc.so.0 (0x00007f1144a6c000)
	libvo-aacenc.so.0 => /usr/lib/x86_64-linux-gnu/libvo-aacenc.so.0 (0x00007f114484f000)
	libtwolame.so.0 => /usr/lib/x86_64-linux-gnu/libtwolame.so.0 (0x00007f114462c000)
	libtheoraenc.so.1 => /usr/lib/x86_64-linux-gnu/libtheoraenc.so.1 (0x00007f11443ed000)
	libtheoradec.so.1 => /usr/lib/x86_64-linux-gnu/libtheoradec.so.1 (0x00007f11441d3000)
	libspeex.so.1 => /usr/lib/x86_64-linux-gnu/libspeex.so.1 (0x00007f1143fba000)
	libsnappy.so.1 => /usr/lib/x86_64-linux-gnu/libsnappy.so.1 (0x00007f1143db2000)
	libshine.so.3 => /usr/lib/x86_64-linux-gnu/libshine.so.3 (0x00007f1143ba5000)
	libschroedinger-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libschroedinger-1.0.so.0 (0x00007f11438d0000)
	libopus.so.0 => /usr/lib/x86_64-linux-gnu/libopus.so.0 (0x00007f1143686000)
	libopencore-amrwb.so.0 => /usr/lib/x86_64-linux-gnu/libopencore-amrwb.so.0 (0x00007f1143472000)
	libopencore-amrnb.so.0 => /usr/lib/x86_64-linux-gnu/libopencore-amrnb.so.0 (0x00007f1143247000)
	libmp3lame.so.0 => /usr/lib/x86_64-linux-gnu/libmp3lame.so.0 (0x00007f1142fd2000)
	libgsm.so.1 => /usr/lib/x86_64-linux-gnu/libgsm.so.1 (0x00007f1142dc4000)
	libcrystalhd.so.3 => /usr/lib/x86_64-linux-gnu/libcrystalhd.so.3 (0x00007f1142ba9000)
	libavfilter-ffmpeg.so.5 => /usr/lib/x86_64-linux-gnu/libavfilter-ffmpeg.so.5 (0x00007f1142806000)
	libXv.so.1 => /usr/lib/x86_64-linux-gnu/libXv.so.1 (0x00007f1142601000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f11423ef000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f11421cd000)
	libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f1141fc9000)
	libxcb-xfixes.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f1141dc1000)
	libxcb-shape.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007f1141bbd000)
	libcdio_paranoia.so.1 => /usr/lib/x86_64-linux-gnu/libcdio_paranoia.so.1 (0x00007f11419b5000)
	libcdio_cdda.so.1 => /usr/lib/x86_64-linux-gnu/libcdio_cdda.so.1 (0x00007f11417ad000)
	libjack.so.0 => /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007f114158d000)
	libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f114128d000)
	libSDL-1.2.so.0 => /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 (0x00007f1140ff4000)
	libdc1394.so.22 => /usr/lib/x86_64-linux-gnu/libdc1394.so.22 (0x00007f1140d7e000)
	libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f1140b2e000)
	libcaca.so.0 => /usr/lib/x86_64-linux-gnu/libcaca.so.0 (0x00007f1140865000)
	libraw1394.so.11 => /usr/lib/x86_64-linux-gnu/libraw1394.so.11 (0x00007f1140656000)
	libavc1394.so.0 => /usr/lib/x86_64-linux-gnu/libavc1394.so.0 (0x00007f1140451000)
	librom1394.so.0 => /usr/lib/x86_64-linux-gnu/librom1394.so.0 (0x00007f114024c000)
	libiec61883.so.0 => /usr/lib/x86_64-linux-gnu/libiec61883.so.0 (0x00007f114003f000)
	libnvidia-tls.so.390.12 => /usr/lib/nvidia-390/tls/libnvidia-tls.so.390.12 (0x00007f113fe3b000)
	libnvidia-glcore.so.390.12 => /usr/lib/nvidia-390/libnvidia-glcore.so.390.12 (0x00007f113e090000)
	libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f113de87000)
	libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007f113c3d0000)
	libtbbmalloc.so.2 => /usr/lib/x86_64-linux-gnu/libtbbmalloc.so.2 (0x00007f113c192000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f113beb1000)
	libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f113bc67000)
	libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4 (0x00007f113ba34000)
	libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007f113b7fe000)
	libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f113b57e000)
	libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f113b33b000)
	libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f113b0d7000)
	libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x00007f113aea4000)
	libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f113ac91000)
	libsoxr.so.0 => /usr/lib/x86_64-linux-gnu/libsoxr.so.0 (0x00007f113aa2c000)
	libnuma.so.1 => /usr/lib/x86_64-linux-gnu/libnuma.so.1 (0x00007f113a821000)
	liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f113a5a1000)
	libpostproc-ffmpeg.so.53 => /usr/lib/x86_64-linux-gnu/libpostproc-ffmpeg.so.53 (0x00007f113a385000)
	libavresample-ffmpeg.so.2 => /usr/lib/x86_64-linux-gnu/libavresample-ffmpeg.so.2 (0x00007f113a163000)
	libzmq.so.5 => /usr/lib/x86_64-linux-gnu/libzmq.so.5 (0x00007f1139efd000)
	libopencv_core.so.2.4 => /usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4 (0x00007f1139ad3000)
	libopencv_imgproc.so.2.4 => /usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4 (0x00007f1139648000)
	libfribidi.so.0 => /usr/lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f1139431000)
	libflite_cmu_us_awb.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmu_us_awb.so.1 (0x00007f1138e3c000)
	libflite_cmu_us_kal.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmu_us_kal.so.1 (0x00007f1138ad9000)
	libflite_cmu_us_kal16.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmu_us_kal16.so.1 (0x00007f1138502000)
	libflite_cmu_us_rms.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmu_us_rms.so.1 (0x00007f1137e6a000)
	libflite_cmu_us_slt.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmu_us_slt.so.1 (0x00007f1137874000)
	libflite.so.1 => /usr/lib/x86_64-linux-gnu/libflite.so.1 (0x00007f113763e000)
	libbs2b.so.0 => /usr/lib/x86_64-linux-gnu/libbs2b.so.0 (0x00007f1137438000)
	libass.so.5 => /usr/lib/x86_64-linux-gnu/libass.so.5 (0x00007f1137208000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f1137004000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1136dfe000)
	libcdio.so.13 => /usr/lib/x86_64-linux-gnu/libcdio.so.13 (0x00007f1136bd9000)
	libdb-5.3.so => /usr/lib/x86_64-linux-gnu/libdb-5.3.so (0x00007f113682c000)
	libpulse-simple.so.0 => /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0 (0x00007f1136627000)
	libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f113640f000)
	libjson-c.so.2 => /lib/x86_64-linux-gnu/libjson-c.so.2 (0x00007f1136204000)
	libpulsecommon-8.0.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so (0x00007f1135f89000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f1135d3d000)
	libslang.so.2 => /lib/x86_64-linux-gnu/libslang.so.2 (0x00007f11359b1000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f1135782000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f1135559000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f1135345000)
	libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f1135073000)
	libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f1134e44000)
	libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f1134c40000)
	libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f1134a35000)
	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f113482d000)
	libsodium.so.18 => /usr/lib/x86_64-linux-gnu/libsodium.so.18 (0x00007f11345cf000)
	libflite_usenglish.so.1 => /usr/lib/x86_64-linux-gnu/libflite_usenglish.so.1 (0x00007f11343a6000)
	libflite_cmulex.so.1 => /usr/lib/x86_64-linux-gnu/libflite_cmulex.so.1 (0x00007f1134111000)
	libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f1133eb3000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f1155164000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f11550de000)
	libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f1133ca9000)
	libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f1133aa3000)
	libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f113389f000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f1133684000)
	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f1133373000)
	libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f113314d000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f1132f2b000)
	libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f1132d12000)

Re: Linux Mint 18.3 - BlendLuxCore - Latest Master

Posted: Mon Feb 05, 2018 9:36 pm
by jensverwiebe
Tbb is still present in blender , wtf., should not be.
I personally have an easier solution as i use rpath set in blender, so i just deliver the right tbb and voila.
Anyway, i atm look for a more versatile solution, eventually i make runtime lookup stricter, stay tuned.

You can tell me which solution you prefer for now.
rpath setting is easy.
Best doing such in IRC Channel.


Jens

Re: Linux Mint 18.3 - BlendLuxCore - Latest Master

Posted: Mon Feb 05, 2018 9:37 pm
by SteffenD
Thanks, no need to hurry though. I can always use the Buildbot download to test LuxCore :)

Re: Linux Mint 18.3 - BlendLuxCore - Latest Master

Posted: Mon Feb 05, 2018 10:31 pm
by jensverwiebe
Okay, no compiling solution in sight .

Here is a workaround for your own builds:

1: Get chrpath ( sudo apt-get )
2. cd into blender dir
3 type:

Code: Select all

chrpath -r '$ORIGIN' blender
4. copy the luxcore delivered libtbb.so.2 into your blender dir.

Thats a quick workaround for now. It will make any of your builds find the missing symbol.( no recompile )
Explanation: now blender will lookup tbb first in its runpath ( $ORIGIN ), so our compatible version is used.

Jens

Re: Linux Mint 18.3 - BlendLuxCore - Latest Master

Posted: Mon Feb 05, 2018 10:58 pm
by SteffenD
Wow! So much to learn now under Linux. Thanks for this info, I'll give it a try soon. :!:

Re: Linux Mint 18.3 - BlendLuxCore - Latest Master

Posted: Tue Feb 06, 2018 12:41 pm
by jensverwiebe
The problem is that intel changed their ABI without bumping the SO version of tbb it seems.

Old/new tbb both show:

Code: Select all

LC_ALL=C readelf -a -W libtbb.so.2|grep soname
 0x000000000000000e (SONAME)             Library soname: [libtbb.so.2]
Embree 2.17.1 deliverd tbb:

Code: Select all

readelf -a -W libtbb.so.2|grep _ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE
    72: 0000000000024480    96 FUNC    GLOBAL DEFAULT   11 _ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE
  1130: 0000000000024480    96 FUNC    GLOBAL DEFAULT   11 _ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE
System tbb ( or from embree 2.8.0 ):

Code: Select all

readelf -a -W libtbb.so.2|grep _ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE
<nada>
Nice eh :evil:
So nothing i can do atm..
Go with the workaround i gave you for now, i think about a true solution later.

Or you start blender with a preload script ( new tbb must be still in that path ):

Code: Select all

#!/bin/bash

ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export LC_ALL=C
# TBB dynamic library is assumed to be located in blender root dir.
export LD_PRELOAD="$ROOT/libtbb.so.2"

cd "$ROOT"
./blender "$@"
Conclusion: this only applies for dynamic build blender and an outdated libtbb in the system, not release- or buildbot-builds !

Jens