protonscr

Implement handling for SetThreadExecutionState

protonopen Feature Request
ValveSoftware/Proton#8881 · opened 2025-07-04 by Franatix93 · updated 2026-08-28 · 4 comments · github
FFranatix93 2025-07-04 github

Feature Request

Implement handling for SetThreadExecutionState

I confirm:

  • [x] that I haven't found another request for this feature.
  • [x] that I have checked whether there are updates for my system available that
    contain this feature already.

Description

Proton doesn't have an equivalent command for SetThreadExecutionState(ES_DISPLAY_REQUIRED). It would be useful for games like Metal Gear Solid 2 & 3 that have long cutscenes to prevent the display from dimming in brightness

Justification [optional]

Risks [optional]

References [optional]

JJTEpic 2025-07-29 github

This would be great as I have run into this issue of my display turning off in Metal Gear Solid 1 & 2 during the long cutscenes.
The fix/mod MGSHDFix utilizes this, but currently only works on windows as detailed here.

https://github.com/Lyall/MGSHDFix/issues/123#issuecomment-3133870784

Mmeowsandstuff 2026-08-28 github

Can confirm that without this you periodically need to wake the screen. Getting this implemented would be great.

FFranatix93 2026-08-28 github

Especially with MGS4 being released on Steam, having to constantly move the thumbsticks to stop the display from dimming is really annoying

SSeeDborg 2026-08-28 github

+1 here, I would appreciate if it could be fixed 👍

Nothing extracted yet.