Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Proton Experimental Bleeding Edge SDL input issues with non-Steam games (not Steam Input related)

Open sjp761 opened this issue 2 years ago • 16 comments

With the newest bleeding edge of proton experimental, sdl based input (disabling hidraw) does not work anymore so an xbox controller is not emulated

Reg file used to disable

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\winebus]
"DisableHidraw"=dword:00000001

Issue is probably the winebus commits on July 3rd https://github.com/ValveSoftware/wine/commits/bleeding-edge/

sjp761 avatar Jul 04 '24 18:07 sjp761

Proton enables both SDL and evdev/hidraw backends and chooses the most appropriate backend depending on the device. I don't think you should or need to disable hidraw for anything. Is hidraw causing problems for some devices?

rbernon avatar Jul 05 '24 17:07 rbernon

I disable for games that don’t support the ps5 controller when using heroic games launcher

sjp761 avatar Jul 05 '24 18:07 sjp761

Okay, in any case SDL should still work, even with that setting. The changes are only related to the Steam Input virtual controller, so I'm not sure why it's breaking anything in your use case.

rbernon avatar Jul 05 '24 18:07 rbernon

Just to make it clear, I’m not using steam input at all. I launch the game with heroic, not steam. Proton 9.0 makes it work fine, but experimental (regular and bleeding edge) causes the issue to pop up. GE does not have the issue either.

sjp761 avatar Jul 05 '24 19:07 sjp761

steam-976730.log Here is a log if it helps. Steam Input is disabled through steam. Hidraw is disabled through reg file.

sjp761 avatar Jul 08 '24 16:07 sjp761

Thanks, could you add +hid to the debug channels too?

rbernon avatar Jul 08 '24 17:07 rbernon

Just PROTON_LOG=+hid?

sjp761 avatar Jul 08 '24 17:07 sjp761

Yes, that should work.

rbernon avatar Jul 08 '24 17:07 rbernon

steam-sdl-issue.log Here. Steam Input and hidraw are still both disabled.

sjp761 avatar Jul 08 '24 17:07 sjp761

steam-976730.log Here is a log for a previous proton version where the issue did not occur

sjp761 avatar Jul 10 '24 17:07 sjp761

Can this be related to the issue I have with a VKB Gladiator joystick really badly recognized unless I disable SDL and xinput as told in https://www.reddit.com/r/linux_gaming/comments/xil6ra/joystick_axes_missing_in_games/ for all previous versions of proton but doesn't work at all in experimental and 9.0 after patch ?

note : joystick became unusable, buttons are not recognized or seen as weird combinations

Kawazu0 avatar Jul 13 '24 07:07 Kawazu0

Probably not as as my issue does not happen on Proton 9, only experimental.

sjp761 avatar Jul 14 '24 05:07 sjp761

Probably not as as my issue does not happen on Proton 9, only experimental.

you're right. I forgot to delete reg files before switching ...

Kawazu0 avatar Jul 16 '24 20:07 Kawazu0

Any update on this?

sjp761 avatar Jul 19 '24 03:07 sjp761

I have pushed some change to Proton Experimental bleeding-edge which might resolve this. Please have a try and let me know.

rbernon avatar Jul 19 '24 07:07 rbernon

Yep, my issue is fixed with proton bleeding edge. Thanks for the help.

sjp761 avatar Jul 19 '24 18:07 sjp761