nvidia-settings + suspend2 problems
I have a GeForce 7400 with 512 MB, the nvidia 9631 driver and linux 220.127.116.11 on a laptorp. I am using TwinView when I have my latop docked and connected to a second monitor. My metamode configuration is as follows:
Option "metamodes" "DFP-0: 1920x1200 +0+0,CRT-0: 1600x1200 +1920+0;DFP-0: 1920x1200 +0+0,CRT-0: NULL"
When I startx with the second monitor attached, xrandr -q shows two available sizes, 3520x1200 and 1920x1200. I can switch back and forth between these modes to enable/disable the second screen. Then when I suspend the machine and later resume it without the second monitor, I can use xrandr -s to "disable" the second monitor and switch to 1920x1200. However, after I do this and then resume the machine with the second monitor attached, xrandr is no longer able to switch back to 3520x1200.
I can use the nvidia-settings utility to Detect Displays and enable the second monitor. Unfortunately, anytime I use nvidia-settings to apply a new display configuration I can no longer suspend. Shortly after initiating the hibernate cycle, it says "Finding Allowances for Drivers", the screen goes black and never comes back. Normally, it gets to this part, blanks the screen for a few seconds and then continues suspending.
Has anyone else experienced the same problem with suspend2 and nvidia-settings applying a new display configuration? I'm trying to find out if this is a bug in the NVidia driver or if I am missing something in my config. Also, does anyone know of an updated XRandR that fixes the suspend docked/resume+suspend undocked/resume docked problem?