Operating System - HP-UX
1833758 Members
2449 Online
110063 Solutions
New Discussion

library hpgfx ( for starbase programs ) and PA2.0/64 bit support

 
SOLVED
Go to solution
LEJARRE Patrick
Advisor

library hpgfx ( for starbase programs ) and PA2.0/64 bit support

Hi,
Can anyone tell me what library replaces the hpgfx one, which is compatible with PA1.x architectures. I'm currently recompiling an app, which uses that library and which should run on PA2.0 processor.
The compiler option +DA2.0W tells me that there is no ELF-64 bit compatibility for this library.
Many thanks in advance.
Patrick
6 REPLIES 6
Alex Glennie
Honored Contributor

Re: library hpgfx ( for starbase programs ) and PA2.0/64 bit support

As I understand it the only graphics API which has 64 bit support is OpenGl, pex starbase and phigs are for 32 bit only. ...

LEJARRE Patrick
Advisor

Re: library hpgfx ( for starbase programs ) and PA2.0/64 bit support

Hi Alex,
That means I can forget trying recompiling my Starbase application in order to run it on PA2.0 machines ...
or use an old unsupported PA1.1 machine for ever !
Thanks.
Alex Glennie
Honored Contributor

Re: library hpgfx ( for starbase programs ) and PA2.0/64 bit support

Yep I'm affraid so, I beleive the feeling is the hpgfx driver is for an old graphics card in an old hpux workstation whose support may well be running out.

Most big players are developing on the latest firegl cards on 11.22 or 11.11 using opengl.

I thought most HP customers were informed of this plan sometime ago ...
Steve Steel
Honored Contributor
Solution

Re: library hpgfx ( for starbase programs ) and PA2.0/64 bit support

Hi

Add

Patch Name: PHSS_26634

Patch Description: s700_800 11.X Starbase/Hardcopy Dev (PA2.0 only)


and dependencies to your box. The lib is in the patch.

migrate to opengl asap


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Mike Stroyan
Honored Contributor

Re: library hpgfx ( for starbase programs ) and PA2.0/64 bit support

It seems that you misunderstand what is required to use a PA2.0 system. You don't have to use 64-bit pointers to run on a PA2.0 system. A PA2.0 system can run both 32-bit and 64-bit programs simultaneously. You can compile for +DA1.1 or +DA2.0 or +DA2.0W.
The +DA1.1 mode will run on both PA1.1 and PA2.0 systems. The +DA2.0 mode will use some new PA2.0 instructions, but continue to use 32-bit pointers. The +DA2.0 mode can use Starbase graphics.

If you want to do graphics from a program with more than 3GB of data, then you should switch from Starbase to OpenGL so you can compile your program as +DA2.0W.
LEJARRE Patrick
Advisor

Re: library hpgfx ( for starbase programs ) and PA2.0/64 bit support

I would have had the application compiled with the compiler option +DA1.1 or +DAportable but I need alse using the compiler option +hugesize, which implies the use of +DA2.0W.
No solution but to keep a workstation running HP-UX 10.20 and its compilers associated to the old hpgfx lib.
Thanks for having helped.