Re: [osg-users] OSG 3.2.1 + OculusViewer on Mac OSX 10.9 - Crash
Hi, Working together (me and Felipe) have been able to track down the error which caused this behaviour on the Mac's using Intel graphics. The problem was that I forgot to force VertexBufferObjects for the geometry performing the optical distortion correction. So the geometry used DisplayLists instead. This apparently worked well on NVidia and Amd cards, but failed with Intel Iris graphics. So I added the following to my geometry to get it working: Code: osg::ref_ptrosg::Geometry geometry = new osg::Geometry; geometry-setUseDisplayList( false ); geometry-setUseVertexBufferObjects(true); And Felipe has confirmed that this is working on his Mac with Intel Iris graphics. Regards Björn -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61014#61014 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Building OSG with OpenGL ES 2
Are you using the PowerVR Insider SDK framework on your embedded Linux platform? If so, then you can probably use the same code on both platforms to integrate a GraphicsWindowEmbedded with direct calls to update osg via the frame() function in the drawing callback their framework provides. You might need to do a bit of manual render state resetting before and after to ensure that both systems work together properly. If osg's existing Linux support, or some template you got from elsewhere is what you're using on Linux, then you might as well just use Desktop OpenGL on Windows, and either just try to avoid the Fixed-function pipeline and other stuff unavailable in OpenGL ES, or specifically to strip them out using osg's CMAKE build options. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Who is maintaining openscenegraph?
Sorry to reply so late.. Optirun is for using nvidia's card on laptop, actually I don't know much about it. I've reported this bug to archlinux's community. Maybe someone there will get a good knowledge of both osg and optirun and x11... This issue is not critical, so, as I've got how to report issue to osg community, that's enough yet. On Wed, Sep 10, 2014 at 5:24 PM, Jan Ciger jan.ci...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/10/2014 10:05 AM, Robert Osfield wrote: I haven;t heard of optirun before, I have done a quick search on the web and haven't got any good explanation of what it is. What is it and why are you using it? It seems to be a part of this: http://bumblebee-project.org/index.html It is to support the GPU switching solution from Nvidia. So yes, I would suspect poor driver support on the target machine and nothing to do with OSG. The xcb messages are from the X libraries, it looks like OpenGL is not properly supported. J. -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iD8DBQFUEBi+n11XseNj94gRAlFXAJ9iNg5U3+tuQhXCbZUVDtEsjBLIZwCfXgfS hACI5+q1uJldWk/fXG3wz/k= =0s1J -END PGP SIGNATURE- ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Working on computer vision and computational geometry Github: https://github.com/thomasking0529 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Who is maintaining openscenegraph?
On 11 September 2014 14:54, Thomas King thomasking0...@gmail.com wrote: Sorry to reply so late.. Optirun is for using nvidia's card on laptop, actually I don't know much about it. I've reported this bug to archlinux's community. Maybe someone there will get a good knowledge of both osg and optirun and x11... This issue is not critical, so, as I've got how to report issue to osg community, that's enough yet. If may well be one of the few people in the OSG community with that particular combination of hardware and software so it's not an issue that many if any others can look into. Also as it's very likely not an OSG problem but a GLX/driver issue it's not something that the OSG community can address as it's really not something wrong with the OSG or something that we are likely to be able to workaround. I would recommend contacting the Optirun community or NVidia/Intel about the problem. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Who is maintaining openscenegraph?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/11/2014 04:05 PM, Robert Osfield wrote: On 11 September 2014 14:54, Thomas King thomasking0...@gmail.com I would recommend contacting the Optirun community or NVidia/Intel about the problem. AFAIK, the Optimus technology from Nvidia is not officially supported in Linux, so good luck trying to get any support from them :( Intel likely the same story. I would contact the Bumblebee project (http://bumblebee-project.org/index.html) who are authors of the optirun tool and the utilities needed to make the setup work. I wouldn't have high hopes for it, though - the Optimus setup is quite complex (the Nvidia GPU renders offscreen and then the image is copied to the Intel one which has the actual display connection, requiring various OpenGL hacks). Regards, J. -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iD8DBQFUEa7rn11XseNj94gRAnQfAJ4tpTm4h/hVpMBfth+oN0wu3kI4eQCaA/Iy s15LwsNHdWE28AWDe0LxJjY= =wgbr -END PGP SIGNATURE- ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Who is maintaining openscenegraph?
If you are on ubuntu...Check these out. http://xmodulo.com/2014/08/install-configure-nvidia-optimus-driver-ubuntu.html http://www.webupd8.org/2014/01/prime-indicator-lets-you-quickly-switch.html I am using prime on an Alienware M11XR2 with ubuntu...works pretty good. CD Thomas King wrote: I want to report a bug to its developers, but there seems to be only some individual developers on github. Where should I report? By the way, this is the details of this bug: OS: Arch Linux Ver: openscenegraph 3.2.1-1, x86_64 Detail: When I create more than one viewer and run it with nvidia optirun, I'll get this error. Running on default intel driver is ok. Error log: [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :8 after 72 requests (72 known processed) with 0 events remaining. Optic_disp: xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed. -- Working on computer vision and computational geometry Github: https://github.com/thomasking0529 (https://github.com/thomasking0529) -- Post generated by Mail2Forum -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61019#61019 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Qt resouce and osgDB::readImageFile
Hi, I currently bind files wich our application need as resource. But is there a way, that osg automatically use the resource system (accept filepathes starting with qrc:/). Or how I can load a file from a qrc with something like readImageFile, where a filepathes is accepted, but I don't see an alternate with a stream? Thank you! Cheers, Heiko -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61020#61020 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org