| Main > Software Forum |
| ArcadeVGA and vertical tearing |
| (1/4) > >> |
| katzinator:
I've been having some issues getting games in MAME to run at their proper resolutions using my ArcadeVGA card along with MAME .120u1. So far, the problem seems to exist mainly within Neo-Geo games. Using the AVRes program, games such as Metal Slug are set to run at "336x240" resolution. The game will start up looking great... until the scene begins to scroll. When the game begins scrolling horizontally, I start getting pretty significant vertical tearing. I tried experimenting with synconrefresh, vsync, and triplebuffer options with the same results. If I set the resolution to 640x480, it runs great with no tears (however, it is not the resolution the game should be running at and thus defeats the purpose of having purchased an ArcadeVGA). Like I said, this is mainly with Neo-Geo games/resolution, other games don't seem to exhibit this problem (though I haven't tested all 6000+ of them). Does anyone have any solutions/suggestions for eliminating this vertical tearing issue? My system specs are pretty decent (ArcadeVGA 2, AMD XP 2800+, 1Gb RAM, stripped-down windows, etc) and the games appear to play superb otherwise. |
| DaveMMR:
I actually was going through this problem yesterday. There are some good threads and some discussions on the forum about that problem. Do a search for "screen tearing". Basically, you have to enable triple buffering (not vsynch or syncrefresh). If it ends up giving you sound problems though, you can enable it on a game by game basis (your game's specific ".ini" file). |
| katzinator:
Like I stated in my post, I've messed around with the triplebuffer option (with syncrefresh and vsync off) and had pretty much the same result. I've searched the forums pretty thoroughly, but the only real solution that people come up with is to turn on triplebuffer, which doesn't eliminate the problem for me. Additionally, upon closer inspection, running at 640x480 only makes the tears less noticeable, but they still appear to be present. Are there any ArcadeVGA owners who have encountered this problem (most specifically with Neo-Geo games such as Metal Slug) with a sure fire way to eliminate this issue? |
| DaveMMR:
--- Quote from: katzinator on November 04, 2007, 11:37:07 am ---Are there any ArcadeVGA owners who have encountered this problem (most specifically with Neo-Geo games such as Metal Slug) with a sure fire way to eliminate this issue? --- End quote --- There isn't always a "surefire" way to eliminate problems in mame - especially since there are so many different configurations out there. I wish there were - because the constant struggle is discouraging sometimes. Sigh... Anyway, back on topic: I checked some random Neo-Geo game ini's and it seems to be mostly (all) at 321x240. That sounds about right since I found this on some NeoGeo FAQ page: --- Quote ---Video hardware: resolution 320×224, 2 palette banks with 4096 (15-bit) colours each --- End quote --- The AutoRes utility probably picked the closest resolution when it made the ini files since I didn't see 320x224 on the list of available resolutions. Anyway, try editing the ini for one Neo-Geo game using 321x240, first without triplebuffer, and see how it performs. They try it with and see what happens. Good luck. |
| katzinator:
I tried messing around with the settings for quite a bit and managed to make some semi-decent progress. I was poking around and found that under the cfg folder, a file named "mslug.cfg" is generated. For some reason (even though I have hwstretch disabled in the mame.ini) inside this cfg file I found this string: hstretch="1.054945" If I change it to hstretch="1.0", then run mame with the metal slug resolution set to 321x240, NO TEARS! However, if I quit the game and re-open the mslug.cfg file, the hstretch string disappears completely. Then, if I try running Metal Slug again (using 321x240 like before) the tears start occurring again. Sure enough, when I quit, the hstretch="1.054945" re-appears. Another problem is that when I am running the game with the hstretch set to 1.0, I get black bars on either side of the screen that go down about 9/10's to the bottom. Attached is the screenshot of what it looks like. When the game is tearing (and the hstretch set to 1.054945), the bars cease to exist. Is there a way I can prevent MAME from generating the hstretch="1.054945" string and not get those weird black bars? |
| Navigation |
| Message Index |
| Next page |