[GAME STATUS]: UFC 5 #1885

Open
opened 2026-11-26 10:08:04 +00:00 by github-bot · 1 comment
Owner

@⁠lucasfernandez2112005-lgtm on GitHub · 2026-10-24 20:23 UTC · original

Game title

UFC 5

Game ID / serial

PPSA03541

KytyPS5 version

ALL

Compatibility status

Doesn't boot

Last working build / first broken build

No response

Result details

Environment

  • GPU: AMD Radeon RX 6650 XT, driver [versión], Windows 11
  • CPU: Ryzen 7 5700G, 32 GB RAM
  • Game: EA SPORTS UFC 5 (PPSA03541, v01.031)
  • Builds: official main (0cad467) for problem 1; a fork based on the UFC 5
    work (Cozmaaa/KytyPS5, branch cozma-ufc5) for problem 2

There are two separate problems on AMD. Problem 1 has a tested fix that needs
a rebuild.

1. Startup crash in AMD's Vulkan driver

The emulator crashes at startup with an access violation inside AMD's driver
(amdvlk64.dll+0x22240fc, thread "host thread"). The host stack frames are
mis-symbolized (boost::archive / GetSettingsBlobsAll) because they are
inside the driver DLL.

Cause: standard64_3d_offset() in
src/graphics/host_gpu/shaders/gpu_tiler_standard64_3d.inc builds vectors
selected by the ELEMENT_BYTES specialization constant, which AMD's Windows
compiler crashes on.

Fix (tested): use scalar selects instead.

uint sx = ELEMENT_BYTES == 1 ? 4u : ELEMENT_BYTES == 16 ? 2u : 3u;
uint sz = ELEMENT_BYTES <= 2 ? 4u : 3u;
uint sy = ELEMENT_BYTES <= 4 ? 4u : 3u;
uint sw = ELEMENT_BYTES == 1 ? 5u : ELEMENT_BYTES == 16 ? 3u : 4u;
return standard3d_offset(p) ^ (((p.x >> sx) & 1u) << 12) ^
       (((p.z >> sz) & 1u)

Steps to reproduce the result

OPEN GAME

Expected behavior

A

OS

WIN 11

CPU

RYZEN 7 5700G

GPU

RX 6650 XT

RAM / VRAM

32 GB RAM / 8GB VRAM

Log file upload

A

Screenshots/video

No response

Extra notes

No response

**@⁠lucasfernandez2112005-lgtm** on GitHub · 2026-10-24 20:23 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1885) ### Game title UFC 5 ### Game ID / serial PPSA03541 ### KytyPS5 version ALL ### Compatibility status Doesn't boot ### Last working build / first broken build _No response_ ### Result details **Environment** - GPU: AMD Radeon RX 6650 XT, driver [versión], Windows 11 - CPU: Ryzen 7 5700G, 32 GB RAM - Game: EA SPORTS UFC 5 (PPSA03541, v01.031) - Builds: official main (0cad467) for problem 1; a fork based on the UFC 5 work (Cozmaaa/KytyPS5, branch cozma-ufc5) for problem 2 There are two separate problems on AMD. Problem 1 has a tested fix that needs a rebuild. ## 1. Startup crash in AMD's Vulkan driver The emulator crashes at startup with an access violation inside AMD's driver (amdvlk64.dll+0x22240fc, thread "host thread"). The host stack frames are mis-symbolized (boost::archive / GetSettingsBlobsAll) because they are inside the driver DLL. Cause: standard64_3d_offset() in src/graphics/host_gpu/shaders/gpu_tiler_standard64_3d.inc builds vectors selected by the ELEMENT_BYTES specialization constant, which AMD's Windows compiler crashes on. Fix (tested): use scalar selects instead. uint sx = ELEMENT_BYTES == 1 ? 4u : ELEMENT_BYTES == 16 ? 2u : 3u; uint sz = ELEMENT_BYTES <= 2 ? 4u : 3u; uint sy = ELEMENT_BYTES <= 4 ? 4u : 3u; uint sw = ELEMENT_BYTES == 1 ? 5u : ELEMENT_BYTES == 16 ? 3u : 4u; return standard3d_offset(p) ^ (((p.x >> sx) & 1u) << 12) ^ (((p.z >> sz) & 1u) ### Steps to reproduce the result OPEN GAME ### Expected behavior A ### OS WIN 11 ### CPU RYZEN 7 5700G ### GPU RX 6650 XT ### RAM / VRAM 32 GB RAM / 8GB VRAM ### Log file upload A ### Screenshots/video _No response_ ### Extra notes _No response_
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:08:05 +00:00
Author
Owner

@⁠lucasfernandez2112005-lgtm on GitHub · 2026-10-24 20:29 UTC · original

2. ErrorDeviceLost from one compute shader (UFC 5, walkout)

When the referee enters the octagon, FPS drops from 60 to 1-2 and then
vkQueueSubmit returns ErrorDeviceLost (Windows shows the AMD "driver stopped
responding" notice). It is reproducible every time.

Without extra diagnostics the report only says debug_op=5 (EopWriteBack),
which is the last command of a batched submit. I built a diagnostic that
waits on the GPU after every draw/dispatch and prints the last commands. In
two runs the failing command was the same:

DispatchDirect, args=144,1,1, guest shader 0x00000011409ec000,
hash 0xea0aceac518ec52d

Earlier dispatches in the same submit completed fine: 1x1x1, 4x1x1, 200x113x1,
1x1x1, 177x1x1, 354x1x1.

Workaround: skipping this shader gets past the referee entrance:

--skip-shaders ea0aceac518ec52d
(or KYTY_SKIP_SHADER_HASHES=ea0aceac518ec52d)
**@⁠lucasfernandez2112005-lgtm** on GitHub · 2026-10-24 20:29 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1885#issuecomment-6389168048) ## 2. ErrorDeviceLost from one compute shader (UFC 5, walkout) When the referee enters the octagon, FPS drops from 60 to 1-2 and then vkQueueSubmit returns ErrorDeviceLost (Windows shows the AMD "driver stopped responding" notice). It is reproducible every time. Without extra diagnostics the report only says debug_op=5 (EopWriteBack), which is the last command of a batched submit. I built a diagnostic that waits on the GPU after every draw/dispatch and prints the last commands. In two runs the failing command was the same: DispatchDirect, args=144,1,1, guest shader 0x00000011409ec000, hash 0xea0aceac518ec52d Earlier dispatches in the same submit completed fine: 1x1x1, 4x1x1, 200x113x1, 1x1x1, 177x1x1, 354x1x1. Workaround: skipping this shader gets past the referee entrance: --skip-shaders ea0aceac518ec52d (or KYTY_SKIP_SHADER_HASHES=ea0aceac518ec52d)
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#1885
No description provided.