Jump to content

[WONTFIX] SIGSEV on OpenGL initialisation (glGetStringi) with Optimus technology


photo

Recommended Posts

Posted

Hi,

 

I recently changed my linux work machine to a laptop with Nvidia Optimus technology (bumblebee support under linux), and I've had some problems compiling and usinge engine.

When I start my program, I have a segfault when initializing OpenGL:

 

Call Stack

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff768e629 in glGetStringi () from /usr/lib/nvidia/libGL.so.1
(gdb) bt
#0  0x00007ffff768e629 in glGetStringi () from /usr/lib/nvidia/libGL.so.1
#1  0x00000000007ffff7 in ?? ()
#2  0x00007ffff5ae95df in GLExt::init () at /home/wise/hg/en/software/source/engine/render/opengl/framework/GLExt.cpp:738
#3  0x00007ffff53beee6 in Unigine::App::initGL (this=this@entry=0xa0b060) at /home/wise/hg/en/software/source/engine/api/UnigineApp.cpp:260
#4  0x000000000042f315 in GLAppOffscreen::create_context (this=0xa0b060, data=<optimized out>) at /home/wise/hg/cloud/software/source/server/offscreenapp/GLAppOffscreen.cpp:1550
#5  0x000000000042df7c in GLAppOffscreen::setVideoMode (this=0xa0b060, width=<optimized out>, height=<optimized out>, flags=<optimized out>, refresh=<optimized out>)
    at /home/wise/hg/cloud/software/source/server/offscreenapp/GLAppOffscreen.cpp:620
#6  0x00007ffff53a2034 in Engine::video_restart (this=0xa6ac10, argc=0, argv=0x0) at /home/wise/hg/en/software/source/engine/Engine.cpp:1703
#7  0x00007ffff53a4c92 in Engine::init (this=this@entry=0xa6ac10, app=app@entry=0x0, home=home@entry=0x0, argc=argc@entry=17, argv=argv@entry=0x7fffffffe330, project=project@entry=0x0,
    password=password@entry=0x0) at /home/wise/hg/en/software/source/engine/Engine.cpp:966
#8  0x00007ffff53a5e16 in Engine::Engine (this=0xa6ac10, app=0xa0ad20, app_path=0x0, home_path=0x0, argc=17, argv=0x7fffffffe330, project=0x0, password=0x0)
    at /home/wise/hg/en/software/source/engine/Engine.cpp:437
#9  0x00007ffff53be7af in Unigine::EngineInterface::EngineInterface (this=0xa69820, app=0xa0ad20, app_path=0x0, home_path=0x0, argc=17, argv=0x7fffffffe330, project=0x0, password=0x0)
    at /home/wise/hg/en/software/source/engine/api/Unigine.cpp:127
#10 0x00007ffff53bdefe in Unigine::Engine::init (version=version@entry=16393, app=<optimized out>, argc=argc@entry=17, argv=argv@entry=0x7fffffffe330, project=project@entry=0x0,
    password=password@entry=0x0) at /home/wise/hg/en/software/source/engine/api/Unigine.cpp:21

I know the trouble is on my side because when I link with the engine provides in Sdk, or even when I recompile the sources provides in Sdk, my program runs without problem, but I just wanted to know if anyone had an idea because it has been a few days that I'm on.

 

Thanks

 

  • 3 weeks later...
Posted

Yes, it suppports. I have attached the standard ouptut from glxinfo on my system, if that can help.

  • 1 month later...
Posted

How exactly do yous start? I have a running installation here and it works without problems.

×
×
  • Create New...