If a profile you have linked to an app is not activated when you are using the app; or if the correct profile is loaded but only temporarily. Then please follow the steps below to diagnose the issue. In some cases this will allow you to correct the issue directly, but even if not your findings will help us improve the auto profile switching system.
Since version 3.1.3.1 the X1 Control Panel detects apps run as admin without any extra settings, and it never needs to be run as admin itself. If an app still isn't detected (some games with anti-cheat protection hide from normal app detection), check the two options in the App Detection section of the options menu:
- Background app polling (on by default): checks which app is in the foreground once a second, to catch games that don't report when they take focus.
- Tasklist app detection (off by default; called "Detect admin level apps" before version 3.1.4.0): uses the Windows "tasklist" tool as a last resort to identify apps that hide from normal process queries. It can cause harmless "Task List" errors on system shutdown, which are explained here.
If the app is detected but your profile still isn't switching correctly, follow the steps below to diagnose the issue.
Firstly we need the Control Panel to keep a log of which app is in focus, and which profile changes it initiates in response. This does not occur by default, but can be enabled via the options menu (
).
At the bottom of the options menu are some debug settings. Enable the "Verbose logging" option and click Apply. The change takes effect after a restart, so let the X1 Control Panel restart when it asks.
After enabling Verbose logging leave it on until you encounter the issue again. When you do, take note of the time and check the Control Panel's log file to see what happened. You can create a copy of the log file on your desktop with the "Copy Log to Desktop" button, also found in the debug section of the options menu (as in the image above).
Near the bottom of the log file find the timestamp you took note of and check which apps are being detected around that time. Below is an example of what you might find:
- 2023-03-27T10:05:20.631 DEBUG - App identified: "csgo.exe"
- 2023-03-27T10:05:20.635 DEBUG - Match found "csgo.exe"
- 2023-03-27T10:05:20.636 DEBUG - Switching to "Counter-Strike GO"
- 2023-03-27T10:05:20.659 DEBUG - MouseFunctions: switchToProfile 1 255
- 2023-03-27T10:05:21.030 DEBUG - App identified: "Tobii.EyeX.Interaction.exe"
- 2023-03-27T10:05:21.031 DEBUG - No match found
- 2023-03-27T10:05:21.032 DEBUG - Switching to "Desktop"
- 2023-03-27T10:05:21.032 DEBUG - MouseFunctions: switchToProfile 0 255
In this example the log shows that CSGO was detected and its profile was loaded. But less than a second later the app "Tobii.EyeX.Interaction.exe" took focus away from CSGO causing the Desktop profile to be loaded again.
The lines in your log may be worded a little differently depending on your version. For example, recent versions log "ForegroundDetector: App identified:" followed by the app's full path. Look for the same two things: which app was identified, and whether a match was found.
If you're not sure how to pick that info out of your log file, or it appears like something else could be going wrong. Just email support@swiftpoint.com with a copy of the log.txt file, and the approximate time you think the issue occurred and we should be able to help.
Either way once we know what app is taking focus you can tell the Control Panel to ignore it in future by adding its name to the "IgnoredApps" list in the App Detection section of the options menu. Type the name on its own line, or pick it from the "Add a recently detected app..." list below the box.
For example if you found that "Tobii.EyeX.Interaction.exe" was causing the profile switch back to desktop as in the example above, add it to the list as shown below and click Apply. The change takes effect straight away, with no restart needed.