[osg-users] setGLExtensionFuncPtr priority

Julien Valentin julienvalentin51 at gmail.com
Sun Aug 26 08:12:07 PDT 2018


My plateform is Ubuntu LTS with Nvidia proprietary driver
I noticed the bug come and go when update my system (Lately, it comes back when updating to 18.04 with nvidia-390)


I write out adresses, they indeed differs:

Code:
glGetTextureHandleARB:0x7ffff2d8c4a0
glIsTextureHandleResidentARB:0x7ffff2d8e1e0
glMakeTextureHandleResidentARB:0x7ffff2d8ea40

glGetTextureHandle:0x7fffe2f622e0
glIsTextureHandleResident:0x7fffe2f62360
glMakeTextureHandleResident:0x7fffe2f62320



If you know a proper way to contact nvdia driver support for linux...

Cheers


robertosfield wrote:
> Hi Juilen,
> 
> This sounds like a driver bug.  What OS/hardware/drivers are you using?
> 
> It would be worth printing out the address returned for each the
> "glGetTextureHandle", "glGetTextureHandleARB","glGetTextureHandleNV"
> variants to see what is being returned, this might gives some clues
> that could help the driver developers track down the issue.
> 
> Robert.
> On Sat, 25 Aug 2018 at 21:30, Julien Valentin
> <> wrote:
> 
> > 
> > Hi,
> > I just found the cause of a recurring malfunction in osgbindlesstext under nux:
> > it seams non suffixed procaddr are malfunctionning
> > setGLExtensionFuncPtr(glGetTextureHandle,  "glGetTextureHandle",           "glGetTextureHandleARB","glGetTextureHandleNV", validContext);
> > 
> > "glGetTextureHandle" give a valid adress but fails at use.
> > 
> > i fix it moving non ARB suffixed procname at the end :
> > setGLExtensionFuncPtr(glGetTextureHandle,        "glGetTextureHandleARB","glGetTextureHandleNV", "glGetTextureHandle",     validContext);
> > 
> > It seams reasonnable fix but would like confirmatoin as it is sure a weird driver behavior
> > 
> > Thank you!
> > 
> > Cheers,
> > Julien
> > 
> > ------------------------
> > Twirling twirling twirling toward freedom
> > 
> > ------------------
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=74596#74596
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > osg-users mailing list
> > 
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > 
> _______________________________________________
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum


------------------------
Twirling twirling twirling toward freedom

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







More information about the osg-users mailing list