[GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellation

Threads related to Google Summer of Code
Post Reply
TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin
x 65

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by TheSHEEEP »

holocronweaver wrote:
scrawl wrote:I also enabled unity build. I suspect that I'd also have gotten the missing include error with unity build off.
Good catch! That was indeed what has been shielding me from these errors. Yet more stuff to fix. :shock:

Update: My latest push should fix things for non-unity builds. However, I never experienced trouble loading the samplebrowser. Make sure you delete any cache files in your OGRE user directory (~/.ogre on Lin and My Documents/Ogre on Win).
Yep, non-unity-build was what I did.
I'm now building again a debug version and will (hopefully!) see later where it crashes on my machine.

Here is what GDB has to say about that:
#0 0x6fc6591f in libstdc++-6!_ZNKSs4sizeEv () from C:\MinGW\bin\libstdc++-6.dll
#1 0x6fc8a970 in libstdc++-6!_ZNSs6assignEPKcj () from C:\MinGW\bin\libstdc++-6.dll
#2 0x6fc8a954 in libstdc++-6!_ZNSs6assignEPKc () from C:\MinGW\bin\libstdc++-6.dll
#3 0x6fc8c885 in libstdc++-6!_ZNSsaSEPKc () from C:\MinGW\bin\libstdc++-6.dll
#4 0x6fee830d in Ogre::CompositorManager::CompositorManager (this=0x6a8a58)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreCompositorManager.cpp:59
#5 0x7000420d in Ogre::Root::Root (this=0x6a1378, pluginFileName=..., configFileName=..., logFileName=...)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreRoot.cpp:251
#6 0x00411718 in _fu4___ZN4Ogre10StringUtil5BLANKE () at C:/Coding/Ogre/gl3+/Samples/Common/include/SampleContext.h:612
#7 0x00413a3b in OgreBites::SampleContext::initApp (this=0x28fd58, initialSample=0x0)
at C:/Coding/Ogre/gl3+/Samples/Common/include/SampleContext.h:256
#8 0x0041390e in OgreBites::SampleContext::go (this=0x28fd58, initialSample=warning: (Internal error: pc 0x0 in read in psymtab,
but not in symtab.)

0x0)
at C:/Coding/Ogre/gl3+/Samples/Common/include/SampleContext.h:323
#9 0x00401551 in WinMain@16 (cmdLine=0x983e77 "") at C:/Coding/Ogre/gl3+/Samples/Browser/src/SampleBrowser.cpp:116
#10 0x0042985b in main ()
(gdb)
What's weird is that the debug version crashes sooner than the release version. I don't even get the render system selection. Of course, I cleared the Ogre folder before.

Also, I just did a rebuild of the current 1.9 version to make sure it still works, and it doesn't. Not sure what's going on here, I'll try to rebuild the dependencies.

Edit:
Okay, did a rebuild using the latest dependencies and the result is the same (same gdb output, too). I wonder what's going on as I can build our own project (which uses a slightly older Ogre 1.9) just fine. And the project runs fine, too.

Btw. I do use boost, but also doubt that this has anything to do with my problems.

Edit 2:
Huh, I was just able to launch the normal 1.9 sample browser when building without boost.
I'll now try your branch, also without using boost. Maybe this is the problem, after all (though i have no idea how that could be).

Could you try building with boost (I use 1.53) and MinGW to see if this is also a problem for you?

Edit 3:
Okay... in the current 1.9 branch, I can even build & run the SampleBrowser with the GL3+ RS when not using boost.

In your branch, I can not launch the SampleBrowser when using the GL3+ RS and also not normal GL RS when using boost. In fact, it crashes before even the RS selection shows. When not using boost, I can at least launch the normal GL RS, but not the GL3+ one. So without boost, at least the RS selection shows.
My site! - Have a look :)
Also on Twitter - extra fluffy
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

TheSHEEEP wrote:Could you try building with boost (I use 1.53) and MinGW to see if this is also a problem for you?
At the moment I do not have the time as Boost + MinGW always gave me headaches. For now, let's test without Boost to avoid its added complications. I will test Boost + MinGW before beta.
In your branch, I can not launch the SampleBrowser when using the GL3+ RS and also not normal GL RS when using boost. In fact, it crashes before even the RS selection shows. When not using boost, I can at least launch the normal GL RS, but not the GL3+ one. So without boost, at least the RS selection shows.
Can you give me a stack trace for running GL3+ RS without Boost?
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

I have been unable to practically use AddressSanitizer because it finds such hilarious bugs in AMD Catalyst drivers as:

Code: Select all

==19145== ERROR: AddressSanitizer: strcpy-param-overlap: memory ranges [0x7fff7decd9e4,0x7fff7decd9e8) and [0x7fff7decd9e4, 0x7fff7decd9e8) overlap
which occurs inside glCompileShader.
Is there a way to ignore bugs in lower level libraries?
TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin
x 65

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by TheSHEEEP »

holocronweaver wrote:Can you give me a stack trace for running GL3+ RS without Boost?
Have at thee!
#0 0x5cfa2182 in ?? () from C:\Windows\SysWOW64\nvoglv32.dll
#1 0x0557156f in Ogre::logObjectInfo (msg=..., obj=1)
at C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLExtSupport.cpp:51
#2 0x05583796 in Ogre::GLSLProgram::attachToProgramObject (this=0x2033da8, programObject=1)
at C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgram.cpp:534
#3 0x0558354b in Ogre::GLSLProgram::attachToProgramObject (this=0x2012a28, programObject=1)
at C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgram.cpp:531
#4 0x0559583f in Ogre::GLSLProgramPipeline::loadIndividualProgram (this=0x2ecbaa8, program=0x2036e88)
at C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgramPipeline.cpp:179
#5 0x05593937 in Ogre::GLSLProgramPipeline::compileAndLink (this=0x2ecbaa8)
at C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgramPipeline.cpp:61
#6 0x05597483 in Ogre::GLSLProgramPipeline::activate (this=0x2ecbaa8)
at C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgramPipeline.cpp:272
#7 0x0559f49c in Ogre::GLSLProgramPipelineManager::getActiveProgramPipeline (this=0x2e8b860)
at C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLProgramPipelineManager.cpp:195
#8 0x05572c7d in Ogre::GLSLGpuProgram::bindProgramSharedParameters (this=0x2036e88, params=..., mask=65535)
at C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLGpuProgram.cpp:238
#9 0x0560a106 in Ogre::GL3PlusRenderSystem::bindGpuProgramParameters (this=0x1fea390, gptype=Ogre::GPT_VERTEX_PROGRAM,
params=..., mask=65535) at C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp:2570
#10 0x70021e5e in Ogre::SceneManager::updateGpuProgramParameters (this=0x2028e58, pass=0x2013f88)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreSceneManager.cpp:7273
#11 0x70013ae2 in Ogre::SceneManager::renderSingleObject (this=0x2028e58, rend=0x2025bcc, pass=0x2013f88,
lightScissoringClipping=true, doLightIteration=true, manualLightList=0x0)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreSceneManager.cpp:3491
#12 0x700123bd in Ogre::SceneManager::BRAND NAME::visit (this=0x202d2d4, rp=0x3130e90)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreSceneManager.cpp:2954
#13 0x6ffd73c8 in Ogre::QueuedRenderableCollection::acceptVisitorDescending (this=0x200e0f0, visitor=0x202d2d4)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreRenderQueueSortingGrouping.cpp:465
#14 0x6ffd7183 in Ogre::QueuedRenderableCollection::acceptVisitor (this=0x200e0f0, visitor=0x202d2d4,
om=Ogre::QueuedRenderableCollection::OM_SORT_DESCENDING)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreRenderQueueSortingGrouping.cpp:421
#15 0x70012654 in Ogre::SceneManager::renderObjects (this=0x2028e58, objs=...,
om=Ogre::QueuedRenderableCollection::OM_SORT_DESCENDING, lightScissoringClipping=true, doLightIteration=true,
manualLightList=warning: (Internal error: pc 0x0 in read in psymtab, but not in symtab.)

0x0) at C:/Coding/Ogre/gl3+/OgreMain/src/OgreSceneManager.cpp:3024
#16 0x700129b6 in Ogre::SceneManager::renderBasicQueueGroupObjects (this=0x2028e58, pGroup=0x2b35bd0,
om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP) at C:/Coding/Ogre/gl3+/OgreMain/src/OgreSceneManager.cpp:3107
#17 0x700128a0 in Ogre::SceneManager::_renderQueueGroupObjects (this=0x2028e58, pGroup=0x2b35bd0,
om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP) at C:/Coding/Ogre/gl3+/OgreMain/src/OgreSceneManager.cpp:3081
#18 0x70010395 in Ogre::SceneManager::renderVisibleObjectsDefaultSequence (this=0x2028e58)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreSceneManager.cpp:2361
#19 0x70010134 in Ogre::SceneManager::_renderVisibleObjects (this=0x2028e58)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreSceneManager.cpp:2277
#20 0x7000c9af in Ogre::SceneManager::_renderScene (this=0x2028e58, camera=0x2032a68, vp=0x26f2b48, includeOverlays=true)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreSceneManager.cpp:1574
#21 0x6fed96a0 in Ogre::Camera::_renderScene (this=0x2032a68, vp=0x26f2b48, includeOverlays=true)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreCamera.cpp:427
#22 0x700a321e in Ogre::Viewport::update (this=0x26f2b48) at C:/Coding/Ogre/gl3+/OgreMain/src/OgreViewport.cpp:224
#23 0x6ffed593 in Ogre::RenderTarget::_updateViewport (this=0x1fedcb0, viewport=0x26f2b48, updateStatistics=true)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreRenderTarget.cpp:200
#24 0x6ffed4c9 in Ogre::RenderTarget::_updateAutoUpdatedViewports (this=0x1fedcb0, updateStatistics=true)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreRenderTarget.cpp:178
#25 0x6ffed41e in Ogre::RenderTarget::updateImpl (this=0x1fedcb0) at C:/Coding/Ogre/gl3+/OgreMain/src/OgreRenderTarget.cpp:155
#26 0x6ffeedf4 in Ogre::RenderTarget::update (this=0x1fedcb0, swap=true)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreRenderTarget.cpp:613
#27 0x00414367 in OgreBites::SdkTrayManager::windowUpdate (this=0x2ebad30)
at C:/Coding/Ogre/gl3+/Samples/Common/include/SdkTrays.h:2801
#28 0x00417103 in OgreBites::SdkTrayManager::resourceGroupScriptingStarted (this=0x2ebad30, groupName=..., scriptCount=98)
at C:/Coding/Ogre/gl3+/Samples/Common/include/SdkTrays.h:2809
#29 0x6fff76c4 in Ogre::ResourceGroupManager::fireResourceGroupScriptingStarted (this=0x26f0260, groupName=..., scriptCount=98)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreResourceGroupManager.cpp:1367
#30 0x6fff6331 in Ogre::ResourceGroupManager::parseResourceGroupScripts (this=0x26f0260, grp=0x26f0728)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreResourceGroupManager.cpp:1053
#31 0x6fff2033 in Ogre::ResourceGroupManager::initialiseResourceGroup (this=0x26f0260, name=...)
at C:/Coding/Ogre/gl3+/OgreMain/src/OgreResourceGroupManager.cpp:120
#32 0x0040bb35 in OgreBites::SampleBrowser::loadResources (this=0x28fd58)
at C:/Coding/Ogre/gl3+/Samples/Browser/include/SampleBrowser.h:1290
#33 0x0040dfee in OgreBites::SampleBrowser::setup (this=0x28fd58)
at C:/Coding/Ogre/gl3+/Samples/Browser/include/SampleBrowser.h:1175
#34 0x0041286c in OgreBites::SampleContext::initApp (this=0x28fd58, initialSample=warning: (Internal error: pc 0x0 in read in psym
tab, but not in symtab.)

0x0)
at C:/Coding/Ogre/gl3+/Samples/Common/include/SampleContext.h:266
#35 0x004126d6 in OgreBites::SampleContext::go (this=0x28fd58, initialSample=warning: (Internal error: pc 0x0 in read in psymtab,
but not in symtab.)

0x0)
at C:/Coding/Ogre/gl3+/Samples/Common/include/SampleContext.h:323
#36 0x00401551 in WinMain@16 (cmdLine=0x713def "") at C:/Coding/Ogre/gl3+/Samples/Browser/src/SampleBrowser.cpp:116
#37 0x004283fb in main ()
My site! - Have a look :)
Also on Twitter - extra fluffy
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

TheSHEEEP wrote:Have at thee!
Is there an associated error message?
TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin
x 65

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by TheSHEEEP »

Nope, nothing. And the log does not seem to have anything to say about this.

http://pastebin.com/eSSisitG
My site! - Have a look :)
Also on Twitter - extra fluffy
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

TheSHEEEP wrote:Nope, nothing. And the log does not seem to have anything to say about this.
That error is occurring on a boring GL state log call, of all things. If you comment out the line C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLExtSupport.cpp:51, which happens to be

Code: Select all

OGRE_CHECK_GL_ERROR(glGetProgramPipelineiv(obj, GL_INFO_LOG_LENGTH, &infologLength));
are you able to run the sample browser? Guessing it is not that simple, but hope springs eternal.
TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin
x 65

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by TheSHEEEP »

Interesting. Removing that line, I can now run the SampleBrowser.
So the problem may be the macro or the GL call itself.

I will now try if doing this with boost also works (I doubt it, but we'll see).
Edit:
Nope, it doesn't. Not sure if only my boost is broken or if this is a general problem with boost and MinGW at the moment, or only with boost + MinGW GCC 4.7.2, etc. But I'm too busy with "normal work stuff" atm to dig further here.
My site! - Have a look :)
Also on Twitter - extra fluffy
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

TheSHEEEP wrote:Interesting. Removing that line, I can now run the SampleBrowser.
So the problem may be the macro or the GL call itself.
That is a strange place to crash. Since the crash occurs within the NVIDIA driver, it is a GL call - either from within the macro or the call we see. NVIDIA is usually on top of stuff like this!
At any rate, let's test the sample browser without Boost. What samples work? If you are using my latest push, most broken samples should be disabled, except Terrain samples which sporadically work.
cord
Halfling
Posts: 59
Joined: Tue Oct 22, 2013 10:22 am
x 7

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by cord »

I remember seeing a commit recently (can't remember which branch) which increased the log buffer size.

That call may be crashing because the log buffer isn't large enough. O.o Static buffer sizes and buffer overflow FTW!
TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin
x 65

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by TheSHEEEP »

The current version cannot be compiled because OgreGLSLGpuProgram.h is missing. Or because you forgot to also delete OgreGLSLGpuProgram.cpp, not sure what the intention was :)
In file included from ..\..\RenderSystem_GL3Plus\compile_RenderSystem_GL3Plus_0.cpp:2:0:
C:/Coding/Ogre/gl3+/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLGpuProgram.cpp:29:32: fatal error: OgreGLSLGpuProgram.h: No such file or directory
compilation terminated.
My site! - Have a look :)
Also on Twitter - extra fluffy
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

TheSHEEEP wrote: The current version cannot be compiled because OgreGLSLGpuProgram.h is missing. Or because you forgot to also delete OgreGLSLGpuProgram.cpp, not sure what the intention was :)
D'oh! Sorry, should be fixed now. I am still learning all the quirks of Mercurial.
cord wrote:I remember seeing a commit recently (can't remember which branch) which increased the log buffer size.

That call may be crashing because the log buffer isn't large enough. O.o Static buffer sizes and buffer overflow FTW!
Thanks for pointing this out - I will keep it in mind. Given where the crash was occurring, no OGRE buffers should be involved, so I don't think it affects this particular case.
TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin
x 65

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by TheSHEEEP »

So, now that everything is running (without boost, at least), I finally got around to testing. Here are my results:
  • Atomic Counters - Out Of Order
  • BSP Sample - No GL3+ yet
  • Basic - Working with purple/pink-ish heads
  • Bezier Patch - Working
  • Bump Mapping - Working
  • Camera Tracking - Working
  • Cel-Shading - Working
  • Character - Working
  • Compositor - All working, except:
    • HDR: Shows only black screen, crash OR graphical glitch when trying to select a debug output. See here.
    • Motion Blur: The scene is not blurred, only the mouse pointer is. See here.
    • Heat Vision: Wildly flickering screen. Can't post screenshot as each single frame just has another color.
  • Cube Mapping - Working
  • Deferred Shading - Mixed Bag:
    • Deferred Shading itself seems working. As well as Global Light and Shadows.
    • Ambient Occlusion does nothing.
    • Debug displays look really weird.
  • Dual Quaternion - Out Of Order
  • Dynamic Texturing - Working
  • Endless World - Crash when starting. See log.
  • Facial Animation - Seems to switch each frame between default state and current animation state. Like a model switching between T-Pose and current animation state constantly.
  • Fresnel - Working
  • Geometry Shader Particle System - Working
  • Grass - Working
  • Instancing - Working
  • Isosurf - Working
  • Lighting - Working
  • Mesh Lod - Working (except when Background Thread is enabled - no boost)
  • New Instancing - Instancing itself working (also with Shader + VTF), but shadows acting strange. See here.
  • Ocean - Working
  • PNTriangles - Card does not support shader model 5.0. There is a shader model 5.0? Huh...
  • Particle Effects - Working
  • SSAO - No GL3+ yet
  • Shader System - Crash when starting. See log.
  • Shader System Textured Fog - Sky Box has to be disabled and enabled once before it shows. Sky Box doesn#t show at all when Fog is disabled. Works otherwise.
  • Shader System Multi Light - Weird artifact. See here.
  • Shadows - Not working in any setting. Athena always has lighting applied (but no shadows). The scene itself is always completely black.
  • Skeletal Animation - Working
  • Sky Box/Dome/Plane - Working
  • Smoke - Working
  • Terrain - Crash when starting. See log.
  • Tesselation - Not sure what it is supposed to do. I see a triangle consisting of triangles in wireframe and can rotate it. Working, I guess.
  • Texture Array / Effects - Working
  • Transparency - Working
  • Volume CSG - Working, but not textured
  • Volume Terrain - Working, but shouldn't it have a green grass texture instead of mud brown only?
  • Volume Textures - Working
  • Water - Working
My site! - Have a look :)
Also on Twitter - extra fluffy
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

TheSHEEEP wrote:
  • Compositor - All working, except:
    • HDR: Shows only black screen, crash OR graphical glitch when trying to select a debug output. See here.
    • Motion Blur: The scene is not blurred, only the mouse pointer is. See here.
    • Heat Vision: Wildly flickering screen. Can't post screenshot as each single frame just has another color.
  • Deferred Shading - Mixed Bag:
    • Deferred Shading itself seems working. As well as Global Light and Shadows.
    • Ambient Occlusion does nothing.
    • Debug displays look really weird.
  • Endless World - Crash when starting. See log.
  • Facial Animation - Seems to switch each frame between default state and current animation state. Like a model switching between T-Pose and current animation state constantly.
  • New Instancing - Instancing itself working (also with Shader + VTF), but shadows acting strange. See here.
  • Shader System - Crash when starting. See log.
  • Shader System Textured Fog - Sky Box has to be disabled and enabled once before it shows. Sky Box doesn#t show at all when Fog is disabled. Works otherwise.
  • Shader System Multi Light - Weird artifact. See here.
  • Shadows - Not working in any setting. Athena always has lighting applied (but no shadows). The scene itself is always completely black.
  • Terrain - Crash when starting. See log.
Thanks for this list! I will get on top of it ASAP. BTW, like the cursive 'Hello World' for Motion Blur. :)
  • Tesselation - Not sure what it is supposed to do. I see a triangle consisting of triangles in wireframe and can rotate it. Working, I guess.
Yep, that is all it does at the moment. The triangle was originally a single triangle, but is now tessellated into multiple. In December I plan to move this into visual tests and replace the sample with something a bit more interesting. :)
ppd
Gnoblar
Posts: 8
Joined: Thu Nov 22, 2012 12:04 pm
x 2

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by ppd »

Debian Sid/Experimental AMD7770 fglrx 13.11beta6

current (as of f69a2b2) source from mercurial

trying to get working minimal example - using basic framework from wiki (that shows only Sinbad's head) - works with GL, but GL 3+ renderer shows nothing but single colour in whole window.

Sample Browser:
  • g++ 4.8 Release - crashes at initiating MaterialManager
  • RelWithDebInfo - start & works
  • clang - Release - crashes with loading GL plugin, but starts after commenting this out in plugins.cfg, crashes regulary at removing PCZScene manager.
  • RelWithDebInfo - same as g++
RTShader System behaves very erraticaly - for example in Bump Map sample sometimes meshes are properly normal mapped, and sometimes flat, and other
samples using RTSS are behaving and crashing in rather nondeterminstic fashion.

In point rendering view 'points' are rendered as small squares of several pixels size
  • Samples summary:
  • Atomic Counter - off
  • BSP - off
  • Basic - works
  • Bezier Patch - works
  • Bump Mapping - works (as mentioned, with of without RTSS normal mapping)
  • Camera Tracking - works
  • Cel Shading - works
  • Character - works
  • Compositor - works bar HDR (black), Motion Blur (freeze), Heat Vision (corrupted & flickering)
  • Cube Mapping - works
  • Deferred Shading - works, no SSAO (all black), after enabling shadows screen or part of in went black at some places and camera angles
  • Dual Quaternion - off
  • Dynamic Texturing - works
  • Endless World - works
  • Facial Animation - works partially - during animation some vertices seemingly jump "out of bounds", causing flickering artifacts, or whole or part of pose returns to default position
  • Fresnel - works
  • Geometry Shader Particle System - works
  • Grass - works
  • Instancing - works
  • Isosurf - works
  • Lighting - works
  • Mesh Lod - works
  • New Instancing - works, no shadows
  • Ocean - works
  • PNTriangles - off
  • Particle Effects - works, except aureola
  • SSAO - off
  • Shader System - works, but instanced viewports in fullscreen freezes everything (requires killing SampleBrowser), in windowed mode crashes with message:
    GLSL compile log: SampleLib_InstancedViewports_VS
    Vertex shader failed to compile with the following errors:
    ERROR: 0:92: error(#139) "discard" supported in fragment shaders only
    An exception has occurred: OGRE EXCEPTION(3:RenderingAPIException): Vertex Program SampleLib_InstancedViewports_VS failed to compile. See compile log above for details. in
    GLSLShader::compile at /home/pp/rob/Ogre/ogre-gl3plus/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLShader.cpp (line 290)
  • Shader System - Textured Fog - works, but without skybox. This shows up sometimes after disabling and enabling (again, RTSS behaves erraticaly)
  • Shader System - Multilight - works partially, with black belting artifacts showing on bottom plane
  • Shadows - no shadows, Athena grey rest black, overlay and cursor corrupted, crashes very often.
    repeating messages:
    "OpenGL error 0x0501 GL_INVALID_VALUE in virtual void Ogre::GL3PlusHardwareIndexBuffer::unlockImpl() at line 140 for glFlushMappedBufferRange"
  • Skeletal Animation - works, but sometimes with shadows wrongly placed i wrongly scaled
  • Skybox - works
  • Skydome - works
  • Skyplane - works
  • Smoke - works
  • Sphere Mapping - works
  • Terrain - crashes leaving corrupted terrain in cache, and the freezes when this is loaded. Note that this problem just got fixed in 1.9 branch (in 7bc686a commit). If correct cached terrain is imported, then sample works. Shadows visible on entities, but not on terrain - enabling them turns terrain irreversibly black.
  • Tessellation - works
  • Texture Array - works
  • Texture Effects - works
  • Transparency - works
  • Volume CSG - works
  • Volume Terrain - works
  • Volume Textures - works
  • Water - works
TheSHEEEP
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 972
Joined: Mon Jun 02, 2008 6:52 pm
Location: Berlin
x 65

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by TheSHEEEP »

I guess it's good news that the same errors happen on so different systems.
My site! - Have a look :)
Also on Twitter - extra fluffy
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

ppd wrote:trying to get working minimal example - using basic framework from wiki (that shows only Sinbad's head) - works with GL, but GL 3+ renderer shows nothing but single colour in whole window.
To my knowledge, the framework relies on a fixed function pipeline and does not use RTSS to make the appropriate shaders. We really need to make the basic framework rely on neither RTSS nor fix function pipeline. I believe someone already ported the new framework to do this - I will definitely make sure this is taken care of during beta and the wiki is updated accordingly.
RTShader System behaves very erraticaly - for example in Bump Map sample sometimes meshes are properly normal mapped, and sometimes flat, and other
samples using RTSS are behaving and crashing in rather nondeterminstic fashion.
This is a mix of RTSS shader templates needing to be updated and a few more obscure GL3+ RS / RTSS integration problems I have yet to identify.
Sample Browser:
  • g++ 4.8 Release - crashes at initiating MaterialManager
  • RelWithDebInfo - start & works
  • clang - Release - crashes with loading GL plugin, but starts after commenting this out in plugins.cfg, crashes regulary at removing PCZScene manager.
  • RelWithDebInfo - same as g++
For the g++ crash you mention, is that Release? Will investigate.
I have only tried clang once. Will leave clang support for beta since I don't know much about it and don't have time to fix it at the moment. I would happily accept a documented pull request in the mean time. :)
In point rendering view 'points' are rendered as small squares of several pixels size
THIS IS AWESOME!!!
screenshot11292013_171247034.png
screenshot11292013_171247034.png (54.36 KiB) Viewed 25551 times
This is the camera tracking sample. It's insta block art! =)
I am not sure when this started, but only latter-2013 AMD drivers do this. Not sure about NVIDIA. Maybe this is a undocumented AMD bonus feature? I honestly don't mind losing the diagnostic info if the failed state looks this cool. :D
  • Samples summary:
  • Shader System - works, but instanced viewports in fullscreen freezes everything (requires killing SampleBrowser), in windowed mode crashes with message:
    GLSL compile log: SampleLib_InstancedViewports_VS
    Vertex shader failed to compile with the following errors:
    ERROR: 0:92: error(#139) "discard" supported in fragment shaders only
    An exception has occurred: OGRE EXCEPTION(3:RenderingAPIException): Vertex Program SampleLib_InstancedViewports_VS failed to compile. See compile log above for details. in
    GLSLShader::compile at /home/pp/rob/Ogre/ogre-gl3plus/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLShader.cpp (line 290)
  • Shadows - no shadows, Athena grey rest black, overlay and cursor corrupted, crashes very often.
    repeating messages:
    "OpenGL error 0x0501 GL_INVALID_VALUE in virtual void Ogre::GL3PlusHardwareIndexBuffer::unlockImpl() at line 140 for glFlushMappedBufferRange"
  • Terrain - crashes leaving corrupted terrain in cache, and the freezes when this is loaded. Note that this problem just got fixed in 1.9 branch (in 7bc686a commit). If correct cached terrain is imported, then sample works. Shadows visible on entities, but not on terrain - enabling them turns terrain irreversibly black.
Thanks for pointing these bugs out in particular. Your detailed yet succinct descriptions are great.

This weekend I will finish some minor GL3+ RS refactoring, then try to get the remaining samples and visual tests fixed. I have already fixed or identified the issue of 80% of the visual tests. Beta will probably be delayed until next weekend, but the 'official' GL3+ merge will definitely occur before January.
ppd
Gnoblar
Posts: 8
Joined: Thu Nov 22, 2012 12:04 pm
x 2

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by ppd »

holocronweaver wrote: For the g++ crash you mention, is that Release? Will investigate.
I have only tried clang once. Will leave clang support for beta since I don't know much about it and don't have time to fix it at the moment. I would happily accept a documented pull request in the mean time. :)
Yes, gcc + Release build crashes,
"Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Segmentation fault (core dumped)"

with backtrace:

#5 0x00000000004083f9 in main ()
#4 0x000000000040a068 in OgreBites::SampleContext::go(OgreBites::Sample*)
#3 0x000000000040ab35 in OgreBites::SampleContext::initApp(OgreBites::Sample*)
#2 0x000000000040ef35 in OgreBites::SampleContext::createRoot()
#1 0x00007ffff7935d24 in Ogre::Root::Root(std::string const&, std::string const&, std::string const&)
#0 0x00007ffff7a0e059 in Ogre::MaterialManager::MaterialManager()

for clang i have to correct: all builds (Release, RelWithDebInfo, Debug) work with GL plugin disabled, with that GL3+ chosen and both GL and GL3+ loaded crash with info:

GL3PlusRenderSystem::_createRenderWindow "OGRE Sample Browser", 1280x800 windowed miscParams: FSAA=0 displayFrequency=60 Hz gamma=No vsync=No
GLXWindow::create used FBConfigID = 39
GLXPBuffer::create used final dimensions 32948 x 0
GLXPBuffer::create used FBConfigID 40
**************************************
*** OpenGL 3+ Renderer Started ***
**************************************
An exception has occurred: OGRE EXCEPTION(3:RenderingAPIException): Driver does not support at least OpenGL 3.0. in GL3PlusRenderSystem::_createRenderWindow at /home/pp/rob/Ogre/ogre-gl3plus/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp (line 694)
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by masterfalcon »

That's a known issue in the whole source tree right now. It's been fixed and will find it's way into this code soon I'm sure.
scrawl
OGRE Expert User
OGRE Expert User
Posts: 1119
Joined: Sat Jan 01, 2011 7:57 pm
x 216

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by scrawl »

Yeah, merge with 1.9 or cherry-pick https://bitbucket.org/sinbad/ogre/commi ... 07e8f0c31e , that should fix it.
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

I have pulled upstream changes from v1-9 [s]and will work from there for now on[/s]. Hopefully this will fix problems with clang and a few other things.

BTW, the new skybox used in a few of the samples, such as Water, is pretty. Who added that?

EDIT: I have merged into default branch since this is where cutting edge ogre dev is occurring. Yay for no more branch hopping!

However, keep in mind that the GSoC mesh LOD sample is somewhat unstable at the moment.
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

I have submitted a pull request for GL3+ alpha, which comprises much of my GSoC work and some more recent efforts towards stability.

Once finals are over this week I will begin merging in the rest of the summer's GSoC work, flatten out any remaining issues with the visual tests and samples, and then proceed to work on feature completion. After a bit of testing (with your help!), I will dub the release beta and create a second upstream pull request. The first 'stable' release will happen sometime in January and will include me adding my GSoC samples, tests, and any features I did not get around to during beta.

I will try with all my might to make beta release feature complete so that we can have a chance to thoroughly stress test prior to stable release. The samples and visual tests will help, but I will also be counting on users to begin playing with / practically using GL3+ in their own applications to really pick out the weak points. To this end I will be adding an updated basic framework to the OGRE wiki which will allow for building your own applications with the GL3+ RS. The new framework will use a purely shader based approach without using RTSS. No fixed-function pipeline allowed. :)
scrawl
OGRE Expert User
OGRE Expert User
Posts: 1119
Joined: Sat Jan 01, 2011 7:57 pm
x 216

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by scrawl »

I just tried your latest repo (default branch) and can no longer start the SampleBrowser. Deleted the cache in ~/.ogre to no avail.

Code: Select all

(gdb) run nograb
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/scrawl/ogre-gl3plus/./bin/SampleBrowser nograb
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
ArchiveFactory for archive type EmbeddedZip registered.
DDS codec registering
FreeImage version: 3.15.1
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,sti
ETC codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library /home/scrawl/ogre-gl3plus/lib/RenderSystem_GL
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library /home/scrawl/ogre-gl3plus/lib/RenderSystem_GL3Plus
Installing plugin: GL 3+ RenderSystem
OpenGL 3+ Rendering Subsystem (ALPHA) created.
Plugin successfully installed
Loading library /home/scrawl/ogre-gl3plus/lib/Plugin_ParticleFX
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
Loading library /home/scrawl/ogre-gl3plus/lib/Plugin_BSPSceneManager
Installing plugin: BSP Scene Manager
Plugin successfully installed
Loading library /home/scrawl/ogre-gl3plus/lib/Plugin_CgProgramManager
Installing plugin: Cg Program Manager
Plugin successfully installed
Loading library /home/scrawl/ogre-gl3plus/lib/Plugin_PCZSceneManager
Installing plugin: Portal Connected Zone Scene Manager
PCZone Factory Type 'ZoneType_Default' registered
Plugin successfully installed
Loading library /home/scrawl/ogre-gl3plus/lib/Plugin_OctreeZone
Installing plugin: Octree Zone Factory
Plugin successfully installed
Loading library /home/scrawl/ogre-gl3plus/lib/Plugin_OctreeSceneManager
Installing plugin: Octree Scene Manager
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.10.0unstable (Xalafu)
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
CPU Identifier & Features
-------------------------
 *   CPU ID: Auth: AMD Phenom(tm) II X4 955 Processor
 *      SSE: yes
 *     SSE2: yes
 *     SSE3: yes
 *      MMX: yes
 *   MMXEXT: yes
 *    3DNOW: yes
 * 3DNOWEXT: yes
 *     CMOV: yes
 *      TSC: yes
 *      FPU: yes
 *      PRO: yes
 *       HT: no
-------------------------
******************************
*** Starting GLX Subsystem ***
******************************
GL3PlusRenderSystem::_createRenderWindow "OGRE Sample Browser", 1680x1050 fullscreen  miscParams: FSAA=0 displayFrequency=50 Hz gamma=No vsync=No 
Created GL 4.3 context
GLXWindow::create used FBConfigID = 261
GL_VERSION = 4.3.0 NVIDIA 319.32
GL_VENDOR = NVIDIA Corporation
GL_RENDERER = GeForce GTX 560 Ti/PCIe/SSE2
GL_EXTENSIONS = 
GL_AMD_multi_draw_indirect
GL_ARB_arrays_of_arrays
GL_ARB_base_instance
GL_ARB_blend_func_extended
GL_ARB_clear_buffer_object
GL_ARB_color_buffer_float
GL_ARB_compressed_texture_pixel_storage
GL_ARB_conservative_depth
GL_ARB_compute_shader
GL_ARB_copy_buffer
GL_ARB_copy_image
GL_ARB_debug_output
GL_ARB_depth_buffer_float
GL_ARB_depth_clamp
GL_ARB_depth_texture
GL_ARB_draw_buffers
GL_ARB_draw_buffers_blend
GL_ARB_draw_indirect
GL_ARB_draw_elements_base_vertex
GL_ARB_draw_instanced
GL_ARB_ES2_compatibility
GL_ARB_ES3_compatibility
GL_ARB_explicit_attrib_location
GL_ARB_explicit_uniform_location
GL_ARB_fragment_coord_conventions
GL_ARB_fragment_layer_viewport
GL_ARB_fragment_program
GL_ARB_fragment_program_shadow
GL_ARB_fragment_shader
GL_ARB_framebuffer_no_attachments
GL_ARB_framebuffer_object
GL_ARB_framebuffer_sRGB
GL_ARB_geometry_shader4
GL_ARB_get_program_binary
GL_ARB_gpu_shader5
GL_ARB_gpu_shader_fp64
GL_ARB_half_float_pixel
GL_ARB_half_float_vertex
GL_ARB_imaging
GL_ARB_instanced_arrays
GL_ARB_internalformat_query
GL_ARB_internalformat_query2
GL_ARB_invalidate_subdata
GL_ARB_map_buffer_alignment
GL_ARB_map_buffer_range
GL_ARB_multi_draw_indirect
GL_ARB_multisample
GL_ARB_multitexture
GL_ARB_occlusion_query
GL_ARB_occlusion_query2
GL_ARB_pixel_buffer_object
GL_ARB_point_parameters
GL_ARB_point_sprite
GL_ARB_program_interface_query
GL_ARB_provoking_vertex
GL_ARB_robust_buffer_access_behavior
GL_ARB_robustness
GL_ARB_sample_shading
GL_ARB_sampler_objects
GL_ARB_seamless_cube_map
GL_ARB_separate_shader_objects
GL_ARB_shader_atomic_counters
GL_ARB_shader_bit_encoding
GL_ARB_shader_image_load_store
GL_ARB_shader_image_size
GL_ARB_shader_objects
GL_ARB_shader_precision
GL_ARB_shader_storage_buffer_object
GL_ARB_shader_subroutine
GL_ARB_shader_texture_lod
GL_ARB_shading_language_100
GL_ARB_shading_language_420pack
GL_ARB_shading_language_include
GL_ARB_shading_language_packing
GL_ARB_shadow
GL_ARB_stencil_texturing
GL_ARB_sync
GL_ARB_tessellation_shader
GL_ARB_texture_border_clamp
GL_ARB_texture_buffer_object
GL_ARB_texture_buffer_object_rgb32
GL_ARB_texture_buffer_range
GL_ARB_texture_compression
GL_ARB_texture_compression_bptc
GL_ARB_texture_compression_rgtc
GL_ARB_texture_cube_map
GL_ARB_texture_cube_map_array
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3
GL_ARB_texture_float
GL_ARB_texture_gather
GL_ARB_texture_mirrored_repeat
GL_ARB_texture_multisample
GL_ARB_texture_non_power_of_two
GL_ARB_texture_query_levels
GL_ARB_texture_query_lod
GL_ARB_texture_rectangle
GL_ARB_texture_rg
GL_ARB_texture_rgb10_a2ui
GL_ARB_texture_storage
GL_ARB_texture_storage_multisample
GL_ARB_texture_swizzle
GL_ARB_texture_view
GL_ARB_timer_query
GL_ARB_transform_feedback2
GL_ARB_transform_feedback3
GL_ARB_transform_feedback_instanced
GL_ARB_transpose_matrix
GL_ARB_uniform_buffer_object
GL_ARB_vertex_array_bgra
GL_ARB_vertex_array_object
GL_ARB_vertex_attrib_64bit
GL_ARB_vertex_attrib_binding
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_vertex_type_2_10_10_10_rev
GL_ARB_viewport_array
GL_ARB_window_pos
GL_ATI_draw_buffers
GL_ATI_texture_float
GL_ATI_texture_mirror_once
GL_S3_s3tc
GL_EXT_texture_env_add
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_bindable_uniform
GL_EXT_blend_color
GL_EXT_blend_equation_separate
GL_EXT_blend_func_separate
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_compiled_vertex_array
GL_EXT_Cg_shader
GL_EXT_depth_bounds_test
GL_EXT_direct_state_access
GL_EXT_draw_buffers2
GL_EXT_draw_instanced
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_framebuffer_blit
GL_EXT_framebuffer_multisample
GL_EXTX_framebuffer_mixed_formats
GL_EXT_framebuffer_multisample_blit_scaled
GL_EXT_framebuffer_object
GL_EXT_framebuffer_sRGB
GL_EXT_geometry_shader4
GL_EXT_gpu_program_parameters
GL_EXT_gpu_shader4
GL_EXT_multi_draw_arrays
GL_EXT_packed_depth_stencil
GL_EXT_packed_float
GL_EXT_packed_pixels
GL_EXT_pixel_buffer_object
GL_EXT_point_parameters
GL_EXT_provoking_vertex
GL_EXT_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_shader_objects
GL_EXT_separate_specular_color
GL_EXT_shader_image_load_store
GL_EXT_shadow_funcs
GL_EXT_stencil_two_side
GL_EXT_stencil_wrap
GL_EXT_texture3D
GL_EXT_texture_array
GL_EXT_texture_buffer_object
GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_latc
GL_EXT_texture_compression_rgtc
GL_EXT_texture_compression_s3tc
GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp
GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_integer
GL_EXT_texture_lod
GL_EXT_texture_lod_bias
GL_EXT_texture_mirror_clamp
GL_EXT_texture_object
GL_EXT_texture_shared_exponent
GL_EXT_texture_sRGB
GL_EXT_texture_sRGB_decode
GL_EXT_texture_storage
GL_EXT_texture_swizzle
GL_EXT_timer_query
GL_EXT_transform_feedback2
GL_EXT_vertex_array
GL_EXT_vertex_array_bgra
GL_EXT_vertex_attrib_64bit
GL_EXT_x11_sync_object
GL_EXT_import_sync_object
GL_IBM_rasterpos_clip
GL_IBM_texture_mirrored_repeat
GL_KHR_debug
GL_KTX_buffer_region
GL_NV_blend_square
GL_NV_compute_program5
GL_NV_conditional_render
GL_NV_copy_depth_to_color
GL_NV_copy_image
GL_NV_depth_buffer_float
GL_NV_depth_clamp
GL_NV_draw_texture
GL_NV_ES1_1_compatibility
GL_NV_explicit_multisample
GL_NV_fence
GL_NV_float_buffer
GL_NV_fog_distance
GL_NV_fragment_program
GL_NV_fragment_program_option
GL_NV_fragment_program2
GL_NV_framebuffer_multisample_coverage
GL_NV_geometry_shader4
GL_NV_gpu_program4
GL_NV_gpu_program4_1
GL_NV_gpu_program5
GL_NV_gpu_program5_mem_extended
GL_NV_gpu_program_fp64
GL_NV_gpu_shader5
GL_NV_half_float
GL_NV_light_max_exponent
GL_NV_multisample_coverage
GL_NV_multisample_filter_hint
GL_NV_occlusion_query
GL_NV_packed_depth_stencil
GL_NV_parameter_buffer_object
GL_NV_parameter_buffer_object2
GL_NV_path_rendering
GL_NV_pixel_data_range
GL_NV_point_sprite
GL_NV_primitive_restart
GL_NV_register_combiners
GL_NV_register_combiners2
GL_NV_shader_atomic_counters
GL_NV_shader_atomic_float
GL_NV_shader_buffer_load
GL_NV_shader_storage_buffer_object
GL_NV_texgen_reflection
GL_NV_texture_barrier
GL_NV_texture_compression_vtc
GL_NV_texture_env_combine4
GL_NV_texture_expand_normal
GL_NV_texture_multisample
GL_NV_texture_rectangle
GL_NV_texture_shader
GL_NV_texture_shader2
GL_NV_texture_shader3
GL_NV_transform_feedback
GL_NV_transform_feedback2
GL_NV_vdpau_interop
GL_NV_vertex_array_range
GL_NV_vertex_array_range2
GL_NV_vertex_attrib_integer_64bit
GL_NV_vertex_buffer_unified_memory
GL_NV_vertex_program
GL_NV_vertex_program1_1
GL_NV_vertex_program2
GL_NV_vertex_program2_option
GL_NV_vertex_program3
GL_NVX_conditional_render
GL_NVX_gpu_memory_info
GL_SGIS_generate_mipmap
GL_SGIS_texture_lod
GL_SGIX_depth_texture
GL_SGIX_shadow
GL_SUN_slice_accum
Supported GLX extensions: GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_buffer_age GLX_ARB_create_context GLX_ARB_create_context_profile GLX_EXT_create_context_es_profile GLX_EXT_create_context_es2_profile GLX_ARB_create_context_robustness GLX_ARB_multisample GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_EXT_framebuffer_sRGB GLX_NV_multisample_coverage GLX_ARB_get_proc_address 
**************************************
***   OpenGL 3+ Renderer Started   ***
**************************************
Registering ResourceManager for type GpuProgram
GL3+: Using FBOs for rendering to textures
FBO PF_UNKNOWN depth/stencil support: D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_L8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_L16 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
OpenGL error 0x0500 GL_INVALID_ENUM in void Ogre::GL3PlusFBOManager::_createTempFramebuffer(int, GLuint, GLuint, GLenum, GLuint&, GLuint&) at line 171 for glTexImage2D

FBO PF_BYTE_LA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R5G6B5 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
OpenGL error 0x0502 GL_INVALID_OPERATION in void Ogre::GL3PlusFBOManager::_createTempFramebuffer(int, GLuint, GLuint, GLenum, GLuint&, GLuint&) at line 171 for glTexImage2D

FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8A8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_DEPTH depth/stencil support: D0S0 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R3G3B2 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_SHORT_GR depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R11G11B10_FLOAT depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R8_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8A8_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R16_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16B16_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16B16A16_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R32_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32B32_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32B32A32_UINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R8_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R8G8B8A8_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R16_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16B16_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R16G16B16A16_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R32_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32B32_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
FBO PF_R32G32B32A32_SINT depth/stencil support: D0S0 D0S8 D24S0 D32S0 D32S0 Packed-D24S8 Packed-D32S8 
OpenGL error 0x0500 GL_INVALID_ENUM in void Ogre::GL3PlusFBOManager::_createTempFramebuffer(int, GLuint, GLuint, GLenum, GLuint&, GLuint&) at line 171 for glTexImage2D

OpenGL error 0x0500 GL_INVALID_ENUM in void Ogre::GL3PlusFBOManager::_createTempFramebuffer(int, GLuint, GLuint, GLenum, GLuint&, GLuint&) at line 171 for glTexImage2D

OpenGL error 0x0500 GL_INVALID_ENUM in void Ogre::GL3PlusFBOManager::_createTempFramebuffer(int, GLuint, GLuint, GLenum, GLuint&, GLuint&) at line 171 for glTexImage2D

OpenGL error 0x0500 GL_INVALID_ENUM in void Ogre::GL3PlusFBOManager::_createTempFramebuffer(int, GLuint, GLuint, GLenum, GLuint&, GLuint&) at line 171 for glTexImage2D

OpenGL error 0x0500 GL_INVALID_ENUM in void Ogre::GL3PlusFBOManager::_createTempFramebuffer(int, GLuint, GLuint, GLenum, GLuint&, GLuint&) at line 171 for glTexImage2D

OpenGL error 0x0500 GL_INVALID_ENUM in void Ogre::GL3PlusFBOManager::_createTempFramebuffer(int, GLuint, GLuint, GLenum, GLuint&, GLuint&) at line 171 for glTexImage2D

OpenGL error 0x0500 GL_INVALID_ENUM in void Ogre::GL3PlusFBOManager::_createTempFramebuffer(int, GLuint, GLuint, GLenum, GLuint&, GLuint&) at line 171 for glTexImage2D

OpenGL error 0x0500 GL_INVALID_ENUM in void Ogre::GL3PlusFBOManager::_createTempFramebuffer(int, GLuint, GLuint, GLenum, GLuint&, GLuint&) at line 171 for glTexImage2D

[GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_BYTE_LA PF_R5G6B5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_R8G8B8A8 PF_DEPTH PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_SHORT_GR PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB PF_R11G11B10_FLOAT PF_R8_UINT PF_R8G8_UINT PF_R8G8B8_UINT PF_R8G8B8A8_UINT PF_R16_UINT PF_R16G16_UINT PF_R16G16B16_UINT PF_R16G16B16A16_UINT PF_R32_UINT PF_R32G32_UINT PF_R32G32B32_UINT PF_R32G32B32A32_UINT PF_R8_SINT PF_R8G8_SINT PF_R8G8B8_SINT PF_R8G8B8A8_SINT PF_R16_SINT PF_R16G16_SINT PF_R16G16B16_SINT PF_R16G16B16A16_SINT PF_R32_SINT PF_R32G32_SINT PF_R32G32B32_SINT PF_R32G32B32A32_SINT 
RenderSystem capabilities
-------------------------
RenderSystem Name: OpenGL 3+ Rendering Subsystem (ALPHA)
GPU Vendor: nvidia
Device Name: GeForce GTX 560 Ti/PCIe/SSE2
Driver Version: 4.3.0.0
 * Fixed function pipeline: no
 * Hardware generation of mipmaps: yes
 * Texture blending: yes
 * Anisotropic texture filtering: yes
 * Dot product texture operation: yes
 * Cube mapping: yes
 * Hardware stencil buffer: yes
   - Stencil depth: 8
   - Two sided stencil support: yes
   - Wrap stencil values: yes
 * Hardware vertex / index buffers: yes
 * 32-bit index buffers: yes
 * Vertex programs: yes
 * Number of floating-point constants for vertex programs: 4096
 * Number of integer constants for vertex programs: 4096
 * Number of boolean constants for vertex programs: 4096
 * Fragment programs: yes
 * Number of floating-point constants for fragment programs: 2048
 * Number of integer constants for fragment programs: 2048
 * Number of boolean constants for fragment programs: 2048
 * Geometry programs: yes
 * Number of floating-point constants for geometry programs: 2048
 * Number of integer constants for geometry programs: 2048
 * Number of boolean constants for geometry programs: 2048
 * Tessellation Hull programs: yes
 * Number of floating-point constants for tessellation hull programs: 2048
 * Number of integer constants for tessellation hull programs: 2048
 * Number of boolean constants for tessellation hull programs: 2048
 * Tessellation Domain programs: yes
 * Number of floating-point constants for tessellation domain programs: 2048
 * Number of integer constants for tessellation domain programs: 2048
 * Number of boolean constants for tessellation domain programs: 2048
 * Compute programs: yes
 * Number of floating-point constants for compute programs: 2048
 * Number of integer constants for compute programs: 2048
 * Number of boolean constants for compute programs: 2048
 * Supported Shader Profiles: glsl glsl130 glsl140 glsl150 glsl330 glsl400 glsl410 glsl420 glsl430
 * Texture Compression: yes
   - DXT: yes
   - VTC: yes
   - PVRTC: no
   - ATC: no
   - ETC1: no
   - ETC2: yes
   - BC4/BC5: yes
   - BC6H/BC7: yes
 * Scissor Rectangle: yes
 * Hardware Occlusion Query: yes
 * User clip planes: yes
 * VET_UBYTE4 vertex element type: yes
 * Infinite far plane projection: yes
 * Hardware render-to-texture: yes
 * Floating point textures: yes
 * Non-power-of-two textures: yes
 * 1d textures: yes
 * Volume textures: yes
 * Multiple Render Targets: 8
   - With different bit depths: yes
 * Point Sprites: yes
 * Extended point parameters: yes
 * Max Point Size: 63.375
 * Vertex texture fetch: yes
 * Number of world matrices: 0
 * Number of texture units: 16
 * Stencil buffer depth: 8
 * Number of vertex blend matrices: 0
   - Max vertex textures: 32
   - Vertex textures shared: yes
 * Render to Vertex Buffer : yes
 * Hardware Atomic Counters: yes
 * GL 1.5 without VBO workaround: no
 * Frame Buffer objects: yes
 * Frame Buffer objects (ARB extension): no
 * Frame Buffer objects (ATI extension): no
 * PBuffer support: no
 * GL 1.5 without HW-occlusion workaround: no
 * Vertex Array Objects: yes
 * Separate shader objects: yes
Registering ResourceManager for type Texture
DefaultWorkQueue('Root') initialising on thread 0x6469b0.
[New Thread 0x7fffea6f4700 (LWP 22065)]
DefaultWorkQueue('Root')::WorkerFunc - thread 0x6ff8e0 starting.
[New Thread 0x7fffe9ef3700 (LWP 22066)]
DefaultWorkQueue('Root')::WorkerFunc - thread 0xa0eb70 starting.
[New Thread 0x7fffe96f2700 (LWP 22067)]
DefaultWorkQueue('Root')::WorkerFunc - thread 0xa0ee70 starting.
[New Thread 0x7fffe8ef1700 (LWP 22068)]
DefaultWorkQueue('Root')::WorkerFunc - thread 0xa11480 starting.
Particle Renderer Type 'billboard' registered
SceneManagerFactory for type 'BspSceneManager' registered.
Registering ResourceManager for type BspLevel
Disabling Cg Plugin for GL3+
SceneManagerFactory for type 'PCZSceneManager' registered.
MovableObjectFactory for type 'PCZLight' registered.
MovableObjectFactory for type 'Portal' registered.
MovableObjectFactory for type 'AntiPortal' registered.
PCZone Factory Type 'ZoneType_Octree' registered
SceneManagerFactory for type 'OctreeSceneManager' registered.
Creating resource group Essential
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/thumbnails' of type 'FileSystem' to resource group 'Essential'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/packs/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/packs/profiler.zip' of type 'Zip' to resource group 'Essential'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media' of type 'FileSystem' to resource group 'General'
Creating resource group Popular
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/fonts' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/materials/programs' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/materials/scripts' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/materials/textures' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/materials/textures/nvidia' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/models' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/particle' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/PCZAppMedia' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/RTShaderLib' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/RTShaderLib/materials' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/materials/scripts/SSAO' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/materials/textures/SSAO' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/volumeTerrain' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/packs/cubemap.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/packs/dragon.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/packs/ogredance.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/packs/Sinbad.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/packs/skybox.zip' of type 'Zip' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/volumeTerrain/volumeTerrainBig.zip' of type 'Zip' to resource group 'Popular'
Creating resource group Tests
Added resource location '/home/scrawl/ogre-gl3plus/Tests/Media' of type 'FileSystem' to resource group 'Tests'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/materials/programs/GLSL150' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/materials/programs/GLSL400' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/materials/programs/Cg' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/RTShaderLib/GLSL' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/RTShaderLib/GLSL150' of type 'FileSystem' to resource group 'Popular'
Added resource location '/home/scrawl/ogre-gl3plus/Samples/Media/RTShaderLib/Cg' of type 'FileSystem' to resource group 'Popular'
Initialising resource group Essential
Parsing scripts for resource group Essential
Parsing script SdkTrays.material
Parsing script OgreProfiler.material
Parsing script SdkTrays.fontdef
Parsing script SdkTrays.overlay
Texture: sdk_cursor.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_tray.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
Texture: sdk_button_up.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x32x1.
Texture: sdk_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_mini_tray.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_track.png: Loading 1 faces(PF_A8R8G8B8,16x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x32x1.
Texture: sdk_handle.png: Loading 1 faces(PF_A8R8G8B8,16x16x1) with 4 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x16x1.
Texture: sdk_mini_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_label.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_separator.png: Loading 1 faces(PF_A8R8G8B8,64x16x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x16x1.
Texture: sdk_logo.png: Loading 1 faces(PF_A8R8G8B8,128x64x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x64x1.
Texture: sdk_shade.png: Loading 1 faces(PF_A8R8G8B8,64x48x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x48x1.
Texture: sdk_frame.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_mini_text_box_over.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Texture: sdk_pulse.png: Loading 1 faces(PF_R8G8B8,8x1x1) with 3 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,8x1x1.
Finished parsing scripts for resource group Essential
Creating resources for group Essential
All done
Texture: sdk_bands.png: Loading 1 faces(PF_A8R8G8B8,2x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,2x32x1.
Initialising resource group Popular
Parsing scripts for resource group Popular
Font SdkTrays/Caption using texture size 512x256
Info: Freetype returned null for character 160 in font SdkTrays/Caption
Texture: SdkTrays/CaptionTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) Internal format is PF_BYTE_LA,512x256x1.
Font SdkTrays/Value using texture size 512x256
Info: Freetype returned null for character 127 in font SdkTrays/Value
Info: Freetype returned null for character 128 in font SdkTrays/Value
Info: Freetype returned null for character 129 in font SdkTrays/Value
Info: Freetype returned null for character 130 in font SdkTrays/Value
Info: Freetype returned null for character 131 in font SdkTrays/Value
Info: Freetype returned null for character 132 in font SdkTrays/Value
Info: Freetype returned null for character 133 in font SdkTrays/Value
Info: Freetype returned null for character 134 in font SdkTrays/Value
Info: Freetype returned null for character 135 in font SdkTrays/Value
Info: Freetype returned null for character 136 in font SdkTrays/Value
Info: Freetype returned null for character 137 in font SdkTrays/Value
Info: Freetype returned null for character 138 in font SdkTrays/Value
Info: Freetype returned null for character 139 in font SdkTrays/Value
Info: Freetype returned null for character 140 in font SdkTrays/Value
Info: Freetype returned null for character 141 in font SdkTrays/Value
Info: Freetype returned null for character 142 in font SdkTrays/Value
Info: Freetype returned null for character 143 in font SdkTrays/Value
Info: Freetype returned null for character 144 in font SdkTrays/Value
Info: Freetype returned null for character 145 in font SdkTrays/Value
Info: Freetype returned null for character 146 in font SdkTrays/Value
Info: Freetype returned null for character 147 in font SdkTrays/Value
Info: Freetype returned null for character 148 in font SdkTrays/Value
Info: Freetype returned null for character 149 in font SdkTrays/Value
Info: Freetype returned null for character 150 in font SdkTrays/Value
Info: Freetype returned null for character 151 in font SdkTrays/Value
Info: Freetype returned null for character 152 in font SdkTrays/Value
Info: Freetype returned null for character 153 in font SdkTrays/Value
Info: Freetype returned null for character 154 in font SdkTrays/Value
Info: Freetype returned null for character 155 in font SdkTrays/Value
Info: Freetype returned null for character 156 in font SdkTrays/Value
Info: Freetype returned null for character 157 in font SdkTrays/Value
Info: Freetype returned null for character 158 in font SdkTrays/Value
Info: Freetype returned null for character 159 in font SdkTrays/Value
Info: Freetype returned null for character 160 in font SdkTrays/Value
Texture: SdkTrays/ValueTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) Internal format is PF_BYTE_LA,512x256x1.
GLSL compiled: 3b41202d-6c7e-cb9c-48c0-88e9e6948d94_VS
GLSL compiled: FFPLib_Transform_VS
GLSL compiled: FFPLib_Common_VS
GLSL compiled: FFPLib_Texturing_VS

Program received signal SIGSEGV, Segmentation fault.
0x00007fffee2aae41 in ?? () from /usr/lib/nvidia-319-updates/libnvidia-glcore.so.319.32
(gdb) bt
#0  0x00007fffee2aae41 in ?? () from /usr/lib/nvidia-319-updates/libnvidia-glcore.so.319.32
#1  0x00007fffecc43320 in Ogre::logObjectInfo (msg=..., obj=obj@entry=1) at /home/scrawl/ogre-gl3plus/RenderSystems/GL3Plus/src/GLSL/OgreGLSLExtSupport.cpp:60
#2  0x00007fffecc7ea49 in Ogre::GLSLSeparableProgram::loadIndividualProgram (this=this@entry=0xacd220, program=0x7ffff7ef5178)
    at /home/scrawl/ogre-gl3plus/RenderSystems/GL3Plus/src/GLSL/OgreGLSLSeparableProgram.cpp:202
#3  0x00007fffecc80464 in Ogre::GLSLSeparableProgram::compileAndLink (this=0xacd220) at /home/scrawl/ogre-gl3plus/RenderSystems/GL3Plus/src/GLSL/OgreGLSLSeparableProgram.cpp:70
#4  0x00007fffecc5dd3f in Ogre::GLSLSeparableProgram::activate (this=0xacd220) at /home/scrawl/ogre-gl3plus/RenderSystems/GL3Plus/src/GLSL/OgreGLSLSeparableProgram.cpp:282
#5  0x00007fffecc8bb26 in Ogre::GL3PlusRenderSystem::_render (this=0x7ffff7ecda78, op=...) at /home/scrawl/ogre-gl3plus/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp:1762
#6  0x00007ffff79ceb1c in Ogre::SceneManager::renderSingleObject (this=<optimized out>, rend=0x7ffff7f15090, pass=0x7ffff7ef8278, lightScissoringClipping=true, doLightIteration=<optimized out>, 
    manualLightList=<optimized out>) at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreSceneManager.cpp:3496
#7  0x00007ffff794dd99 in Ogre::QueuedRenderableCollection::acceptVisitorDescending (this=<optimized out>, visitor=0x7ffff7f1d628)
    at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreRenderQueueSortingGrouping.cpp:465
#8  0x00007ffff794de59 in Ogre::QueuedRenderableCollection::acceptVisitor (this=<optimized out>, visitor=<optimized out>, om=<optimized out>)
    at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreRenderQueueSortingGrouping.cpp:421
#9  0x00007ffff79d692c in Ogre::SceneManager::renderBasicQueueGroupObjects (this=0x7ffff7f18d98, pGroup=0x7ffff0730d78, om=Ogre::QueuedRenderableCollection::OM_PASS_GROUP)
    at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreSceneManager.cpp:3107
#10 0x00007ffff793797c in Ogre::SceneManager::renderVisibleObjectsDefaultSequence (this=0x7ffff7f18d98) at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreSceneManager.cpp:2361
#11 0x00007ffff7a0e7c8 in Ogre::SceneManager::_renderScene (this=0x7ffff7f18d98, camera=0x7ffff7f22770, vp=0x7ffff052d8e8, includeOverlays=<optimized out>)
    at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreSceneManager.cpp:1575
#12 0x00007ffff79a553b in Ogre::Camera::_renderScene (this=0x7ffff7f22770, vp=vp@entry=0x7ffff052d8e8, includeOverlays=<optimized out>) at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreCamera.cpp:427
#13 0x00007ffff78d3295 in Ogre::Viewport::update (this=this@entry=0x7ffff052d8e8) at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreViewport.cpp:224
#14 0x00007ffff7815f2a in Ogre::RenderTarget::_updateViewport (this=0x7ffff7ecf0b8, viewport=0x7ffff052d8e8, updateStatistics=<optimized out>)
    at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreRenderTarget.cpp:200
#15 0x00007ffff781478b in Ogre::RenderTarget::_updateAutoUpdatedViewports (this=0x7ffff7ecf0b8, updateStatistics=true) at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreRenderTarget.cpp:178
#16 0x00007ffff780f28e in Ogre::RenderTarget::updateImpl (this=0x7ffff7ecf0b8) at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreRenderTarget.cpp:155
#17 0x00007ffff7815cf4 in Ogre::RenderTarget::update (this=0x7ffff7ecf0b8, swap=<optimized out>) at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreRenderTarget.cpp:613
#18 0x0000000000409b37 in windowUpdate (this=0xa5a6d0) at /home/scrawl/ogre-gl3plus/Samples/Common/include/SdkTrays.h:2797
#19 OgreBites::SdkTrayManager::resourceGroupScriptingStarted (this=0xa5a6d0, groupName=..., scriptCount=<optimized out>) at /home/scrawl/ogre-gl3plus/Samples/Common/include/SdkTrays.h:2805
#20 0x00007ffff78e1b9f in Ogre::ResourceGroupManager::fireResourceGroupScriptingStarted (this=this@entry=0x7ffff7ec3c98, groupName=..., scriptCount=scriptCount@entry=98)
    at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreResourceGroupManager.cpp:1367
#21 0x00007ffff7915e90 in Ogre::ResourceGroupManager::parseResourceGroupScripts (this=this@entry=0x7ffff7ec3c98, grp=grp@entry=0x7ffff7ed4168)
    at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreResourceGroupManager.cpp:1053
---Type <return> to continue, or q <return> to quit---
#22 0x00007ffff7916622 in Ogre::ResourceGroupManager::initialiseResourceGroup (this=0x7ffff7ec3c98, name=...) at /home/scrawl/ogre-gl3plus/OgreMain/src/OgreResourceGroupManager.cpp:120
#23 0x00000000004132c0 in OgreBites::SampleBrowser::loadResources (this=0x7fffffffe360) at /home/scrawl/ogre-gl3plus/Samples/Browser/include/SampleBrowser.h:1294
#24 0x000000000041494f in OgreBites::SampleBrowser::setup (this=0x7fffffffe360) at /home/scrawl/ogre-gl3plus/Samples/Browser/include/SampleBrowser.h:1179
#25 0x0000000000409e17 in OgreBites::SampleContext::initApp (this=0x7fffffffe360, initialSample=0x0) at /home/scrawl/ogre-gl3plus/Samples/Common/include/SampleContext.h:266
#26 0x00000000004093f8 in OgreBites::SampleContext::go (this=this@entry=0x7fffffffe360, initialSample=initialSample@entry=0x0) at /home/scrawl/ogre-gl3plus/Samples/Common/include/SampleContext.h:323
#27 0x0000000000408239 in main (argc=<optimized out>, argv=<optimized out>) at /home/scrawl/ogre-gl3plus/Samples/Browser/src/SampleBrowser.cpp:116
(gdb) 
User avatar
holocronweaver
Google Summer of Code Student
Google Summer of Code Student
Posts: 273
Joined: Mon Oct 29, 2012 8:52 pm
Location: Princeton, NJ
x 47

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by holocronweaver »

I have seen this before on NVIDIA. Is this a fresh clone from ogre-gl3plus-clean? You are crashing in the NVIDIA driver, which is odd because I am experiencing no such crash using driver 331.20. Try commenting out everything from GL3Plus/src/OgreGLSLExtSupport.cpp:39-108 and let me know if it runs fine without the logging.

BTW, looks like you are running an old NVIDIA driver version from April. I am curious if upgrading will solve the problem.
scrawl
OGRE Expert User
OGRE Expert User
Posts: 1119
Joined: Sat Jan 01, 2011 7:57 pm
x 216

Re: [GSoC 2013 - accepted] OpenGL 3+; Geometry & Tessellatio

Post by scrawl »

Yeah commenting out those lines makes it work. And seems pretty stable compared to last time. Good job :)
Post Reply