Go Back   AnandTech Forums > Software > All Things Apple

Forums
· Hardware and Technology
· CPUs and Overclocking
· Motherboards
· Video Cards and Graphics
· Memory and Storage
· Power Supplies
· Cases & Cooling
· SFF, Notebooks, Pre-Built/Barebones PCs
· Networking
· Peripherals
· General Hardware
· Highly Technical
· Computer Help
· Home Theater PCs
· Consumer Electronics
· Digital and Video Cameras
· Mobile Devices & Gadgets
· Audio/Video & Home Theater
· Software
· Software for Windows
· All Things Apple
· *nix Software
· Operating Systems
· Programming
· PC Gaming
· Console Gaming
· Distributed Computing
· Security
· Social
· Off Topic
· Politics and News
· Discussion Club
· Love and Relationships
· The Garage
· Health and Fitness
· Merchandise and Shopping
· For Sale/Trade
· Hot Deals with Free Stuff/Contests
· Black Friday 2014
· Forum Issues
· Technical Forum Issues
· Personal Forum Issues
· Suggestion Box
· Moderator Resources
· Moderator Discussions
   

Reply
 
Thread Tools
Old 07-04-2012, 07:20 PM   #1
mhenr18
Junior Member
 
Join Date: Jul 2012
Posts: 11
Default OpenGL Inspector (FRAPS equivalent) for OSX

While reading Anand's review of the rMBP I noticed the comment about the lack of a FRAPS equivalent for OSX. So, I did what any uni student with a 4 week holiday would do and got to work on one (after emailing Anand about it).

Right now I've only got the benchmarking side of things working (I'm about to get working on video recording) but I figured I'd share my work in progress.



This video shows a demo of a slightly older build where you had to authenticate every time you tried to sample a process, however now the authentication is done at launch (there's two dialogs, one for the 32 bit daemon and one for the 64 bit daemon). http://www.youtube.com/watch?v=ZGZ4ZRRV3GQ

Download (64-bit, Lion only):
http://mhenr18.com/gl/OpenGL%20Inspector.app.zip
mhenr18 is offline   Reply With Quote
Old 07-04-2012, 08:40 PM   #2
TheStu
Moderator
Mobile Devices & Gadgets
 
Join Date: Sep 2004
Location: New Cumberland, PA
Posts: 11,229
Default

Looks good, excellent initiative. Frankly, i don't have much use for it (I say that now, but I will find a reason to use this for nerd bragging rights), but it looks straightforward and easy enough to use.

Keep us posted, what did Anand say?
__________________
Quote:
Originally Posted by mfenn View Post
The 6770M can play Crysis 2, for suitably small values of play
TheStu is offline   Reply With Quote
Old 07-04-2012, 09:03 PM   #3
mhenr18
Junior Member
 
Join Date: Jul 2012
Posts: 11
Default

Here's the email trail up to his response about my first demo video:

Quote:
This is awesome!!! Great work

An overlay is useful but not a show stopper if it's not present, even making it optional and clear that it only works in some apps would be fine though.

Is there any chance you could have the tool automatically attach to a running foreground process? In the case of diablo 3 full screen it would be nice if your tool could just auto attach rather than requiring the user to cmd tab out, attach, then cmd tab back in. Not all games handle cmd tabbing back and forth so gracefully which is why this would be useful.

Hotkey support would also be a must have as you mentioned.

Take care,
Anand

On Jun 29, 2012, at 10:11 AM, Matthew Henry <matt.henry@me.com> wrote:

After spending a while nutting things out and getting it all stable for both 32/64 bit processes, I figured I'd record a demo of what I've got in action (excuse the voiceover - it's not the greatest).

http://www.youtube.com/watch?v=BehJsimNzLA

Clearly it needs more work, but now that I've got it stable adding things won't be hard at all. I've had a few attempts at drawing an overlay in the targeted application but my biggest issues there have been getting it to work reliably across all apps and not introducing any overhead from my code. Would the lack of an overlay be a show-stopper for you?

On 24/06/2012, at 3:58 AM, Anand Shimpi wrote:

Awesome! I can't wait!

On Jun 23, 2012, at 1:42 PM, Matthew Henry <matt.henry@me.com> wrote:

Righto, I'll get back to you once I've got something worth your time. Shouldn't take too long - I already managed to get recording mostly working.

Matthew Henry
matt.henry@me.com
0411 746 621


On 24/06/2012, at 3:26 AM, Anand Shimpi wrote:

Pretty much cloning FRAPS functionality would be great. Recording frame rate over time, calculating average, min, max, etc…

That would be a great start

On Jun 23, 2012, at 9:19 AM, Matthew Henry <matt.henry@me.com> wrote:

While reading your review of the Retina MBP, I saw that you're interested in a FRAPS equivalent for OSX.

I've just finished a semester of uni so I've got 4 weeks of free time to build one - I've already thrown something together that injects custom code into any OSX OpenGL application and gives me full access to the OpenGL context every frame, allowing for things like recording and FPS display (which I'm implementing right now).

Are there any other capabilities that you'd want?

Matthew Henry
matt.henry@me.com
(+61) 411 746 621
I haven't gotten any response yet from him about this build. To be honest I think the major appeal will be once I get recording working - as you can see in the demo video QuickTime's recording destroys my Mac's performance and in early builds I've had recording working at 60fps with a much lower CPU usage.
mhenr18 is offline   Reply With Quote
Old 07-04-2012, 09:13 PM   #4
TheStu
Moderator
Mobile Devices & Gadgets
 
Join Date: Sep 2004
Location: New Cumberland, PA
Posts: 11,229
Default

Also, welcome to the forums, stay out of Off Topic for a while, well, stay out of Off Topic, Politics & News and Love & Relationships. For ever. Don't ever go there.
__________________
Quote:
Originally Posted by mfenn View Post
The 6770M can play Crysis 2, for suitably small values of play
TheStu is offline   Reply With Quote
Old 07-04-2012, 09:14 PM   #5
mhenr18
Junior Member
 
Join Date: Jul 2012
Posts: 11
Default

Haha, I've been in my fair share of forums over the years so I should be fine. Thanks
mhenr18 is offline   Reply With Quote
Old 07-06-2012, 04:52 AM   #6
ViRGE
Super Moderator
Elite Member
 
ViRGE's Avatar
 
Join Date: Oct 1999
Posts: 30,233
Default

You've managed to impress The Boss. That's a very difficult thing to accomplish! Nice work.
__________________
ViRGE
Team Anandtech: Assimilating a computer near you!
GameStop - An upscale specialized pawnshop that happens to sell new games on the side
Todd the Wraith: On Fruit Bowls - I hope they prove [to be] as delicious as the farmers who grew them
ViRGE is offline   Reply With Quote
Old 07-06-2012, 09:52 AM   #7
Aikouka
Lifer
 
Aikouka's Avatar
 
Join Date: Nov 2001
Posts: 24,644
Default

If you can make it not crash the application if you alt-tab while recording, you've got a leg up on FRAPS. Was doing a bit of recording in Diablo III, and F9 was also bound to the achievement button. I had the overlay turned off, and started recording. I ALT-TAB'd, and when I tried to re-enter Diablo III, it crashed.

Chances are that's a DirectX issue, but that actually brings up an interesting idea for a feature that I don't think FRAPS has: always show overlay while recording. The overlay isn't always the prettiest thing to see on your screen, so I turn it off from time to time (also annoying that it takes so many presses of F12 to turn it off), but if I had it on while recording, I would notice when I'm actually recording (the numbers turn red).
Aikouka is offline   Reply With Quote
Old 07-06-2012, 12:30 PM   #8
dawks
Diamond Member
 
Join Date: Oct 1999
Posts: 5,029
Default

Good job man! Really cool.. I'll be playing with this for sure.
dawks is offline   Reply With Quote
Old 07-07-2012, 01:34 AM   #9
mhenr18
Junior Member
 
Join Date: Jul 2012
Posts: 11
Default

I've decided to rename it to GLIT (GL Injection Tool) to more closely reflect what it actually does. Also, here's a screenshot of the new UI that I'm using:

mhenr18 is offline   Reply With Quote
Old 07-07-2012, 07:11 PM   #10
Aikouka
Lifer
 
Aikouka's Avatar
 
Join Date: Nov 2001
Posts: 24,644
Default

The new name is a typo off of becoming rather racy!
Aikouka is offline   Reply With Quote
Old 07-07-2012, 07:12 PM   #11
mhenr18
Junior Member
 
Join Date: Jul 2012
Posts: 11
Default

Quote:
Originally Posted by Aikouka View Post
The new name is a typo off of becoming rather racy!
Any ideas for something else?
mhenr18 is offline   Reply With Quote
Old 07-08-2012, 09:12 PM   #12
ViRGE
Super Moderator
Elite Member
 
ViRGE's Avatar
 
Join Date: Oct 1999
Posts: 30,233
Default

Quote:
Originally Posted by mhenr18 View Post
Any ideas for something else?
Eh, the name is fine.
__________________
ViRGE
Team Anandtech: Assimilating a computer near you!
GameStop - An upscale specialized pawnshop that happens to sell new games on the side
Todd the Wraith: On Fruit Bowls - I hope they prove [to be] as delicious as the farmers who grew them
ViRGE is offline   Reply With Quote
Old 07-09-2012, 03:41 PM   #13
Aikouka
Lifer
 
Aikouka's Avatar
 
Join Date: Nov 2001
Posts: 24,644
Default

Well, if you told me that you made a "GL Injection Tool", I would personally not have any idea of what you're talking about. I would probably assume that it was some sort of hacking tool not a FRAPS-like application. I know that I like making app names with acronyms in them... it's probably more fun than creating the actual program! However, sometimes it's easier to understand a program if the name is more explicit.

FRAPS has it a bit easier since the name has become a bit synonymous with game recording (at least in the nerdier circles). I mean... how often do you hear people use it as a verb?
Aikouka is offline   Reply With Quote
Old 11-11-2012, 05:54 AM   #14
supermariofan25
Junior Member
 
Join Date: Nov 2012
Posts: 1
Default Download link dont work

The Download link isn't working anymore :/
supermariofan25 is offline   Reply With Quote
Old 11-11-2012, 11:22 AM   #15
Syrome
Member
 
Syrome's Avatar
 
Join Date: Oct 2012
Posts: 105
Default

Looks pretty slick I must say. Keep working on it and hopefully everything will come together nicely for you.
Syrome is offline   Reply With Quote
Reply

Tags
bench, benchmarking, fraps, opengl, osx

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:10 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.