process-governor icon indicating copy to clipboard operation
process-governor copied to clipboard

Affinity not set for games on Xbox app

Open alefranz opened this issue 5 months ago • 3 comments

Describe the bug

When launching a game installed via the Xbox app the settings are not applied to the process and nothing appear in the logs when the game is launched regarding the main game process.

However, if the rule is deleted and recreated once the game is running, the rule is correctly applied.

It is as if the app didn't notice that process started.

Steps to reproduce

Add a rule either by path or process name for Xbox games, e.g.

        {
            "selectorBy": "Path",
            "selector": "C:\\XboxGames\\**\\*.exe",
            "affinity": "0-15",
            "force": "N",
            "delay": "2"
        }

or

        {
            "selectorBy": "Name",
            "selector": "OblivionRemastered-WinGDK-Shipping.exe",
            "affinity": "0-15",
            "force": "N",
            "delay": "2"
        }

And Launch Oblivion Remastered.

Expected behavior

The games should get the affinity applied and it should appear in the logs.

Actual Behaviour

2025-05-05 22:02:35,511 - proc-gov - INFO - Set affinity `0-15` for gamelaunchhelper.exe (15765).

but OblivionRemastered-WinGDK-Shipping.exe doesn't get the affinity applied and doesn't appear in the logs.

Environment

  • Windows Version: 11 24H2

alefranz avatar May 05 '25 21:05 alefranz