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

3D/2D CGI and the tools used in their creation (Maya, Photoshop, Blender, GIMP, etc.).
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
tbcpp
Posts: 271
Joined: Fri Aug 05, 2005 8:14 am
Location: Cross Plains WI

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

Unread postby tbcpp » Wed Oct 22, 2008 7:58 am

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.
Last edited by tbcpp on Thu Oct 23, 2008 9:59 am, edited 4 times in total.
:O2000: :Octane: :O2: :O2:
UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. -- Dennis Ritchie

User avatar
fzalfa
Posts: 739
Joined: Sun Jun 19, 2005 11:38 am
Location: avignon ,provence, france
Contact:

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

Unread postby fzalfa » Wed Oct 22, 2008 10:26 am

whooaa !!!!
GREAT :)

Laurent
SGI or die !!!
:O2: :Octane2: :Octane: :Indigo2IMP: :Indigo2IMP: :Indigo: :Indigo: :Indy: :PI: :Crimson: :PWRSeries: :Onyx: :O2000R:
HP proliant DL 585 Quad Opteron dual core 2.5Ghz 16Gb

User avatar
fzalfa
Posts: 739
Joined: Sun Jun 19, 2005 11:38 am
Location: avignon ,provence, france
Contact:

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

Unread postby fzalfa » Wed Oct 22, 2008 10:37 am

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
SGI or die !!!
:O2: :Octane2: :Octane: :Indigo2IMP: :Indigo2IMP: :Indigo: :Indigo: :Indy: :PI: :Crimson: :PWRSeries: :Onyx: :O2000R:
HP proliant DL 585 Quad Opteron dual core 2.5Ghz 16Gb

User avatar
tbcpp
Posts: 271
Joined: Fri Aug 05, 2005 8:14 am
Location: Cross Plains WI

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

Unread postby tbcpp » Wed Oct 22, 2008 10:40 am

Thanks, I'll get that fixed.
:O2000: :Octane: :O2: :O2:
UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. -- Dennis Ritchie

User avatar
canavan
Posts: 754
Joined: Mon Jul 21, 2003 6:19 am

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

Unread postby canavan » Wed Oct 22, 2008 12:09 pm

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

User avatar
tbcpp
Posts: 271
Joined: Fri Aug 05, 2005 8:14 am
Location: Cross Plains WI

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

Unread postby tbcpp » Wed Oct 22, 2008 1:04 pm

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.
:O2000: :Octane: :O2: :O2:
UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. -- Dennis Ritchie

User avatar
fzalfa
Posts: 739
Joined: Sun Jun 19, 2005 11:38 am
Location: avignon ,provence, france
Contact:

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

Unread postby fzalfa » Wed Oct 22, 2008 1:08 pm

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 :))
SGI or die !!!
:O2: :Octane2: :Octane: :Indigo2IMP: :Indigo2IMP: :Indigo: :Indigo: :Indy: :PI: :Crimson: :PWRSeries: :Onyx: :O2000R:
HP proliant DL 585 Quad Opteron dual core 2.5Ghz 16Gb

User avatar
tbcpp
Posts: 271
Joined: Fri Aug 05, 2005 8:14 am
Location: Cross Plains WI

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

Unread postby tbcpp » Wed Oct 22, 2008 1:37 pm

So I assume that means that it loads up on your box now?
:O2000: :Octane: :O2: :O2:
UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. -- Dennis Ritchie

User avatar
fzalfa
Posts: 739
Joined: Sun Jun 19, 2005 11:38 am
Location: avignon ,provence, france
Contact:

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

Unread postby fzalfa » Wed Oct 22, 2008 4:20 pm

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
SGI or die !!!
:O2: :Octane2: :Octane: :Indigo2IMP: :Indigo2IMP: :Indigo: :Indigo: :Indy: :PI: :Crimson: :PWRSeries: :Onyx: :O2000R:
HP proliant DL 585 Quad Opteron dual core 2.5Ghz 16Gb

sgefant
Posts: 31
Joined: Mon Jan 14, 2008 4:59 pm

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

Unread postby sgefant » Thu Oct 23, 2008 12:54 am

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

User avatar
tbcpp
Posts: 271
Joined: Fri Aug 05, 2005 8:14 am
Location: Cross Plains WI

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

Unread postby tbcpp » Thu Oct 23, 2008 8:15 am

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.
:O2000: :Octane: :O2: :O2:
UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. -- Dennis Ritchie

User avatar
fzalfa
Posts: 739
Joined: Sun Jun 19, 2005 11:38 am
Location: avignon ,provence, france
Contact:

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

Unread postby fzalfa » Thu Oct 23, 2008 9:03 am

more thread !!!
more thread !!!
more thread !!!
PLEASE :(
SGI or die !!!
:O2: :Octane2: :Octane: :Indigo2IMP: :Indigo2IMP: :Indigo: :Indigo: :Indy: :PI: :Crimson: :PWRSeries: :Onyx: :O2000R:
HP proliant DL 585 Quad Opteron dual core 2.5Ghz 16Gb

User avatar
tbcpp
Posts: 271
Joined: Fri Aug 05, 2005 8:14 am
Location: Cross Plains WI

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

Unread postby tbcpp » Thu Oct 23, 2008 10:01 am

Your wish is my command....it's done!
:O2000: :Octane: :O2: :O2:
UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. -- Dennis Ritchie

User avatar
fzalfa
Posts: 739
Joined: Sun Jun 19, 2005 11:38 am
Location: avignon ,provence, france
Contact:

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

Unread postby fzalfa » Thu Oct 23, 2008 10:10 am

you are my friend man !!!!

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

COOL

Laurent
SGI or die !!!
:O2: :Octane2: :Octane: :Indigo2IMP: :Indigo2IMP: :Indigo: :Indigo: :Indy: :PI: :Crimson: :PWRSeries: :Onyx: :O2000R:
HP proliant DL 585 Quad Opteron dual core 2.5Ghz 16Gb

User avatar
fzalfa
Posts: 739
Joined: Sun Jun 19, 2005 11:38 am
Location: avignon ,provence, france
Contact:

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

Unread postby fzalfa » Fri Oct 24, 2008 4:52 am

seem to do not work with O2 R5000.......wrong architecture

R5000 is a MIPS IV like R1xk ??

Laurent
SGI or die !!!
:O2: :Octane2: :Octane: :Indigo2IMP: :Indigo2IMP: :Indigo: :Indigo: :Indy: :PI: :Crimson: :PWRSeries: :Onyx: :O2000R:
HP proliant DL 585 Quad Opteron dual core 2.5Ghz 16Gb


Return to “SGI: Computer Graphics”

Who is online

Users browsing this forum: No registered users and 2 guests