Exiting the game in any version higher than 1.7.10 results in the primary screen being shut off, keeping the secondary screen alive. I can get my screen back by having the nVidia settings open on the second screen and changing the resolution twice, but that is a hack and no solution.
For the records, exiting 1.7.10 results in a temporary shutdown of the primary but it comes back moments later.
Sadly there is no error message in the log, thats all i have:
OpenJDK 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[18:40:19] [Client thread/INFO]: Setting user: bastetfurry
[18:40:21] [Client thread/INFO]: LWJGL Version: 2.9.4
[18:40:21] [Client thread/INFO]: Reloading ResourceManager: Default
[18:40:21] [Sound Library Loader/INFO]: Starting up SoundSystem...
[18:40:21] [Thread-3/INFO]: Initializing LWJGL OpenAL
[18:40:21] [Thread-3/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[18:40:22] [Thread-3/INFO]: OpenAL initialized.
[18:40:22] [Sound Library Loader/INFO]: Sound engine started
[18:40:23] [Client thread/INFO]: Created: 1024x512 textures-atlas
[18:40:24] [Client thread/INFO]: Narrator library successfully loaded
[18:40:29] [Client thread/INFO]: Stopping!
[18:40:29] [Client thread/INFO]: SoundSystem shutting down...
[18:40:29] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.comEnvironment
OS: Ubuntu 16.04.1
Java:
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
RAM: 12 GByte
CPU: AMD Phenom II X4 965
GFX: nVidia GeForce GT 640 running with driver version 375.66 driving a two monitor setup.
Please check if the latest development snapshot 17w43b fixes your issue.