GPU computing Stay up to date in OpenCL, DirectCompute, CUDA, CAL and OpenGL information

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 7 November 2009

Fraps like for Linux and for Windows DX11!

Posted on 05:06 by Unknown

http://the-hydra.blogspot.com/2007/12/finding-frame-rate-tester-for-linux.html

graps

http://blog.smr.co.in/linux/graps-capture-opengl-frames/

graps is a tool for grabing frames from openGL application, without editing the application. graps can be used for making video from an opengl application. graps can also be useful for monitoring fps of opengl application.
graps writes the glReadPixel data to file on each glXSwapBuffers call. graps uses the power of LD_PRELOAD to run without modifying the application.
graps is dirty fraps alternative for screen and realtime video capturing and fps monitoring ( hence benchmarking ).
graps can be downloaded from here. See readme.txt for help.
Update1 [08.09.2007] :
- recording to video [ using mencoder ]. Thanks to Mineral for hints (see comments).
- grapsctl, separated frame capturing and writing to image/video.
- bug fixes : ppm header (thanks matt) and width*width (thanks Mineral).

- graps v0.2 release.

Opinion
I have been not able to use run.sh file I have modifie deleting -a checking for .so
and exporting GRAPSPATH to my dir so I don't need to define anywhere.
basically is:
export LD_PRELOAD=$HOME/graps/libgraps.so
rename to rungraps.sh and
Copy this file to /usr/bin
Also copy grapsrc to $HOME/.grapsrc
good:
configurable
not alters gl execution all text mode
bad:
needs .grapsrc
and change sh file and copy to bin
also fps is in text mode..

Anandtech Frame-Getter 

"The program computes frames per second for an application that uses OpenGL or SDL. It also takes screenshots periodically, and creates an overlay to display the current FPS/time.

"This is accomplished by defining a custom SwapBuffers function. For executables that are linked to GL at compile time, the LD_PRELOAD environment variable is used to invoke the custom SwapBuffers function. For executables that use run-time linking - which seems to be the case for most games - a copy of the binary is made, and all references to libGL and the original glXSwapBuffers function are replaced by references to our library and the custom SwapBuffers function. A similar procedure is done for SDL. We can then do all calculations on the frame buffer or simply dump the frame at will."

http://www.anandtech.com/linux/showdoc.aspx?i=2229&p=2

http://www.anandtech.com/linux/showdoc.aspx?i=2218

http://freshmeat.net/projects/libglfps/


anandtech
it's capturing screenshot every two seconds
the corner is not selectable
I have modified to source
//glTranslatef(4, g_frameData.viewPort[3] - GLUT_STROKE_HEIGHT * GLUT_STROKE_SCALE - 4, 0);
glTranslatef(4, GLUT_STROKE_HEIGHT * GLUT_STROKE_SCALE - 4, 0);
for low left fps display and commented
//WriteFps();
//TakeScreenShot(useSDL);
all in framedata.cpp
good:
it's in gl

using it:

export LD_PRELOAD=$HOME/anandtech-framegetter-0.1.0-src/bin/libFG.so
./oclNbody
export LD_PRELOAD=$HOME/graps/libgraps.so
./oclNbody

glc

Highlights

  • The complete source code is available and licenced under zlib-style licence.
  • Thread-based architechture takes full advantage of multicore-CPUs.
  • Support for multiple simultaneous audio and video streams.
  • Reads frames asynchronously from GPU using GL_ARB_pixel_buffer_object extension.
  • Does enforce fps cap only in the captured stream.
  • If the application can play audio using ALSA, glc can record it regardless of sound card's capabilities.
  • Support for recording voice to a separate audio stream.
  • Stores color correction information and applies it at playback.
  • Minimal application overhead (eg. slow HDD does not slow program down).
  • Fast arbitrary ratio video scaling with bilinear filtering.
  • Does colorspace conversion to Y'CbCr 420jpeg which cuts stream size in half.
  • Compresses stream with lightweight  LZO or  QuickLZ compression which saves additional 40%-60%.

 

http://kronixcb.blogspot.com/2008/02/glc-fraps-for-linux-how-to-install-glc.html



For Windows
Fraps 3.0
D3DGear
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • About ATI and Nvidia drivers (OCL included)!
    Hi I have been investigating AMD and Nvidia drivers.. for 10.3 there are 3d hooks support for 120hz monitors but is d3d9 d3d10 or d3d11 enab...
  • opencl/opengl linux interop! seen in opencl cuda 3.0 sdk samples
    Following my OpenCL/OpenGL Window interop work: now has come to Linux  for Nvidia GPU computing registered developers via 195.17 driver! Als...
  • State of the blog..
    Sorry for the delay guys of posting code of Apple OpenCL demos port.. the blog has been with no updated for more than 2 weeks in this rapid ...
  • Megapost!
    Today fools{ *GTX 485 is 512 cores 3gbytes gddr5 and 850/1750 shaders.. *ati 5990 has 4 gpus in board.. *bulldozer benchmarks }end fools.. A...
  • Optix and OpenCL SDKs with Visual Studio 2010
    Optix 1.0 ========= install cg download Cmake 2.80 cmake says error dumpbin not found and it is cuda doesn't work with vc2010 so copy pt...
  • things found in CUDA forums
    Also some CUDA news: Mandelbulb stereo angalyph -> have to port to 3D Vision http://forums.nvidia.com/index.php?showtopic=150985&st=2...
  • Shaders: measuring perf, source translation and parsing different languages!
    Hi, I hope to be pretty exhaustive of options for parsing and translating between graphics and compute shaders ( some open source) For DX sh...
  • Whises for OpenCL 1.1 and more!
    Make core DirectCompute 5.0 hardware features: posted http://www.khronos.org/message_boards/viewtopic.php?f=41&t=2160 *Atomics to global...
  • A long report of the silence before the storm: AKA a month before Fermi..
    Sorry raw dump of my ideas: Altough we are a month of a complete storm if we follow carefully we can hear some thunders of that storm known ...
  • News from the web!
    Some things learned in AMD forums: 1.Why 3xxx no OpenCL: Compute shader mode is a hardware feature that did not exist in the HD38XX line of ...

Blog Archive

  • ►  2013 (5)
    • ►  September (1)
    • ►  March (3)
    • ►  February (1)
  • ►  2012 (1)
    • ►  December (1)
  • ►  2010 (46)
    • ►  July (4)
    • ►  May (1)
    • ►  April (3)
    • ►  March (9)
    • ►  February (15)
    • ►  January (14)
  • ▼  2009 (125)
    • ►  December (51)
    • ▼  November (53)
      • Two big games coming today: State of the art Direc...
      • News from the web (IV) (big compilation)
      • Wishes in GPU drivers before Q2 2009!
      • CUDA Atomics perf!
      • GPU Compute benchmark results!
      • Interesting AMD Stream forums posts! (old posts)
      • Testing my apps with 8600GTS and WinXP!
      • A lot of Catalyst AMD drivers!
      • News from the web III
      • News from the web II (big compilation)
      • News from OpenCL forums!
      • Bugs in OpenGL AMD drivers: Geometry shader and te...
      • Testing LDS perf in OpenCL!
      • OpenCL bugs!
      • Benchmarking OpenCL and DirectCompute!
      • Benchmarking stientific kernels on OpenCL!
      • News from the web!
      • OpenCL learning and tutorials!
      • Porting CUDA to OpenCL!
      • GPU computing programming contests..
      • AMD 5xxx series overclocking..
      • OpenCL on Apple: update!
      • State of the blog..
      • Places where OpenCL shines!
      • Running Optix with Geforce in Linux
      • New exciting soft and info coming this year!
      • Matmul bench for CUDA, CAL, and MultiCore CPUs!
      • More than 10 places where DX Compute 5.0 is better...
      • CUDA 3.0 has CUBLAS functions for MAGMA with compl...
      • About IBM OpenCL
      • OpenGL interop perf in CUDA and OCL in Linux
      • Fraps like for Linux and for Windows DX11!
      • opencl/opengl linux interop! seen in opencl cuda 3...
      • AMD OpenCl forums (I)
      • About CUDA 3.0 (II)
      • About CUDA 3.0 (I)
      • CAL 2.0 vs 1.4 API
      • Naive OpenCL benchmarks..
      • Managing AMD OpenCL GPU devices and OpenCL backend...
      • About Xvba VAAPI backend..
      • CUDA 3.0 released
      • About Khronos ICD model..
      • Exploring Nvidia OpenCL 195.39 drivers:Bugs , perf...
      • Nvidia OpenCL samples with AMD OpenCL drivers!
      • Nvidia OpenCL samples on Nvidia 195 OpenCL drivers!!
      • AMD OpenCL samples on Nvidia 195 OpenCL drivers!!
      • Optix and OpenCL SDKs with Visual Studio 2010
      • OpenCL on AMD GPUs!
      • Dreaming about Ubuntu 10.04
      • News from the web!
      • OpenCL-z is here!
      • Port of Apple demos to Windows..
      • Shared memory names..
    • ►  October (21)
Powered by Blogger.

About Me

Unknown
View my complete profile