From: John Kelso (kelso++at++vt.edu)
Date: 03/19/2003 10:29:01
Hi,
A good suggestion, but the problem is that I need to use Performer classes
and methods to load and analyse model files, but I don't need/want to open any
displays. I can't use any of the Performer classes unless I call pfInit,
which is where it hangs.
Can anyone out there tell me if it possible to write a "non-display"
Performer program, and if so, how to do it?
Thanks again,
-John
> On Mon, 17 Mar 2003, John Kelso wrote:
>> Hi,
>>
>> I'm writing some little utility functions that don't need to display any
>> graphics- they just load and print data about a model file.
>>
>> I often want to run these remotely from a machine that isn't running X.
>> Is there any way to run or write a Performer program that will do this?
>>
>> My programs hang on pfInit.
>>
>> Hints and RTFMs apopreciated.
>>
>> Gory details below:
>> > env PFNFYLEVEL=6 ./dpf-data axis.pfb
>> dpf-data.C: line 19, before calling pfInit()
>> 33621 PF Notice(2): level FP Debug (6) set by environment variable PFNFYLEVEL
>> 33621 PF Debug/Resource: pfInitArenas() Allocated 262144KB: 0x64000000 - 0x74000000
>> 33621 PF Debug/Resource(2): pfDataPool::create() - pid 33621 - 16384 bytes at 0x74000000 succeeded for /usr/tmp/pfClock.33621.pfdpool
>> 33621 PF Debug: Using CYCLECNTR clock (32 bits at 0x412c004(phys 0xaddac000))
>> 33630 PF Debug: Clock is 32 bits with 21.00ns resolution.
>> 33630 PF Debug: Clock wrap handler runs every 1.00000 seconds.
>>
>> and then no more...
>>
>> Thanks,
>>
>> -John
On Tue, 18 Mar 2003, Dirk Scheffter wrote:
> Hi,
>
> a few years ago we have splitted our application into server and
> client(s). At the beginning the server was linked against Performer.
> (caused by sharing some stuff between server and client.)
> Thus, OpenGL and X11 libs were used although we didn't open any
> window. (It seems that at least one of these libraries contains INIT
> code which communicates with the X server.)
>
> However, finally we removed all Performer code (using conditional
> compilation due to macros and #ifdef's) and now it runs on real
> X-less/screenless systems.
>
> It's just an idea.
>
> Best regards,
> Dirk.
This archive was generated by hypermail 2b29 : Wed Mar 19 2003 - 10:29:14 PST