Skip to main content

Debugging why OpenGL pipeline will not open on Solaris 8 with XVR-450 video card

5 replies [Last post]
Anonymous

Hi,

With the hope that the OpenGL pipeline might help us overcome some the
X-Server performance issues on Solaris 8 on a Sun Blade 2000 with an
XVR-450 video card, I attempted to use the OpenGL pipeline by using the
-Dsun.java2d.opengl=True flag from the command line. The first time it
complained that I didn't have the right version of GLX, but after
upgrading to OpenGL 1.3 and even 1.5, it gave me a pretty terse error
indicating that it could not open the OpenGL pipeline on display 0 with
the current configuration. Is there a document somewhere that would help
me debug the configuration settings or does anybody have a suggestion as
to what might be causing the problem.

Thanks!

Rob

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Chris Campbell

On Oct 4, 2007, at 2:49 PM, Rob Ratcliff wrote:
> Chris,
>
> We should have XVR-100s and possibly an XVR-500 available that should
> have OpenGL support, do you know if people have had any significant
> success with those?
>

XVR-100 is software only; XVR-500 does have OpenGL in hardware, but
it really depends on your app whether you'd see any benefit from
enabling Java 2D's OpenGL pipeline.

Chris

> Thanks,
>
> Rob
>
>
> Chris Campbell wrote:
>> \Unfortunately, yes; OpenGL isn't accelerated in hardware on that
>> board:
>> http://www.techsource.com/gfx450/gfx450.html#four
>>
>
> ======================================================================
> =====
> To unsubscribe, send email to listserv@java.sun.com and include in
> the body
> of the message "signoff JAVA2D-INTEREST". For general help, send
> email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Chris Campbell

Hi Rob,

As Dmitri suggested in an offline thread, the best place to start is:
% export J2D_TRACE_LEVEL=4
% java YourApp

And you sent us the following, which was helpful:

I] GLXGC_FindBestVisual: scn=0
[I] GLXGC_InitGLX
[I] OGLFuncs_OpenLibrary
[I] OGLFuncs_InitPlatformFuncs
[I] OGLFuncs_InitBaseFuncs
[I] OGLFuncs_InitExtFuncs
[I] GLXGC_InitGLX: client GLX version=1.4 Sun OpenGL 1.5 patch 120812-18
for Solaris
[I] GLXGC_InitFBConfig: scn=0 vis=0x0
[V] candidate fbconfigs:
[V] id=0x27 db=1 alpha=0 depth=32 stencil=8 valid=false (linear
visual)
[E] GLXGC_InitFBConfig: could not find an appropriate fbconfig
[E] GLXGC_FindBestVisual: could not find best visual
[I] GLXGraphicsConfig_getGLXConfigInfo
[I] GLXGC_InitFBConfig: scn=0 vis=0x27
[V] candidate fbconfigs:
[V] id=0x27 db=1 alpha=0 depth=32 stencil=8 valid=false (linear
visual)
[E] GLXGC_InitFBConfig: could not find an appropriate fbconfig
[E] GLXGraphicsConfig_getGLXConfigInfo: could not create fbconfig
Could not enable OpenGL pipeline for default config on screen 0

What this shows is only one fbconfig (similar to a visual in OpenGL-
speak) is available, but it's not sufficient for Java2D rendering
because it's a special linear visual that you'll only find on some
Sun hardware.

But more to the point, I've never heard of an XVR-450. Is that the
right product name? I'm guessing that we'd be going through Sun's
software OpenGL rasterizer on this board even if you did get it to
work, and it would likely be much slower than our default (X11)
pipeline, so I'm afraid the OGL pipeline wouldn't be of any benefit
on that particular machine.

Thanks,
Chris

On Oct 3, 2007, at 8:13 AM, Rob Ratcliff wrote:
> Hi,
>
> With the hope that the OpenGL pipeline might help us overcome some the
> X-Server performance issues on Solaris 8 on a Sun Blade 2000 with an
> XVR-450 video card, I attempted to use the OpenGL pipeline by using
> the
> -Dsun.java2d.opengl=True flag from the command line. The first time it
> complained that I didn't have the right version of GLX, but after
> upgrading to OpenGL 1.3 and even 1.5, it gave me a pretty terse error
> indicating that it could not open the OpenGL pipeline on display 0
> with
> the current configuration. Is there a document somewhere that would
> help
> me debug the configuration settings or does anybody have a
> suggestion as
> to what might be causing the problem.
>
> Thanks!
>
> Rob
>
> ======================================================================
> =====
> To unsubscribe, send email to listserv@java.sun.com and include in
> the body
> of the message "signoff JAVA2D-INTEREST". For general help, send
> email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Rob Ratcliff

Chris,

Thanks for the quick response.

Chris Campbell wrote:
>
> What this shows is only one fbconfig (similar to a visual in OpenGL-
> speak) is available, but it's not sufficient for Java2D rendering
> because it's a special linear visual that you'll only find on some
> Sun hardware.
>
Can fbconfigs be created or altered?
> But more to the point, I've never heard of an XVR-450. Is that the
> right product name? I'm guessing that we'd be going through Sun's
> software OpenGL rasterizer on this board even if you did get it to
> work, and it would likely be much slower than our default (X11)
> pipeline, so I'm afraid the OGL pipeline wouldn't be of any benefit
> on that particular machine.
I got the name wrong, I meant to say GFX-450.
http://www.sun.com/io_technologies/vendor/faq_gfx_450.html

Am I still out of luck?

Rob

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Chris Campbell

Hi Rob,

On Oct 4, 2007, at 11:31 AM, Rob Ratcliff wrote:
> Chris,
>
> Thanks for the quick response.
>
> Chris Campbell wrote:
>>
>> What this shows is only one fbconfig (similar to a visual in OpenGL-
>> speak) is available, but it's not sufficient for Java2D rendering
>> because it's a special linear visual that you'll only find on some
>> Sun hardware.
>>
> Can fbconfigs be created or altered?

Not really, in this case at least.

>> But more to the point, I've never heard of an XVR-450. Is that the
>> right product name? I'm guessing that we'd be going through Sun's
>> software OpenGL rasterizer on this board even if you did get it to
>> work, and it would likely be much slower than our default (X11)
>> pipeline, so I'm afraid the OGL pipeline wouldn't be of any benefit
>> on that particular machine.
> I got the name wrong, I meant to say GFX-450.
> http://www.sun.com/io_technologies/vendor/faq_gfx_450.html
>
> Am I still out of luck?
>

Unfortunately, yes; OpenGL isn't accelerated in hardware on that board:
http://www.techsource.com/gfx450/gfx450.html#four

Chris

> Rob
>
> ======================================================================
> =====
> To unsubscribe, send email to listserv@java.sun.com and include in
> the body
> of the message "signoff JAVA2D-INTEREST". For general help, send
> email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Rob Ratcliff

Chris,

We should have XVR-100s and possibly an XVR-500 available that should
have OpenGL support, do you know if people have had any significant
success with those?

Thanks,

Rob

Chris Campbell wrote:
> \Unfortunately, yes; OpenGL isn't accelerated in hardware on that board:
> http://www.techsource.com/gfx450/gfx450.html#four
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".