Joaquin Casillas (jcasilla++at++glup.irobot.uv.es)
Wed, 08 Sep 1999 17:20:13 +0200
I am trying to fix my visual to 30 fps, by setting the phase to
PFPHASE_LOCK and the framerate to 30 Hz. I'm running Irix 6.5.4, and
suppose it continues having the sginap problem. I have tried the
workaround that Ran Yakir suggested, and doesn't work to me. The trick
Ran suggested was to define the next function in the program:
long sginap (long ticks)
{
struct timespec ts;
ts.tv_sec = 0;
ts.tv_nsec = ticks * 10000;
nanosleep (&ts, 0);
}
I think someone got the problem solved by using this trick (changing
10000 to 5000), but the fps in my program still drops from 30 to 20 fps,
while when running in free run never drops from 30 fps (but jumps to 60
in some cases).
I run my program with root privileges (non degrading priorities).
Is there any other workaround for this problem?
Has it been fixed in the 6.5.5 release?
Thanks in advance for any suggestion.
-----------------------------------------------
Joaquin Casillas Melendez mailto:jcasilla++at++glup.irobot.uv.es
LISITT (ARTEC) Phone: +34 6 364 2253
Dept. Electr. & Informatics Addr: Poligono de la Coma s/n
University of Valencia Valencia (SPAIN)
This archive was generated by hypermail 2.0b2 on Wed Sep 08 1999 - 08:22:59 PDT