Page 1 of 6

Blender 2.48 - Alpha rev c - "Yafray, FFmpeg, 64 threads"

Posted: Wed Oct 22, 2008 7:58 am
by tbcpp
So here it is: Blender 2.48 compiled with MIPSPro.

I bumped the max threads up to 64. Let me know if you want it higher. According to Ton due to some internal issues, you should always set the max parts (XParts * YParts) to 4x the number of threads. Of course the scaling of Blender has never really been tested above 8 CPUs so if you have a system with more CPUs than that and could give me some SSH time with the machine, I'd be willing to do some work on it. Ton is also pushing me for a 64-bit release, so we'll get that going as soon as the 32 bit version is stable. Look for it early/mid november.

Some things to keep in mind:

1) I have tested this via the command line only. I don't have access to a IRIX machine with a head. And IRIX isn't happy doing OpenGL over SSH. But I was able to get it to render a frame, and export it to JPEG.

UPDATE 10-22-08
Threads up to 64. FFMpeg and Yafray enabled. FFMpeg includes lamemp3, ogg, vorbis, faac, etc. Internationalization now supported. OpenAL and SDL enabled.

UPDATE 10-21-08
Fixed some issues with the libraries, Alpha b is now up

and here's the link http://www.timbilism.com/junk/blender-2.48-irix-c.tar.gz

Note: This has been compiled to use static libs as much as possible. The reasoning is that I want this version of Blender to run on any Irix machine, not just a Nekoware Irix machine.

Re: Blender 2.48 - Alpha - "It compiles? Ship it!"

Posted: Wed Oct 22, 2008 10:26 am
by fzalfa
whooaa !!!!
GREAT :)

Laurent

Re: Blender 2.48 - Alpha - "It compiles? Ship it!"

Posted: Wed Oct 22, 2008 10:37 am
by fzalfa
hoho.... seg fault...

Code: Select all

 ./blender &
[1] 1935
IRIS 41# guessing './blender' == '/gig/irix6/./blender'
Compiled with Python version 2.5.2.
Checking for installed Python... got it!
libpng warning: Application was compiled with png.h from libpng-1.2.8
libpng warning: Application  is  running with png.c from libpng-1.0.15
libpng error: Incompatible libpng version in application and library
Cannot png_create_read_struct
Unknown fileformat

[1]    Segmentation fault     ./blender (core dumped)
IRIS 41# ldd blender
        libpng.so  =>    /opt/lib32/libpng.so   
        libz.so  =>      /usr/lib32/libz.so     
        libfreetype.so.7  =>     /usr/lib32/libfreetype.so.7   
        libGL.so  =>     /usr/lib32/libGL.so   
        libGLU.so  =>    /usr/lib32/libGLU.so   
        libX11.so.1  =>  /usr/lib32/libX11.so.1
        libXi.so  =>     /usr/lib32/libXi.so   
        libc.so.1  =>    /usr/lib32/libc.so.1   
        libm.so  =>      /usr/lib32/libm.so     
        libdl.so  =>     /usr/lib32/libdl.so   
        libpthread.so  =>        /usr/lib32/libpthread.so       
        libdmedia.so  =>         /usr/lib32/libdmedia.so       
        libmovie.so  =>  /usr/lib32/libmovie.so
        libCsup.so  =>   /usr/lib32/libCsup.so 
        libC.so.2  =>    /usr/lib32/libC.so.2   
        libCio.so.1  =>  /usr/lib32/libCio.so.1
        libGLcore.so  =>         /usr/lib32/libGLcore.so       
        libXsgivc.so  =>         /usr/lib32/libXsgivc.so       
        libXext.so  =>   /usr/lib32/libXext.so 
        libmutex.so  =>  /usr/lib32/libmutex.so
        libmovieplay.so  =>      /usr/lib32/libmovieplay.so     
        libmoviefile.so  =>      /usr/lib32/libmoviefile.so     
        libcl.so  =>     /usr/lib32/libcl.so   
        libawareaudio.so  =>     /usr/lib32/libawareaudio.so    delay-load


did i do a mistake ??

Laurent

Re: Blender 2.48 - Alpha - "It compiles? Ship it!"

Posted: Wed Oct 22, 2008 10:40 am
by tbcpp
Thanks, I'll get that fixed.

Re: Blender 2.48 - Alpha - "It compiles? Ship it!"

Posted: Wed Oct 22, 2008 12:09 pm
by canavan
Looks like you need to fix your -I flags for cc and CC as well. In addition to that you'll have to add an -rpath to the LDFLAGS. The easiest way to get going is to just export all the environment variables as documented in the wiki http://www.nekochan.net/wiki/index.php/Packaging_Software#Build_Environment

Re: Blender 2.48 - Alpha - "It compiles? Ship it!"

Posted: Wed Oct 22, 2008 1:04 pm
by tbcpp
updated (link at the first post)

now ldd shows:

Code: Select all

       libGL.so  =>     /usr/lib32/libGL.so   
        libGLU.so  =>    /usr/lib32/libGLU.so   
        libX11.so.1  =>  /usr/lib32/libX11.so.1
        libXi.so  =>     /usr/lib32/libXi.so   
        libc.so.1  =>    /usr/lib32/libc.so.1   
        libm.so  =>      /usr/lib32/libm.so     
        libdl.so  =>     /usr/lib32/libdl.so   
        libpthread.so  =>        /usr/lib32/libpthread.so       
        libdmedia.so  =>         /usr/lib32/libdmedia.so       
        libmovie.so  =>  /usr/lib32/libmovie.so
        libCsup.so  =>   /usr/lib32/libCsup.so 
        libC.so.2  =>    /usr/lib32/libC.so.2   
        libCio.so.1  =>  /usr/lib32/libCio.so.1
        libGLcore.so  =>         /usr/lib32/libGLcore.so       
        libXsgivc.so  =>         /usr/lib32/libXsgivc.so       
        libXext.so  =>   /usr/lib32/libXext.so 
        libmutex.so  =>  /usr/lib32/libmutex.so
        libmovieplay.so  =>      /usr/lib32/libmovieplay.so     
        libmoviefile.so  =>      /usr/lib32/libmoviefile.so     
        libcl.so  =>     /usr/lib32/libcl.so   
        libawareaudio.so  =>     /usr/lib32/libawareaudio.so    delay-load


Like I said in the original post, eventually this build will go up on the Blender offical builds site, so I'm trying to statically link as much as possible.

Re: Blender 2.48 - Alpha rev b - "It compiles? Ship it!"

Posted: Wed Oct 22, 2008 1:08 pm
by fzalfa
hum....
cause your are do some mods, can you increase the maximum thread numbers ?? please: D
(a thought for who have more than 8 cpu :))

Re: Blender 2.48 - Alpha rev b - "It compiles? Ship it!"

Posted: Wed Oct 22, 2008 1:37 pm
by tbcpp
So I assume that means that it loads up on your box now?

Re: Blender 2.48 - Alpha rev b - "It compiles? Ship it!"

Posted: Wed Oct 22, 2008 4:20 pm
by fzalfa
re

after some testing, it sem slower thn the previous 2.45, tested with internal renderer...
but AO is more tunable, so i can have similar results with faster render.. but

where is yafray rendering option ???

Laurent

Re: Blender 2.48 - Alpha rev b - "It compiles? Ship it!"

Posted: Thu Oct 23, 2008 12:54 am
by sgefant
it crashes here when trying to load the default .B.blend file. Maybe this backtrace from gdb helps:

Code: Select all

#0  cast_pointer () at genfile.c:745
#1  0x106a5800 in reconstruct_struct () at genfile.c:953
#2  0x106a60d4 in dna_reconstruct () at genfile.c:1089
#3  0x10686954 in read_struct () at readfile.c:1243
#4  0x1069a1ec in blo_read_file_internal () at readfile.c:8035
#5  0x106a6bc4 in BLO_read_from_memory () at readblenentry.c:346
#6  0x105ff0bc in BKE_read_file_from_memory () at blender.c:479
#7  0x10358070 in BIF_read_homefile () at usiblender.c:664
#8  0x10358e84 in BIF_init () at usiblender.c:1071
#9  0x100e04cc in main () at creator.c:527


The same happens when selecting "Load Factory Settings" from the File menu.

greetings,
sgefant

PS: the link in your first post points to blender-2.48-irix-b.tar.gz, while the file on the server is named blender-2.28-irix-b.tar.gz

Re: Blender 2.48 - Alpha rev b - "It compiles? Ship it!"

Posted: Thu Oct 23, 2008 8:15 am
by tbcpp
Okay, fixed the link.

"Almost all modules are disabled" in the top post really means "all modules are disabled" I almost have FFMPEG working, I'll enable Yafray with the new version as well.

Bizzare about the .B.blend issue. I'm wondering if there's some feature that isn't supported. Blender should be 100% backwards compatible...but....

I'll look at it, but for now, you can still load existing files.

Re: Blender 2.48 - Alpha rev b - "It compiles? Ship it!"

Posted: Thu Oct 23, 2008 9:03 am
by fzalfa
more thread !!!
more thread !!!
more thread !!!
PLEASE :(

Re: Blender 2.48 - Alpha rev c - "Yafray, FFmpeg, 64 threads"

Posted: Thu Oct 23, 2008 10:01 am
by tbcpp
Your wish is my command....it's done!

Re: Blender 2.48 - Alpha rev c - "Yafray, FFmpeg, 64 threads"

Posted: Thu Oct 23, 2008 10:10 am
by fzalfa
you are my friend man !!!!

-"hey my O2k !! i have some stuff for you :)"

COOL

Laurent

Re: Blender 2.48 - Alpha rev c - "Yafray, FFmpeg, 64 threads"

Posted: Fri Oct 24, 2008 4:52 am
by fzalfa
seem to do not work with O2 R5000.......wrong architecture

R5000 is a MIPS IV like R1xk ??

Laurent