[Bug 43102] New: GTA V keyboard issue

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 43102] New: GTA V keyboard issue

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

            Bug ID: 43102
           Summary: GTA V keyboard issue
           Product: Wine
           Version: 2.9
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: [hidden email]
          Reporter: [hidden email]
      Distribution: Debian

Hey folks,

Thank you for you amazing work here.
I have a bug when I try to play GTA V. This bug is related to the keyboard.

*How to reproduce it*

1. Install wine 2.9 with following components:
   - d3dcompiler_43
   - d3dx11
2. Run winecfg and set the windows version to Windows XP
3. Install steam
4. Install GTA V
5. Run GTA V (login to the social club)
6. Once the game has started do the ALT+TAB trick
(https://bugs.winehq.org/show_bug.cgi?id=42330#c18)
7. Press any key of the keyboard (it works flawlessly)
8. Select the Story Mode
9. Once in game, press any key from the keyboard. Now the game is freezing for
a 2 second and it will work again. This issue is related to the keyboard,
because if you are using a controller (xbox for example) it works without any
stutter. But press a key of the keyboard and the freeze is coming (sorry for
this one).


*Observation*

- The sound is still playing
- Only the rendering is frozen

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

--- Comment #1 from Xavier Sellier <[hidden email]> ---
By the way, interesting fact. When you press a game, the game rendering is
freezing, but, the wine log output is also freezing. Meaning nothing is written
to the log output is the rendering is frozen, and then everything goes back to
normal.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

--- Comment #2 from Xavier Sellier <[hidden email]> ---
(Sorry for this triple post).

This is not a regression, I have tested GTA V with wine 2.6, 2.7 and 2.8. The
issue remains.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

Olivier F. R. Dierick <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Olivier F. R. Dierick <[hidden email]> ---
Thanks for the report.

Please, add bug 42330 to the "Depends on" field (just put the numbers).

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

Xavier Sellier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |42330

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

tokktokk <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

Sven Arvidsson <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

Simon K├Ârner <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.

Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

Kimmo Myllyvirta <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #4 from Kimmo Myllyvirta <[hidden email]> ---
Created attachment 58475
  --> https://bugs.winehq.org/attachment.cgi?id=58475
keyboard hack

The game adds low-level keyboard hook for handling the alt-enter (switch
between fullscreen/windowed) and home (open Social Club). dinput adds its own
hook after that. When in-game, the dinput receives the key events first, it
works ok, but calls to next hook causes what looks like a deadlock. It breaks
out of it after the 2-second ll hook timeout. There are multiple threads
involved in this dance (at least 4).

I don't know why this happens yet, but here's a hack for it. This is not a bug
in dinput, same happens also with native dinput8. The patch passes L-Alt and
Return to the next hook in order to workaround bug 42330. These keys are
unusable in-game, remap the keys from the settings. L-Alt is "Character Select"
and return/enter is "Phone Select" by default.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

Sebastian Lackner <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #5 from [hidden email] ---
(In reply to Kimmo Myllyvirta from comment #4)

> Created attachment 58475 [details]
> keyboard hack
>
> The game adds low-level keyboard hook for handling the alt-enter (switch
> between fullscreen/windowed) and home (open Social Club). dinput adds its
> own hook after that. When in-game, the dinput receives the key events first,
> it works ok, but calls to next hook causes what looks like a deadlock. It
> breaks out of it after the 2-second ll hook timeout. There are multiple
> threads involved in this dance (at least 4).
>
> I don't know why this happens yet, but here's a hack for it. This is not a
> bug in dinput, same happens also with native dinput8. The patch passes L-Alt
> and Return to the next hook in order to workaround bug 42330. These keys are
> unusable in-game, remap the keys from the settings. L-Alt is "Character
> Select" and return/enter is "Phone Select" by default.

Thank you for this workaround, it works for me

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

--- Comment #6 from Olivier F. R. Dierick <[hidden email]> ---
I confirm the issue and the hack works for me too.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

Sebastian Lackner <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |STAGED
    Staged patchset|                            |https://github.com/wine-com
                   |                            |pholio/wine-staging/tree/ma
                   |                            |ster/patches/server-send_ha
                   |                            |rdware_message
                 CC|                            |[hidden email],
                   |                            |erich.e.hoover@wine-staging
                   |                            |.com, [hidden email]

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

--- Comment #7 from Olivier F. R. Dierick <[hidden email]> ---
The staged patchset does fix the issue.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

Anthony Jagers <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #8 from Anthony Jagers <[hidden email]> ---
How does the game look?

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

BieHDC <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #9 from BieHDC <[hidden email]> ---
(In reply to Anthony Jagers from comment #8)
> How does the game look?

Still the same graphic issues

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

Sami Kankaristo <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43102] GTA V keyboard issue

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43102

mirh <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.