Skip to content

Wine peek limiter1 - #721

Open
aaron-xue wants to merge 3 commits into
WinNative-Emu:mainfrom
aaron-xue:wine-peek-limiter1
Open

Wine peek limiter1#721
aaron-xue wants to merge 3 commits into
WinNative-Emu:mainfrom
aaron-xue:wine-peek-limiter1

Conversation

@aaron-xue

@aaron-xueaaron-xue commented Sep 2, 2026

Copy link
Copy Markdown

When running old games with wineD3D, the CPU is always at full load, but old games do not require high frame rates or power consumption. Now, the main game loop tick is limited to solve the issue of PeekMessage spinning
Logic: When the queue has no messages and returns FALSE, perform conditional short Sleep / SwitchToThread instead of immediately returning to the game for idle rotation

Add the PeekMessage Idle Limiter control option to the shortcut wineD3D configuration. This option is only effective for wineD3D, while DXVK remains unchanged
This will only take effect when paired with a new proton
The new proton update has been submitted to your personal proton repository

… configuration. This option is only valid for wineD3D, and DXVK remains unchanged
aaron-xue

This comment was marked as resolved.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@aaron-xue@maxjivi05