UniversalHookX icon indicating copy to clipboard operation
UniversalHookX copied to clipboard

Linux, Vulkan: Game Freeze after Injection in rdr2

Open tim-gromeyer opened this issue 2 years ago • 2 comments

Description: Hello, I'm currently facing an issue with UniversalHookX when trying to inject it into rdr2. While the injection process itself seems to work, the game unfortunately freezes shortly after.

System Details:

Click to expand
  • Operating System: openSUSE Tumbleweed
  • Kernel: 6.4.11-1-default
  • CPU: 11th Gen Intel Core i5-11300H @ 3.10GHz
  • GPU: NVIDIA GeForce RTX 3050 Ti Laptop GPU
  • GPU Driver: NVIDIA 535.86.05
  • RAM: 16 GB

I run the game with Proton Experimental

Steps to Reproduce:

  1. Launch any injector (I'm using Guided Hacking Injector 1.7)
  2. Inject into rdr2 process with LoadLibraryA as injection method
  3. Observe the game freeze

Expected Behavior: I expect the injection to be successful without any negative impact on the game's performance

Actual Behavior: Upon successful injection, the game freezes after a short period of normal gameplay

Additional Notes:

  • I've tested this on multiple occasions to confirm that the freeze consistently happens after injection.

Screenshots/Logs:

https://github.com/bruhmoment21/UniversalHookX/assets/58736434/1a7f612c-f8b5-451b-a040-cae868d33fba

tim-gromeyer avatar Aug 31 '23 21:08 tim-gromeyer

hello, i can't test this sadly but i don't think injection works at all? the output console should have at least something in there?

does the freeze happen if lets say you compile a dummy dll (only prints hello world) and inject it?

bruhmoment21 avatar Sep 01 '23 18:09 bruhmoment21

hello, i can't test this sadly but i don't think injection works at all? the output console should have at least something in there?

I think it does, I'm using the same injector for a GTAV mod menu and it works fine. Currently "we" (I don't actually do anything) are creating a mod menu for rdr2, the injector works and I get output, see the picture below:

Bildschirmfoto vom 2023-08-31 21-32-52

The way the menu works in terms of injecting, hooking and rendering is the same as this example... and both freeze the game.

does the freeze happen if let's say you compile a dummy dll (only prints hello world) and inject it?

I don't know. I'm on Linux, I can't compile a .dll for a windows game (at least it would be very hard to set everything up, and wine and actually windows are not the same)

Are there any info's I can provide to get the issue solved? We can also get in touch to get the issue solved. My name is benutzername_tim on Discord. Maybe we investigate the issue more and you send some dll's for me to test

tim-gromeyer avatar Sep 01 '23 19:09 tim-gromeyer