xemu icon indicating copy to clipboard operation
xemu copied to clipboard

Vulkan: Performance Improvements

Open ehw opened this issue 7 months ago • 16 comments

Bug Description

(NOTE: This issue is not an actual bug but just as a way to collect data for reference.)

The Vulkan backend more or less is comparable to the OpenGL one aside from a few visual issues and some titles that perform significantly worse at native resolution. However, sometimes the Vulkan backend can help titles that perform bad at native resolution even on OpenGL perform perfectly at resolutions even above native. Vulkan for the most part can also help titles perform better at higher internal resolutions than they would have if they ran on the OpenGL backend.

These are the current games confirmed that had performance issues under OpenGL at native that work at fullspeed on Vulkan:

Phantasy Star Online Episode I & II (MS-074 [4d53004a]) Silent Scope Complete (KN-026 [4b4e001a]) (affects both Silent Scope 1 and 3, 2 doesn't boot) Tim Burton's The Nightmare Before Christmas: Oogie's Revenge (BV-004 [42560004])

Currently, if you'd like to contribute to the list of games, look for games that already performed worse on OpenGL at native resolution that perform significantly better on Vulkan.

Expected Behavior

At worse, every title should perform the same as the OpenGL backend for parity's sake. Otherwise, performance improvements would be even better.

xemu Version

Version: 0.8.49 Branch: master Commit: 2cc926588b9fea2aa5bd5b4882cb7440c6553991 Date: Fri Apr 11 11:25:25 UTC 2025

System Information

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

Additional Context

(NOTE: All comparisons are taken around the beginning of each game and can be gotten to by just starting a new game and playing a bit).

Comparisons:

Phantasy Star Online Episode I & II (MS-074 [4d53004a]): OpenGL: Image

Vulkan: Image

Silent Scope Complete (KN-026 [4b4e001a]): OpenGL (1): Image

Vulkan (1): Image

OpenGL (3): Image

Vulkan (3): Image

Tim Burton's The Nightmare Before Christmas: Oogie's Revenge (BV-004 [42560004]): OpenGL: Image

Vulkan: Image

ehw avatar Apr 14 '25 01:04 ehw

007 from Russia with love performance better on Vulkan

Opengl

Image

VK

Image

Triticum0 avatar Apr 14 '25 06:04 Triticum0

Fireblade performance better on Vulkan

Opengl

Image

Image

Vulkan

Image

Image

Triticum0 avatar Apr 15 '25 14:04 Triticum0

Fuzion Frenzy Opengl

Vulkan

Triticum0 avatar May 14 '25 22:05 Triticum0

Gun Opengl

Image

Vulkan

Image

Triticum0 avatar May 14 '25 23:05 Triticum0

Hot Wheels: Stunt Track Challenge Opengl

Image

Vulkan

Image

Triticum0 avatar May 14 '25 23:05 Triticum0

LMA Manager 2005 Opengl

Image

Vulkan

Image

Triticum0 avatar May 14 '25 23:05 Triticum0

LMA Manager 2006 Opengl

Image

Vulkan

Image

Triticum0 avatar May 14 '25 23:05 Triticum0

Crash and Burn Opengl

Image

Vulkan

Image

Triticum0 avatar May 18 '25 12:05 Triticum0

The Chronicles of Narnia: The Lion, the Witch and the Wardrobe Opengl 41ms

Image

Vulkan 6-13ms

Image

Triticum0 avatar May 27 '25 00:05 Triticum0

Sphinx and the Cursed Mummy Opengl Image Vulkan

Image

Triticum0 avatar May 27 '25 00:05 Triticum0

Eggo Mania Opengl

Image

Vulkan

Image

Triticum0 avatar Jun 03 '25 17:06 Triticum0

Evil dead Evil Dead: A Fistful of Boomstick Opengl Image

Image

Vulkan

Image

Image

Triticum0 avatar Jun 03 '25 17:06 Triticum0

Dead or alive 2 map (The burai zenin) Opengl

Image

Vulkan

Image

Triticum0 avatar Jun 03 '25 17:06 Triticum0

Major League Baseball 2K5 Opengl

Image

Vulkan

Image

Triticum0 avatar Jun 05 '25 03:06 Triticum0

Mercenaries: Playground of Destruction Opengl

Image

Vulkan

Image

Triticum0 avatar Jun 05 '25 03:06 Triticum0

Metel slug 5 Opengl

Image

Image

Vulkan

Image

Image

Triticum0 avatar Jun 05 '25 03:06 Triticum0

Dead or alive 2 map (The burai zenin) Opengl

Image

Vulkan

Image

Just a reminder that the performance is worse in both OpenGL and Vulkan once a fight loads on the stage, in this case Burai Zenin. The two added characters, especially if female with transparency (Kasumi and Ayane), can lower BZ to 10-15 in OpenGL and 30-45 in Vulkan.

MattPonton avatar Jun 24 '25 06:06 MattPonton

@ehw Seem like most performace improvment in vulkan just come down to performace regressions in opengl from either 0.7.9 or 0.8.54 only LMA Manager 2006 seem to acual improvement but need retest once the regression have been fixed

Triticum0 avatar Jun 24 '25 15:06 Triticum0

@MattPonton should be fixed with #2329

Triticum0 avatar Jul 03 '25 21:07 Triticum0

Heroes of the Pacific

Opengl

Image

Vulkan

Image

Triticum0 avatar Sep 12 '25 13:09 Triticum0

Note: Phantasy Star Online Episode I & II and Tim Burton's The Nightmare Before Christmas: Oogie's Revenge Opengl Issues no longer occur on latest build.

Triticum0 avatar Sep 12 '25 13:09 Triticum0