MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Xenphor
MAME Fan
Reged: 08/08/11
Posts: 13
Send PM


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: 1967
Loc: Washington, USA
Send PM


Re: Two vertical tear lines appear when using mame with d3d new [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/



Xenphor
MAME Fan
Reged: 08/08/11
Posts: 13
Send PM


Re: Two vertical tear lines appear when using mame with d3d new [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: 1967
Loc: Washington, USA
Send PM


Re: Two vertical tear lines appear when using mame with d3d new [Re: Xenphor]
#376684 - 06/06/18 01:31 AM


Did you install the DirectX 9 runtime dist? May not make a difference for these settings but it's required for hlsl and may alter the current behavior. Something further to try.

https://www.microsoft.com/en-us/download/details.aspx?id=8109



john iv
http://www.mameui.info/



Xenphor
MAME Fan
Reged: 08/08/11
Posts: 13
Send PM


Re: Two vertical tear lines appear when using mame with d3d new [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.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 27 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 644