protonscr

Watch Dogs 1 doesn't respect minimized state

dxvkclosed probably not our bug
doitsujin/dxvk#4039 · opened 2024-05-28 by Tiagoquix · updated 2024-06-17 · 11 comments · github
1 matching comments, n / p to jump
TTiagoquix 2024-05-28 github

Software information

Watch Dogs 1 (Steam version), High settings.
Game only supports DX11. (https://www.pcgamingwiki.com/wiki/Watch_Dogs#API)

Problem: mouse clicks seem to pass through windows and translate as inputs to the game even if the game is minimized. Easily reproducible. It's even possible to hear the game audio when the game thinks it is in the foreground again, when in reality it is minimized.

System information

Apitrace file(s)

#4038

Log files

Proton log: https://0.jaegers.net/?704347fe24125b32#AhQT22RipzKNESdgU6Da2iUmRGJoMuVrwG2DzmfatQfx

Additional information

Game launch options: PROTON_LOG=1 DXVK_FRAME_RATE=60 gamemoderun %command%
I suspect this is a cross-platform issue, but I'm not sure.

BBlisto91 2024-05-28 github

Do you know if it behaves this same way with wined3d?

TTiagoquix 2024-05-28 github

Do you know if it behaves this same way with wined3d?

How can I test with wined3d?

BBlisto91 2024-05-28 github

Add PROTON_USE_WINED3D=1 to your launch options

TTiagoquix 2024-05-28 github

Yes, the same happens with WineD3D.

Game launch options: PROTON_USE_WINED3D=1 PROTON_LOG=1 DXVK_FRAME_RATE=60 gamemoderun %command%
New log: https://0.jaegers.net/?1d460df694b8ff64#AR9WguyJYEpDY7zCW2axLbtomHcnab4PDft1vEgyaDV6

What I noticed is every time I minimize the game a very small pop-up titled "Ubisoft Connect" appears in the top left corner of the screen, as if it was a system tray pop-up on Windows. It disappears after some time.

While the issue is easily reproducible, it's inconsistent.

TTiagoquix 2024-05-30 github

@Blisto91 An API trace would be useful for this bug report? If yes, DXVK or WineD3D?

Mmbriar 2024-05-30 github

I doubt apitrace will be useful here. Probably unrelated to D3D and rather some window management bug in wine. Or even some desktop compositor or xwayland problem.

KK0bin maintainer 2024-05-30 github

If the same issue happens with WineD3D as well, it is indeed probably not our bug like mbriar says. Window management problems are difficult to debug.

BBlisto91 2024-05-30 github

The best check would be if you could get it to act the same on Windows with dxvk. And check that it doesn't happen without of course.
Though I am also thinking that might be unlikely

TTiagoquix 2024-05-30 github

Considering this game is a PC console port and also has other quirks...

https://www.pcgamingwiki.com/wiki/Watch_Dogs#Input

  • Uses forced mouse acceleration.
  • No true mouse input as the mouse emulates an analog joystick.
  • Implemented with a software cursor, which is susceptible to framerate changes and will feel different from the normal OS/hardware cursor.

Then yeah, it's probably an issue from the game itself and not from DXVK or Wine.
Thank you for your support. Closing as invalid.

Mmbriar 2024-05-30 github

Doesn't really sound like a game bug to me, I doubt this happens on windows. But I also don't think it's a DXVK bug.

TTiagoquix 2024-06-17 github

FYI, was able to reproduce this on Assassin's Creed II too. Seems to always happen when using the "Peek at Desktop" button on KDE Plasma.