Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
01809 Graphics Minor Always May 15, 2008, 22:24 May 21, 2008, 17:28
Tester Yonah View Status Public Platform MAME (Official Binary)
Assigned To Resolution Unable to reproduce OS Windows XP/Vista 32-bit
Status [?] Closed Driver
Version 0.125 Fixed in Version Build Normal
Fixed in Git Commit Github Pull Request #
Summary 01809: Scanline Effect distortion on Vertical Orentation
Description I've been using the scanline (scanlines.png) effect, but on games that use a vertical orientation (contra, xevious, digdug, ect) there is a visible line where the effect overlay does not line up properly. If the go into the Video Options and switch the aspect ratio from Standard (3:4) to the alternate setting, the problem goes away.
Steps To Reproduce use Mame.ini defaults

run with -effect scanlines
Additional Information
Github Commit
Regression Version
Affected Sets / Systems
Attached Files
jpg file icon scanlines.jpg (117,452 bytes) May 15, 2008, 22:24
There are no relationship linked to this issue.
User avatar
May 15, 2008, 22:45
From command line, using just the -effect scanlines and setname, I don't see anything like your screen shot shows. What game is that from? How much is it magified? Are you using -video ddraw or d3d? Are there other video related commands that might be interfering?
User avatar
May 16, 2008, 00:04
Also run with -verbose as well, and post the output. I suspect you are running at a resolution larger than the maximum texture size.
User avatar
May 16, 2008, 03:40
That particular game is "Devastators" (devstors). I'm using D3D. As I understand it, the effects aren't availible unless D3D is used. I took the picture with my digital camera.

Video: Monitor 00010001 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9
Direct3D: Configuring adapter #0 = NVIDIA GeForce 7650 GS
Direct3D: Using dynamic textures
Direct3D: YUV format = RGB
Direct3D: Device created at 1440x900
User avatar
Senior Tester
May 16, 2008, 17:23
edited on: May 16, 2008, 17:23
I can't reproduce this either.

Are you running at your monitor's native resolution?

Try manually setting its aspect ratio in mame.ini, default is auto.
User avatar
May 16, 2008, 20:34
1400x900 is the native resolution of my LCD monitor and the aspect ratio should be 16:10.

I have always left the setting in Mame.ini to Auto, and it seems to give the same results as using 16:10, so I would assume MAME is using the correct aspect. Here is what I tried running Digdug:

AUTO or 16:10 = Standard (3:4) glitch / Pixel Aspect (7:9) OK

16:9 or 3:4 = Standard (3:4) OK / Pixel Aspect (7:9) OK

What I find interesting is that the glitch disappears when the screen is rotated twice, so the screen is upside down. I checked some older versions just now. For me, this problem started with version 0.124. I just tried 0.123 using the same config I use now and the glitch does not appear.
User avatar
May 21, 2008, 17:28
edited on: May 21, 2008, 17:28
I'll move this to acknowledged until we can isolate exactly what the issue is or mismatched setting might be. Also, if anyone else can try to duplicate this issue - please post a note detailing what was attempted.