PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
GNU General Public License v3.0
11.69k stars 1.62k forks source link

[BUG] Keyboard input buttons "stick" under Linux #4492

Closed Prism019 closed 2 years ago

Prism019 commented 3 years ago

Describe the bug

Under Linux, sometimes when playing games using the keyboard for pad input, a button will stay pressed when I release the key until I press and release the key again. I'm using FCITX 4.2.9.8 for text input.

To Reproduce

Play a game for a while; eventually a button will stay pressed after you release it. This happens in every game I play.

Expected behavior

Buttons are pressed and released when the corresponding keys are.

GS Settings

GS settings are default. I'm using the SSE4.1 plugin.

Emulation Settings

All settings are default, preset 2.

GS Window Screenshots

N/A

System Info (please complete the following information):

Logs and Dumps

None. Feel free to ask me to provide any additional information that may be helpful.

JPTIZ commented 3 years ago

Can confirm this happens here as well.

Specifically I know this happens in every SMT game I play.

Skalt711 commented 2 years ago

Can confirm the presence of the issue as well.

The issues seems to appear after a savestate load. PCSX2 doesn't track the key pressed/unpressed event in the logs, so I don't know if there's any anomaly.

Program Log: https://pastebin.com/i3kBEszu

RedDevilus commented 2 years ago

Can you retest this, please?

JPTIZ commented 2 years ago

Can you retest this, please?

Just tested, still happens on 1.7.2243-3 randomly, even without switching between windows or anything.

HeroponRikiBestest commented 2 years ago

I can second this, I've experienced this constantly for the last few months.

Mrlinkwii commented 2 years ago

is this still an issue on master

Prism019 commented 2 years ago

After switching from building the wxwidgets version of pcsx2 to building pcsx2-qt, the input issue is resolved. I think as long as the wxwidgets build is being distributed and used by people, this issue is relevant.

stenzek commented 2 years ago

wx build is deprecated, it's only kept around on life support for people who can't live without the debugger/usb features.

No point keeping it open, because nobody is going to be fixing it.