Page 1 of 1

[0.14.14] Random video freezes

Posted: Sat Oct 15, 2016 9:23 pm
by magie720
While playing, the video will randomly freeze. This happens both during game-play and while in the main menu. During this time, the game is still running (the sound plays), and if I switch to another work space and back, it works again (and, if I was walking while the video was frozen, the character's position is consistent with him walking).

The highest frequency of this problem occurs when zooming, although that does not exclusively or consistently cause the problem.

This problem goes away if I disable hardware acceleration by setting the environmental variable LIBGL_ALWAYS_SOFTWARE=1 (which causes the expected performance issues)

The output of "lspci -vvv", as well as the factorio log file, are attached.

Re: [0.14.14] Random video freezes

Posted: Sat Oct 15, 2016 9:55 pm
by sillyfly
Can you try changing to the modsetting kernel driver? See: viewtopic.php?f=49&t=21205

Re: [0.14.14] Random video freezes

Posted: Sun Oct 16, 2016 1:24 am
by magie720
Can you try changing to the modsetting kernel driver? See: viewtopic.php?f=49&t=21205
Switch to modesetting fixed it.

For reference, the command is

Code: Select all

sudo apt-get uninstall xserver-xorg-video-intel
which causes the computer to fall back to the built in modesetting driver. The package description for xserver-xorg-video-intel suggests:
The use of this driver is discouraged if your hw is new enough (ca.
2007 and newer). You can try uninstalling this driver and let the
server use it's builtin modesetting driver instead.