What kind of stereo input does the HMD take, is it side by side? If so, then go to 'set up multiple displays' in the nvidia control panel and configure for extended desktop. Then run the following:
Code:
import viz
viz.go(viz.STEREO_HORZ | viz.HMD)
gallery = viz.add('gallery.ive')