Comment 4 for bug 662760

Revision history for this message
Diggory (diggory-hardy) wrote : Re: [Bug 662760] Re: deletion of dangling metamode 50 failed

Yes, this should be exactly what auto-disper is doing (except that I also
added a hook to xrandr rotation). Both this and auto-disper are working
perfectly at the moment... I'll see if this happens again in the next couple
of weeks.

Cheers

On 19 October 2010 11:36, wvengen <email address hidden> wrote:

> Hi, thanks for trying. It may not be so much an issue with auto-disper, but
> with the import/export functionality. Although I don't see why this would
> happen, though. When the commands of comment #1 succeed, you could try the
> following:
> $ # connect external monitor
> $ cat ~/.auto-disper/work/config
> $ disper -v -i <~/.auto-disper/work/config
> $ # disconnect external monitor (make sure your terminal has focus)
> $ cat ~/.auto-disper/laptop/config
> $ disper -v -i <~/.auto-disper/laptop/config
> This is probably what auto-disper does too.
>
> --
> deletion of dangling metamode 50 failed
> https://bugs.launchpad.net/bugs/662760
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in On-the-fly display switcher: New
>
> Bug description:
> I'm using the auto-disper script to switch between laptop and external
> monitors (Fn+F7 bound to "auto-disper --change"). My normal usage is to plug
> in the external screen and press Fn+F7 (switches to only external display;
> works fine), and at the end of the day unplug the external screen and press
> Fn+F7 again (often fails). Running auto-disper from the command-line after
> unplugging the external screen:
>
> $ sh/auto-disper --change
> no resolutions found for display DFP-0, falling back to: 800x600, 640x480
> home
> laptop (detected)
> -> loading profile laptop
> deletion of dangling metamode 50 failed
> could not find nor create MetaMode: DFP-0: nvidia-auto-select @1440x900
> +0+0
>
>
> The nearest I found to an answer was #315920, however that bug is closed as
> fixed. Other ideas? Or should I not be trying to change video modes after
> unplugging my only active screen anyway?
>
> By the way, disper is a very nice tool!
>
>
> Diagnostics: both screens connected:
>
> $ disper -l
> display DFP-0: LEN
> resolutions: 320x175, 320x200, 360x200, 320x240, 400x300, 416x312,
> 512x384, 640x350, 576x432, 640x400, 680x384, 720x400, 640x480, 720x450,
> 640x512, 700x525, 800x512, 840x525, 800x600, 960x540, 832x624, 960x600,
> 1024x768, 1152x864, 1360x768, 1440x900
> display DFP-4: LEN L2251p Wide
> resolutions: 320x175, 320x200, 360x200, 320x240, 400x300, 416x312,
> 512x384, 640x350, 576x432, 640x400, 680x384, 720x400, 640x480, 720x450,
> 640x512, 720x480, 700x525, 800x512, 720x576, 840x525, 800x600, 960x540,
> 832x624, 960x600, 896x672, 928x696, 960x720, 1024x768, 1280x720, 1152x864,
> 1360x768, 1280x960, 1440x900, 1280x1024, 1400x1050, 1600x1000, 1600x1024,
> 1680x1050
>
>
> Auto-disper configs (should be fairly obvious ("config" loaded with "disper
> -i"); "work" is my external screen config):
>
> $ cat .auto-disper/laptop/setup
> display DFP-0: LEN
> $ cat .auto-disper/laptop/config
> backend: nvidia
> associated displays: DFP-0
> metamode: DFP-0: nvidia-auto-select @1440x900 +0+0
> scaling: stretched
> $ cat .auto-disper/work/setup
> display DFP-0: LEN
> display DFP-4: LEN L2251p Wide
> $ cat .auto-disper/work/config
> backend: nvidia
> associated displays: DFP-0, DFP-4
> metamode: DFP-4: nvidia-auto-select @1680x1050 +0+0
> scaling: default, stretched
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/disper/+bug/662760/+subscribe
>