[posila][for 0.17][0.16.5] Crash after screen energy saving mode

This subforum contains all the issues which we already resolved.
Gnorok
Inserter
Inserter
Posts: 30
Joined: Wed Aug 17, 2016 8:46 am
Contact:

[posila][for 0.17][0.16.5] Crash after screen energy saving mode

Post by Gnorok »

Game crashes after the screen reactivated from energy saving mode.

Reproduce: wait for engergy saving

Workaround: set "time to enter energy saving mode" > "time needed for smoking break" ;-)

The bug seems to be related to my monitor setup. Main screen is 2560*1440 with G-Sync enabled via display port, second screen is 1920*1080 via hdmi.
I have problems with other games, too. No crashes, but they appear on the wrong monitor after energy saving.
Attachments
Crash.jpg
Crash.jpg (26.76 KiB) Viewed 6010 times
factorio-current.log
(21.61 KiB) Downloaded 100 times
Loewchen
Global Moderator
Global Moderator
Posts: 9454
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.16.5] Crash after screen energy saving mode

Post by Loewchen »

I assume you mean energy savings mode of the pc and not only monitor: viewtopic.php?f=48&t=22998
Gnorok
Inserter
Inserter
Posts: 30
Joined: Wed Aug 17, 2016 8:46 am
Contact:

Re: [0.16.5] Crash after screen energy saving mode

Post by Gnorok »

Nope, only monitor....
Rseding91
Factorio Staff
Factorio Staff
Posts: 14492
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.5] Crash after screen energy saving mode

Post by Rseding91 »

Any chance you have your screen connected through Display port?

I've seen cheaper display port connected monitors completely disconnect themselves from the PC when they power off resulting in the computer thinking the display was physically disconnected (which doesn't work if you're running Factorio).
If you want to get ahold of me I'm almost always on Discord.
Gnorok
Inserter
Inserter
Posts: 30
Joined: Wed Aug 17, 2016 8:46 am
Contact:

Re: [0.16.5] Crash after screen energy saving mode

Post by Gnorok »

Display port is correct. Monitor is a ASUS ROG PG279.

I thought G-Sync may be the problem, but tested today with G-Sync deactivated, same crash...
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.16.5] Crash after screen energy saving mode

Post by TruePikachu »

Do your windows that were on the displayport display rearrange themselves when returning from energy saving mode? (This includes them moving to the HDMI display).

If this is the case, your display is one of those that effectively disconnects when it goes into power saving mode, and this topic would be filed under either 1/0, Not A Bug, or Won't Fix.
Gnorok
Inserter
Inserter
Posts: 30
Joined: Wed Aug 17, 2016 8:46 am
Contact:

Re: [0.16.5] Crash after screen energy saving mode

Post by Gnorok »

No, a "rearrange" only happens sometimes when the whole PC enters engery saving mode. And in that case all icons/links are on the displayport monitor, not the hdmi.
Gnorok
Inserter
Inserter
Posts: 30
Joined: Wed Aug 17, 2016 8:46 am
Contact:

Re: [0.16.5] Crash after screen energy saving mode

Post by Gnorok »

Another test: only the displayport monitor connected

Result: no crash

So the crash seems to be related to the multimonitor setup with different resolutions.
posila
Factorio Staff
Factorio Staff
Posts: 5392
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.16.5] Crash after screen energy saving mode

Post by posila »

Thanks for the report and testing.
It will (hopefully) be fixed in 0.17: 51217
Beliskner
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Dec 21, 2017 11:34 am
Contact:

Re: [posila][for 0.17][0.16.5] Crash after screen energy saving mode

Post by Beliskner »

Same issue. Two 4k screens (displayport) and one 1080p screen (hdmi) and this happens.
Gnorok
Inserter
Inserter
Posts: 30
Joined: Wed Aug 17, 2016 8:46 am
Contact:

Re: [posila][for 0.17][0.16.5] Crash after screen energy saving mode

Post by Gnorok »

I have now connected the second monitor via displayport, still different resolutions.

Result: no crash

So indeed the combination displayport+hdmi seems to be the culprit.
posila
Factorio Staff
Factorio Staff
Posts: 5392
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila][for 0.17][0.16.5] Crash after screen energy saving mode

Post by posila »

Kovarex is nervous when I have too many things on me in Assigned, so I'll move it this to minor issues until 0.16 is stable.
User avatar
Jon8RFC
Filter Inserter
Filter Inserter
Posts: 554
Joined: Tue May 10, 2016 3:39 pm
Contact:

Re: [posila][for 0.17][0.16.5] Crash after screen energy saving mode

Post by Jon8RFC »

I've found a few bug reports related to unplugging. My monitor has gone to sleep before without issue, and I can unplug and plug in a few different combinations with my two monitors (different resolutions), without issue, but I use DVI cables.

Because I've dealt with this crap before, I am wondering if it's somehow related to HDCP handling on the hardware side of things.

I tried an HDMI cable to my tv and DVI to my monitor (both are different resolutions) but had no issue unplugging in different combinations, so maybe it's not necessarily HDCP-related. There are other, old bugs related to unplugging HDMI cables and crashes, in minor issues, however.

If it's any help, I'm on Windows 7 64bit and have an HD5870 graphics card. I wonder if it's some funky HDCP implementation causing problems.
Image
posila
Factorio Staff
Factorio Staff
Posts: 5392
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila][for 0.17][0.16.5] Crash after screen energy saving mode

Post by posila »

It should be solved in 0.17 for good.
Blacky007
Fast Inserter
Fast Inserter
Posts: 180
Joined: Fri Dec 29, 2017 8:05 pm
Contact:

[0.16.51] Crash after power shutdown for monitor

Post by Blacky007 »

I have a power plug with a switch - to cut off from powersupply my two monitor and some lights around my PC to save energy when I go out or away for 1-2 hours.
It now happened several times about 10 in total that this switching crashes Factorio.
both monitor are connected with Displayport 144Hz Full HD
Attachments
factorio-current-crash.log
(5.68 KiB) Downloaded 79 times
My color birthday was May 2nd 2020 - Thank you Enchroma
Post Reply

Return to “Resolved Problems and Bugs”