xemu icon indicating copy to clipboard operation
xemu copied to clipboard

[Regression] Harry Potter and the Chamber of Secrets: Performance slowdown

Open DivingDeep39 opened this issue 4 years ago • 11 comments

Title

https://xemu.app/titles/4541000e/#Harry-Potter-and-the-Chamber-of-Secrets

EA-014 [4541000e]

Bug Description

Framerate sticks at around 5-10 FPS throughout the game at rendering scale 1x (drops even further at higher scales).

Steps to riproduce the issue:

  1. Open Xemu Emulator
  2. Load the game
  3. Reset emulator
  4. Let the game load to Main Menu (or skip intro video)
  5. Press "New Game" and select any save slot
  6. After the loading screen, the intro cutscene plays at a sluggish pace

Immagine 2021-07-29 115609

Expected Behavior

Despite gameplay was not flawless before, the game ran at an average of 30 FPS with peaks at 60 FPS. Immagine 2021-07-29 110412

xemu Version

v0.6.0 build-202107262358

Last working: v0.5.4-29-g0b9a2e1a8f build-202107190558

System Information

OS: Windows 10 Pro 64bit CPU: Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz GPU: NVIDIA GeForce GTX 1650 GPU Driver: 471.41

Additional Context

No response

DivingDeep39 avatar Jul 29 '21 09:07 DivingDeep39

I'll be taking a look at this shortly.

MasonT8198 avatar Aug 25 '21 12:08 MasonT8198

Performance seems to be much better now. Version: 0.6.2-64-g758e36d398 Branch: master Commit: 758e36d3983f3acde38017276f31bb75ff32a92a Date: Wed Feb 2 08:08:22 UTC 2022 Harry Potter Chamber of Secrets

guruemulation avatar Feb 02 '22 17:02 guruemulation

It seems fixed from my testing as well.

Triticum0 avatar Jun 24 '22 19:06 Triticum0

Tested it again recently the frames are a little too low image This happened in the most recent version which is v0.7.58 and the previous version v0.7.42

vawtg avatar Jul 13 '22 05:07 vawtg

I tested all versions of xemu recently this Month, I started from version 6.2 since the game was fixed in that version, from version 6.2 to 7.8 the game was working fine at a average 60 fps and 6-10 mspf, the performance went down after version 7.9, the performance regression continued from version 7.9 to version 7.66 which is the current version. The game ran at the range of 15-30 fps with some peaks at 40-41-42, the frames bounce around a bit depending on the resources of the game, some versions had a peak of just 40 fps, I have attached a screenshot where you can see how I was able to get peak fps. Screenshot (1271)

The save I used to test was bourgin and borkes level, moving around the game worked at around 15-30 above fps depending on the resources, I stood in a corner where resources are a little low was that way I was able to conclude with the peak fps.

The only version which was a exception 7.63, the game become unplayable.

vawtg avatar Jul 27 '22 06:07 vawtg

@vawtg "performance regression continued from version 7.9 (https://github.com/mborgerson/xemu/pull/879) to version 7.66" https://github.com/mborgerson/xemu/issues/1192

AhayriSG avatar Jul 27 '22 10:07 AhayriSG

the performance is fine from version 6.2 to 7.8

7,9 was where the performance regression started @deepdive93

vawtg avatar Jul 27 '22 14:07 vawtg

Hello, about this game, I have several issues:

  • graphic gliches xemu-2023-01-07-18-54-55 xemu-2023-01-07-18-54-32 xemu-2023-01-07-22-00-55 xemu-2023-01-07-22-01-23

  • first cinematic run very slowly with audio desync

my config: https://gist.github.com/legluondunet/8c353105c386d1a121041a3ad1b4a2b4


xemu_version: 0.7.72
xemu_branch: a0cffd77debf6caf8804a0fbb2d04fb9c54c13a6
xemu_commit: a0cffd77debf6caf8804a0fbb2d04fb9c54c13a6
xemu_date: Sat Jan  7 10:51:01 AM UTC 2023
xemu_settings_get_base_path: base path: /home/legluondunet/.var/app/app.xemu.xemu/data/xemu/xemu/
xemu_settings_get_path: config path: /home/legluondunet/.var/app/app.xemu.xemu/data/xemu/xemu/xemu.toml
CPU: AMD Ryzen 9 5900HX with Radeon Graphics        
OS_Version: Freedesktop.org SDK 22.08 (Flatpak runtime)
GL_VENDOR: AMD
GL_RENDERER: AMD Radeon RX 6600M (navi23, LLVM 14.0.6, DRM 3.49, 6.1.1-1-MANJARO)
GL_VERSION: 4.6 (Core Profile) Mesa 22.2.4 (git-80d
```f10f902)
GL_SHADING_LANGUAGE_VERSION: 4.60

legluondunet avatar Jan 07 '23 21:01 legluondunet

anyone managed to find a fix for low FPS?

V980475 avatar Feb 07 '23 13:02 V980475

I can't seem to reproduce on my end. Performance in the initial few seconds of the opening cutscene drops to around 40-50fps, but then the rest of the game seems smooth.

image

Version: 0.7.85 Branch: master Commit: 065c74a00fe402f65147e9b0d1a1eeac1b4b609f Date: Mon Mar 6 21:06:28 UTC 2023

CPU: AMD Ryzen 7 5800X 8-Core Processor
OS Platform: Windows OS Version: Windows Manufacturer: NVIDIA Corporation GPU Model: NVIDIA GeForce RTX 3080/PCIe/SSE2 Driver: 4.0.0 NVIDIA 531.29 Shader: 4.00 NVIDIA via Cg compiler

ehw avatar Mar 19 '23 19:03 ehw

From my side, I just tested with Xemu Version 0.7.85, nothing had changed. @ehw could you test this game Xemu with a AMD GPU? Under Linux?

legluondunet avatar Mar 19 '23 19:03 legluondunet