BlitterStudio / amiberry

Optimized Amiga emulator for Linux/macOS
https://amiberry.com
GNU General Public License v3.0
664 stars 90 forks source link

GFX Glitches #1033

Closed nemo93 closed 1 year ago

nemo93 commented 2 years ago

Describe the bug Some games do present some graphical artifacts either in menu or in-game. This is 100% reproductible. Currently the following packages are impacted:

To Reproduce

  1. Simply run the aforementioned games.
  2. Surf Ninjas: you have to go to the far left screen (beach) and get the bat.
  3. WWF European Rampage Tour: glitches can be seen only in menus
  4. Zool 2: as soon as you enter 1st stage (known bug)

Screenshots

PinkPanther_v1.0_0236 SurfNinjas_v1 0_AGA_1291 WWFEuropeanRampageTour_v1 1_1298 Zool2_v1 0_AGA_0415

Additional context I'm running 5.5 (latest main) with Retropie 4.8 on Pi4. Buster / 32-bit / DMX. Everything (.uae, .chd, .lha) is therefore launched with the --autoload parameter.

As far as memory goes, Zool 2 worked in 3.3 yet I'm pretty sure the others never worked properly.

midwan commented 1 year ago

@nemo93 Do these still occur after the latest updates? There was a rollback of the CIA rewrite changes, since those caused several bugs.

nemo93 commented 1 year ago

Yes these issues remain on latest. For games also not working on FSUAE I suspect issues with packages themselves. Yet for Pink Panther and Zool2 it should be with Amiberry (I recall you told me issue was expected for Zool2?).

I can merge this ticket with #958 if you'd like? Anyhow keeping track of those issues would be nice as it would prevent me to open a similar one in the future ;-)

midwan commented 1 year ago

@nemo93 PinkPanther seems to work fine if Cycle-Exact is used

midwan commented 1 year ago

@nemo93 Zool2 AGA works fine in dev, which means it's a bug in one of the areas changed between master and dev. Currently, those are: blitter, custom chipset, drawing (we exclude CIA). Not sure if that will be fixed before the upcoming release of 5.5, however.

nemo93 commented 1 year ago

PinkPanther does indeed work fine with Cycle Exact 🤦‍♂️ I'll fix that. No rush to fix Zool2 given how stable and heavily-tested 5.5 has been thus far. I'd say let's keep it for 5.6 or 6.0 :-) Thanks for the assistance as always.

nemo93 commented 1 year ago

With latest commits (in fact since 5.5) PinkPanther main screen bug is back. I've re-edited the OP accordingly.

nemo93 commented 1 year ago

Pinball Mania package has been updated and this fixed the main menu bug. Removed from OP.

nemo93 commented 1 year ago

Adding Putty Squad to OP (see #1053 for reference).

midwan commented 1 year ago

From the games mentioned above, only WWF still seems to have gfx artifacts after the commit above. The rest are all fixed. Pink Panther no longer requires Cycle Exact mode to work properly, either - @nemo93 you can remove that from the XML.

nemo93 commented 1 year ago

Done. Thanks. WWF should be a WHD issue.