LuxCoreRender daily/automatic builds

News & Announcements regarding releases, features, exporters and project coordination.
Post Reply
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LuxCoreRender daily/automatic builds

Post by Dade »

Martini wrote: Sun Nov 17, 2019 11:16 am I forgot to mention I did completely remove the addon, confirm the directory is gone, restart Blender, and reinstall the addon by clicking Install in Blender and then locating the 'latest' version that I downloaded from the releases page on GitHub. I've also unpacked the standalone to its own directory elsewhere and it can't find the shared library in that location either. The output of the ldd command in all cases is the same: it has 2 entries for libtbbmalloc.so.2 - the first is "not found" and the second is the correct location. And it won't allow me to install the addon in Blender, or run the standalone.
As a test, try to add the "~/.config/blender/2.81/scripts/addons/BlendLuxCore/bin" directory to your LD_LIBRARY_PATH, does it work ?
Support LuxCoreRender project with salts and bounties
Martini
Posts: 125
Joined: Fri Nov 23, 2018 11:36 am
Location: Australia

Re: LuxCoreRender daily/automatic builds

Post by Martini »

Dade wrote: Sun Nov 17, 2019 11:18 am As a test, try to add the "~/.config/blender/2.81/scripts/addons/BlendLuxCore/bin" directory to your LD_LIBRARY_PATH, does it work ?
Wow, it did work! :geek: I did not have any value set for that variable previously. Thank you, this works. :D But I feel it should not be necessary...

As another test (I did it before I tried your suggestion), I verified that I can uninstall everything, and install successfully the release version of 2.2 without that variable being set. It's only 2.3 auto that needs it. :? Additionally strange, is that if in the same Blender session where I installed 2.2, I can uninstall it and successfully install 2.3! That must have been how I did it yesterday, too. Although it then stops working after I restart Blender... unless of course I export that variable.
AMD Ryzen Threadripper PRO 5995WX 64-Cores | 2x Gigabyte RTX 4090 Gaming OC
ASUS Pro WS WRX80E-SAGE SE WIFI | 256GB Kingston Server Premier ECC Unbuffered DDR4
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LuxCoreRender daily/automatic builds

Post by Dade »

Martini wrote: Sun Nov 17, 2019 11:30 am
Dade wrote: Sun Nov 17, 2019 11:18 am As a test, try to add the "~/.config/blender/2.81/scripts/addons/BlendLuxCore/bin" directory to your LD_LIBRARY_PATH, does it work ?
Wow, it did work! :geek: I did not have any value set for that variable previously. Thank you, this works. :D But I feel it should not be necessary...
Yes, it shouldn't and it is strange, I will try to do some test un-setting my "LD_LIBRARY_PATH".
Support LuxCoreRender project with salts and bounties
Martini
Posts: 125
Joined: Fri Nov 23, 2018 11:36 am
Location: Australia

Re: LuxCoreRender daily/automatic builds

Post by Martini »

Dade wrote: Sun Nov 17, 2019 11:35 am Yes, it shouldn't and it is strange, I will try to do some test un-setting my "LD_LIBRARY_PATH".
I can see a small difference in the output of objdump that the working 2.2 release has RPATH $ORIGIN however 2.3 has RUNPATH $ORIGIN. Is there a mistake in the linker config perhaps? From what I can find on ServerOverflow, it needs to be -rpath='$ORIGIN'
AMD Ryzen Threadripper PRO 5995WX 64-Cores | 2x Gigabyte RTX 4090 Gaming OC
ASUS Pro WS WRX80E-SAGE SE WIFI | 256GB Kingston Server Premier ECC Unbuffered DDR4
Martini
Posts: 125
Joined: Fri Nov 23, 2018 11:36 am
Location: Australia

Re: LuxCoreRender daily/automatic builds

Post by Martini »

Martini wrote: Sun Nov 17, 2019 11:52 am Is there a mistake in the linker config perhaps? From what I can find on ServerOverflow, it needs to be -rpath='$ORIGIN'
Hmmm. I can see here that it is unchanged since 3 years ago
https://github.com/LuxCoreRender/LuxCor ... #L258-L264

Code: Select all

IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
	SET(CMAKE_EXE_LINKER_FLAGS -Wl,--version-script='${CMAKE_SOURCE_DIR}/cmake/exportmaps/linux_symbol_exports.map')
	SET(CMAKE_SHARED_LINKER_FLAGS -Wl,--version-script='${CMAKE_SOURCE_DIR}/cmake/exportmaps/linux_symbol_exports.map')
	SET(CMAKE_MODULE_LINKER_FLAGS -Wl,--version-script='${CMAKE_SOURCE_DIR}/cmake/exportmaps/linux_symbol_exports.map')
	SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
	SET(CMAKE_INSTALL_RPATH "$ORIGIN")
ENDIF()
AMD Ryzen Threadripper PRO 5995WX 64-Cores | 2x Gigabyte RTX 4090 Gaming OC
ASUS Pro WS WRX80E-SAGE SE WIFI | 256GB Kingston Server Premier ECC Unbuffered DDR4
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LuxCoreRender daily/automatic builds

Post by Dade »

Martini wrote: Sun Nov 17, 2019 12:04 pm
Martini wrote: Sun Nov 17, 2019 11:52 am Is there a mistake in the linker config perhaps? From what I can find on ServerOverflow, it needs to be -rpath='$ORIGIN'
Hmmm. I can see here that it is unchanged since 3 years ago
https://github.com/LuxCoreRender/LuxCor ... #L258-L264

Code: Select all

IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
	SET(CMAKE_EXE_LINKER_FLAGS -Wl,--version-script='${CMAKE_SOURCE_DIR}/cmake/exportmaps/linux_symbol_exports.map')
	SET(CMAKE_SHARED_LINKER_FLAGS -Wl,--version-script='${CMAKE_SOURCE_DIR}/cmake/exportmaps/linux_symbol_exports.map')
	SET(CMAKE_MODULE_LINKER_FLAGS -Wl,--version-script='${CMAKE_SOURCE_DIR}/cmake/exportmaps/linux_symbol_exports.map')
	SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
	SET(CMAKE_INSTALL_RPATH "$ORIGIN")
ENDIF()
We have updated the GCC version used to compile the automatic build so probably something has changed in the default GCC behavior :idea:
Support LuxCoreRender project with salts and bounties
Martini
Posts: 125
Joined: Fri Nov 23, 2018 11:36 am
Location: Australia

Re: LuxCoreRender daily/automatic builds

Post by Martini »

Dade wrote: Sun Nov 17, 2019 12:24 pm We have updated the GCC version used to compile the automatic build so probably something has changed in the default GCC behavior :idea:
According to this StackOverflow post you can use the option --disable-new-dtags to output the old header tag, RPATH.
The ld dynamic linker does not search DT_RUNPATH locations for transitive dependencies, unlike DT_RPATH.
AMD Ryzen Threadripper PRO 5995WX 64-Cores | 2x Gigabyte RTX 4090 Gaming OC
ASUS Pro WS WRX80E-SAGE SE WIFI | 256GB Kingston Server Premier ECC Unbuffered DDR4
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LuxCoreRender daily/automatic builds

Post by Dade »

Martini wrote: Sun Nov 17, 2019 12:36 pm According to this StackOverflow post you can use the option --disable-new-dtags to output the old header tag, RPATH.
Yes, next build should have this problem fixed and work without LD_LIBRARY_PATH.
Support LuxCoreRender project with salts and bounties
Martini
Posts: 125
Joined: Fri Nov 23, 2018 11:36 am
Location: Australia

Re: LuxCoreRender daily/automatic builds

Post by Martini »

Working! Thanks :D
AMD Ryzen Threadripper PRO 5995WX 64-Cores | 2x Gigabyte RTX 4090 Gaming OC
ASUS Pro WS WRX80E-SAGE SE WIFI | 256GB Kingston Server Premier ECC Unbuffered DDR4
User avatar
Magog
Posts: 69
Joined: Fri Apr 20, 2018 3:18 pm
Location: Italy
Contact:

Re: LuxCoreRender daily/automatic builds

Post by Magog »

Hi Guys,
I tried to install the latest build, but I always get this error..
Attachments
Cattura.JPG
Post Reply