VOGONS


First post, by flauzus

User metadata
Rank Newbie
Rank
Newbie

I am attempting to set up SimulEyes VR 3D glasses with Descent 1 and 2 on an XP machine. These glasses are connected with a pass through adapter between the VGA port and the monitor. The software inserts a white line on the bottom scan line of the screen, a short line for the left eye, a long line for the right eye. The glasses read this line to alternate the LCD shutters for the left and right lenses. This creates the 3D effect.

This works quite well on a Win98 233MHz system I have. When I try to set it up on DOSBox the left and right images alternate too slowly creating a very noticeable flicker.

I had at first thought this was a limitation of the display, VR usually requires a high refresh rate of 70MHz, 80MHz or higher. I tried DOSBox with a CRT that supports these refresh rates with the same result.

When I run the games in the native XP command prompt, the VR display alternates at an adequate rate. There is of course no sound and the game play is too fast, but the display is capable of cycling fast enough to support the 3D effect.

How can I increase the refresh rate in DOSBox to eliminate this flicker?

I tried the same tests on 2 different machines, a Dell Precision M6400 notebook and a Dell Dimension B110 with the same results. I'll focus on the notebook for now since it is a higher end system.

My system information is as follows.

OS Name Microsoft Windows XP Professional Service Pack 3
System Manufacturer Dell Inc.
System Model Precision M6400
Processor x86 Family 6 Model 23 Stepping 10 GenuineIntel ~2660 Mhz
BIOS Version/Date Dell Inc. A03, 1/23/2009

Video adapter NVIDIA Quadro FX 2700M
Video RAM 512.00 MB (536,870,912 bytes)
Video Drivers nv4_disp.dll
Video Driver Version 6.14.11.7653

Audio IDT High Definition Audio CODEC
Audio Driver c:\windows\system32\drivers\sthda.sys (5.10.6124.0, 1.33 MB (1,392,819 bytes), 3/11/2009 7:49 PM)

Game versions are Descent v1.5, Descent 2 v1.2 (DOS)
Game resolutions 320x200 and 320x400 (tried them both)

DOSBox v0.73

The DOSBox config setting I use are the defaults set by Good Old Games:

[sdl]
fullscreen=true
fulldouble=false
fullresolution=original
windowresolution=original
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true

[dosbox]
language=
machine=vga
captures=capture
memsize=16 [render]
frameskip=0
aspect=false
scaler=normal2x

[cpu]
core=auto
cycles=auto
cycleup=500
cycledown=20

[mixer]
nosound=false
rate=22050
blocksize=2048
prebuffer=10

[sblaster]
sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

Reply 1 of 3, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

DOSBox and/or your hardware may not support the required refresh rates.

Things I'd try:
- set scaler=none instead of scaler=normal2x
- toggle vsync in your system's video driver options (on if it's currently off, or off if it's currently on)

Also, this may be a bug in your config:

memsize=16 [render]

The [render] tag should be on its own line below the memsize= setting.

Reply 2 of 3, by flauzus

User metadata
Rank Newbie
Rank
Newbie

The misplacement of the [render] tag was a sloppy cut and paste on my part. 😦 The syntax is correct in the actual config file.

Setting the scaler to none did not appear to make a difference.

At this time I am unable to locate a means of controlling the vsync in my nVidia's Quadro FX 2700M's settings.

I did find an old HP P1100 20" CRT which supports a 85Hz refresh rate and had much better results when connected to the notebook.

It may be a combination of hardware and software limitations. While the LCD screen on my notebook performs well at 60Hz when running the game from the command prompt, the combination of DOSBox and the 60Hz limitation are compounding the issue. I will try some other CRT's for comparison. The inherently low refresh rates of most LCD displays and newer CRT’s may be the greatest limiting factor.

Thank you for your suggestions. I will keep looking for the vsync setting and see if that helps.

Reply 3 of 3, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

Didn't even think about LCD 60Hz limit. A CRT running at a higher refresh rate is probably your best bet.

Assuming you're running recent nVidia drivers, open the nVidia Control Panel and go to 3D Settings -> Manage 3D Settings -> Global Settings. Select Global presets -> Base profile and then look for Settings -> Vertical sync. Note that it may only affect anything if you're using output=opengl.