protonscr

GTA Vice City Massive FPS Drop in Latest Artifacts

dxvkclosed d3d9d3d8
doitsujin/dxvk#4282 路 opened 2024-09-22 by niresh1234 路 updated 2024-09-22 路 3 comments 路 github
Nniresh1234 2024-09-22 github

GTA Vice City Massive FPS Drop in Latest Artifacts
in My modded game (d3d9 - using d3d8to9 wrapper)

issue introduced from these commit 馃憠 https://github.com/doitsujin/dxvk/commit/daccde7643a2b3ce0e67c2d460d29145c788d6bb

before these commit = game stable at 60FPS
after these commit = only 30-45FPS and sometime crash if ESE key press
.
.
.
here the part that remove from commit...
I re-add this part in latest master and the issue suddenly gone......... (see here what I change 馃憠https://github.com/niresh1234/dxvk/commit/95797e4bee875eb4abe19841a3cfa627da4d29ed)

    // Ignore sampled bit in case the image was created with
    // an image flag that only allows attachment usage
    if (m_desc.IsAttachmentOnly)
      Usage &= ~VK_IMAGE_USAGE_SAMPLED_BIT;

Important: Im not a programmer and dont know about code that how it is working..

KK0bin maintainer 2024-09-22 github

That PR should fix it. Would be great if you could test it.

Nniresh1234 2024-09-22 github

Yes! fixed 馃憦

KK0bin maintainer 2024-09-22 github

Great, thanks for reporting it.

Nothing extracted yet.