Tearing/hitching in S resolution modes with vsync

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
elbkhm
New Member
Posts: 6
Joined: Wed Mar 04, 2009 4:42 pm

Tearing/hitching in S resolution modes with vsync

Post by elbkhm »

So, I'm trying to get my new laptop to run Zsnes, and hook the video up to my television. Graphics card in the laptop is an Nvidia 9650M, and the TV is a 1366x768 native LCD. Hooked up through HDMI.

For some reason, when I try and run Zsnes with any of the "S" modes, I get some strange vertical hitching. It kind of looks like a vsync problem, except I already have vsync enabled (tearing becomes VERY noticeable if I disable vsync). The problem exists in both windowed and fullscreen modes (tried a variety of different resolutions, including custom 1366x768), but goes away entirely if I run in any of the R modes.

Any idea what might be causing this, or how I could fix it? It either goes away or becomes a lot less noticble (I can't tell) if I enable scanlines, but they don't look so good to me.
Mark7
Hazed
Posts: 63
Joined: Fri Aug 27, 2004 2:26 pm

Post by Mark7 »

Make sure Vsync is enabled at your videocard driver settings too. If that doesn't work, try disabling your laptop screen so it only shows on your tv.

Also vsync usually doesn't work in windowed mode.
[url=http://www.youtube.com/watch?v=3Gmex_4hreQ]Say NO to the Loudness war[/url]
franpa
Gecko snack
Posts: 2374
Joined: Sun Aug 21, 2005 11:06 am
Location: Australia, QLD
Contact:

Post by franpa »

is your TV set as the primary display? iirc the version of DirectX that ZSNES uses only supports certain features on the primary display.
Core i7 920 @ 2.66GHZ | ASUS P6T Motherboard | 8GB DDR3 1600 RAM | Gigabyte Geforce 760 4GB | Windows 10 Pro x64
elbkhm
New Member
Posts: 6
Joined: Wed Mar 04, 2009 4:42 pm

Post by elbkhm »

TV was already set as primary display. And turning on vsync in the video card driver didn't make any difference.
odditude
Official tech support dood
Posts: 2118
Joined: Wed Jan 25, 2006 7:57 am

Post by odditude »

have you tried forcing zsnes to run in fullscreen at 60Hz? (zsnesw -6 60)
Why yes, my shift key *IS* broken.
elbkhm
New Member
Posts: 6
Joined: Wed Mar 04, 2009 4:42 pm

Post by elbkhm »

odditude wrote:have you tried forcing zsnes to run in fullscreen at 60Hz? (zsnesw -6 60)
No change.
Squall_Leonhart
Trooper
Posts: 369
Joined: Tue Jun 10, 2008 6:19 am
Location: Australia
Contact:

Post by Squall_Leonhart »

Vista?

Draw vsync is broken on Vista.
[img]http://img.photobucket.com/albums/v253/squall_leonhart69r/Final_Fantasy_8/squall_sig1.gif[/img]
[url=http://vba-m.com/]VBA-M Forum[/url], [url=http://www.ngohq.com]NGOHQ[/url]
odditude
Official tech support dood
Posts: 2118
Joined: Wed Jan 25, 2006 7:57 am

Post by odditude »

Squall_Leonhart wrote:Draw vsync is broken on Vista.
i have no such issues.
Why yes, my shift key *IS* broken.
elbkhm
New Member
Posts: 6
Joined: Wed Mar 04, 2009 4:42 pm

Post by elbkhm »

Squall_Leonhart wrote:Vista?

Draw vsync is broken on Vista.
Windows 7 beta. So, basically Vista, yeah.

Vsync in the zsnes menus does work. When I turn it off, I get a much more serious tear that works its way from the top of the screen down to the bottom, and then starts over from the top.

My problem (with vsync on) is a fairly slight tear, that remains in about the same place on the screen, and comes and goes as the screen scrolls vertically. The weird thing is that the display is perfect when I use any of the R (8:7) modes. The problem only shows up when using an S mode (stretched or retain 4:3).
I.S.T.
Zealot
Posts: 1325
Joined: Tue Nov 27, 2007 7:03 am

Post by I.S.T. »

elbkhm wrote:
Squall_Leonhart wrote:Vista?

Draw vsync is broken on Vista.
Windows 7 beta. So, basically Vista, yeah.

Vsync in the zsnes menus does work. When I turn it off, I get a much more serious tear that works its way from the top of the screen down to the bottom, and then starts over from the top.

My problem (with vsync on) is a fairly slight tear, that remains in about the same place on the screen, and comes and goes as the screen scrolls vertically. The weird thing is that the display is perfect when I use any of the R (8:7) modes. The problem only shows up when using an S mode (stretched or retain 4:3).
You do know that's probably your problem, right? You're using a damn beta OS with beta drivers!
kode54
Zealot
Posts: 1140
Joined: Wed Jul 28, 2004 3:31 am
Contact:

Post by kode54 »

Squall_Leonhart wrote:Vista?

Draw vsync is broken on Vista.
Apparently, GetScanLine works just fine under Vista, as my timer-based vsync code in QuickNES works without any visible tearing.
elbkhm
New Member
Posts: 6
Joined: Wed Mar 04, 2009 4:42 pm

Post by elbkhm »

I.S.T. wrote:You do know that's probably your problem, right? You're using a damn beta OS with beta drivers!
Windows 7 uses the same drivers as Vista, so I doubt that's the source of the problem. That being said, I'm not particuarly attached to Windows 7 so I'm willing to revert to Vista as a last resort. I'd just hate to go to the hassle, only to have the issue remain.
diminish

Post by diminish »

Try setting 'Multi display/mixed-GPU acceleration' of 'Manage 3D settings' in NVIDIA Control Panel to 'Single display performance mode' and just switch between displays when necessary.
doktor_kris
Lurker
Posts: 102
Joined: Sat Feb 25, 2006 7:47 pm
Contact:

Post by doktor_kris »

Have you tried adjusting your system's display refresh rate? I experienced some serious tearing problems with some emulator once, however, changing the display refresh to 70 Hz did the trick.
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

elbkhm wrote:
I.S.T. wrote:You do know that's probably your problem, right? You're using a damn beta OS with beta drivers!
Windows 7 uses the same drivers as Vista, so I doubt that's the source of the problem.
It's still a beta and things can always not work correctly. Even though the Vista drivers will work doesn't mean everything will guarantee to work right.
Try out CCleaner and other free software at Piriform
Image
elbkhm
New Member
Posts: 6
Joined: Wed Mar 04, 2009 4:42 pm

Post by elbkhm »

diminish wrote:Try setting 'Multi display/mixed-GPU acceleration' of 'Manage 3D settings' in NVIDIA Control Panel to 'Single display performance mode' and just switch between displays when necessary.
Tried it, no good.
doktor_kris wrote: Have you tried adjusting your system's display refresh rate? I experienced some serious tearing problems with some emulator once, however, changing the display refresh to 70 Hz did the trick.
Tried chaning zsnes -6 60 to other values, no change. Tried chaning the refresh rate for the system through the nvidia control panel, but the tv won't accept 70 Hz.
snkcube wrote:It's still a beta and things can always not work correctly. Even though the Vista drivers will work doesn't mean everything will guarantee to work right.
True enough. I still think it's more likely a problem with the video card, maybe some weird aspect of Nvidia's mobile line. I'm probably just going to learn to live with either the scanlines or 8:7 ratio, rather than re-install vista. If do I find some other reason to go back to vista some day, I'll be sure to check then to see if the problem still exists.

Thanks everyone for the help.
Squall_Leonhart
Trooper
Posts: 369
Joined: Tue Jun 10, 2008 6:19 am
Location: Australia
Contact:

Post by Squall_Leonhart »

odditude wrote:
Squall_Leonhart wrote:Draw vsync is broken on Vista.
i have no such issues.
it was fixed in windows 7, but its definitely broken in Vista.

As was said, there are different forms of vsync, the common most one is the one that does not work properly.
[img]http://img.photobucket.com/albums/v253/squall_leonhart69r/Final_Fantasy_8/squall_sig1.gif[/img]
[url=http://vba-m.com/]VBA-M Forum[/url], [url=http://www.ngohq.com]NGOHQ[/url]
odditude
Official tech support dood
Posts: 2118
Joined: Wed Jan 25, 2006 7:57 am

Post by odditude »

Squall_Leonhart wrote:
odditude wrote:
Squall_Leonhart wrote:Draw vsync is broken on Vista.
i have no such issues.
it was fixed in windows 7, but its definitely broken in Vista.
i am using zsnes in vista with vsync, and have no such issues. therefore, it's not "definitely broken in vista."
Why yes, my shift key *IS* broken.
Post Reply