Skip to content

CPU being greatly overworked in bloodborne on particular systems #1542

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

Closed
MST298 opened this issue Nov 17, 2024 · 10 comments
Closed

CPU being greatly overworked in bloodborne on particular systems #1542

MST298 opened this issue Nov 17, 2024 · 10 comments

Comments

@MST298
Copy link

MST298 commented Nov 17, 2024

I have not been able to find a consistent reason for what causes this, and it is not something that happens to a particular MODEL of CPU (For instance, I have an i7-8700 and have seen others with an i7-8700 who do not experience this issue)

This issue also may affect other games as well, but I haven't been able to test it on any other games outside of the homebrew demos like pong (Which did spike up very significant CPU usage at the start but quickly dwindled to about 5-10%)

In essence, most people I have seen have been very much GPU limited in bloodborne, with their cpu rarely going above 20-30% usage unless playing at very low resolutions, but Whenever I am in-game in Bloodborne, my CPU will run at full bore no matter what I am doing. Even on the title screen, I hover at around 30% usage, and when playing in a level it will max out my first core and put all the others to around 60% usage. Although I don't have the screenshot of it anymore, I also saw the same problem occurring on a Ryzen 7 5800X. I have tested extensively and can confirm this is not the result of any mods or patches, and has been a constant issue for as long as I have used the emulator.

This also means that, even running at around 1080p, my game is greatly CPU bottlenecked and my GPU will rarely go over 25% usage

I can reproduce this issue consistently on my system, however, as I mentioned before, I can't reproduce it on MOST other systems, although some seem to have this issue as well almost arbitrarily.

In terms of diagnosing this issue, I am willing to help however I can, due to the amount of systems which can reproduce this issue being very limited.

Specs
Intel i7-8700
Nvidia GTX 1080
24GB DDR4 @ 2400mhz
Windows 10

@Raggiee976
Copy link

Raggiee976 commented Nov 17, 2024

I'm experiencing the same issue.
Specs: RTX 4070TI; Ryzen 5 5800X3D; 32Gb 4000Mhz Cl16

@NotPaalas
Copy link

NotPaalas commented Nov 20, 2024

i have the same issue. GPU usage hovers between 10% - 40% (sometimes goes up to 60% but drops down instantly), CPU usage is around 50% all the time. i had some small improvements when i disabled SMT via process lasso but the GPU usage was still low just less stuttering.
i tried it with no mods, with half cloth ram-spike mod, no cloth ram-spike mod, only sfx and the combinations with the ram-spike mod.
Specs: RX 6950 XT, Ryzen 7 5700x3d, 32gb DDR4 3200Mhz on a b450 aorus elite, win 10

@Foul-Tarnished
Copy link

Foul-Tarnished commented Dec 1, 2024

Could be ram bottleneck, all these are slow ddr4

Btw cpu usage means nothing, you probablyy have 1 core at 100%

@Raggiee976
Copy link

Could be ram bottleneck, all these are slow ddr4

Btw cpu usage means nothing, you probablyy have 1 core at 100%

4000Mhz cl16 is slow?

@Hermiten
Copy link
Collaborator

Can you please do a new test on the last main branch please ?

@MST298
Copy link
Author

MST298 commented Dec 10, 2024

Just tested, definitely still happening.

@LukeGirvan
Copy link

Happening to me too System: 7900xtx, r7 5700x3d, 3200mhz 32gb ram, b550 tomahawk , windows 10

@Missake212
Copy link
Contributor

This is not a fix, but someone (bigvic340 on Discord) noticed better performance when turning off Hyper threading/SMT using Project Lasso, you could also turn it off completely through the bios but first option seems more convenient test, if any of you is interested in testing this to see if you get better performance. Saw a few people report better performance on the Discord.

@zofrea1
Copy link

zofrea1 commented Dec 23, 2024

I believe my system is also affected: 5800X3D and a 3090. GPU usage is rarely saturated and at least 2 cores are often heavily loaded. I wonder if compiling ShadPS4 on my own hardware could potentially help? Has anyone tried this?
Update: Manually setting the ShadPS4.exe process affinity can have huge effects on performance. On my 5800X3D, setting the CPU core affinity to 5 cores yielded the best results. I thought 6-7 would be the best, most closely matching a real PS4, but I went from 45 fps with all cores and threads enabled in a demanding scene at the start of the game to 62 fps after manually selecting 5 cores.

@MST298
Copy link
Author

MST298 commented Jan 2, 2025

New merges to main reduce the cpu bottleneck greatly, closing issue

@MST298 MST298 closed this as completed Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants