[performance] Mouse input loses focus randomly #189

Open
opened 2026-12-04 03:08:14 +00:00 by Rockstar · 3 comments

What you see

Mouse camera view randomly loses focus and stops responding to X/Y mouse movement. The camera stays static until I click LMB or RMB to regain control. Happens at random while in fullscreen. I haven't tested other screen modes, so this could or could not be fullscreen-specific.

Before you post

  • I read the pinned known-issues thread at the top of the issue list (https://git.gtahub.st/TrustNo1/Darner/issues). If my problem is listed there, I reply in that thread instead of opening this.
  • This issue is about one problem.
  • I verified the game files and run no mods.

RAY TRACING in F1

Off

GPU and driver

4070S nvidia 621.47

CPU, RAM and Windows version

Ryzen 5 7600, Win 11

Darner release or commit

Built from source from: dc332e0 Merge PR #179

Settings

Settings:

  • Controls: Auto
  • Mouse Capture: On
  • Mouse And Keyboard: On
  • Key Bindings: Enter Opens
  • Vehicle Auto-Center: Off
  • Map Key Speed: 1 (Full)
  • English Keyboard: On

Bindings.ini

Sensitivity = 0.2
MoveUp = W
MoveDown = S
MoveLeft = A
MoveRight = D
RT = C, Mouse1
LT = Z, Mouse2
A = Enter, Space
B = Backspace
X = X
Y = Y
LB = Q
RB = E
LS = F, Shift
RS = H, Mouse3
Menu = Esc
View = Tab
DpadUp = Up
DpadDown = Down
DpadLeft = Left
DpadRight = Right

Log files attached

.

Are you working on a fix?

No

### What you see Mouse camera view randomly loses focus and stops responding to X/Y mouse movement. The camera stays static until I click LMB or RMB to regain control. Happens at random while in fullscreen. I haven't tested other screen modes, so this could or could not be fullscreen-specific. ### Before you post - [x] I read the pinned known-issues thread at the top of the issue list (https://git.gtahub.st/TrustNo1/Darner/issues). If my problem is listed there, I reply in that thread instead of opening this. - [x] This issue is about one problem. - [x] I verified the game files and run no mods. ### RAY TRACING in F1 Off ### GPU and driver 4070S nvidia 621.47 ### CPU, RAM and Windows version Ryzen 5 7600, Win 11 ### Darner release or commit Built from source from: dc332e0 Merge PR #179 ### Settings Settings: - Controls: Auto - Mouse Capture: On - Mouse And Keyboard: On - Key Bindings: Enter Opens - Vehicle Auto-Center: Off - Map Key Speed: 1 (Full) - English Keyboard: On Bindings.ini Sensitivity = 0.2 MoveUp = W MoveDown = S MoveLeft = A MoveRight = D RT = C, Mouse1 LT = Z, Mouse2 A = Enter, Space B = Backspace X = X Y = Y LB = Q RB = E LS = F, Shift RS = H, Mouse3 Menu = Esc View = Tab DpadUp = Up DpadDown = Down DpadLeft = Left DpadRight = Right ### Log files attached . ### Are you working on a fix? No
Owner

Your log shows the capture released and taken again 15 times in 10 minutes, but not why. Main (f899d8cf) now logs a native mouse capture changes line each time, with whether the game window had focus, whether a menu, pause or the map was up, and whether capture was wanted. If you rebuild from main and attach the log of a run where it happens, those lines will show which of them drops it.

Your log shows the capture released and taken again 15 times in 10 minutes, but not why. Main (f899d8cf) now logs a `native mouse capture changes` line each time, with whether the game window had focus, whether a menu, pause or the map was up, and whether capture was wanted. If you rebuild from main and attach the log of a run where it happens, those lines will show which of them drops it.
Author

@TrustNo1 I managed to reproduce the bug with Darner that includes your new logging commit (ad070f0 Merge PR #94).

I was robbing a store, holding RMB as I was clicking on Y on keyboard to rob NPCs, and as i was aiming with the pistol, the mouse input was suddenly lost for few seconds then came back. Only happened once during the entire session. it happened exactly at around 2026-12-04T03:58

@TrustNo1 I managed to reproduce the bug with Darner that includes your new logging commit (ad070f0 Merge PR #94). I was robbing a store, holding RMB as I was clicking on Y on keyboard to rob NPCs, and as i was aiming with the pistol, the mouse input was suddenly lost for few seconds then came back. Only happened once during the entire session. it happened exactly at around 2026-12-04T03:58
Author

The bug happened again during this session. X/Y input is lost for around 4 seconds and came back by it self without me clicking lmb/rmb

The bug happened again during this session. X/Y input is lost for around 4 seconds and came back by it self without me clicking lmb/rmb
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner#189
No description provided.