Metamodes not restored

Bug #514909 reported by Michael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
disper
Confirmed
Wishlist
Unassigned

Bug Description

Hi,

I've noticed that when I use disper to change displays it deletes all of the metamodes not relevant for that display. This means that when I change back to that display, the metamodes are no longer available.

So for example, for my primary display I have some lower resolution metamodes in my xorg.conf for playing games full screen. I've written a shell script to toggle though the displays using disper: extended -> secondary (laptop screen) -> primary (lcd monitor). By default I have the display extended. So if I want to enable just the LCD monitor, I first toggle to the laptop screen, at which point all of the metamodes are deleted for the monitor, then I toggle to the monitor and the metamodes from my xorg.conf are no longer available.

Would it be possible for disper to read the xorg.conf and put back any metamodes it might have deleted?

I'm using disper version 0.2.3

Here's the output from disper when switching to the secondary display:

michael@michael-laptop ~/Downloads $ disper -v -s
backend: nVidia
using specified displays: DFP-0
resolutions of DFP-0: 320x240, 400x300, 512x384, 680x384, 640x480, 800x600, 1024x768, 1280x800
setting xinerama info order: DFP-0
switching to metamode 55: [5] 1280x800 / 55
deleting dangling metamode 50: source=xconfig, id=50, switchable=yes :: DFP-0: 1280x800 @1280x800 +1920+0, DFP-1: 1920x1200 @1920x1200 +0+0
deleting dangling metamode 51: source=xconfig, id=51, switchable=yes :: DFP-1: 1920x1200 @1920x1200 +0+0
deleting dangling metamode 52: source=xconfig, id=52, switchable=yes :: DFP-1: 1440x900 @1440x900 +0+0
deleting dangling metamode 53: source=xconfig, id=53, switchable=yes :: DFP-1: 960x600 @960x600 +0+0
deleting dangling metamode 54: source=xconfig, id=54, switchable=yes :: DFP-1: 800x600 @800x600 +0+0
associating displays: DFP-0
unrecognised scaling value for DFP-0 from nvidia-settings: 131075

Thanks,
Michael

Revision history for this message
wvengen (wvengen) wrote :

Thanks for your bug report. Disper indeed throws away all metamodes that don't fit the new setup. Is anyone using the existance of different metamodes? Please post here if you do so.

Changed in disper:
status: New → Confirmed
wvengen (wvengen)
Changed in disper:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.