WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-06-2010, 04:19 AM
lionfish lionfish is offline
Member
 
Join Date: Oct 2009
Posts: 11
Tearing and v-sync

I've noticed that the video in the 3d environment has severe tearing (this is caused by the graphics driver drawing images to the LCD that have not yet finished rendering).
The obvious solution is to enable vsync, which I tried with various combinations of the viz.vsync(viz.ON) command, settings in the nvidia control panel and with a utility called RivaTuner. The result was that the tearing just appeared near the top of the screen, and the video occasionally 'jerked' or 'jittered' - as if several refreshes are skipped.

This is being run on an ASUS Dell 64-bit laptop, running windows 7. The graphics card is an nVIDIA GeForce GTX 260M. I've checked the graphics drivers are up to date, and have just upgraded vizard to the latest version (v3.15).

I've also tried forcing triple buffering using RivaTuner, and have tried tweaking a lot of random options.

I was wondering if there's a way in vizard to reduce the frame rate, without v-sync it's nearly at 200fps. I was thinking if I could reduce that to 50fps, then the tearing might stop. (and won't have added 'jittering' either)

Thanks for any ideas,

Mike Smith
University of Edinburgh.
Reply With Quote
  #2  
Old 01-06-2010, 12:56 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You should leave vsync on, which it is by default in Vizard. With it on what is the framerate you are getting? You can check that by hitting F4 and it should be staying close to 60 unless unless the scene is more complex.
Reply With Quote
  #3  
Old 01-11-2010, 09:32 AM
lionfish lionfish is offline
Member
 
Join Date: Oct 2009
Posts: 11
Thanks for the response.

With v-sync it's 60fps. After reinstalling everything, the tearing (with vsync) seems to be gone, although it was intermittent before. Now I'm just left with 'jitter' - it only seems to happen on one computer - but quite severely. (I'm in touch with the manufacturers). The frame rate doesn't seem to reflect the jitter (i.e. it remains 60fps).

I thought one issue that might be causing problems is that I'm programmatically setting the view point's location and direction using a timer/callback. However, I've tried out some of the examples provided with vizard (such as winview), and they also have this 'jitter'.

I'm not sure if it's hardware, drivers or some other software. It probably isn't a problem with vizard, but it shows up particularly severly in vizard.

Any ideas would be good!

Thanks,

Mike.
Reply With Quote
  #4  
Old 01-13-2010, 01:27 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Did you learn anything after contacting the manufacturer? Have you used any other type of rendering application on that machine where you see the same thing?
Reply With Quote
  #5  
Old 01-26-2010, 02:09 AM
lionfish lionfish is offline
Member
 
Join Date: Oct 2009
Posts: 11
Thanks for the reply,
After going through a lot of reinstalling drivers, flashing BIOS(!), etc... ASUS are taking the laptop back/replacing it. I'm not convinced it'll help - but we'll see. I'm worried it might be a windows 7/64 bit/new drivers/Open GL/something like that issue - not sure.
I've tried a few other programs on the laptop with varying levels of flickeriness - they all seem to have the problem to an extent (especially Google Earth).

It wouldn't matter normally, but we want it for an experiment which may be relying on optic flow - so any disturbance like this could severely affect the results.

Thanks for the reply, I'll let you know how we get on!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 -7. The time now is 01:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC