Skip to content

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

@McFredward

Description

@McFredward

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions