deletion of dangling metamode 50 failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
disper |
Confirmed
|
Undecided
|
Unassigned | ||
disper (Debian) |
Fix Released
|
Unknown
|
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/
display DFP-0: LEN
$ cat .auto-disper/
backend: nvidia
associated displays: DFP-0
metamode: DFP-0: nvidia-auto-select @1440x900 +0+0
scaling: stretched
$ cat .auto-disper/
display DFP-0: LEN
display DFP-4: LEN L2251p Wide
$ cat .auto-disper/
backend: nvidia
associated displays: DFP-0, DFP-4
metamode: DFP-4: nvidia-auto-select @1680x1050 +0+0
scaling: default, stretched
Related branches
Changed in disper: | |
status: | New → Confirmed |
Changed in disper (Debian): | |
status: | Unknown → Confirmed |
Changed in disper (Debian): | |
status: | Confirmed → Fix Released |
Hi, thanks for your bug report. I cannot immediately understand why this is happening. When I try the same thing it does not happen. Could you try the following and report the output? bug-report. sh (which is included by the Ubuntu package nvidia-glx-*; or else include /var/log/Xorg.0.log and dmesg) since it may be a driver-related problem.
$ # connect external monitor
$ disper -v -S
$ disper -p
$ # disconnect external monitor (make sure your terminal has focus)
$ disper -v -s
$ disper -p
If doesn't trigger the bug the problem is in auto-disper, if it does please report and attach the file created by nvidia-