I will tutor you

  • cummunist [he/him,they/them]
    ·
    4 years ago

    On a more serious note, would you happen to know what can cause input lag in a game ran with wine (proton to be more precise)? Not like I expect it to be very stable but still.

    • Bloodshot [he/him,any]
      hexagon
      ·
      4 years ago

      Do you mean input latency, or a huge framerate dip when you move the mouse? I know the latter is an old bug that might be fixed now, it has to do with Wine sending a billion events with mice with high polling rates. For that, using a different physical mouse can help.

      I'm not sure about the former. My searching online would indicate that Wine is still polling X11 for input events, rather than reading the device file. Is it "small" (playing an FPS feels worse) or "large" (let go of mouse and cursor is still moving)?

      • cummunist [he/him,they/them]
        ·
        4 years ago

        I'm not sure of the nature, but definitely closer to the former. It looks as if the game is sometimes straight up not reading my mouse click input on on one tick/frame, and sometimes takes time to read the "mouse button release event". To give a more concrete example (the game in question is squad), when my rifle is set to semi-auto mod and I try to shoot, it will sometimes straight up not shoot, even tho I clicked left mouse button. In automatic mode, clicking just once will shoot a burst, while supposed to shoot just a single bullet. This issue doesn't seem to be happening consistently so it definitely won't be too much an issue but I'm still curious.