[osg-users] Crash on Windows 10 with a Display Link adapter

189 views
Skip to first unread message

Fabien CLaudot

unread,
Apr 27, 2017, 7:37:21 AM4/27/17
to osg-...@lists.openscenegraph.org
Hi,

We have a crash in OSG in the following setup :
- Microsoft Surface Pro 4 with Windows 10.
- Application is displayed on a deported screen using a Display link adapter (Main screen is off).

Crash happens in the module osg130_osg

0:006>
# Call Site
00 osg130_osg!osg::GLBufferObject::GLBufferObject
01 osg130_osg!osg::GLBufferObjectSet::takeOrGenerate
02 osg130_osg!osg::GLBufferObjectManager::generateGLBufferObject
03 osg130_osg!osg::GLBufferObject::createGLBufferObject
04 osg130_osg!osg::BufferObject::getOrCreateGLBufferObject
05 osg130_osg!osg::DrawElementsUShort::draw
06 osgdb_osgearth_engine_mp
07 osgdb_osgearth_engine_mp
08 osg130_osgutil!osgUtil::RenderLeaf::render
09 osg130_osgutil!osgUtil::RenderBin::drawImplementation
0a osg130_osgutil!osgUtil::RenderBin::draw
0b osg130_osgutil!osgUtil::RenderBin::drawImplementation
0c osg130_osgutil!osgUtil::RenderStage::drawImplementation
0d osg130_osgutil!osgUtil::RenderBin::draw
0e osg130_osgutil!osgUtil::RenderStage::drawInner
0f osg130_osgutil!osgUtil::RenderStage::draw
10 osg130_osgutil!osgUtil::SceneView::draw
11 osg130_osgviewer!osgViewer::Renderer::draw
12 osg130_osg!osg::GraphicsContext::runOperations
13 osg130_osg!osg::OperationThread::run
14 osg130_osg!osg::GraphicsThread::run
15 ot20_openthreads!OpenThreads::SetProcessorAffinityOfCurrentThread
16 ucrtbase!invoke_thread_procedure
17 ucrtbase!thread_start<unsigned int (__cdecl*)(void * __ptr64)>
18 kernel32 !BaseThreadInitThunk

We get these error messages : Windows Error #127: [Screen #0] ChooseMatchingPixelFormat() - wglChoosePixelFormatARB extension not found, trying GDI. Reason: The specified procedure could not be found .

Error: OpenGL version test failed, requires valid graphics context.

On other platforms or with the main screen on, we get no error.

Thanks for your help.

Fabien.

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





_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Jan Ciger

unread,
Apr 27, 2017, 8:12:15 AM4/27/17
to OpenSceneGraph Users

Hello,

On Thu, Apr 27, 2017 at 11:03 AM, Fabien CLaudot <fa...@neuf.fr> wrote:
Hi,

We have a crash in OSG in the following setup :
-       Microsoft Surface Pro 4 with Windows 10.
-       Application is displayed on a deported screen using a Display link adapter (Main screen is off).

....

 
We get these error messages : Windows Error #127: [Screen #0] ChooseMatchingPixelFormat() - wglChoosePixelFormatARB extension not found, trying GDI. Reason: The specified procedure could not be found .

Error: OpenGL version test failed, requires valid graphics context.


 That looks very much like a driver problem. The application failed to create a proper OpenGL context that OSG needs, so the application crashes. The DisplayLink adapters are an external GPU and it may not support OpenGL properly. 

You are not the only one having problems with these adapters and Windows 10:

J.

Reply all
Reply to author
Forward
0 new messages