Frictional Games Forum (read-only)
Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html)
+---- Forum: Linux - ATDD (https://www.frictionalgames.com/forum/forum-32.html)
+---- Thread: Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup (/thread-15831.html)



Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup - tjb0607 - 06-04-2012

My dual screen settings are set by

Code:
xrandr --output DIN --off --output DVI-1 --mode 1280x1024 --pos 0x0 --rotate normal --output DVI-0 --mode 1280x1024 --pos 1280x0 --rotate normal

when I close Amnesia from fullscreen, it will disable DVI-1 by trying to change it back to my normal resolution, even though I was already in that resolution. I set my resolution to 1280x1024, and it doesn't change resolution on start.

This does have a workaround (re-executing xrandr) but with the workaround, it moves all my windows on to one monitor, which is annoying.


RE: Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup - Urkle - 06-04-2012

Are you using the provided SDL? or your system SDL? I would suggest trying the system SDL to see if that makes any different. (re-run the checklibs.sh script in the amnesia install directory after installing SDL on your system)


RE: Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup - tjb0607 - 06-04-2012

(06-04-2012, 02:02 AM)Urkle Wrote: Are you using the provided SDL? or your system SDL? I would suggest trying the system SDL to see if that makes any different. (re-run the checklibs.sh script in the amnesia install directory after installing SDL on your system)
I have SDL installed from Arch's extra repository. After running checklibs.sh and running Amnesia, it still resets the resolution on closing.


RE: Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup - Urkle - 06-06-2012

Ok this seems like an SDL issue.. Amnesia distributes SDL 1.2.14 which has X randr enabled by default. It looks like your distribution is also distributing 1.2.14.. one of the changes in 1.2.15 is to prevent the "desktop reconfiguring" by disabling xrandr.

http://www.libsdl.org/release/SDL-1.2.15/docs.html

I would make sure you are using a 1.2.15 release or just nab the one from libsdl.org and put it in the libs or libs64 folder in the Amnesia installation folder.