Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dxd9] Saints row 2 stuttering, freezes while using dxvk 2.1 on an AMD gpu. Trying dxvk x32, x64 and qinilili's patch. #3375

Open
qbertx opened this issue Apr 22, 2023 · 14 comments
Labels

Comments

@qbertx
Copy link

qbertx commented Apr 22, 2023

After playing the game with the x32 version of dxvk after a minute or so, the game freezes and forces me to restart my pc. The game also sometimes crashes when i load the game (seems to be fixed by running the game through the .exe file instead of steam). When i replace dxvk x32 with the x64 version, the overall performance seems to be better, stutters are gone, still get minor frame drops (from 70 fps to 50), but after a while the game gets enormous frame drops (<1 fps) and im forced to quit the game. The dxvk patch works perfectly on my brothers pc even though its specs are worse than mine. (has an nvidia gpu, think i heard that amd gpus have bad performance on older games?)
Tried [qinlili23333]'s sr2 patch that is supposed to fix the games memory management. The game runs nearly perfectly (stable 50 fps, odd stutter here and there), but i get a constant flickering bar at the bottom of my screen. (Fixed by enabling fullscreen vsync). Combining the .exe patch and dxvk makes the game run worse than vanilla.
So, as of now qinlili's patch without dxvk runs the best for me, but i hope that someday dxvk will work for me and i would be able to run the game perfectly at a stable 60 fps. Btw the game's api is x32, so it seems strange to me that the x64 patch of dxvk runs better than the x32 for me. I will attach the games log files from every different version/patch i tested. Hope this post helps development or helps someone else get better performance in-game. Next, i will test DXVK-Async's and DxWrapper's effect on the performance. Will update if i find something worthwhile.
dxvk32nopatch.log
dxvkx64nopatch.log
x32crashonloadgame.log
nodxvk_patchedexe.log

@qbertx
Copy link
Author

qbertx commented Apr 22, 2023

Oh, by the way, here is the link to the aforementioned patch: #2417 (comment)

@doitsujin
Copy link
Owner

doitsujin commented Apr 22, 2023

can you post an apitrace? seems like there's something that makes AMD's driver error out on vkEndCommandBuffer, but it's impossible to tell what that might be without a way to consistently reproduce it.

When i replace dxvk x32 with the x64 version, the overall performance seems to be better

The reason why it's better is because you're literally not using DXVK when doing that. You cannot use 64-bit DXVK DLLs with a 32-bit game, they just get ignored.

@K0bin K0bin added the windows label Apr 22, 2023
@qbertx
Copy link
Author

qbertx commented Apr 22, 2023

Sorry, but i just cant figure out how to use apitrace. Im reading the USAGE.markdown file but barely understand anything.

@mbriar
Copy link
Contributor

mbriar commented Apr 22, 2023 via email

@qbertx
Copy link
Author

qbertx commented Apr 22, 2023

I copied the \apitrace-latest-win32\lib\wrappers\d3d9.dll file to the game's executable location, but now it refuses to launch, giving me the (application was unable to start correctly (0xc0000005)) error

@Blisto91
Copy link
Contributor

I'm testing it at the moment

@Blisto91
Copy link
Contributor

Blisto91 commented Apr 22, 2023

The crash without the patches exe is a memory issue and the patch extends the allowed amount from 2GB to ~4GB.
Dxvk have a system to try and help memory usage on some such cases, but Saints Row 2 is one of two known games that crash with it enabled so it has been disabled for the game.
I don't see the issue with the flickering bar at the bottom of the screen when testing on Windows with dxvk (AMD)

@K0bin
Copy link
Collaborator

K0bin commented Apr 27, 2023

Saints Row 2 doesn't work on my PC at all.

  • The Windows version on Windows without DXVK doesn't work.
  • The Windows version on Linux with Proton doesnt work.
  • The Linux version doesn't work.

So nothing I can do here.

@Zergei
Copy link

Zergei commented May 24, 2023

you should read this guide hope it helps you regarding your issues with the game
https://steamcommunity.com/sharedfiles/filedetails/?id=2916772309

@EtaYorius
Copy link

I opened a thread too a while ago for this game, same issues as the author of this thread. When i install DXVK, i can get to the title and load my save or create new game, the game just crashes. No matter what version wether it's old or latest it will crash 100% of the time, sometimes it will load the game and i can see my character for like 2 seconds, then crash.

I tried DXWrapper along DXVK like Zergei suggested and absolutely nothing changes. Game still crashes the same.

I'm using a GTX 1070 with 535.40 Drivers, i am unsure if they're the latest but i remember having this same issue even with much older drivers.

When i created my own thread i remember being able to load the game, but there was a weird issue with the skin of my character, like one side wilI have two different skins, then i would get to play for a like a min or two but will eventually crash. I was using the same system back then, so not sure why i can't play at least for a couple minutes like i did back then.

I have attached several logs with different versions of DXVK. Hope this helps, SR2 is an under appreciated master piece, and is probably have worst performance than Oblivion or GTA4, titles that DXVK does seem to fix perfectly. But not this one.

sr2_pc_d3d9_3.log
sr2_pc_d3d9_4.log
sr2_pc_d3d9_0.log
sr2_pc_d3d9_1.log
sr2_pc_d3d9_2.log

@AnonyCat2
Copy link

Yup, having the same issues. Also the reason x64 works better for you is because it just simply doesn't work. By having x64 and not x32 the game just doesn't do anything with it, in other words you are just playing the vanilla game.

@HonScottoSolo
Copy link

you should read this guide hope it helps you regarding your issues with the game https://steamcommunity.com/sharedfiles/filedetails/?id=2916772309

We can not use this as they had patched the game with not using to much on LAA. Plus replacing exes is not going to do justice on steam-wise.

I opened a thread too a while ago for this game, same issues as the author of this thread. When i install DXVK, i can get to the title and load my save or create new game, the game just crashes. No matter what version wether it's old or latest it will crash 100% of the time, sometimes it will load the game and i can see my character for like 2 seconds, then crash.

I tried DXWrapper along DXVK like Zergei suggested and absolutely nothing changes. Game still crashes the same.

I'm using a GTX 1070 with 535.40 Drivers, i am unsure if they're the latest but i remember having this same issue even with much older drivers.

When i created my own thread i remember being able to load the game, but there was a weird issue with the skin of my character, like one side wilI have two different skins, then i would get to play for a like a min or two but will eventually crash. I was using the same system back then, so not sure why i can't play at least for a couple minutes like i did back then.

I have attached several logs with different versions of DXVK. Hope this helps, SR2 is an under appreciated master piece, and is probably have worst performance than Oblivion or GTA4, titles that DXVK does seem to fix perfectly. But not this one.

sr2_pc_d3d9_3.log sr2_pc_d3d9_4.log sr2_pc_d3d9_0.log sr2_pc_d3d9_1.log sr2_pc_d3d9_2.log

This is because of LAA was need but Steam prevents this cause of Steam's stub protection. Steam: Use this instead: #2417 (comment)
Gog: use the LAA Patch.

@EtaYorius
Copy link

EtaYorius commented Oct 26, 2023

you should read this guide hope it helps you regarding your issues with the game https://steamcommunity.com/sharedfiles/filedetails/?id=2916772309

We can not use this as they had patched the game with not using to much on LAA. Plus replacing exes is not going to do justice on steam-wise.

I opened a thread too a while ago for this game, same issues as the author of this thread. When i install DXVK, i can get to the title and load my save or create new game, the game just crashes. No matter what version wether it's old or latest it will crash 100% of the time, sometimes it will load the game and i can see my character for like 2 seconds, then crash.
I tried DXWrapper along DXVK like Zergei suggested and absolutely nothing changes. Game still crashes the same.
I'm using a GTX 1070 with 535.40 Drivers, i am unsure if they're the latest but i remember having this same issue even with much older drivers.
When i created my own thread i remember being able to load the game, but there was a weird issue with the skin of my character, like one side wilI have two different skins, then i would get to play for a like a min or two but will eventually crash. I was using the same system back then, so not sure why i can't play at least for a couple minutes like i did back then.
I have attached several logs with different versions of DXVK. Hope this helps, SR2 is an under appreciated master piece, and is probably have worst performance than Oblivion or GTA4, titles that DXVK does seem to fix perfectly. But not this one.
sr2_pc_d3d9_3.log sr2_pc_d3d9_4.log sr2_pc_d3d9_0.log sr2_pc_d3d9_1.log sr2_pc_d3d9_2.log

This is because of LAA was need but Steam prevents this cause of Steam's stub protection. Steam: Use this instead: #2417 (comment) Gog: use the LAA Patch.

This works perfectly, Thanks! who would had guess it was a LAA Memory issue?

@HonScottoSolo
Copy link

No problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants