Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Issue with HDR and "Hogwarts Legacy" specifically, "changed: LostFocus" log spam #138

Open
ghost opened this issue Feb 21, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 21, 2023

Describe the bug
AutoActions will spam the log with:
2023.02.21 23.53.18.0788541 Info: Application HogwartsLegacy [HogwartsLegacy |C:\Program Files (x86)\Steam\steamapps\common\Hogwarts Legacy\Phoenix\Binaries\Win64\HogwartsLegacy.exe] changed: LostFocus
When running the game Hogwarts Legacy with the default HDR profile.
It doesn't happen in any other game that I've tested, including Cyberpunk 2077 and MS Flight Simulator.

My guess is because the game is forced to run in Windowed Borderless mode. There's no way to select Fullscreen in Hogwarts Legacy. Even forcing it like the link suggests, it still seems to make the same log spamming error and AutoActions having increased CPU usage when finally closing Hogwarts Legacy.

I'll describe how to reproduce below

To Reproduce
Steps to reproduce the behavior:

  1. Open AutoActions
  2. Go to Applications
  3. Select the "+" icon
  4. Select "Choose application"
  5. Select the binary named HogwartsLegacy.exe at:
    C:\Program Files (x86)\Steam\steamapps\common\Hogwarts Legacy\Phoenix\Binaries\Win64
    5.1. You can also use the binary at - it produces the same result:
    C:\Program Files (x86)\Steam\steamapps\common\Hogwarts Legacy
  6. Press "OK"
  7. Select the default HDR profile
  8. Launch the application, either from AutoActions or from Steam - it gives the same result.
  9. Alt-tabbing away from Hogwarts Legacy makes the log-spamming stop, but it resumes as soon as you re-focus the Hogwarts Legacy game.

Expected behavior
I expect there to be no issue spamming in the logfile.

Files
Logfile:
https://paste.ec/paste/-0pqEypz#4DL9cd-UtgH8IoAkhJrAMd3dMq9bcEEXP3d90xMvvc7

UserSettings.js:
https://paste.ec/paste/jTh0LA7e#9e-htTxuykuUvQOrRk6PsOVkcfku1affiIXxPhFSwF6

Desktop (please complete the following information):

  • OS: Windows 11 v22621
  • AutoActions v1.9.19.0

Hardware (please complete the following information):

  • Monitors: 1x Samsung Odyssey G8 QD-OLED (the HDR monitor) and 1x Lenovo LEN L193pC (shitty 2nd monitor)
  • Specs: ASUS TUF Gaming GeForce RTX 4090 OC | AMD 7900X | 32GBs of DDR5 6400Mhz
  • NVIDIA Driver v528.49

Additional context
Might be related problem:
AutoActions sometimes behaves very weird when finally exiting Hogwarts Legacy. It uses up quite a lot of processing power, seemingly doing absolutely nothing. Not sure if it's related to this exact issue, but it only happens after playing Hogwarts Legacy for some reason. The only way to solve it, is to exit AutoActions. It usually only happens after playing for an hour or more.

@ghost
Copy link
Author

ghost commented Feb 22, 2023

Update (22/02/23)

Even though Hogwarts Legacy is closed, AutoActions still continues with the GotFocus/LostFocus spamming, which draws quite a lot of CPU power.

Here's a GIF of what happens - AFTER Hogwarts Legacy is closed.
https://i.imgur.com/jCP30go.gif

@jeromecao
Copy link

can confirm - getting the same issue. seeing >5% CPU util after hogwarts is run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant