ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.41k stars 1.02k forks source link

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

Open sjp761 opened 1 week ago

sjp761 commented 1 week ago

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/

rbernon commented 1 week ago

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?

sjp761 commented 1 week ago

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

rbernon commented 1 week ago

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.

sjp761 commented 1 week ago

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 commented 1 week ago

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

rbernon commented 1 week ago

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

sjp761 commented 1 week ago

Just PROTON_LOG=+hid?

rbernon commented 1 week ago

Yes, that should work.

sjp761 commented 1 week ago

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

sjp761 commented 5 days ago

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

Kawazu0 commented 2 days ago

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

sjp761 commented 1 day ago

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