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

[Bug]: Red Dead Crashes After DLL Injection on Vulkan #158

Open
1 task done
ms-william opened this issue Jul 4, 2024 · 9 comments
Open
1 task done

[Bug]: Red Dead Crashes After DLL Injection on Vulkan #158

ms-william opened this issue Jul 4, 2024 · 9 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@ms-william
Copy link

ms-william commented Jul 4, 2024

Describe the bug

Well, some time ago, I had already reported this in an issue report. Basically, my game crashes when injecting the DLL while using Vulkan (the game runs much smoother with Vulkan than with DX12). I would like to know if there will ever be a solution for this.

Steps To Reproduce

  1. Launch the game with default settings (Vulkan)
  2. Inject the DLL file (I tried with different injectors).
  3. Games crash...

Expected Behavior

The game crashes only when injecting the DLL in Vulkan mode. Without DLL injection, the game runs normally. If I try to inject using DirectX 12 the game doesn't crash but as I said, in terms of performance on my PC in Vulkan the game runs much better

Logs and/or screenshots

[cout.log](https://github.com/user-attachments/files/16092075/cout.log)

Store

Steam

Language

English

Additional context

No response

Build

  • I've confirmed the issue exists on the latest version of HorseMenu
@ms-william ms-william added the bug Something isn't working label Jul 4, 2024
@maybegreat48
Copy link
Contributor

Do you have an AMD GPU?

@ms-william
Copy link
Author

Do you have an AMD GPU?

Yes

@Rxann
Copy link
Contributor

Rxann commented Jul 4, 2024

I believe it is an AMD gpu issue

@ms-william
Copy link
Author

Maybe... It could be, but it's kind of sad to do what. What I want to say about DirectX 12 is that in some places it takes a while to render, I don't know how to explain it, even though my PC is powerful this happens in RDR2 and in a few situations the FPS seems a little lower, I mean when it comes to FPS 1 % LOW, why the avg. fps is good. I hope it's not a problem with the gpu but rather how the dll behaves when injecting...

@FIying-Scotsman
Copy link

FIying-Scotsman commented Jul 4, 2024

Maybe... It could be, but it's kind of sad to do what. What I want to say about DirectX 12 is that in some places it takes a while to render, I don't know how to explain it, even though my PC is powerful this happens in RDR2 and in a few situations the FPS seems a little lower, I mean when it comes to FPS 1 % LOW, why the avg. fps is good. I hope it's not a problem with the gpu but rather how the dll behaves when injecting...

There's something weird about AMD's Vulkan implementation at the driver level (this hasn't been an issue on Nvidia cards). There's been reports as far back as 2020 from AMD card users crashing in games when using Vulkan for example. It's still a problem today, with a common fix being "update your drivers" but you also have to remember AMD has representatives in game studios for issues like this. Community projects are left to their own devices.

I mention this because it's unfortunately not an easy fix, especially given big name games are having similar issues with their Vulkan implementations but unlike Horsemenu - they're paying devs to work on it. This is a hobby so unless someone with a lot of knowledge comes out the fog and has a better idea, unfortunately it looks like DX12 is the only way to use Horsemenu on AMD in the mean time and it's purely because of something they're doing in their driver (which is out of our control).

@Friuuu
Copy link

Friuuu commented Jul 5, 2024

AMD gpus and RDR2 do not get along very well. Vulkan overall seems pretty unstable on amd gpus (I have rx590) and dx12 on rdr2 does not work perfectly either. When using dx12 I have this damn fog problem that has been around for a while (image borrowed from internet).
strange-fog-rectangle-on-the-side-of-my-screen-how-do-i-get-v0-8ow94vn70mnc1

@ms-william
Copy link
Author

AMD gpus and RDR2 do not get along very well. Vulkan overall seems pretty unstable on amd gpus (I have rx590) and dx12 on rdr2 does not work perfectly either. When using dx12 I have this damn fog problem that has been around for a while (image borrowed from internet). strange-fog-rectangle-on-the-side-of-my-screen-how-do-i-get-v0-8ow94vn70mnc1

I didn't have this problem with fog using DirectX 12, my problem is more with some places that "take" a little longer to render. I have a 6700 XT and it works perfectly with Vulkan, I only use DX12 to use HorseMenu

@ghost
Copy link

ghost commented Jul 5, 2024

AMD GPU's just have horrible fucking drivers and no one at AMD actually gives a fuck. NVIDIA maybe more expensive but they don't have bullshit issues like these.

@Rxann
Copy link
Contributor

Rxann commented Jul 5, 2024

AMD GPU's just have horrible fucking drivers and no one at AMD actually gives a fuck. NVIDIA maybe more expensive but they don't have bullshit issues like these.

This is true.

@Rxann Rxann added the wontfix This will not be worked on label Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants