Discussion:
OpenGL version test failed for osgdem
Omkaranathan
2008-01-07 17:06:45 UTC
Permalink
Hi all,

I got the following error while trying to use osgdem(VPB). I am using
RedHatLinux and ATI X1900 graphics card.
OSG applications are working normally.

Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test
failed, requires valid graphics context.
Scaling image 'output_L0_X0_Y0.dds' from (256,256) to (0,0)
Segmentation fault


Thanks in advance
Om
Robert Osfield
2008-01-08 14:12:24 UTC
Permalink
Post by Omkaranathan
Hi all,
I got the following error while trying to use osgdem(VPB). I am using
RedHatLinux and ATI X1900 graphics card.
OSG applications are working normally.
Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test
failed, requires valid graphics context.
Scaling image 'output_L0_X0_Y0.dds' from (256,256) to (0,0)
Segmentation fault
Which version of VPB are you working with?
Omkaranathan
2008-01-08 14:24:48 UTC
Permalink
Post by Robert Osfield
Post by Omkaranathan
Hi all,
I got the following error while trying to use osgdem(VPB). I am using
RedHatLinux and ATI X1900 graphics card.
OSG applications are working normally.
Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test
failed, requires valid graphics context.
Scaling image 'output_L0_X0_Y0.dds' from (256,256) to (0,0)
Segmentation fault
Which version of VPB are you working with?
version - 0.9.1
Everything was working fine with NVIDIA-6600 card. Changed to ATI card
yesterday and getting the error.

Thanks
Om
Omkaranathan
2008-01-08 14:25:30 UTC
Permalink
Post by Robert Osfield
Post by Omkaranathan
Hi all,
I got the following error while trying to use osgdem(VPB). I am using
RedHatLinux and ATI X1900 graphics card.
OSG applications are working normally.
Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test
failed, requires valid graphics context.
Scaling image 'output_L0_X0_Y0.dds' from (256,256) to (0,0)
Segmentation fault
Which version of VPB are you working with?
version - 0.9.1
Everything was working fine with NVIDIA-6600 card. Changed to ATI card
yesterday and getting the error now.

Thanks
Om
Robert Osfield
2008-01-08 15:32:46 UTC
Permalink
Post by Omkaranathan
version - 0.9.1
Everything was working fine with NVIDIA-6600 card. Changed to ATI card
yesterday and getting the error now.
This strongly suggest and OpenGL driver limitation/bug of some kind.
osgdem tries to create a graphics context for the purpose of OpenGL
compression of textures, first it tries to create a pbuffer, then
falls back to a standard graphics window if this fails.

Could you try the SVN version of VPB. The code invoking the graphics
context is a little different, its a long shot but possibly worth
trying, it might give you a bit more feedback what's up.

Robert.

Loading...