Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup
Author Message
tjb0607 Offline
Junior Member

Posts: 2
Joined: Jun 2012
Reputation: 0
Post: #1
Bug Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup
My dual screen settings are set by

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.
06-04-2012 02:00 AM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #2
RE: Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup
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)

Developing away on one of
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
06-04-2012 02:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tjb0607 Offline
Junior Member

Posts: 2
Joined: Jun 2012
Reputation: 0
Post: #3
RE: Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup
(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.
06-04-2012 02:49 AM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #4
RE: Minor - Upon closing from fullscreen, Amnesia screws up my dual monitor setup
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.

Developing away on one of
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
06-06-2012 07:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)