OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Extension '' is not supported


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
sbrkopac
Newbie


Joined: 14 Jun 2018
Posts: 12

PostPosted: Thu Nov 08, 2018 8:22 pm    Post subject:
Extension '' is not supported
Reply with quote

Hi,

When I use the latest 3.6.3 release, I get the following message when enabling OSG_INFO.

Code:
OpenGL extension '' is not supported.


Does anybody else get this when running a normal viewer example?

Code:
int main(int argc, const char *argv[]) {

    osg::setNotifyLevel(osg::NotifySeverity::INFO);

    osgViewer::Viewer viewer;

    viewer.setUpViewInWindow(50, 50, 640, 480, 0);
    viewer.setCameraManipulator(new osgGA::MultiTouchTrackballManipulator);

    return viewer.run();
}


Thanks, Sam
Back to top
View user's profile Send private message
kornerr
Appreciator


Joined: 01 Oct 2013
Posts: 284

PostPosted: Fri Nov 09, 2018 10:20 am    Post subject:
Extension '' is not supported
Reply with quote

Hi. Is there any specific problem with that message you want to know?
On Thu, 8 Nov 2018 at 23:40, Sam Brkopac <> wrote:
Quote:

Hi,

When I use the latest 3.6.3 release, I get the following message when enabling OSG_INFO.


Code:
OpenGL extension '' is not supported.



Does anybody else get this when running a normal viewer example?


Code:
int main(int argc, const char *argv[]) {

osg::setNotifyLevel(osg::NotifySeverity::INFO);

osgViewer::Viewer viewer;

viewer.setUpViewInWindow(50, 50, 640, 480, 0);
viewer.setCameraManipulator(new osgGA::MultiTouchTrackballManipulator);

return viewer.run();
}



Thanks, Sam

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75175#75175








------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12149

PostPosted: Fri Nov 09, 2018 10:37 am    Post subject:
Extension '' is not supported
Reply with quote

I have just run the following:



$ osgviewer cow.osgt | grep "OpenGL extension '' is not supported"
OpenGL extension '' is not supported.
OpenGL extension '' is not supported.


So I get the odd warning.  It suggests that code somewhere is attempting to to check an extension name that with an empty string.  I will have a quick look.  It'll likely be benign issue.



Robert.

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12149

PostPosted: Fri Nov 09, 2018 11:17 am    Post subject:
Extension '' is not supported
Reply with quote

I traced it back to a line in SceneGraph.cpp's SceneView::init():


    // force the initialization of the OpenGL extension string
    // to try and work around a Windows NVidia driver bug circa Oct 2006.
    osg::isGLExtensionSupported(_renderInfo.getState()->getContextID(),"");


So the confirms that the issue is benign, and I think given it's 12 years on that there have been lots of other changes to the osg::State & GLExtensions are setup it's probably safe to remove - there are lots of other extensions being checked prior to the "" ones.  I will check in removal of this call to OSG-3.6 branch and master.



Robert.

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
sbrkopac
Newbie


Joined: 14 Jun 2018
Posts: 12

PostPosted: Fri Nov 09, 2018 7:52 pm    Post subject:
Reply with quote

Just for clarity, it wasn't causing me any issues. Thanks for looking into it, Robert.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts osgEarth often crashes in multi-displ... xdfanfan General 0 Mon Nov 26, 2018 8:07 am View latest post
No new posts Warning: Material::apply(State&) ... bcolbert General 3 Mon Jul 23, 2018 6:19 pm View latest post
No new posts Adding WOFF extension to freetype plugin robertosfield Submission 0 Mon Jul 17, 2017 3:48 pm View latest post
No new posts support for #extension robertosfield Submission 1 Tue Apr 18, 2017 4:17 pm View latest post
No new posts support for #extension d_a_heitbrink Submission 2 Wed Jan 11, 2017 3:16 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP