[GAME STATUS]: Demon's Souls - depth attachment feedback loop is not supported by the host #904

Closed
opened 2026-11-26 09:36:39 +00:00 by github-bot · 15 comments
Owner

@⁠kamelot72 on GitHub · 2026-09-29 10:56 UTC · original

Game title

Demon's Souls

Game ID / serial

PPSA01342

KytyPS5 version

KytyPS5-2026-09-28-539c0f7

Compatibility status

Doesn't boot

Last working build / first broken build

No response

Result details

Game is not starting:
Shaders: VS 2 | PS 8 | CS 117 | GS 0 | LS 0 | HS 0 | TES 0
Shaders: VS 2 | PS 8 | CS 118 | GS 0 | LS 0 | HS 0 | TES 0
--- Build ---
Official build KytyPS5-2026-09-28-539c0f7
--- Error ---
depth attachment feedback loop is not supported by the host
in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\renderDraw.cpp:532

Steps to reproduce the result

  1. Open KytyPS5
  2. Start the game

Expected behavior

Game should start.

OS

Windows 11 Pro 25H2 64GB

CPU

i9 12900

GPU

RADEON RX 9070 XT 16GB

RAM / VRAM

16GB

Log file upload

_kyty.zip

Screenshots/video

No response

Extra notes

No response

**@⁠kamelot72** on GitHub · 2026-09-29 10:56 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904) ### Game title Demon's Souls ### Game ID / serial PPSA01342 ### KytyPS5 version KytyPS5-2026-09-28-539c0f7 ### Compatibility status Doesn't boot ### Last working build / first broken build _No response_ ### Result details Game is not starting: Shaders: VS 2 | PS 8 | CS 117 | GS 0 | LS 0 | HS 0 | TES 0 Shaders: VS 2 | PS 8 | CS 118 | GS 0 | LS 0 | HS 0 | TES 0 --- Build --- Official build KytyPS5-2026-09-28-539c0f7 --- Error --- depth attachment feedback loop is not supported by the host in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\renderDraw.cpp:532 ### Steps to reproduce the result 1. Open KytyPS5 2. Start the game 3. ### Expected behavior Game should start. ### OS Windows 11 Pro 25H2 64GB ### CPU i9 12900 ### GPU RADEON RX 9070 XT 16GB ### RAM / VRAM 16GB ### Log file upload [_kyty.zip](https://github.com/user-attachments/files/32799363/_kyty.zip) ### Screenshots/video _No response_ ### Extra notes _No response_
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:36:39 +00:00
Author
Owner

@⁠joaodiaslobo on GitHub · 2026-09-30 12:11 UTC · original

I opened #943 which should fix this. I could not test on an AMD card though, so it would be good to know if it works on yours.
You can test this by building the emulator on that branch and running the game.

**@⁠joaodiaslobo** on GitHub · 2026-09-30 12:11 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5911049260) I opened #943 which should fix this. I could not test on an AMD card though, so it would be good to know if it works on yours. You can test this by building the emulator on that branch and running the game.
Author
Owner

@⁠kamelot72 on GitHub · 2026-09-30 14:38 UTC · original

Thanks! I have built the emulator with #943. The game now is starting but i's very slow, like 11fps. Checking my CPU/GPU, my 24 cores are maxing out and the GPU is only 7% used. So I guess the GPU has been discarded for rendring?

**@⁠kamelot72** on GitHub · 2026-09-30 14:38 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5913501263) Thanks! I have built the emulator with #943. The game now is starting but i's very slow, like 11fps. Checking my CPU/GPU, my 24 cores are maxing out and the GPU is only 7% used. So I guess the GPU has been discarded for rendring?
Author
Owner

@⁠kamelot72 on GitHub · 2026-09-30 15:56 UTC · original

It crashed later also after this sequence:

Image Image
**@⁠kamelot72** on GitHub · 2026-09-30 15:56 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5914880570) It crashed later also after this sequence: <img width="635" height="362" alt="Image" src="https://github.com/user-attachments/assets/960ff0ef-b247-437d-98aa-92dd58f64c22" /> <img width="701" height="135" alt="Image" src="https://github.com/user-attachments/assets/137ced99-bc3b-44dc-9971-df853b290164" />
Author
Owner

@⁠joaodiaslobo on GitHub · 2026-09-30 16:31 UTC · original

Thanks for testing!

On the fps, I do not think it is related to this change. Your GPU sitting at 7 percent while all 24 cores max out means the bottleneck is on the CPU side, and the image layout this PR touches only affects GPU work. Demon's Souls is slow for other people too, so it looks like a separate problem with the game rather than something AMD specific.

On the error coming back later, that is expected and the check is doing the right thing. There are two different situations that both looked the same before. One is a draw that only clears the depth buffer while also reading it, which is harmless because the clear happens before anything is drawn. That was the one stopping the game at boot and it is what this PR allows through. The other is a draw that actually writes depth while reading it at the same time, and that one really does need the extension your card does not have.

So this gets the game booting and running, but the later draw is a real case and it still stops. Making that one work is a bigger change but its good to know how far it gets now though. 👍

**@⁠joaodiaslobo** on GitHub · 2026-09-30 16:31 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5915437803) Thanks for testing! On the fps, I do not think it is related to this change. Your GPU sitting at 7 percent while all 24 cores max out means the bottleneck is on the CPU side, and the image layout this PR touches only affects GPU work. Demon's Souls is slow for other people too, so it looks like a separate problem with the game rather than something AMD specific. On the error coming back later, that is expected and the check is doing the right thing. There are two different situations that both looked the same before. One is a draw that only clears the depth buffer while also reading it, which is harmless because the clear happens before anything is drawn. That was the one stopping the game at boot and it is what this PR allows through. The other is a draw that actually writes depth while reading it at the same time, and that one really does need the extension your card does not have. So this gets the game booting and running, but the later draw is a real case and it still stops. Making that one work is a bigger change but its good to know how far it gets now though. 👍
Author
Owner

@⁠AlanCole72 on GitHub · 2026-09-30 17:21 UTC · original · edited 2026-09-30 17:24 UTC

I get a very similar error with the 30 Sept version. I have a 9070XT, 5800X3D, 32GB RAM. Win11 25H2. It doesn't get beyond compiling the shaders though

Image
**@⁠AlanCole72** on GitHub · 2026-09-30 17:21 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5916218227) · edited 2026-09-30 17:24 UTC I get a very similar error with the 30 Sept version. I have a 9070XT, 5800X3D, 32GB RAM. Win11 25H2. It doesn't get beyond compiling the shaders though <img width="1100" height="556" alt="Image" src="https://github.com/user-attachments/assets/9784d642-bbcf-4ff4-a356-3692b76081b9" />
Author
Owner

@⁠kamelot72 on GitHub · 2026-09-30 19:11 UTC · original

Have you recompiled the emulator with the bug fix #943 from João?

On Wed, 30 Sept 2026, 18:22 AlanCole72, @.***> wrote:

AlanCole72 left a comment (KytyPS5/KytyPS5#904)
https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904

I get a very similar error with the 30 Sept version. I have a 9070XT,
5800X3D, 32GB RAM. It doesn't get beyond compiling the shaders though
Image: Image (view on web)
https://github.com/user-attachments/assets/9784d642-bbcf-4ff4-a356-3692b76081b9

—
Reply to this email directly, view it on GitHub
https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904?email_source=notifications&email_token=ABSNTBLMGAE7DXMF3IZIHML5RU6LRA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJRGYZDCOBSGI32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5916218227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSNTBJG3BPV7BV4YLBXTW35RU6LRAVCNFSNUABGKJSXA33TNF2G64TZHMYTENRUGA4TQMZWG45US43TOVSTWNJWGI4TGOJUHEZTNILWAI
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
https://github.com/notifications/mobile/ios/ABSNTBM55LS533NAUKWRMWL5RU6LTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJRGYZDCOBSGI32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG
and Android
https://github.com/notifications/mobile/android/ABSNTBPK42VOQVCO6OL6QK35RU6LTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJRGYZDCOBSGI32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA.
Download it today!
You are receiving this because you authored the thread.Message ID:
@.***>

**@⁠kamelot72** on GitHub · 2026-09-30 19:11 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5917924224) Have you recompiled the emulator with the bug fix #943 from João? On Wed, 30 Sept 2026, 18:22 AlanCole72, ***@***.***> wrote: > *AlanCole72* left a comment (KytyPS5/KytyPS5#904) > <https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904> > > I get a very similar error with the 30 Sept version. I have a 9070XT, > 5800X3D, 32GB RAM. It doesn't get beyond compiling the shaders though > Image: Image (view on web) > <https://github.com/user-attachments/assets/9784d642-bbcf-4ff4-a356-3692b76081b9> > > — > Reply to this email directly, view it on GitHub > <https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904?email_source=notifications&email_token=ABSNTBLMGAE7DXMF3IZIHML5RU6LRA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJRGYZDCOBSGI32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5916218227>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABSNTBJG3BPV7BV4YLBXTW35RU6LRAVCNFSNUABGKJSXA33TNF2G64TZHMYTENRUGA4TQMZWG45US43TOVSTWNJWGI4TGOJUHEZTNILWAI> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/ABSNTBM55LS533NAUKWRMWL5RU6LTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJRGYZDCOBSGI32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG> > and Android > <https://github.com/notifications/mobile/android/ABSNTBPK42VOQVCO6OL6QK35RU6LTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJRGYZDCOBSGI32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>. > Download it today! > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@⁠AlanCole72 on GitHub · 2026-10-01 08:01 UTC · original

Have you recompiled the emulator with the bug fix #943 from João?
…

No, I was just using the latest release at the time. A search for the error message led me here.

**@⁠AlanCole72** on GitHub · 2026-10-01 08:01 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5927312405) > Have you recompiled the emulator with the bug fix [#943](https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/943) from João? > […](#) No, I was just using the latest release at the time. A search for the error message led me here.
Author
Owner

@⁠kamelot72 on GitHub · 2026-10-01 08:04 UTC · original

Well, you need to do this. It takes a bit of time to setup the environment
but it's fun.

Otherwise wait for the change to be merged into the main branch.

Anyway, the game is crashing again a bit later sadly.

On Thu, 1 Oct 2026, 09:01 AlanCole72, @.***> wrote:

AlanCole72 left a comment (KytyPS5/KytyPS5#904)
https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904

Have you recompiled the emulator with the bug fix #943
https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/943 from João?
… <#m_-3634753261519381733_>

No, I was just using the latest release at the time. A search for the
error message led me here.

—
Reply to this email directly, view it on GitHub
https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904?email_source=notifications&email_token=ABSNTBO46PWN5YPCKAKZKYL5RYFORA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJSG4ZTCMRUGA22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5927312405,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSNTBMIFBWKQP3MWW4SX5L5RYFORAVCNFSNUABGKJSXA33TNF2G64TZHMYTENRUGA4TQMZWG45US43TOVSTWNJWGI4TGOJUHEZTNILWAI
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
https://github.com/notifications/mobile/ios/ABSNTBOHECL23Y5COTGM6TD5RYFORA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJSG4ZTCMRUGA22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG
and Android
https://github.com/notifications/mobile/android/ABSNTBMIUUJMDVSKJSWKYWD5RYFORA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJSG4ZTCMRUGA22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA.
Download it today!
You are receiving this because you authored the thread.Message ID:
@.***>

**@⁠kamelot72** on GitHub · 2026-10-01 08:04 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5927353324) Well, you need to do this. It takes a bit of time to setup the environment but it's fun. Otherwise wait for the change to be merged into the main branch. Anyway, the game is crashing again a bit later sadly. On Thu, 1 Oct 2026, 09:01 AlanCole72, ***@***.***> wrote: > *AlanCole72* left a comment (KytyPS5/KytyPS5#904) > <https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904> > > Have you recompiled the emulator with the bug fix #943 > <https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/943> from João? > … <#m_-3634753261519381733_> > > No, I was just using the latest release at the time. A search for the > error message led me here. > > — > Reply to this email directly, view it on GitHub > <https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904?email_source=notifications&email_token=ABSNTBO46PWN5YPCKAKZKYL5RYFORA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJSG4ZTCMRUGA22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5927312405>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABSNTBMIFBWKQP3MWW4SX5L5RYFORAVCNFSNUABGKJSXA33TNF2G64TZHMYTENRUGA4TQMZWG45US43TOVSTWNJWGI4TGOJUHEZTNILWAI> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/ABSNTBOHECL23Y5COTGM6TD5RYFORA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJSG4ZTCMRUGA22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG> > and Android > <https://github.com/notifications/mobile/android/ABSNTBMIUUJMDVSKJSWKYWD5RYFORA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJSG4ZTCMRUGA22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>. > Download it today! > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@⁠AlanCole72 on GitHub · 2026-10-01 17:09 UTC · original

I built it from source with #943 and now it gets past that stage. It runs about 5 fps, then crashes during the opening sequence.

**@⁠AlanCole72** on GitHub · 2026-10-01 17:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5936520221) I built it from source with #943 and now it gets past that stage. It runs about 5 fps, then crashes during the opening sequence.
Author
Owner

@⁠kamelot72 on GitHub · 2026-10-01 17:53 UTC · original

Well done! Same issue with me. Strange as I have seen 20/30 fps with a
lower CPU specs. I have an i9-12900.

On Thu, 1 Oct 2026, 18:09 AlanCole72, @.***> wrote:

AlanCole72 left a comment (KytyPS5/KytyPS5#904)
https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904

I built it from source with #943
https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/943 and now it gets past that
stage. It runs about 5 fps, then crashes during the opening sequence.

—
Reply to this email directly, view it on GitHub
https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904?email_source=notifications&email_token=ABSNTBIGKKCVRFQIYBDVFNT5R2FVTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJTGY2TEMBSGIY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5936520221,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSNTBMZ2PGISVHMURRIF3L5R2FVTAVCNFSNUABGKJSXA33TNF2G64TZHMYTENRUGA4TQMZWG45US43TOVSTWNJWGI4TGOJUHEZTNILWAI
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
https://github.com/notifications/mobile/ios/ABSNTBPYSFZOI37EWHRD2FT5R2FVTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJTGY2TEMBSGIY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG
and Android
https://github.com/notifications/mobile/android/ABSNTBLQ3YCGLOKEFVDMP235R2FVTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJTGY2TEMBSGIY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA.
Download it today!
You are receiving this because you authored the thread.Message ID:
@.***>

**@⁠kamelot72** on GitHub · 2026-10-01 17:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5937230048) Well done! Same issue with me. Strange as I have seen 20/30 fps with a lower CPU specs. I have an i9-12900. On Thu, 1 Oct 2026, 18:09 AlanCole72, ***@***.***> wrote: > *AlanCole72* left a comment (KytyPS5/KytyPS5#904) > <https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904> > > I built it from source with #943 > <https://git.gtahub.st/github/KytyPS5--KytyPS5/pulls/943> and now it gets past that > stage. It runs about 5 fps, then crashes during the opening sequence. > > — > Reply to this email directly, view it on GitHub > <https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/904?email_source=notifications&email_token=ABSNTBIGKKCVRFQIYBDVFNT5R2FVTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJTGY2TEMBSGIY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5936520221>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABSNTBMZ2PGISVHMURRIF3L5R2FVTAVCNFSNUABGKJSXA33TNF2G64TZHMYTENRUGA4TQMZWG45US43TOVSTWNJWGI4TGOJUHEZTNILWAI> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/ABSNTBPYSFZOI37EWHRD2FT5R2FVTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJTGY2TEMBSGIY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG> > and Android > <https://github.com/notifications/mobile/android/ABSNTBLQ3YCGLOKEFVDMP235R2FVTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJTGY2TEMBSGIY2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>. > Download it today! > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@⁠AlanCole72 on GitHub · 2026-10-02 07:29 UTC · original

The FPS does jump around, sometimes I'll get 30-35, sometimes it drops to single figures.

I noticed this warning during the build, it might be related to the low GPU utilisation. My CPU is maxed out but the GPU isn't being used at all:

-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)

**@⁠AlanCole72** on GitHub · 2026-10-02 07:29 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5947392152) The FPS does jump around, sometimes I'll get 30-35, sometimes it drops to single figures. I noticed this warning during the build, it _might_ be related to the low GPU utilisation. My CPU is maxed out but the GPU isn't being used at all: -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
Author
Owner

@⁠kamelot72 on GitHub · 2026-10-02 21:36 UTC · original

Thanks for testing!

On the fps, I do not think it is related to this change. Your GPU sitting at 7 percent while all 24 cores max out means the bottleneck is on the CPU side, and the image layout this PR touches only affects GPU work. Demon's Souls is slow for other people too, so it looks like a separate problem with the game rather than something AMD specific.

On the error coming back later, that is expected and the check is doing the right thing. There are two different situations that both looked the same before. One is a draw that only clears the depth buffer while also reading it, which is harmless because the clear happens before anything is drawn. That was the one stopping the game at boot and it is what this PR allows through. The other is a draw that actually writes depth while reading it at the same time, and that one really does need the extension your card does not have.

So this gets the game booting and running, but the later draw is a real case and it still stops. Making that one work is a bigger change but its good to know how far it gets now though. 👍

Thanks for the exaplanation, which extension is missing? I have attached my vulkaninfo if this can help.

vulkaninfo.log

**@⁠kamelot72** on GitHub · 2026-10-02 21:36 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5961857415) > Thanks for testing! > > On the fps, I do not think it is related to this change. Your GPU sitting at 7 percent while all 24 cores max out means the bottleneck is on the CPU side, and the image layout this PR touches only affects GPU work. Demon's Souls is slow for other people too, so it looks like a separate problem with the game rather than something AMD specific. > > On the error coming back later, that is expected and the check is doing the right thing. There are two different situations that both looked the same before. One is a draw that only clears the depth buffer while also reading it, which is harmless because the clear happens before anything is drawn. That was the one stopping the game at boot and it is what this PR allows through. The other is a draw that actually writes depth while reading it at the same time, and that one really does need the extension your card does not have. > > So this gets the game booting and running, but the later draw is a real case and it still stops. Making that one work is a bigger change but its good to know how far it gets now though. 👍 Thanks for the exaplanation, which extension is missing? I have attached my vulkaninfo if this can help. [vulkaninfo.log](https://github.com/user-attachments/files/32982138/vulkaninfo.log)
Author
Owner

@⁠joaodiaslobo on GitHub · 2026-10-03 18:53 UTC · original

@⁠kamelot72 Thanks for the vulkaninfo, that made it easy to check.

The emulator needs two extensions to handle a draw that writes depth while also reading it:

  • VK_EXT_attachment_feedback_loop_layout which your card has
  • VK_EXT_attachment_feedback_loop_dynamic_state this is the missing one

You don't need to change anything on your side. The missing extension only lets the emulator turn the feedback loop on and off per draw. The extension your card does have also allows building that setting into the pipeline itself, so there's a possible fallback for cards like yours. Not sure if it's a small change, but it should be doable.

**@⁠joaodiaslobo** on GitHub · 2026-10-03 18:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5972394140) @⁠kamelot72 Thanks for the vulkaninfo, that made it easy to check. The emulator needs two extensions to handle a draw that writes depth while also reading it: - `VK_EXT_attachment_feedback_loop_layout` which your card has - `VK_EXT_attachment_feedback_loop_dynamic_state` **this is the missing one** You don't need to change anything on your side. The missing extension only lets the emulator turn the feedback loop on and off per draw. The extension your card does have also allows building that setting into the pipeline itself, so there's a possible fallback for cards like yours. Not sure if it's a small change, but it should be doable.
Author
Owner

@⁠kamelot72 on GitHub · 2026-10-04 16:30 UTC · original

@⁠kamelot72 Thanks for the vulkaninfo, that made it easy to check.

The emulator needs two extensions to handle a draw that writes depth while also reading it:

  • VK_EXT_attachment_feedback_loop_layout which your card has
  • VK_EXT_attachment_feedback_loop_dynamic_state this is the missing one

You don't need to change anything on your side. The missing extension only lets the emulator turn the feedback loop on and off per draw. The extension your card does have also allows building that setting into the pipeline itself, so there's a possible fallback for cards like yours. Not sure if it's a small change, but it should be doable.

Thanks for looking in to this, let us know if you need anything :-)

**@⁠kamelot72** on GitHub · 2026-10-04 16:30 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-5982109352) > [@⁠kamelot72](https://github.com/kamelot72) Thanks for the vulkaninfo, that made it easy to check. > > The emulator needs two extensions to handle a draw that writes depth while also reading it: > > * `VK_EXT_attachment_feedback_loop_layout` which your card has > * `VK_EXT_attachment_feedback_loop_dynamic_state` **this is the missing one** > > You don't need to change anything on your side. The missing extension only lets the emulator turn the feedback loop on and off per draw. The extension your card does have also allows building that setting into the pipeline itself, so there's a possible fallback for cards like yours. Not sure if it's a small change, but it should be doable. Thanks for looking in to this, let us know if you need anything :-)
Author
Owner

@⁠kamelot72 on GitHub · 2026-10-11 18:58 UTC · original

Tested PR #1187, the game is not crashing anymore where it used to. I can reach the in game play, this is nice.
But the frame rate is 1 or 2 fps. I can reach 26fps during the introduction scene of the game.

When doing the cmake -S . -B _Build/windows -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_PREFIX_PATH="c:/Users/Laurent/Documents/Qt\6.12.0/msvc2022_64"

I can see some errors like:
-- Could NOT find rocprofiler-sdk (missing: rocprofiler-sdk_DIR)
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
and some warnings. I attached the ouput of the cmake.

cmake.log

**@⁠kamelot72** on GitHub · 2026-10-11 18:58 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/904#issuecomment-6112533359) Tested PR #1187, the game is not crashing anymore where it used to. I can reach the in game play, this is nice. But the frame rate is 1 or 2 fps. I can reach 26fps during the introduction scene of the game. When doing the cmake -S . -B _Build/windows -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_PREFIX_PATH="c:/Users/Laurent/Documents/Qt\6.12.0/msvc2022_64" I can see some errors like: -- Could NOT find rocprofiler-sdk (missing: rocprofiler-sdk_DIR) -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) and some warnings. I attached the ouput of the cmake. [cmake.log](https://github.com/user-attachments/files/33309724/cmake.log)
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#904
No description provided.