RenderD Project Testers Needed

Blender's renderer and external renderer export

Moderators: jesterKing, stiv

Bischofftep
Posts: 37
Joined: Thu Feb 06, 2003 11:01 pm
Location: Richmond, VA
Contact:

RenderD Project Testers Needed

Postby Bischofftep » Tue Dec 16, 2003 2:09 pm

Hello!

I've recently picked up the code for RenderD, Blender's network rendering system, and begun the task of making it fully cross-platform, configurable, and giving it a GUI.

The first step for me is to make sure that what I'm doing doesn't break the code for other platforms: I work on OS X, and have no way to test Linux/Irix/Windows compatability.

What I am looking for are a few volunteers who are familiar with using CVS to checkout source and can do a build on their platform of choice who wouldn't mind building & testing RenderD to ensure that it's currently working before I commit the changes I've made thus far.

If you already HAVE a working RenderD build that's best, if you don't yet but are interested in helping go to the Network Render project page, check out the CVS code, and see if you can get a working build. When you've got one drop me a line.

Thanks in advance for anyone willing to be a "platform tester!"

-Bischofftep

slikdigit
Posts: 213
Joined: Wed Oct 16, 2002 3:52 am
Location: Northampton, MA (US)

Postby slikdigit » Tue Dec 16, 2003 4:08 pm

Hi
I'll volunteer for a linux tester- I've got 2 desktops and a laptop running linux.
I'll have to wait a bit- my laptop is in the shop and one desktop has some hardware probs (bad ram I think) but as soon as I'm running I'll check it out.

kroopson
Posts: 29
Joined: Sun Oct 13, 2002 7:40 pm

Postby kroopson » Sat Dec 20, 2003 7:46 pm

Hi!
I could volunteer as a windows platform tester. I've got 13 PC's with windows ME and 2 with XP home edition running at the internet caffe.

Email me - kroopson@wp.pl

kroopson
Posts: 29
Joined: Sun Oct 13, 2002 7:40 pm

Postby kroopson » Sat Dec 20, 2003 7:48 pm

Hi!
I could volunteer as a windows platform tester. I've got 13 PC's with windows ME and 2 with XP home edition running at the internet caffe.
:wink: 8)

levon
Posts: 415
Joined: Thu Jul 31, 2003 6:06 am
Location: adelaide

Postby levon » Sun Dec 21, 2003 8:13 am

i have a mix of osx win xp and linux debian and red hat, running of different comps, ill help if i can

levonh@internode.on.net

matt_e
Posts: 898
Joined: Mon Oct 14, 2002 4:32 am
Location: Sydney, Australia
Contact:

Postby matt_e » Sun Dec 21, 2003 11:48 am

I'd be happy to test things, although I don't have a heap of spare time. I've got a pretty heterogenous network here though, OS X, Windows XP and Linux (console only).

Since you're a Mac guy, coding in rendezvous support would be nice ( joke! ;) )

Bischofftep
Posts: 37
Joined: Thu Feb 06, 2003 11:01 pm
Location: Richmond, VA
Contact:

Thanks!

Postby Bischofftep » Sun Dec 21, 2003 9:54 pm

Hello, all!

Thanks to those who responded! Here's what I need to get started:

- Using the CVS instructions on the network renderer pages here on blender.org, checkout the current CVS and build it for your system.

- Hang on to the .jar files from the NSPR install you do so that we can assemble functional versions for various platforms.

- Confirm to me that you can build & run the renderd and broker on your systems.

Once I have some test platforms running, I will commit some serious updates I've done to the code & make sure it all still runs on various platforms.

Thank you for offering to help! Once we get rolling, some discussion on functionality & user interface will follow!

-Bischofftep

slikdigit
Posts: 213
Joined: Wed Oct 16, 2002 3:52 am
Location: Northampton, MA (US)

Postby slikdigit » Mon Dec 22, 2003 12:15 am

Hello, I've already downloaded and built; however, renderd segfaults when I run it, and it has to do (I think) with the nspr. stuff. I had originaly had to hack the makefile up a bit, because the nspr paths in gentoo get split up in /usr, which isn't allowed for by the NSPR script variable in the makefile. I'm going to download nspr into my home directory and rebuild. Any specific version I should be using? this is what I get in GDB when I run it:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16386 (LWP 1440)]
PR_EnumerateHostEnt (enumIndex=0, hostEnt=0x4039e6bc, port=5001,
    address=0x4039e9fc)
    at ../../../../mozilla/nsprpub/pr/src/misc/prnetdb.c:1334
1334    ../../../../mozilla/nsprpub/pr/src/misc/prnetdb.c: No such file or directory.
        in ../../../../mozilla/nsprpub/pr/src/misc/prnetdb.c


incidentally, the version of nspr gentoo includes is 4.3

levon
Posts: 415
Joined: Thu Jul 31, 2003 6:06 am
Location: adelaide

Postby levon » Mon Dec 22, 2003 5:04 am

when i type MAKE on cygwin on winxp i get:

Code: Select all

$ make
/cygdrive/e/networkD/renderd/guessconfig: not found
gcc -c -g -Wall -I/home/levon/develop/lib//nspr/include renderd.c -o /home/levon
/obj//renderd/renderd.o
renderd.c:9:18: nspr.h: No such file or directory
In file included from renderd.c:12:
nspr-additions.h:19: error: syntax error before "err"
nspr-additions.h:22: error: syntax error before "PRB_Send"
nspr-additions.h:22: error: syntax error before '*' token
nspr-additions.h:23: warning: type defaults to `int' in declaration of `PRB_Send
'
nspr-additions.h:23: warning: data definition has no type or storage class
nspr-additions.h:24: error: syntax error before '*' token
nspr-additions.h:25: error: syntax error before "PRB_Recv"
nspr-additions.h:25: error: syntax error before '*' token
nspr-additions.h:26: warning: type defaults to `int' in declaration of `PRB_Recv
'
nspr-additions.h:26: warning: data definition has no type or storage class
nspr-additions.h:27: error: syntax error before "PRB_ReadLineTime"
nspr-additions.h:27: error: syntax error before '*' token
nspr-additions.h:28: warning: type defaults to `int' in declaration of `PRB_Read
LineTime'
nspr-additions.h:28: warning: data definition has no type or storage class
nspr-additions.h:29: error: syntax error before '*' token
nspr-additions.h:30: warning: type defaults to `int' in declaration of `PRExplod
edTime'
nspr-additions.h:30: error: syntax error before '*' token
nspr-additions.h:32: error: syntax error before '*' token
In file included from renderd.c:14:
scan.h:10: error: syntax error before "PRUint16"
scan.h:10: warning: no semicolon at end of struct or union
scan.h:13: error: syntax error before "renderd_scan_thread"
scan.h:13: warning: type defaults to `int' in declaration of `renderd_scan_threa
d'
scan.h:13: warning: data definition has no type or storage class
scan.h:14: error: syntax error before "broker_scan_thread"
scan.h:14: warning: type defaults to `int' in declaration of `broker_scan_thread
'
scan.h:14: warning: data definition has no type or storage class
In file included from renderd.c:15:
common.h:19: error: syntax error before "PRFileDesc"
common.h:19: warning: no semicolon at end of struct or union
common.h:20: warning: type defaults to `int' in declaration of `addr'
common.h:20: warning: data definition has no type or storage class
common.h:28: error: syntax error before '*' token
common.h:28: warning: type defaults to `int' in declaration of `sock2'
common.h:28: warning: data definition has no type or storage class
common.h:29: error: syntax error before "addr2"
common.h:29: warning: type defaults to `int' in declaration of `addr2'
common.h:29: warning: data definition has no type or storage class
common.h:35: error: `PR_NETDB_BUF_SIZE' undeclared here (not in a function)
common.h:37: error: syntax error before "PRTime"
common.h:37: warning: no semicolon at end of struct or union
common.h:40: error: syntax error before '}' token
common.h:45: error: syntax error before '*' token
common.h:45: warning: type defaults to `int' in declaration of `InfoMutex'
common.h:45: warning: data definition has no type or storage class
common.h:51: error: syntax error before "PRTime"
common.h:51: warning: no semicolon at end of struct or union
common.h:53: error: syntax error before '*' token
common.h:53: warning: type defaults to `int' in declaration of `nsprfd'
common.h:53: warning: data definition has no type or storage class
common.h:62: error: syntax error before '}' token
common.h:67: error: syntax error before '*' token
common.h:67: warning: type defaults to `int' in declaration of `mainThreadMutex'

common.h:67: warning: data definition has no type or storage class
renderd.c:32: error: syntax error before '*' token
renderd.c:32: warning: type defaults to `int' in declaration of `InfoMutex'
renderd.c:32: warning: data definition has no type or storage class
renderd.c:34: error: syntax error before '*' token
renderd.c:34: warning: type defaults to `int' in declaration of `mainThreadMutex
'
renderd.c:34: warning: data definition has no type or storage class
renderd.c:37: error: syntax error before '*' token
renderd.c:37: warning: type defaults to `int' in declaration of `listenSock'
renderd.c:37: warning: data definition has no type or storage class
renderd.c: In function `main':
renderd.c:44: error: `PRFileDesc' undeclared (first use in this function)
renderd.c:44: error: (Each undeclared identifier is reported only once
renderd.c:44: error: for each function it appears in.)
renderd.c:44: error: `clientSock' undeclared (first use in this function)
renderd.c:45: error: `PRNetAddr' undeclared (first use in this function)
renderd.c:45: error: syntax error before "listenAddr"
renderd.c:46: error: storage size of `port' isn't known
renderd.c:47: error: syntax error before "renderd_thread"
renderd.c:51: warning: implicit declaration of function `PR_GetEnv'
renderd.c:51: warning: assignment makes pointer from integer without a cast
renderd.c:57: warning: implicit declaration of function `printf'
renderd.c:59: warning: implicit declaration of function `PR_NewLock'
renderd.c:59: warning: assignment makes pointer from integer without a cast
renderd.c:60: warning: assignment makes pointer from integer without a cast
renderd.c:62: warning: implicit declaration of function `PR_Lock'
renderd.c:64: error: invalid use of undefined type `struct InfoType'
renderd.c:65: error: invalid use of undefined type `struct InfoType'
renderd.c:67: warning: implicit declaration of function `PR_Unlock'
renderd.c:70: error: invalid use of undefined type `struct mainThreadType'
renderd.c:71: error: invalid use of undefined type `struct mainThreadType'
renderd.c:72: error: invalid use of undefined type `struct mainThreadType'
renderd.c:72: warning: implicit declaration of function `PR_Now'
renderd.c:73: error: invalid use of undefined type `struct mainThreadType'
renderd.c:75: error: invalid use of undefined type `struct mainThreadType'
renderd.c:83: warning: implicit declaration of function `PR_NewTCPSocket'
renderd.c:83: warning: assignment makes pointer from integer without a cast
renderd.c:84: error: `listenAddr' undeclared (first use in this function)
renderd.c:85: error: `PR_AF_INET' undeclared (first use in this function)
renderd.c:86: warning: implicit declaration of function `PR_htons'
renderd.c:87: warning: implicit declaration of function `PR_htonl'
renderd.c:87: error: `PR_INADDR_ANY' undeclared (first use in this function)
renderd.c:88: warning: implicit declaration of function `PR_Bind'
renderd.c:88: error: `PR_FAILURE' undeclared (first use in this function)
renderd.c:91: warning: implicit declaration of function `exit'
renderd.c:93: warning: implicit declaration of function `PR_Listen'
renderd.c:99: warning: implicit declaration of function `PR_CreateThread'
renderd.c:99: error: `PR_USER_THREAD' undeclared (first use in this function)
renderd.c:101: error: `PR_PRIORITY_NORMAL' undeclared (first use in this functio
n)
renderd.c:101: error: `PR_GLOBAL_THREAD' undeclared (first use in this function)

renderd.c:102: error: `PR_UNJOINABLE_THREAD' undeclared (first use in this funct
ion)
renderd.c:108: warning: implicit declaration of function `PR_Accept'
renderd.c:108: error: `clientAddr' undeclared (first use in this function)
renderd.c:109: error: `PR_INTERVAL_NO_TIMEOUT' undeclared (first use in this fun
ction)
renderd.c:112: warning: implicit declaration of function `malloc'
renderd.c:112: error: invalid application of `sizeof' to an incomplete type
renderd.c:112: warning: initialization makes pointer from integer without a cast

renderd.c:116: error: dereferencing pointer to incomplete type
renderd.c:117: error: dereferencing pointer to incomplete type
renderd.c:118: error: dereferencing pointer to incomplete type
renderd.c:120: error: `renderd_thread' undeclared (first use in this function)
renderd.c:124: warning: implicit declaration of function `PR_GetOSError'
renderd.c:46: warning: unused variable `port'
renderd.c: At top level:
renderd.c:136: error: syntax error before "renderd_thread"
renderd.c:136: warning: return type defaults to `int'
renderd.c:136: error: `renderd_thread' used prior to declaration
renderd.c: In function `renderd_thread':
renderd.c:138: error: `PRFileDesc' undeclared (first use in this function)
renderd.c:138: error: `sockfd' undeclared (first use in this function)
renderd.c:138: error: dereferencing pointer to incomplete type
renderd.c:139: error: `PRInt32' undeclared (first use in this function)
renderd.c:139: error: syntax error before "nread"
renderd.c:141: error: syntax error before '*' token
renderd.c:142: error: syntax error before '*' token
renderd.c:143: error: syntax error before '*' token
renderd.c:144: error: syntax error before '*' token
renderd.c:148: error: dereferencing pointer to incomplete type
renderd.c:151: error: invalid use of undefined type `struct InfoType'
renderd.c:152: error: invalid use of undefined type `struct InfoType'
renderd.c:153: warning: implicit declaration of function `PR_NetAddrToString'
renderd.c:153: error: dereferencing pointer to incomplete type
renderd.c:153: error: invalid use of undefined type `struct InfoType'
renderd.c:154: error: invalid use of undefined type `struct InfoType'
renderd.c:154: warning: implicit declaration of function `PR_ntohs'
renderd.c:154: error: dereferencing pointer to incomplete type
renderd.c:155: error: invalid use of undefined type `struct InfoType'
renderd.c:155: error: invalid use of undefined type `struct InfoType'
renderd.c:158: warning: implicit declaration of function `sprintf'
renderd.c:162: error: `nread' undeclared (first use in this function)
renderd.c:162: error: `PR_INTERVAL_NO_TIMEOUT' undeclared (first use in this fun
ction)
renderd.c:185: warning: implicit declaration of function `atoi'
renderd.c:192: warning: implicit declaration of function `PR_Delete'
renderd.c:193: warning: implicit declaration of function `free'
renderd.c:195: error: invalid use of undefined type `struct InfoType'
renderd.c:196: error: invalid use of undefined type `struct InfoType'
renderd.c: In function `singleshotrender':
renderd.c:206: error: `FILE' undeclared (first use in this function)
renderd.c:206: error: `blenderfd' undeclared (first use in this function)
renderd.c:206: error: `framefd' undeclared (first use in this function)
renderd.c:206: warning: left-hand operand of comma expression has no effect
renderd.c:208: error: `PRFileDesc' undeclared (first use in this function)
renderd.c:208: error: `sockfd' undeclared (first use in this function)
renderd.c:208: error: dereferencing pointer to incomplete type
renderd.c:209: error: `PRIntervalTime' undeclared (first use in this function)
renderd.c:209: error: syntax error before "startTime"
renderd.c:210: error: `PRUint32' undeclared (first use in this function)
renderd.c:212: warning: implicit declaration of function `atol'
renderd.c:217: warning: implicit declaration of function `popen'
renderd.c:219: warning: implicit declaration of function `fread'
renderd.c:222: warning: implicit declaration of function `pclose'
renderd.c:241: warning: implicit declaration of function `sscanf'
renderd.c:255: warning: implicit declaration of function `fopen'
renderd.c:259: warning: implicit declaration of function `fseek'
renderd.c:259: error: `SEEK_END' undeclared (first use in this function)
renderd.c:260: warning: implicit declaration of function `ftell'
renderd.c:261: error: `SEEK_SET' undeclared (first use in this function)
renderd.c:267: warning: assignment makes pointer from integer without a cast
renderd.c:275: warning: implicit declaration of function `fclose'
renderd.c:281: error: `PR_INTERVAL_NO_TIMEOUT' undeclared (first use in this fun
ction)
renderd.c:284: error: `timeDiff' undeclared (first use in this function)
renderd.c:284: warning: implicit declaration of function `PR_IntervalToMilliseco
nds'
renderd.c:284: warning: implicit declaration of function `PR_IntervalNow'
renderd.c:284: error: `startTime' undeclared (first use in this function)
renderd.c:287: error: dereferencing pointer to incomplete type
renderd.c:288: error: dereferencing pointer to incomplete type
renderd.c:289: error: dereferencing pointer to incomplete type
renderd.c:290: error: dereferencing pointer to incomplete type
renderd.c:292: error: invalid use of undefined type `struct mainThreadType'
renderd.c:293: error: invalid use of undefined type `struct mainThreadType'
renderd.c:294: error: invalid use of undefined type `struct mainThreadType'
renderd.c:295: error: invalid use of undefined type `struct mainThreadType'
renderd.c: At top level:
renderd.c:299: error: syntax error before '*' token
renderd.c: In function `accept_blenderfile':
renderd.c:301: error: `FILE' undeclared (first use in this function)
renderd.c:301: error: `blendfd' undeclared (first use in this function)
renderd.c:303: error: `linep' undeclared (first use in this function)
renderd.c:307: warning: assignment makes pointer from integer without a cast
renderd.c:308: error: `sockfd' undeclared (first use in this function)
renderd.c:312: error: `PR_INTERVAL_NO_TIMEOUT' undeclared (first use in this fun
ction)
renderd.c:313: error: `blendFileName' undeclared (first use in this function)
renderd.c:316: warning: implicit declaration of function `fwrite'
renderd.c: At top level:
renderd.c:332: error: syntax error before '*' token
renderd.c: In function `stopdaemon':
renderd.c:335: error: `sockfd' undeclared (first use in this function)
renderd.c:341: error: `PR_INTERVAL_NO_TIMEOUT' undeclared (first use in this fun
ction)
renderd.c: At top level:
renderd.c:347: error: syntax error before '*' token
renderd.c: In function `showstatus':
renderd.c:352: error: `PRExplodedTime' undeclared (first use in this function)
renderd.c:352: error: syntax error before "exploded"
renderd.c:355: warning: implicit declaration of function `PR_ExplodeTime'
renderd.c:355: error: invalid use of undefined type `struct mainThreadType'
renderd.c:355: error: `PR_GMTParameters' undeclared (first use in this function)

renderd.c:355: error: `exploded' undeclared (first use in this function)
renderd.c:357: error: invalid use of undefined type `struct mainThreadType'
renderd.c:357: error: `PR_USEC_PER_SEC' undeclared (first use in this function)
renderd.c:361: error: invalid use of undefined type `struct InfoType'
renderd.c:363: error: `sockfd' undeclared (first use in this function)
renderd.c:366: error: invalid use of undefined type `struct mainThreadType'
renderd.c:366: error: invalid use of undefined type `struct mainThreadType'
renderd.c:368: error: invalid use of undefined type `struct InfoType'
renderd.c:371: error: invalid use of undefined type `struct InfoType'
renderd.c:372: error: invalid use of undefined type `struct InfoType'
renderd.c:374: error: invalid use of undefined type `struct InfoType'
renderd.c:375: error: invalid use of undefined type `struct InfoType'
renderd.c: At top level:
renderd.c:381: error: syntax error before '*' token
renderd.c: In function `showhelp':
renderd.c:393: error: `sockfd' undeclared (first use in this function)
renderd.c: At top level:
renderd.c:31: error: storage size of `Info' isn't known
renderd.c:33: error: storage size of `mainThread' isn't known
make: *** [/home/levon/obj//renderd/renderd.o] Error 1

Bischofftep
Posts: 37
Joined: Thu Feb 06, 2003 11:01 pm
Location: Richmond, VA
Contact:

Build Problems

Postby Bischofftep » Mon Dec 22, 2003 4:36 pm

Hello, all:

Okay, please forgive me if I don't try to fix everybody's build problems. :-)

Here are a few tips, though:

1) Wherever you uncompressed the .jar files from NSPR for your platform should be where the makefile info points for your system. If all else fails, (i.e. create environment variables FIRST if you can), edit the makefile for your platform (the parts that say if OS="Darwin" etc.) to explicitly include the directories you need.

2) In order to run, your system must be able to look up its own IP address by NAME. In other words, if you're on a system with a manually assigned IP address that can resolve your machine's name to an IP address things work fine. If, like me, you are on a DHCP setup, you'll either need a dedicated name server OR edit an entry in your hostconfig or hosts file that explicitly defines your host name to your current IP address. I know... this is a pain... I am working on that for the next rev!

3) Despite what the instructions SAY, I found I had to run broker FIRST, and THEN run renderd on the other machines or they couldn't find each other.

Hope these help! I'll be doing a commit later today since I have testers for all platforms already... feel free to keep along for the ride!

-Bischofftep


Return to “Rendering”

Who is online

Users browsing this forum: No registered users and 0 guests