PDA

View Full Version : Unsupported Vertical Sync & Frame Rate


javadi
05-27-2013, 04:51 PM
Dear all

I have a question regarding vertical sync (vsync). I have a very old onboard graphics card. Apparently it doesn't support vertical sync. The reported frame rate is about 700 Hz for a simple presentation of one texture. How can I deal with it and sync it with the monitor and limit the refresh rate to 60Hz? Very many thanks.

Chip: Intel HD Graphics Core i3
DAC Type: Internal
Dedicated Video Memory: 64 MB
The driver is the latest version.

Greetings
Amir

farshizzo
06-04-2013, 02:54 PM
You can use the viz.max_frame_rate option to control the frame rate. For example, to force the frame rate to 60Hz, you would use the following code:viz.setOption('viz.max_frame_rate',60)Keep in mind that this just artificially lowers the frame rate by introducing a delay at the end of each frame. It does not perform any syncing with the display. If you haven't done so already, you should make sure your graphics driver is up to date.