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

Much slower game if the window is minimized on Windows11 #504

Open
McFredward opened this issue May 17, 2022 · 2 comments
Open

Much slower game if the window is minimized on Windows11 #504

McFredward opened this issue May 17, 2022 · 2 comments

Comments

@McFredward
Copy link

I've encountered that the training of my DQN with python is like 10 times slower if the game window is not in focus or minimized on Windows 11. That's also the case if the the game window is not visible with set_window_visible(False) but the console window is minimized or not in focus.

I'm sure that is not an issue with with ViZDOOM but with Windows (or Nvidia drivers?) which somehow throttles the resources if the window is not in focus. I'm normally a linux-user, so I really don't really know what to do to fix that. It's really annoying, because at the moment I cannot do anything else on that PC than watching my networks train, if I don't want the training to take more than 10 times longer.

I've already tried to give the python process the highest priority within the task manager, without any success. Anyone have an idea to fix that?

@mwydmuch
Copy link
Member

Hello @McFredward, thank you for reporting the problem. Unfortunately, I've never encountered a similar problem, but 99% of the time I use Linux/MacOS. I will check if this also occurs on my machine and will get back to you.

@jkterry1
Copy link
Member

Hey, we discussed this in the meeting. If anyone who sees this issue knows how to fix it we'd be happy to merge a PR for it, but none of us use windows or know how to fix it, and Windows isn't a fully supported platform so we'll leave this up to the community to work on if needed.

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

No branches or pull requests

3 participants