Comment 0 for bug 1029829

Revision history for this message
jugglefish (pniederlag) wrote :

Until a recent update of the nvidia driver disper was working quite nice on exporting/importing the config to easily switch different display configurautions (Laptop). Due to a bug with suspend/resume in 302.17 I now use 304.22 of the nvidia driver.

A simple 'disper -p | disper -i' will now fail unfortunatly.

The problem sits in the usage of the '[get|set]_screen_associated_displays' methods. The associated displays seem to report all "possible" displays that possibly could be connected. Now this is something completld different than the really connected displays. To me it seems that disper should rather use the connected than the associated displays when exporting the config.

Changing the behaviours of '[get|set]_screen_associated_displays' to use connected displays I could make disper work again like before the driver update.

The problem should probably rathe be fixed by adding/using proper get/set_screen_connected_display methods in switcher/swnvidia.py.