Bug Report Game mode detection with 25.0.4 broken?!

koala

Active Member
I just observed OBS Studio 25.0.4 says game mode is off on my system:

Code:
14:15:46.594: CoInitializeEx succeeded: 0x00000001
14:15:46.594: CPU Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
14:15:46.594: CPU Speed: 4008MHz
14:15:46.594: Physical Cores: 4, Logical Cores: 8
14:15:46.594: Physical Memory: 16253MB Total, 10483MB Free
14:15:46.594: Windows Version: 10.0 Build 18363 (release: 1909; revision: 752; 64-bit)
14:15:46.594: Running as administrator: false
14:15:46.594: Aero is Enabled (Aero is always on for windows 8 and above)
14:15:46.594: Windows 10 Gaming Features:
14:15:46.594:     Game Bar: Off
14:15:46.594:     Game DVR: Off
14:15:46.594:     Game DVR Background Recording: Off
14:15:46.594:     Game Mode: Off
14:15:46.598: Sec. Software Status:
14:15:46.600:     Windows Defender Antivirus: enabled (AV)
14:15:46.600:     Windows-Firewall: enabled (FW)
14:15:46.600: Current Date/Time: 2020-04-07, 14:15:46
14:15:46.601: Browser Hardware Acceleration: true
14:15:46.601: Portable mode: false
14:15:47.270: OBS 25.0.4 (64-bit, windows)

However, Windows says it's activated:
1586262335375.png


As far as I remember, I never tinkered with the registry - just used the Windows settings app to turn on or off. So what's the real and active setting now? I suppose it's active and OBS is reporting wrongly.
 

Attachments

  • 2020-04-07 14-15-46.txt
    17.5 KB · Views: 9

koala

Active Member
With Windows 1909:
It seems OBS Studio reads the registry key HKEY_CURRENT_USER\Software\Microsoft\GameBar\AllowAutoGameMode
If I change this setting from 0 to 1, the OBS log entry changes to Game mode ON.

However, controlled by the Windows Settings GUI is HKEY_CURRENT_USER\Software\Microsoft\GameBar\AutoGameModeEnabled
Any change here isn't reflected in the OBS log.

I'm not sure how Windows 1909 treats these both registry entries. May be Microsoft retired AllowAutoGameMode and only uses AutoGameModeEnabled with at least Windows 1909. In the Game Bar, there is no setting any more to control game mode.
 

koala

Active Member
A fresh user profile doesn't contain any entry in HKEY_CURRENT_USER\Software\Microsoft\GameBar
Game mode is considered on in this scenario.

Now OBS will recognize this key (in absence of AllowAutoGameMode) if I toggle Game Mode in Windows Settings.

I hope OBS follows with its display of Game Mode how Windows actually treats these two keys. However, for the Settings GUI to be effective, everyone who upgraded from an earlier version of Windows to 1909 (or 1903, don't know exactly) and configured game mode before needs to remove the AllowAutoGameMode key manually, which is a thing I couldn't really believe.

I assume this confusion is produced by Microsoft caused by the ongoing development and configuration changes for games in general, Game Mode, and the evolving and ever-changing Game Bar.
 
Top