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

freeze on screen resize (windows, dfhack 0.42.06-alpha2) #42

Open
draeath opened this issue Apr 3, 2016 · 5 comments
Open

freeze on screen resize (windows, dfhack 0.42.06-alpha2) #42

draeath opened this issue Apr 3, 2016 · 5 comments

Comments

@draeath
Copy link

draeath commented Apr 3, 2016

When run in windowed mode, rendering stops updating if the window is maximized. Unsure if game outright freezes, or if it's rendering-specific. Restoring the window back to the prior geometry doesn't really do anything. DFHack console output doesn't show anything of interest. I have two monitors, if this matters - primary display is on the right, their geometry differs and they are anchored such that the left screen's top-right corner and right screen's top-left corner meet.

Warning: Plugin automaterial compiled for DFHack 0.42.06-alpha2-0-g6fd904f, running DFHack 0.42.06-alpha1-10-g6fd904f
Warning: Plugin mousequery compiled for DFHack 0.42.06-alpha2-0-g6fd904f, running DFHack 0.42.06-alpha1-10-g6fd904f
Warning: Plugin resume compiled for DFHack 0.42.06-alpha2-0-g6fd904f, running DFHack 0.42.06-alpha1-10-g6fd904f
Warning: Plugin twbt compiled for DFHack 0.42.06-alpha2-0-g6fd904f, running DFHack 0.42.06-alpha1-10-g6fd904f
TWBT: version 5.58
reshape_graphics
reshape_graphics
reshape_graphics
DFHack is ready. Have a nice day!
DFHack version 0.42.06-alpha2 (development build 0.42.06-alpha1-10-g6fd904f)
Type in '?' or 'help' for general help, 'ls' to see all commands.
reshape_graphics
[DFHack]#

Attached my init file, if needed:
init.txt
Screenshot of window post-maximize.

This behavior is not evident in the '2D' or '2DASYNC' modes, which I use when not using TWBT.

@pronvit
Copy link
Contributor

pronvit commented Apr 4, 2016

Does it happen in 'STANDARD' mode?

@sanguine-my-brother
Copy link

I might experience the same bug, it does not happen in standard mode.

@sanguine-my-brother
Copy link

So, after digging around in my system while experiencing this bug. I discovered that within the Nvidia control panel one must select dwarf fortress and set it to use the Nvidia GPU instead of the integrated one. Once I did this, the freezing stop occurring when resizing the window.
Might offer a solution to future players who encounter this bug as well.

@draeath
Copy link
Author

draeath commented Dec 11, 2017

I've never left my integrated GPU enabled, and was running into the issue.

It's good it helped you and may help others, but I think that may be a red herring.

I don't have the same system nowadays but may be able to try to reproduce again.

@pronvit
Copy link
Contributor

pronvit commented Dec 13, 2017

Sorry I've just never been able to reproduce this, and probably will not if it indeed has anything to do with multiple graphics cards. I'll see if I can notice any differences between TWBT and STANDARD that may be causing this.

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

3 participants