From: DANIEL BASS (BASSD++at++aaicorp.com)
Date: 08/17/2004 05:04:23
I have tried this without success on the following configuration:
Redhat 8.0
Performer 3.0.2
NVidia Driver 5336
GeForce 5950
Dual Processor Xeon 2.4Ghz
I have tried both Perfly and my own app, and it never runs faster than 60Hz (video rate)
In my app I have also put in a "getenv" of __GL_SYNC_TO_VBLANK and it is shown to be NULL
i.e. not defined.
As a side test I ran "glxgears" and it runs at some veryhigh frame rate until run with __GL_SYNC_TO_VBLANK
set in the environment, at which point it runs at 60 Hz.
--daniel
>>> Paolo Farinelli <paolo++at++sgi.com> 08/13/04 06:55AM >>>
Hi,
On both win32 and linux,
pfInit will look for the environment variable PF_SYNC_TO_VBLANK.
If this is NOT set, or if it set to "1", then it will set the environment
variable __GL_SYNC_TO_VBLANK to "1" (and print a debug message).
So, you can unset __GL_SYNC_TO_VBLANK, and set
PF_SYNC_TO_VBLANK to "0" before runnig your performer app.
Regards,
Paolo
Alexander Lechner wrote:
>Hi
>
>Can't speak for Windows, but on Linux:
>When performer runs on NVIDIA hw pfInit sets the environment variable
>__GL_SYNC_TO_VBLANK=1 . Calling "unsetenv ("__GL_SYNC_TO_VBLANK")
>after pfInit does the trick.
>
>Regards,
>
>Alex
>
>
-- Paolo Farinelli paolo++at++sgi.com Member of Technical Staff, OpenGL Performer 1-650-933-1808 Silicon Graphics 1600 Amphitheatre Pkwy, Mountain View, CA 94043----------------------------------------------------------------------- List Archives, Info, FAQ: http://www.sgi.com/software/performer/ Open Development Project: http://oss.sgi.com/projects/performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com ----------------------------------------------------------------------- SIGGRAPH 2004 Friends of Performer BOF: Tuesday, August 10, 6pm - 8pm Wilshire Grand Hotel, Sierra Ballroom -----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Aug 17 2004 - 05:05:05 PDT