[GAME BUG]: Bloodborne (CUSA03173) v1.09: severe performance difference between Linux host and Windows 11 VFIO guest on the same HW
Checklist (we expect you to perform these steps before opening the issue)
- I have searched for a similar issue in this repository and did not find one.
- I am using an official build obtained from releases or updated one of those builds using its in-app updater.
- I have re-dumped the game and performed a clean install without mods and the issue is still present.
- I have disabled all patches and cheats and the issue is still present.
- I have all the required system modules installed.
Describe the Bug
Bloodborne has substantially lower performance on Linux than Windows. The physical hardware stack is the same in both tests, including the exact same physical GPU. The software stack differs:
Linux host:
- Arch Linux
- AMD Ryzen 9 5950X, 16C/32T
- 64 GB RAM
- Intel Arc Pro B70 32 GB
- Mesa Intel Vulkan driver 26.2.3
- Vulkan 1.4.354
Windows:
- Windows 11 Home running in a KVM/QEMU VM
- Same Ryzen 9 5950X, with 8C/16T pinned to one CCD
- 32 GB RAM assigned
- The same physical Intel Arc Pro B70 passed through using VFIO
- Resizable BAR enabled
- Intel Windows driver 101.8805
- Vulkan 1.4.348
Both systems run the exact same shadPS4 build: v0.18.0 revision e3ce810f3a653f43ac64ebab63023de281a4103a
Both tests use Bloodborne CUSA03173 version 01.09, the same save file, the same scene and camera position, 1920x1080, all patches and cheats disabled, no mods, Pipeline Cache disabled, DMA disabled, Log Sync enabled, and the required firmware modules installed.
After loading the save and standing still for approximately 40 seconds:
- Linux stays at approximately 16-17 FPS.
- Windows briefly drops immediately after loading and then stabilizes at approximately 27-30 FPS.
The difference is especially notable because the Windows guest has fewer CPU cores available and runs through virtualization. Restricting the Linux shadPS4 process to a single CCD on the Ryzen 9 5950X did not produce any visible difference at all in this scene.
Additional observation: with the 60 FPS++ patch enabled, the performance difference between Linux and Windows becomes much easier to see. On Linux, even with a combination of performance-oriented patches, this scene only reaches about 21–23 FPS instead of the 16–17 FPS seen in the clean test. The primary report and attached logs, however, are still based on the unmodified game with all patches disabled.
This does not appear to be the v0.9.0 -> v0.10.0 regression described in #4260. During testing, v0.9.0 and newer versions showed approximately the same Linux performance on my system.
This appears more similar to #3879 (which however is closed).
Reproduction Steps
- Launch shadPS4 v0.18.0 (revision e3ce810).
- Launch Bloodborne CUSA03173 version 01.09.
- Load the attached save file. SPRJ0005.zip
- Remain stationary at the loaded location and keep the same camera direction.
- Observe performance for approximately 40 seconds.
Linux remains around 16-17 FPS. Windows stabilizes around 27-30 after the initial loading period.
Specify OS Version
Arch Linux (Windows 11 Home KVM/VFIO comparison described above)
CPU
AMD Ryzen 9 5950X
GPU
Intel Arc Pro B70
Amount of RAM in GB
64 GB host / 32 GB assigned to Windows guest
Amount of VRAM in GB
32 GB
Log File
bloodborne-v018-linux-shad_log.txt bloodborne-v018-windows-vfio-shad_log.txt
Source: shadps4-emu/shadPS4