[osg-users] setGLExtensionFuncPtr priority

Voerman, L. l.voerman at rug.nl
Tue Aug 28 00:17:26 PDT 2018


HI Julien,
I cannot find a specification for the function with the name
"glGetTextureHandle", and I think that might explain why you get unexpected
results on linux. The windows driver does not provide this function, so osg
falls back to glGetTextureHandleARB. Your linux system seems to provide a
function with the name "glGetTextureHandle", but while confusing I would
not call that a bug.
Regards, Laurens.

On Mon, Aug 27, 2018 at 8:28 PM Julien Valentin <julienvalentin51 at gmail.com>
wrote:

> Voerman
> Please, read the original problem and the example before randomly citing
> specs.
> The problem concerns linux nvidia propriétary driver (not win32)
> I admit I misnamed this thread but it's not a reason for acting in a such
> 'Mr-I-know-all" fashion:
> How can you say there's something wrong in using glGetTextureHandle
> whereas the exampleosgbindlesstext should work on your plateform?
>
> This is exactly the type of behavior I can't stand from guys naming
> themself "professionnal".
>
>
>
> Voerman, L. wrote:
> > Hi Julien,on my windows system (win 10 / nvidia driver 388.13 / geforce
> gtx 1080)
> >
> >
> > 0x0000000000000000  glGetTextureHandle
> > 0x00000000672f2a30  glGetTextureHandleARB
> > 0x00000000672f2ab0  glGetTextureHandleNV
> >
> >
> >
> > I think using glGetTextureHandle is not according to spec.
> > Laurens.
> >
> >
> > On Mon, Aug 27, 2018 at 1:54 PM Julien Valentin < ()> wrote:
> >
> >
> > > Thank for your answer but there aren't any relation with this driver
> issue:
> > > -osgbinlesstext include ARB_bindless_texture (perhaps there
> incompitibiliites due to the use of uint64 but for nv all is good)
> > > -osgbinlesstext don't rely on UniformHandleui64
> > > -AFAIK osgbindless has never get problem under win32 so it's really a
> driver bug
> > >
> > >
> > > Voerman, L. wrote:
> > >
> > > > Hi Julien, Robert,searching around I can find that
> ARB_bindless_texture (
> https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_bindless_texture.txt
> (
> https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_bindless_texture.txt)) and NV_bindless_texture
> (
> https://www.khronos.org/registry/OpenGL/extensions/NV/NV_bindless_texture.txt
> (
> https://www.khronos.org/registry/OpenGL/extensions/NV/NV_bindless_texture.txt)) are
> similar, but not the same,
> > > > near the end of the ARB version is the remark:
> > > >
> > > >
> > > >
> > > >
> > > > >          NV_bindless_texture didn't require any shader changes to
> make uniforms usable with UniformHandleui64{v}, but ARB_bindless_texture
> requires        these declarations.I guess this might explain the black
> textures. I can't find any note of core promotion, or a function prototype
> for glGetTextureHandle (no NV no ARB), so I would not call a driver bug if
> it does something not entirely as expected.Regards, Laurens.
> > > > >
> > > >
> > > >
> > > > On Sun, Aug 26, 2018 at 9:09 PM Julien Valentin < ()> wrote:
> > > >
> > > >
> > > >
> > > > > yes osgbindlesstext example should fail on your arch as on mine:
> > > > > black textured disaplyed
> > > > >
> > > > >
> > > > > robertosfield wrote:
> > > > >
> > > > >
> > > > > > Hi Julien.
> > > > > >
> > > > > > On Sun, 26 Aug 2018 at 16:29, Julien Valentin
> > > > > > <> wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > > > 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 have Kubuntu 18.04 + Nvidia 390.48 on my system so I'll see if
> I can
> > > > > > reproduce the issue.
> > > > > >
> > > > > > To reproduce the problem do I simply as running osgbindlesstext?
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > ------------------------
> > > > > Twirling twirling twirling toward freedom
> > > > >
> > > > > ------------------
> > > > > Read this topic online here:
> > > > > http://forum.openscenegraph.org/viewtopic.php?p=74602#74602 (
> http://forum.openscenegraph.org/viewtopic.php?p=74602#74602) (
> http://forum.openscenegraph.org/viewtopic.php?p=74602#74602 (
> http://forum.openscenegraph.org/viewtopic.php?p=74602#74602))
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > osg-users mailing list
> > > > >   ()
> > > > >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org)
> (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> (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=74604#74604 (
> http://forum.openscenegraph.org/viewtopic.php?p=74604#74604)
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > >  ()
> > >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> (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=74606#74606
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180828/11caab43/attachment.html>


More information about the osg-users mailing list