NVIDIAGameWorks / rtx-remix

Combined repo for the RTX-Remix runtime
https://www.nvidia.com/en-us/geforce/rtx-remix/
MIT License
1.39k stars 69 forks source link

[Runtime Bug]: rtx.captureHotKey = Not Working #652

Open skurtyyskirts opened 1 month ago

skurtyyskirts commented 1 month ago

Describe the bug

It looks like overwriting the rtx.conf command for rtx.captureHotKey = doesn't seem to be working. I've been trying all different kinds of key strings to get it working, but it always defaults to CTRL, Shift, Q. I even tried removing the whitespaces from the custom string. For example,

rtx.captureHotKey = CTRL, Shift, P rtx.captureHotKey = CTRL,SHIFT,P rtx.captureHotKey = ALT, P rtx.captureHotKey = I, O, P

It's strange because the game will allow me to capture through the GUI and the default shortcut, but won't allow capture through my custom command.

I had a brief conversation with NV_Mark in Discord who was very kind/helpful in taking a peak at the problem and agreed that the behavior was not expected, and believed it perhaps had something to do with https://github.com/NVIDIAGameWorks/dxvk-remix/blob/main/src/util/config/config.cpp#L1316 .

How do you reproduce the bug?

Open rtx.conf, write a line rtx.captureHotKey = with any key combination available in the https://github.com/NVIDIAGameWorks/dxvk-remix/blob/3851ec6eb4ec0537288fb55588c22cdc662675a5/src/util/util_keybind.h#L86 directory. Launch game with remix, and see that your custom command won't generate a capture.

What is the expected behavior?

To allow our custom key to generate a capture.

Version

main+3851ec6e

Logs

remix-dxvk.log d3d9.log

Crash dumps

No response

Media

Screenshot 2024-10-14 174226

NV-LL commented 1 month ago

REMIX-3648 for tracking