OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Faster framerate under Windows debugger?


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Chris Hanson
Guest





PostPosted: Fri Sep 08, 2017 3:52 pm    Post subject:
Faster framerate under Windows debugger?
Reply with quote

  A client of mine is experiencing oddly FASTER framerates when running their OSG-based app under the Visual Debugger versus stand-alone. (Nvidia card, Windows 7).



  They've done some troubleshooting and can't identify any factors which differ, other than the debugger itself.


  Some claim to have seen this behavior before on OpenGL apps:
https://stackoverflow.com/questions/8858128/c-opengl-application-running-smoother-with-debugger-attached



  Has anyone else ever experienced this or understand WTH might be happening?


--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Code Forensics • Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum
Back to top
d_a_heitbrink (David Heitbrink)
User


Joined: 23 Sep 2013
Posts: 42

PostPosted: Mon Sep 11, 2017 3:06 pm    Post subject:
Reply with quote

Is the GPU time spiking when not running the debugger? Basically are you getting like 99% of your frames hitting your frame, then 1% that are taking 4-5 times longer than they are supposed to.

I suspect you may have some kind of threading issue. Its easy to see slightly changing the timing of a few calls can put things into conflict over sharing a resource where as before they where not. Seeing if you have a continues load difference versus one with high peaks may help this.

Improving batching may help if the conflicts are on the driver side of things...

On a somewhat related issue I ran into an a while back where the windows system call:

::timeBeginPeriod

was used. This caused the Nvidia driver to dead-lock, with large periodic hangs, and from time to time, just plane crashing.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts memory issue about x-windows in Linux Alberto Luaces General 1 Tue Aug 01, 2017 4:38 pm View latest post
No new posts plugin_pdf on Windows 64 bit andxet Plugins [osgPlugins] 0 Fri Jul 28, 2017 2:32 pm View latest post
No new posts MFC mdi child windows show the scene ... rposg General 1 Fri May 26, 2017 6:37 pm View latest post
No new posts Crash on Windows 10 with a Display Li... efson General 2 Thu Apr 27, 2017 9:03 am View latest post
No new posts Support for Windows Universal Platform tomhog General 15 Fri Apr 21, 2017 11:07 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP