ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

Hollow Knight not working on Ubuntu Budgie when steam controller is plugged in. #5841

Open jcuppen opened 6 years ago

jcuppen commented 6 years ago

Your system information

Please describe your issue in as much detail as possible:

When my steam controller is plugged in the game Hollow Knight crashes after a few seconds. Without the controller plugged in the game works fine.

Game and controller work like a charm on windows.

Steps for reproducing this issue:

  1. Make sure Steam controller is plugged in.

  2. Start Hollow Knight

  3. Game Crashes

  4. Make sure Steam controller is not plugged in.

  5. Start Hollow Knight

  6. Game Works as intended.

Plagman commented 6 years ago

Thanks for the report; there's a kernel patch currently for review to fix this issue, but it's unclear if it'll make its way into that release of Ubuntu at this point.

dakira commented 6 years ago

@Plagman Is there a workaround? Will the kernel that comes with 18.10 work?

dakira commented 6 years ago

This also happens with the Xbox 360 controller.

zakora commented 6 years ago

This issue looks like a duplicate of #5645 .

@dakira Yes there is a workaround, see the instructions at https://github.com/ValveSoftware/steam-for-linux/issues/5645#issuecomment-429784820 As far as I know, kernel developers have been notified of the fix, though there is no estimate on what kernel version will include this fix.

dakira commented 6 years ago

@zakora my problem is not with hid-steam. That module is not even loaded on my machine.

Hasshu commented 5 years ago

It has nothing to do with Steam, since even the GOG version of the game crashes for me on both Kubuntu 18.10 (kernel v4.18.0) and Fedora 29 (kernel v4.20.4), when an Xbox 360 controller is plugged in.

metronidazole commented 5 years ago

This issue has nothing to do with hid-steam.

I think it's a regression within the unity engine for linux. Apparently it crashes with certain characters in the controller name (e.g. periods or commas). What controller are you using (xbox 360?)

dakira commented 5 years ago

@metronidazole that's right, I'm using the 360 controller.

metronidazole commented 5 years ago

@dakira I have come up with a workaround (in my case at least)

It seems my keyboard (Corsair K90) was making a joystick interface /dev/input/js0 for the extra G keys, with a very long name. I used udev rules to delete the joystick input and that prevented HK from crashing.

Alternatively, unplugging the keyboard and then launching HK also works. You can then replug it once at the main menu.

edit: see this for sample udev rules: https://github.com/denilsonsa/udev-joystick-blacklist

Hope this helps.

hunyar commented 3 years ago

Same Issue on Ubuntu 20.04.2 LTS with the Nintendo Switch pro controller it does not happen with the xbox one controller.