Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DivingDeep39 opened this issue Jul 29, 2021 · 11 comments
Labels
bug Something isn't working

Comments

@DivingDeep39
Copy link

DivingDeep39 commented Jul 29, 2021

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 DivingDeep39 added the bug Something isn't working label Jul 29, 2021
@MasonT8198
Copy link
Contributor

I'll be taking a look at this shortly.

@guruemulation
Copy link

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

@Triticum0
Copy link

It seems fixed from my testing as well.

@vawtg
Copy link

vawtg commented Jul 13, 2022

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
Copy link

vawtg commented Jul 27, 2022

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.

@AhayriSG
Copy link

AhayriSG commented Jul 27, 2022

@vawtg
"performance regression continued from version 7.9 (#879) to version 7.66"
#1192

@vawtg
Copy link

vawtg commented Jul 27, 2022

the performance is fine from version 6.2 to 7.8

7,9 was where the performance regression started @deepdive93

@legluondunet
Copy link

legluondunet commented Jan 7, 2023

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

@V980475
Copy link

V980475 commented Feb 7, 2023

anyone managed to find a fix for low FPS?

@ehw
Copy link

ehw commented Mar 19, 2023

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: 065c74a
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

@legluondunet
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants