protonscr

Xbox 360 controller issue via Proton

protonopen
ValveSoftware/Proton#3938 · opened 2020-06-05 by nenoro · updated 2020-06-05 · 0 comments · github
Nnenoro 2020-06-05 github

Proton: All
Proton custom: Proton-5.8-GE-2-MF
Distro: Gentoo
Kernel: Zen 5.6.13
Module xpad and uinput: set as [M]
Note: I added my user in "input" group since the beginning

Already tried:

  • [X] forced off via game proprieties
  • [X] switch to steam beta
  • [X] switch steam linux runtime to proton
  • [x] xboxdrv but nothing changes
  • [x] steam big picture, turn on xbox while it is already detected without turn on
  • [x] change /lib/udev/rules.d/60-steam-input.rules but i didn't add xbox 360 controller in the file
  • [x] i unplug / re-plug the controller

Games who does work with the controller because they have an option:
Alpha Protocol, Alan Wake, The Technomancer

Games who doesn't work with the controller:
The Witcher 3, M.A.S.S builder, Code Vein, Contrast (the list is long but you understand)

Error find while launching steam via terminal:

Controller 0 connected, configuring it now...
We thought 0 was already a connected controller?Controller 0 disconnected
Opted-in Controller Mask for AppId 0: 0
!! Controller 0 attributes:
Type: 31
ProductID: 654
Serial: Awaiting_Logon
Capabilities: 001043ff
Firmware Version: 0
Firmware Build Time: 2147483647 (Tue, 19 Jan 2038 03:14:07 GMT)
Bootloader Build Time: 2147483647 (Tue, 19 Jan 2038 03:14:07 GMT)

Local Device Found
type: 045e 028e
path: sdl://0
serial_number: - 0
Manufacturer:
Product: X360 Controller
Release: 114
Interface: -1

!! Steam controller device opened for index 0.
Steam Controller reserving XInput slot 0
Controller 0 connected, configuring it now...
Installing breakpad exception handler for appid(steam)/version(1591052255)

Edit 1: Proton log when i launch witcher 3 steam-292030.log

Edit 2: Here's the line i add in 60-steam-input.rules

##Xbox 360 Controller
SUBSYSTEM=="usb", KERNEL=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="028e", MODE="0660", TAG+="uaccess", TAG+="udev-acl", OPTIONS+="static_node=uinput"

Edit 3:

Controller 0 mapping uses xinput : false
Loaded Config for Local Override Path for App ID 292030, Controller 0: /home/nenoro/.local/share/Steam//controller_base/empty.vdf
Controller 0 mapping uses xinput : false
[0605/180903.900127:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.
OnFocusWindowChanged to window type: k_nGameIDControllerConfigs_Desktop, AppID 413080
Controller 0 mapping uses xinput : false
Loaded Config for Local Override Path for App ID 413080, Controller 0: /home/nenoro/.local/share/Steam//controller_base/empty.vdf
Controller 0 mapping uses xinput : false

Edit 4: getfacl /dev/uinput
i make sure the group is input and not root

Proton versions