JOGL Cg support failing under Radeon9000

Hello,

I’ve been programming OpenGL for years in C++ but now I’m moving my
project to Java. Since I used shaders in C++ I’d like to use them also
in Java. I’ve decided to use JOGL binding since it has everything I need
including Cg support. But the very simle demo from JOGL demos does not
work. It says:

Profile not supported.

Then I wrote my own example using some Cg routines but I got the same
error while using vertex programs. All available profiles for vertex programs
are failing.

Does anyone know why??

I have Windows XP and Radeon9000 graphics card, 256MB ram. I think
it is enough:)

Regards,
Rafal

In my experience, Cg support never works on ATI cards in either C or Java code. Have you checked that your C-based Cg code works on exactly the same card?

My R9000 card has “ARB_vertex_program” extension. This extension should be available in arbvp1 profile, but any time I use this profile in JOGL I get mensioned error that says that profile is not supported. My program written in C works OK. However my ATI card does not support “ARB_fragment_program” so I can’t of course write fragment programs using Cg so I don’t expect they will work on JOGL.

In order to write fragment programs for ATI I just need to use ATI specific extension. That works well in C.