MiSTer-devel / Arcade-Tecmo_MiSTer

MiSTer arcade core for Tecmo arcade classics: Rygar (1986), Gemini Wing (1987), and Silkworm (1988).
MIT License
12 stars 18 forks source link

Rygar gfx problem using tecmo core #2

Closed mdd45 closed 4 years ago

mdd45 commented 4 years ago

im getting graphics errors in Rygar like in the video below:

Rygar.zip

gomadosnitro commented 4 years ago

Is working well here, with last version Arcade-Tecmo_20200615

mdd45 commented 4 years ago

the problem was the mra, it seems to work.

mdd45 commented 4 years ago

Still having the gfx errors not related to mra's it seems to be random....

nullobject commented 4 years ago

@mdd45 Oh weird, that looks like a SDRAM issue. Thanks for reporting it.

A couple questions:

mdd45 commented 4 years ago

Hello, i have the 128mb horizontal ram board from Antonio Villena. With 15/6 build i had random gfx problems only with Rygar, but with 16/6 build i have gfx problems with all 3 games of techmo core. Memtest gives me no errors. It looks like the now fixed problem with some square games (like ff6) in snes core and 128mb modules.. .

Left-Empty commented 4 years ago

I have a 128 RAM board as well, and was experiencing totally random glitches each time I boot Rygar... and like mdd45 I am now experiencing them in Gemini Wing and Silkworm as well with today's update.

Now the games are usually totally unplayable, randomly rebooting and glitching even during the initial check or title screen sometimes.

Odds are we got the them sort of ram. No error either, and no issues in any other cores (but I confess to not playing the Super Nintendo ;D )

Cheers!

mdd45 commented 4 years ago

So further testing, when I boot mister cold I have no errors with any of the 3 games. After playing for 15minutes with neo geo core for example and then trying to boot Rygar i get random errors. it looks like the sdram issue that snes core had.

Left-Empty commented 4 years ago

Our paths diverge here: I am experiencing errors no matter what.

nullobject commented 4 years ago

I have a 128MB module in the mail, so hopefully I will soon be able to reproduce this issue myself.

Sorry for the hassle.

sorgelig commented 4 years ago

@nullobject keep in mind, non-official SDRAM module has completely different routing and it's possible to have different timings. You need to test on official 128MB module.

nullobject commented 4 years ago

@sorgelig Good point, will do. It should be arriving in the mail any day now :smile:

Left-Empty commented 4 years ago

I just noticed yesterday (didn't get a notification or simply missed it) there was a newer June 20th build that had been posted, and it fixes all the issues here. Thanks and cheers!

nullobject commented 4 years ago

@Left-Empty Oh great, I'm glad to hear it :tada:

I also have been running the core perfectly fine on my new 128MB module.

I didn't make any changes to the SDRAM controller, so I wonder what changed? Maybe routing caused very subtle variations in the timing of the SDRAM signals. I'll have to double-check my SDRAM timing constraints and see if I have missed anything.

I'm going to mark this issue as closed for now.

mdd45 commented 4 years ago

still having the same issues with 20/6/20 build.....

nullobject commented 4 years ago

still having the same issues with 20/6/20 build.....

@mdd45 That’s a shame. I have reopened this issue.

A couple questions:

mdd45 commented 4 years ago

I have the 128mb horizontal sdram from antoniovillena. I will retest Gemini and silkworm and let you know asap...rygar for sure is broken for me...

Left-Empty commented 4 years ago

I tried to reproduce mdd45's steps here, going to check for a later corruption if more gaming was done prior to launching them, but they seem totally fixed and stable here now.

mdd45 commented 4 years ago

re-tested the core and i have problems with all 3 games. Another thing is that even though i configure my gamepad like all the cores in mister, with this core every time i have to reconfigure (i use save settings). Below some pictures with gfx errors. The rygar one is from a game that started ok and upon entering round 2 i got this. Gemini stuck on demo. On silkwork heli is cut in two and inverted while playing fter a few seconds. I dont have any other problems with other cores and games with my mister setup and my 128mb sdram board is like this: https://github.com/MiSTer-devel/Hardware_alternative

pictures: https://imgur.com/a/Dnqbixp

nullobject commented 4 years ago

@mdd45 Thanks for the screenshots.

It definitely looks like a SDRAM issue to me. I am currently investigating it :eyes:

Would you mind testing out a new build when I have something for you?

mdd45 commented 4 years ago

Of course

nullobject commented 4 years ago

@mdd45 Could you please try this RBF?

You shouldn't have to delete the real tecmo core, I think this one will take priority if you have both in your cores directory.

tecmo-20200703.zip

mdd45 commented 4 years ago

This looks perfect, it fixed all Tecmo games gfx problems. Already at round 4 of rygarwith no errors: https://imgur.com/a/qglCbKA

It also fixed this issue for me: https://github.com/MiSTer-devel/Arcade-Tecmo_MiSTer/issues/5

so it was an sdram issue?

edit: Still my gamepad configs mappings are not being saved as it should on Rygar only. maybe a config map file thing....

Thank you!!!

nullobject commented 4 years ago

@mdd45 Awesome, that's exactly what I need to hear on a Friday night :smile:

Yes, I adjusted the SDRAM timing. It may have been too strict...everyone's SDRAM chips will perform slightly differently.

If you are interested, I wrote a blog post a while ago about how an SDRAM controller works: https://www.joshbassett.info/sdram-controller/

I'll take a look at what's up with the button configs next. So you edit your config, save, and it goes back to default?

Enjoy!

mdd45 commented 4 years ago

yes i define rygar buttons save and on core rebbotr is default....i will look my config folder again.... on Silkworm and gemini my mappings are ok..... strange.

usually on cores though i dont have to press save settings to store my mappings....

nullobject commented 4 years ago

@mdd45 Actually, from memory I may have seen this before.

What happens if you delete the rygar files out of the /media/fat/config directory?

nullobject commented 4 years ago

For now I'm going to close this GFX issue. If you can't get the buttons figured out, then open another issue and we'll work through it :+1:

mdd45 commented 4 years ago

nevermind, mappings are stored also for rygar, i had 3 rygar map files in input and maybe there was a problem due to alt .rbf versions.

i have though to press jump or fire before entering credit for my gamepad to actually being recognized..... so everything looks ok!

thanks again looking forward you cave core ;-)

mdd45 commented 4 years ago

you should close issue #5 too. it looks ok for me with this build.

mdd45 commented 4 years ago

and issue #1 looks fine for me too on gemini wing.

nullobject commented 4 years ago

thanks again looking forward you cave core ;-)

@mdd45 Thanks, it's coming along :smiley:

wwark commented 4 years ago

I confirmed also "It also fixed this issue for me: #5" I closed the other issue.

nullobject commented 4 years ago

@wwark Awesome, thanks for checking it.