Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 9th Sep 2010 02:51
Well, I found this tool called PerfHUD...it profiles your DirectX program and lets you do all sorts of cool debugging. The website is here at http://developer.nvidia.com/object/nvperfhud_home.html. The problem with the tool is that you need to add a few lines to the Directx initialization in your program, but as far as I know there is no way of doing that, because DBpro is closed source, right? If anyone knows anything about this, that'd be awesome, because I have absolutely no idea what to do when it comes to DirectX and C++.

Fatal Berserker
15
Years of Service
User Offline
Joined: 2nd Jul 2010
Location:
Posted: 9th Sep 2010 05:57 Edited at: 9th Sep 2010 07:51
does it work in gdk?
apparently so, im going to test it out quickly.

according to the documentation you can test it on these games: (and of course more)

Unreal Tournament 3
(Epic Games)
Company of Heroes
(Relic Entertainment)
Crysis
(Crytek)
EVE Online
(CCP Games)
World of Warcraft
(Blizzard Entertainment)
Battlefield 2142
(DICE)
Hellgate: London
(Flagship Studios)
Gamebryo
(Emergent Technologies)
Guild Wars
(ArenaNet)

i tried it on guildwars and some of its demos, nothing happened for me.
either my pc doesnt support it or somethings wrong =/

Smoke me a kipper, ill be back for breakfast.
Duke E
17
Years of Service
User Offline
Joined: 10th Mar 2009
Location:
Posted: 9th Sep 2010 10:31
I downloaded it and was going to install it but i discovered it requires new special (debug) NVidia graphics drivers included in the installation package. I opted to not install it on my computer at that time. With that in mind uninstalling the original drivers before installation may be necessary to get it working. I may have a second look later and install it on a noncritical test rig.


Quote: "The problem with the tool is that you need to add a few lines to the Directx initialization in your program"

In DBPro 7.4 there was some commands added for this:
* Added new command: SET NVPERFHUD Flag (0=use HAL and 1=use NVPerfHUD HEL mode)
http://forum.thegamecreators.com/?m=forum_view&t=149698&b=1

Regards
thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 9th Sep 2010 17:13
Quote: "In DBPro 7.4 there was some commands added for this:
* Added new command: SET NVPERFHUD Flag (0=use HAL and 1=use NVPerfHUD HEL mode)
http://forum.thegamecreators.com/?m=forum_view&t=149698&b=1"

Ok, that command worked, I discovered also that it doesn't like fullscreen or vsync, but with those off, it works perfect! although you need the special driver for the graphs, there are still a lot of things that don't need the driver for. I love the slider that lets you cycle through all the drawing routines.

baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 9th Sep 2010 17:33
How about a screenshot of it in action?

thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 9th Sep 2010 18:10 Edited at: 9th Sep 2010 18:10
here's one of the graphs:


thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 9th Sep 2010 18:15 Edited at: 9th Sep 2010 18:15
and then another one of the debugger. The slider lets you cycle through every drawing routine, and see step by step what the program is doing.


thenerd
17
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 9th Sep 2010 18:31 Edited at: 9th Sep 2010 18:32
third, this time the example is more interesting...


baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 9th Sep 2010 18:41
Cool, that gives an idea what you can get from it. Thanks!

Login to post a reply

Server time is: 2026-06-11 22:57:07
Your offset time is: 2026-06-11 22:57:07