LuxRender v1.4 release

News & Announcements regarding releases, features, exporters and project coordination.

Moderators: Dade, coordinators

Re: LuxRender v1.4 release

Postby Piita » Wed Feb 18, 2015 7:56 am

Great! Thanks, Omniflux!
User avatar
Piita
 
Posts: 611
Joined: Sat Aug 06, 2011 2:09 pm
Location: Finland

Re: LuxRender v1.4 release

Postby LuxNut » Wed Feb 18, 2015 12:54 pm

Thanks a lot for the Windows build!
LuxNut
 
Posts: 3
Joined: Fri Feb 06, 2015 10:46 am

Re: LuxRender v1.4 release

Postby uschott » Wed Feb 18, 2015 8:17 pm

Great News! Thanks for the Windows 32bit builds!
uschott
 
Posts: 7
Joined: Thu Jan 15, 2015 4:09 pm

Re: LuxRender v1.4 release

Postby Stringbeen5 » Wed Feb 18, 2015 11:12 pm

Cool. I had a feeling that windows build were up before I got to this site. Thanks everyone.
Custom Build|Windows 8.1|ASUS M5A97 R2.0|FX8350|EVGA GTX 960 SSC|8GB RAM
Stringbeen5
 
Posts: 282
Joined: Wed Jul 18, 2012 1:15 pm

Re: LuxRender v1.4 release

Postby jsherman » Thu Feb 19, 2015 3:53 am

Thanks very much for the Windows builds!

Does anyone know what the latest version of Blender is that LuxBlend (packaged with this build) is compatible with?
jsherman
 
Posts: 15
Joined: Mon Aug 25, 2014 3:57 pm

Re: LuxRender v1.4 release

Postby tomb » Thu Feb 19, 2015 4:44 am

jsherman wrote:Thanks very much for the Windows builds!

Does anyone know what the latest version of Blender is that LuxBlend (packaged with this build) is compatible with?


2.73 I think
User avatar
tomb
Developer
 
Posts: 2677
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

Re: LuxRender v1.4 release

Postby B.Y.O.B. » Thu Feb 19, 2015 4:44 am

jsherman wrote:Does anyone know what the latest version of Blender is that LuxBlend (packaged with this build) is compatible with?

2.73a. But I'm pretty sure it will also work with very latest Blender builds from buildbot, if there are no API changes.
User avatar
B.Y.O.B.
Developer
 
Posts: 5181
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Re: LuxRender v1.4 release

Postby wahn » Thu Feb 19, 2015 10:34 am

Is anybody from the developers on CentOS 6.5 by any chance?

Code: Select all
> cat /etc/centos-release
CentOS release 6.5 (Final)

It looks like the libc.so you used for the Linux builds is not compatible:

Code: Select all
> ldd luxrender
./luxrender: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./luxrender)
./luxrender: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./luxrender)
./luxrender: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./liblux.so)

I spend quiet some time to try to compile the latest release myself, but I didn't succeed. So if someone could compile for Linux using an older libc.so that would be appreciated:

Code: Select all
> strings /lib64/libc.so.6 | grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_PRIVATE
User avatar
wahn
 
Posts: 46
Joined: Thu Jun 11, 2009 1:44 pm
Location: Berlin

Re: LuxRender v1.4 release

Postby jensverwiebe » Thu Feb 19, 2015 11:26 am

Can't you just edit the binaries to use your existent GLIBC_xxx ?
On OSX i can do such with install_name_tool, such works as long as api's did not change.

Jens
User avatar
jensverwiebe
Developer
 
Posts: 3429
Joined: Wed Apr 02, 2008 4:34 pm

Re: LuxRender v1.4 release

Postby wahn » Thu Feb 19, 2015 1:18 pm

Well, that worked, but wasn't easy ...

I'm not sure if that's the recommended way to hack your system, but here we go:

First get a newer glibc, e.g. http://rpm.pbone.net/index.php3/stat/4/idpl/24292203/dir/fedora_17/com/glibc-2.15-59.fc17.x86_64.rpm.html and extract it locally.

Code: Select all
# cd /mill3d/users/jan/bin/glibc
# cp ~jan/Download/glibc-2.15-59.fc17.x86_64.rpm .
# rpm2cpio glibc-2.15-59.fc17.x86_64.rpm | cpio -idmv
# ls -1
etc
lib64
sbin
usr
var
# pwd
/mill3d/users/jan/bin/glibc

Second get PatchELF and compile it:

Code: Select all
> tar xfvz patchelf-0.8.tar.gz
> cd patchelf-0.8
> ./configure
> make
> cd src

Use patchelf to modify rpath and interpreter:

Code: Select all
> ./patchelf --set-rpath /mill3d/users/jan/bin/glibc/lib64:/usr/lib64:/lib64 /mill3d/users/jan/bin/LuxRender/lux-v1.4-x86_64-sse2/liblux.so
> ./patchelf --set-rpath /mill3d/users/jan/bin/glibc/lib64:/mill3d/users/jan/bin/LuxRender/lux-v1.4-x86_64-sse2:/usr/lib64:/lib64 /mill3d/users/jan/bin/LuxRender/lux-v1.4-x86_64-sse2/luxrender
> ./patchelf --set-interpreter /mill3d/users/jan/bin/glibc/lib64/ld-linux-x86-64.so.2 /mill3d/users/jan/bin/LuxRender/lux-v1.4-x86_64-sse2/luxrender

Double check with ldd:

Code: Select all
> cd /mill3d/users/jan/bin/LuxRender/lux-v1.4-x86_64-sse2
> ldd liblux.so
   linux-vdso.so.1 =>  (0x00007fff911ff000)
   librt.so.1 => /mill3d/users/jan/bin/glibc/lib64/librt.so.1 (0x00007f93ecb6e000)
   libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x00007f93ec8ed000)
   libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f93ec5a1000)
   libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007f93ec399000)
   libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007f93ec17c000)
   libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f93ebe3f000)
   libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f93ebc2c000)
   libm.so.6 => /mill3d/users/jan/bin/glibc/lib64/libm.so.6 (0x00007f93eb930000)
   libc.so.6 => /mill3d/users/jan/bin/glibc/lib64/libc.so.6 (0x00007f93eb579000)
   /lib64/ld-linux-x86-64.so.2 (0x00000034bd800000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f93eb33c000)
   libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f93eb035000)
   libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f93eae1f000)
   libnvidia-tls.so.340.32 => /usr/lib64/tls/libnvidia-tls.so.340.32 (0x00007f93eac1c000)
   libnvidia-glcore.so.340.32 => /usr/lib64/libnvidia-glcore.so.340.32 (0x00007f93e8008000)
   libdl.so.2 => /lib64/libdl.so.2 (0x00007f93e7e04000)
   libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f93e7c00000)
   libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f93e79e1000)
   libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f93e77de000)
> ldd luxrender
   linux-vdso.so.1 =>  (0x00007fff3edff000)
   librt.so.1 => /mill3d/users/jan/bin/glibc/lib64/librt.so.1 (0x00007fe164009000)
   liblux.so => /mill3d/users/jan/bin/LuxRender/lux-v1.4-x86_64-sse2/liblux.so (0x00007fe16237c000)
   libSM.so.6 => /usr/lib64/libSM.so.6 (0x00000034c5800000)
   libICE.so.6 => /usr/lib64/libICE.so.6 (0x00000034c5400000)
   libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00000037b6400000)
   libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00000034c2000000)
   libXext.so.6 => /usr/lib64/libXext.so.6 (0x00000037b5c00000)
   libX11.so.6 => /usr/lib64/libX11.so.6 (0x00000037b5800000)
   libpthread.so.0 => /mill3d/users/jan/bin/glibc/lib64/libpthread.so.0 (0x00007fe16215e000)
   libdl.so.2 => /mill3d/users/jan/bin/glibc/lib64/libdl.so.2 (0x00007fe161f5a000)
   libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x0000003937000000)
   libGL.so.1 => /usr/lib64/libGL.so.1 (0x0000003936800000)
   libm.so.6 => /mill3d/users/jan/bin/glibc/lib64/libm.so.6 (0x00007fe161c5e000)
   libc.so.6 => /mill3d/users/jan/bin/glibc/lib64/libc.so.6 (0x00007fe1618a6000)
   /mill3d/users/jan/bin/glibc/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00000034bd800000)
   libuuid.so.1 => /lib64/libuuid.so.1 (0x00000034c5000000)
   libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00000034c1c00000)
   libexpat.so.1 => /lib64/libexpat.so.1 (0x00000034c1800000)
   libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00000037af800000)
   libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000034c4800000)
   libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000034c4400000)
   libnvidia-tls.so.340.32 => /usr/lib64/tls/libnvidia-tls.so.340.32 (0x0000003936400000)
   libnvidia-glcore.so.340.32 => /usr/lib64/libnvidia-glcore.so.340.32 (0x0000003933600000)
   libXau.so.6 => /usr/lib64/libXau.so.6 (0x00000037b1000000)

Run Luxrender ...

Image

I hope nobody else has to go through this, but I thought I document thre process (just in case I have to do this again) :twisted:

Cheers,

Jan
User avatar
wahn
 
Posts: 46
Joined: Thu Jun 11, 2009 1:44 pm
Location: Berlin

PreviousNext

Return to News & Announcements

Who is online

Users browsing this forum: No registered users and 1 guest