xemu-project / xemu

Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
https://xemu.app
Other
2.78k stars 279 forks source link

Dead or Alive 3: Performance drops to half speed on any stage with character reflections #493

Open MattPonton opened 3 years ago

MattPonton commented 3 years ago

Title

Bug Description

The frame rate will drop from 60 to 30 FPS if the player has a stage's reflections rendering on camera. The frame rate is dropped worse if the user is playing with Rendering Scale enabled at a higher than 1x resolution.

Steps to Reproduce:

  1. Insert disk
  2. Progress to main menu
  3. Select Sparring Mode
  4. Select Single Battle
  5. Select any character and opponent
  6. Select Azuchi stage
  7. Observer frame rate drop once characters load in.

Expected Behavior

The game maintains a 60 FPS frame rate.

xemu Version

Last Tested version: 0.6.1-20-g21718399f2

Issue started occurring with the Render Scaling support release.

System Information

OS: Windows 10 Pro v20H2 build 19042.1052 CPU: Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz 3.79GHz Graphics Device: NVIDIA GeForce RTX 3080 Ti Graphics Driver: 472.12

Additional Context

For clarification, there are parts of the stages where the stage will have baked reflections of the stage itself. For example, the water puddles at the bottom of DOATEC HK. This issue occurs when the game renders the lower polygon models of the characters to perform the deception of actual reflection occurring.

Known stages with character reflections:

MattPonton commented 2 years ago

Although performance has improved, this issue still occurs as of testing in the following version:

"xemu_branch": "master", "xemu_commit": "83d4cbb4183e8f0d9bdc07eaf676c7e3ede6cc81", "xemu_version": "0.6.2-77-g83d4cbb418"

MattPonton commented 2 years ago

I was told that this is due to issues rendering alpha blended textures, which are used for the floors/ice surface. Also affects Dead or Alive 2 Ultimate's rain stages since those rain drops use alpha blended textures.

ghost commented 2 years ago

Still occurs in:

xemu_version: 0.7.2
xemu_branch: master
xemu_commit: 722579bf01f9b164bb5b1abaac065d2c3023fdc7
xemu_date: Sun May  8 06:05:26 UTC 2022
coronadoralf commented 1 year ago

Can someone fix the issue cause by rendering alpha blended textures in DOA 3 and DOA 2 Ultimate? as of Nov. 18, 2022, the graphical issue is still present that usually dip to 15-20 FPS from 60 FPS even in mid-end graphics card like Geforce 900/10 SERIES. Other stages were optimized and run perfectly well, though.

aintitfun commented 1 year ago

I think I have the same issue. Slowness happens particulary on the Azuchi stage, which has reflections on floor. Tested with precompiled 0.7.84 version and also with ad hoc compiled 0.7.84 version

image

image

BeeTheImmortal commented 1 year ago

Can confirm, the issue still exists in the latest build as of today. Tried precompiled version. Képernyőkép 2023-06-19 110238