|
Two vertical tear lines appear when using mame with d3d
#376674 - 06/05/18 04:29 PM
|
|
|
I've encountered an issue with mame where two vertical tear lines appear in stationary positions on screen. It is most noticeable when the screen scrolls horizontally in a uniform manner because you will see a "ripple" effect where the 2 lines are. I made a short video:
https://youtu.be/hm9pk6XjLTw
You can mainly see it when the lines pass over the trees. This is using the 240p test suite for the genesis but the problem occurs in everything I've tried so far.
This does not happen when using opengl with the same settings.
I've tested it so far in .193 and the latest .198.
My settings are defaults except: waitvsync 1 prescale 3
I've tried using both syncrefresh as well as triplebuffer but neither of those made a difference. I'm not really sure what all the different sync options do in mame, but I assume it's some kind of vsync issue.
Specs: Windows 10 8700k gtx 1050 ti
edit: I was able to get the lines to go away in d3d by setting prescaling to 1 instead of 3. Setting it to 2 will result in just one line down the middle. Is there something wrong with d3d and prescaling?
Edited by Xenphor (06/05/18 11:29 PM)
|
|
|
John IV |
IV/Play, MAME, MAMEUI
|
|
|
Reged: 09/22/03
|
Posts: 1970
|
Loc: Washington, USA
|
|
Send PM
|
|
|
Re: Two vertical tear lines appear when using mame with d3d
[Re: Xenphor]
#376681 - 06/06/18 12:29 AM
|
|
|
Many folks use -refreshspeed and -triplebuffer in conjunction, this removes the tearing.
|
john iv
http://www.mameui.info/
|
|
|
Re: Two vertical tear lines appear when using mame with d3d
[Re: John IV]
#376682 - 06/06/18 12:56 AM
|
|
|
What does that combination do that the other vsync methods don't do?
I did try it and the lines are still there.
|
|
|
John IV |
IV/Play, MAME, MAMEUI
|
|
|
Reged: 09/22/03
|
Posts: 1970
|
Loc: Washington, USA
|
|
Send PM
|
|
|
Re: Two vertical tear lines appear when using mame with d3d
[Re: Xenphor]
#376684 - 06/06/18 01:31 AM
|
|
|
|
|
Re: Two vertical tear lines appear when using mame with d3d
[Re: John IV]
#376685 - 06/06/18 01:53 AM
|
|
|
Yes I have the dx end user runtimes installed.
I believe I have fixed it by turning on hlsl and turning off filtering. Once I changed all the hlsl settings to defaults, it seems to be about the same as using filtering with prescaling.
|
|
|