[GAME STATUS]: Baldur's Gate 3 (Doesn't Boot) #2334

Open
opened 2026-11-26 10:18:35 +00:00 by github-bot · 8 comments
Owner

@⁠Crispy81 on GitHub · 2026-11-17 02:31 UTC · original

Game title

Baldur's Gate 3

Game ID / serial

PPSA18463

KytyPS5 version

0.3.0 1e87171

Compatibility status

Doesn't boot

Last working build / first broken build

No response

Result details

Attempted to boot game, crashed almost immediately with:

Depth target fatal: unsupported depth register state
--- Build ---
Official build KytyPS5-2026-11-16-1e87171
--- Error ---
unsupported render state; details were printed above
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\depthRenderTarget.cpp:39

Steps to reproduce the result

  1. Open Translator
  2. Boot Game.

Expected behavior

Game splash screens/logos would appear before proceeding to main menu.

OS

Windows 11 Pro 26H2

CPU

AMD Ryzen 7 7700X

GPU

AMD Radeon RX 9070XT, Driver 26.10.1

RAM / VRAM

32 GB RAM / 16GB VRAM

Log file upload

_kyty.txt

Screenshots/video

No response

Extra notes

Default settings.

**@⁠Crispy81** on GitHub · 2026-11-17 02:31 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2334) ### Game title Baldur's Gate 3 ### Game ID / serial PPSA18463 ### KytyPS5 version 0.3.0 1e87171 ### Compatibility status Doesn't boot ### Last working build / first broken build _No response_ ### Result details Attempted to boot game, crashed almost immediately with: Depth target fatal: unsupported depth register state --- Build --- Official build KytyPS5-2026-11-16-1e87171 --- Error --- unsupported render state; details were printed above in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\depthRenderTarget.cpp:39 ### Steps to reproduce the result 1. Open Translator 2. Boot Game. ### Expected behavior Game splash screens/logos would appear before proceeding to main menu. ### OS Windows 11 Pro 26H2 ### CPU AMD Ryzen 7 7700X ### GPU AMD Radeon RX 9070XT, Driver 26.10.1 ### RAM / VRAM 32 GB RAM / 16GB VRAM ### Log file upload [_kyty.txt](https://github.com/user-attachments/files/34948232/_kyty.txt) ### Screenshots/video _No response_ ### Extra notes Default settings.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:18:35 +00:00
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-17 19:25 UTC · original

@⁠Crispy81 Thanks for the report. "unsupported depth register state" comes from one of two checks in depthRenderTarget.cpp (lines 160 and 305), and each covers several register values. The details went to stderr, so they are not in _kyty.txt.

This test build writes the failing values into the error message itself: official 4da95bd + error-message changes only (this one and one for another issue), it fixes nothing yet. Windows build (artifact KytyPS5-Windows-x64).

Could you boot Baldur's Gate 3 once with it and paste the --- Error --- lines (they start with Depth target fatal: ... [site ...])? With those values I can see which register state the game uses and support it.

**@⁠Nawid3333** on GitHub · 2026-11-17 19:25 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2334#issuecomment-6958525332) @⁠Crispy81 Thanks for the report. "unsupported depth register state" comes from one of two checks in depthRenderTarget.cpp (lines 160 and 305), and each covers several register values. The details went to stderr, so they are not in `_kyty.txt`. This test build writes the failing values into the error message itself: official `4da95bd` + error-message changes only (this one and one for another issue), it fixes nothing yet. [Windows build](https://github.com/Nawid3333/KytyPS5/actions/runs/44153382773) (artifact `KytyPS5-Windows-x64`). Could you boot Baldur's Gate 3 once with it and paste the `--- Error ---` lines (they start with `Depth target fatal: ... [site ...]`)? With those values I can see which register state the game uses and support it.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-17 20:34 UTC · original

Shaders: VS 3 | PS 2 | CS 8 | GS 0 | LS 0 | HS 0 | TES 0
Depth target fatal: unsupported depth register state [site 160] max_mip=0 shading_rate=0 htile=1 address=0x0 write_buffer=0
--- Build ---
Fork build Nawid3333/KytyPS5 a1d3074
--- Error ---
Depth target fatal: unsupported depth register state [site 160] max_mip=0 shading_rate=0 htile=1 address=0x0 write_buffer=0
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\depthRenderTarget.cpp:40

**@⁠Crispy81** on GitHub · 2026-11-17 20:34 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2334#issuecomment-6960226637) Shaders: VS 3 | PS 2 | CS 8 | GS 0 | LS 0 | HS 0 | TES 0 Depth target fatal: unsupported depth register state [site 160] max_mip=0 shading_rate=0 htile=1 address=0x0 write_buffer=0 --- Build --- Fork build Nawid3333/KytyPS5 a1d3074 --- Error --- Depth target fatal: unsupported depth register state [site 160] max_mip=0 shading_rate=0 htile=1 address=0x0 write_buffer=0 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\depthRenderTarget.cpp:40
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-17 21:06 UTC · original

@⁠Crispy81 Thanks, that narrows it down. The check at site 160 stops because the depth buffer address is 0 while HTile (depth compression metadata) is on. What is still unknown is whether the game uses depth in that draw at all (depth test, depth write, stencil) or only leaves a zero address bound while depth is off. Those two cases need different handling.

This second test build also prints the depth and stencil control registers, all depth addresses and the target size at that check: official 4da95bd + error-message changes only, it fixes nothing yet. Windows build (artifact KytyPS5-Windows-x64).

Could you boot Baldur's Gate 3 once more with it and paste the --- Error --- lines again?

**@⁠Nawid3333** on GitHub · 2026-11-17 21:06 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2334#issuecomment-6961014882) @⁠Crispy81 Thanks, that narrows it down. The check at site 160 stops because the depth buffer address is 0 while HTile (depth compression metadata) is on. What is still unknown is whether the game uses depth in that draw at all (depth test, depth write, stencil) or only leaves a zero address bound while depth is off. Those two cases need different handling. This second test build also prints the depth and stencil control registers, all depth addresses and the target size at that check: official `4da95bd` + error-message changes only, it fixes nothing yet. [Windows build](https://github.com/Nawid3333/KytyPS5/actions/runs/44171103372) (artifact `KytyPS5-Windows-x64`). Could you boot Baldur's Gate 3 once more with it and paste the `--- Error ---` lines again?
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-17 21:12 UTC · original

Shaders: VS 3 | PS 2 | CS 8 | GS 0 | LS 0 | HS 0 | TES 0
Depth target fatal: unsupported depth register state [site 160] max_mip=0 shading_rate=0 htile=1 address=0x0 write_buffer=0 | z_format=0 stencil_format=1 samples=0 z_read=0x0 z_write=0x0 s_read=0x2db440000 s_write=0x2db440000 htile_addr=0x2dbe08000 size_valid=1 size=2560x1440 slices=0..0 mip=0 expclear=0/0 | z_enable=1 z_write=0 stencil_enable=1 bounds=0 zfunc=7 | depth_clear=0 stencil_clear=1 depth_compress_disable=0 stencil_compress_disable=0 resummarize=0 copy_z=0 copy_s=0 | force_z_valid=0 force_z_dirty=0 force_s_valid=0 force_s_dirty=0 | color_mode=1 depth_write_disable=0 stencil_write_disable=0
--- Build ---
Fork build Nawid3333/KytyPS5 2a58d7f
--- Error ---
Depth target fatal: unsupported depth register state [site 160] max_mip=0 shading_rate=0 htile=1 address=0x0 write_buffer=0 | z_format=0 stencil_format=1 samples=0 z_read=0x0 z_write=0x0 s_read=0x2db440000 s_write=0x2db440000 htile_addr=0x2dbe08000 size_valid=1 size=2560x1440 slices=0..0 mip=0 expclear=0/0 | z_enable=1 z_write=0 stencil_enable=1 bounds=0 zfunc=7 | depth_clear=0 stencil_clear=1 depth_compress_disable=0 stencil_compress_disable=0 resummarize=0 copy_z=0 copy_s=0 | force_z_valid=0 force_z_dirty=0 force_s_valid=0 force_s_dirty=0 | color_mode=1 depth_write_disable=0 stencil_write_disable=0
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\depthRenderTarget.cpp:40

**@⁠Crispy81** on GitHub · 2026-11-17 21:12 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2334#issuecomment-6961158896) Shaders: VS 3 | PS 2 | CS 8 | GS 0 | LS 0 | HS 0 | TES 0 Depth target fatal: unsupported depth register state [site 160] max_mip=0 shading_rate=0 htile=1 address=0x0 write_buffer=0 | z_format=0 stencil_format=1 samples=0 z_read=0x0 z_write=0x0 s_read=0x2db440000 s_write=0x2db440000 htile_addr=0x2dbe08000 size_valid=1 size=2560x1440 slices=0..0 mip=0 expclear=0/0 | z_enable=1 z_write=0 stencil_enable=1 bounds=0 zfunc=7 | depth_clear=0 stencil_clear=1 depth_compress_disable=0 stencil_compress_disable=0 resummarize=0 copy_z=0 copy_s=0 | force_z_valid=0 force_z_dirty=0 force_s_valid=0 force_s_dirty=0 | color_mode=1 depth_write_disable=0 stencil_write_disable=0 --- Build --- Fork build Nawid3333/KytyPS5 2a58d7f --- Error --- Depth target fatal: unsupported depth register state [site 160] max_mip=0 shading_rate=0 htile=1 address=0x0 write_buffer=0 | z_format=0 stencil_format=1 samples=0 z_read=0x0 z_write=0x0 s_read=0x2db440000 s_write=0x2db440000 htile_addr=0x2dbe08000 size_valid=1 size=2560x1440 slices=0..0 mip=0 expclear=0/0 | z_enable=1 z_write=0 stencil_enable=1 bounds=0 zfunc=7 | depth_clear=0 stencil_clear=1 depth_compress_disable=0 stencil_compress_disable=0 resummarize=0 copy_z=0 copy_s=0 | force_z_valid=0 force_z_dirty=0 force_s_valid=0 force_s_dirty=0 | color_mode=1 depth_write_disable=0 stencil_write_disable=0 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\depthRenderTarget.cpp:40
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-17 23:51 UTC · original

@⁠Crispy81 Thanks, those values show the case. The depth format is invalid (z_format=0): the target has no depth surface, only an 8-bit stencil buffer with HTile. The game still enables the depth test (with "always pass") and clears the stencil. KytyPS5 only knew depth targets with a depth surface, so it stopped at the missing depth address.

This test build binds such a target as a stencil-only attachment, keeps its HTile metadata and stencil clears, and turns the depth test off when there is no depth surface: official 2638b1b + this change. Windows build (artifact KytyPS5-Windows-x64).

Could you run Baldur's Gate 3 with it? If it stops somewhere else, please attach the new _kyty.txt.

(The _kyty.txt you attached on #2321 earlier, from 6961333342, is this Baldur's Gate 3 run, title ID PPSA18463, so the Crimson Desert shader log is still open there.)

**@⁠Nawid3333** on GitHub · 2026-11-17 23:51 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2334#issuecomment-6964496142) @⁠Crispy81 Thanks, those values show the case. The depth format is invalid (`z_format=0`): the target has no depth surface, only an 8-bit stencil buffer with HTile. The game still enables the depth test (with "always pass") and clears the stencil. KytyPS5 only knew depth targets with a depth surface, so it stopped at the missing depth address. This test build binds such a target as a stencil-only attachment, keeps its HTile metadata and stencil clears, and turns the depth test off when there is no depth surface: official `2638b1b` + this change. [Windows build](https://github.com/Nawid3333/KytyPS5/actions/runs/44198591074) (artifact `KytyPS5-Windows-x64`). Could you run Baldur's Gate 3 with it? If it stops somewhere else, please attach the new `_kyty.txt`. (The `_kyty.txt` you attached on #2321 earlier, from 6961333342, is this Baldur's Gate 3 run, title ID PPSA18463, so the Crimson Desert shader log is still open there.)
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-18 02:50 UTC · original

Game makes it to the main menu. Character creation screens and opening cutscene before crashing.

Screenshot 2026-11-18 133547 Screenshot 2026-11-18 134741 Screenshot 2026-11-18 134749

Shaders: VS 266 | PS 263 | CS 86 | GS 0 | LS 0 | HS 0 | TES 0
--- Build ---
Fork build Nawid3333/KytyPS5 191a9a7
--- Error ---
shader resource tracking: hash=0xec3ca42a550fe755 stage=compute pc=0x00000a20 image resource limit exceeded in D:\a\KytyPS5\KytyPS5\src\graphics\shader\recompiler\ir\passes\ResourceTracking.cpp:646

**@⁠Crispy81** on GitHub · 2026-11-18 02:50 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2334#issuecomment-6967527362) Game makes it to the main menu. Character creation screens and opening cutscene before crashing. <img width="1920" height="1115" alt="Screenshot 2026-11-18 133547" src="https://github.com/user-attachments/assets/6d08a786-8dc1-412e-8eb3-ac938498f372" /> <img width="1917" height="1112" alt="Screenshot 2026-11-18 134741" src="https://github.com/user-attachments/assets/f28f2b72-5849-43cf-bd4c-8332b79bce71" /> <img width="1921" height="1112" alt="Screenshot 2026-11-18 134749" src="https://github.com/user-attachments/assets/de3fbc62-f67b-42de-bedc-0520e0529a59" /> Shaders: VS 266 | PS 263 | CS 86 | GS 0 | LS 0 | HS 0 | TES 0 --- Build --- Fork build Nawid3333/KytyPS5 191a9a7 --- Error --- shader resource tracking: hash=0xec3ca42a550fe755 stage=compute pc=0x00000a20 image resource limit exceeded in D:\a\KytyPS5\KytyPS5\src\graphics\shader\recompiler\ir\passes\ResourceTracking.cpp:646
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-18 07:24 UTC · original

@⁠Crispy81 Thanks, that is a big step: the stencil-only target works, and the game now gets through the main menu and character creation.

The new stop is a compute shader that needs more than 64 image bindings. KytyPS5 allows at most 64 per shader (ShaderInfo::MaxImages), so it stopped in the shader translation. Open PR #2292 raises that limit to 128 (Code Vein II stopped at the same limit).

This test build is the previous one + #2292: official 2638b1b + the stencil-only change + #2292. Windows build (artifact KytyPS5-Windows-x64).

Could you run Baldur's Gate 3 with it? If it stops somewhere else, please attach the new _kyty.txt.

**@⁠Nawid3333** on GitHub · 2026-11-18 07:24 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2334#issuecomment-6971986688) @⁠Crispy81 Thanks, that is a big step: the stencil-only target works, and the game now gets through the main menu and character creation. The new stop is a compute shader that needs more than 64 image bindings. KytyPS5 allows at most 64 per shader (`ShaderInfo::MaxImages`), so it stopped in the shader translation. Open PR #2292 raises that limit to 128 (Code Vein II stopped at the same limit). This test build is the previous one + #2292: official `2638b1b` + the stencil-only change + #2292. [Windows build](https://github.com/Nawid3333/KytyPS5/actions/runs/44248636917) (artifact `KytyPS5-Windows-x64`). Could you run Baldur's Gate 3 with it? If it stops somewhere else, please attach the new `_kyty.txt`.
Author
Owner

@⁠Crispy81 on GitHub · 2026-11-18 08:17 UTC · original

Yes, goes in game with that fork. Extremely low frame rate and stuttering audio though.

Screenshot 2026-11-18 133547 Screenshot 2026-11-18 134741 Screenshot 2026-11-18 134749 Screenshot 2026-11-18 191247 Screenshot 2026-11-18 191601
**@⁠Crispy81** on GitHub · 2026-11-18 08:17 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2334#issuecomment-6972992714) Yes, goes in game with that fork. Extremely low frame rate and stuttering audio though. <img width="1920" height="1115" alt="Screenshot 2026-11-18 133547" src="https://github.com/user-attachments/assets/e632af8f-9b81-4a1c-a8f9-138c360a64d3" /> <img width="1917" height="1112" alt="Screenshot 2026-11-18 134741" src="https://github.com/user-attachments/assets/f6e39832-7c00-4dc0-9128-2d59f5e51ed3" /> <img width="1921" height="1112" alt="Screenshot 2026-11-18 134749" src="https://github.com/user-attachments/assets/c659e469-c59b-4998-8755-7ec1472f9b16" /> <img width="1924" height="1109" alt="Screenshot 2026-11-18 191247" src="https://github.com/user-attachments/assets/42d3a8ef-7fd9-4c42-80ba-fe797220a5c7" /> <img width="1922" height="1111" alt="Screenshot 2026-11-18 191601" src="https://github.com/user-attachments/assets/cf00f0e4-e9bc-4917-a9c6-d5491b075e77" />
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#2334
No description provided.