Features/RandrSupport

From FedoraProject

Jump to: navigation, search

Contents

Randr support

Summary

Use the capabilities offered by the Xrandr X extension throughout the desktop.

Owner

Current status

The new capplet is in rawhide. The necessary bits are in gnome-settings-daemon. These pieces came too late to get it upstream for Gnome 2.22, that should happen in the next Gnome development cycle.

Control center and gnome-settings-daemon changes are in.

Drag-and-drop configuration of multihead works.

Clone support has been added.

Some amount of polish has been added to the capplet.

Hotplug support is limited, since it would require polling in the X server, which drives power consumption up quite a bit. Instead, we've added a "Detect Displays" button.

Application changes to improve their handling of dynamic configuration changes has largely been punted to F10.


Detailed Description

The Xrandr extension is the modern interface that X servers offer for configuring output devices such as monitors, projectors, LCD screens, etc. Modern desktops should take advantage of this interface to improve the way they handle display configuration and hotplugging.

Here is a mail by Søren that explains in some detail how the pieces for this feature work together, and what parts are still missing.

Benefit to Fedora

Fedora will gain modern display configuration and hotplugging support, on par with or better than Ubuntu's displayconfig-gtk.

Ubuntu has now switched from displayconfig-gtk to this capplet, too, so we have some synergy here.


Scope

This needs changes in GTK+, control-center (for the screen resolution capplet), metacity, gnome-panel and nautilus and possibly others (for better multihead awareness), and system-config-display.

Test Plan


User Experience

1. User plugs in second monitor at work 1. The system configures the same multihead setup that he used the last time with this monitor. 1. A notification bubble informs him about the reused configuration and offers to run the display capplet. 1. In the display capplet, the user can change the configuration, e.g. move the external monitor from the left to the right. 1. User goes to meeting room, plugs in projector. 1. The system updates the multihead configuration automatically again. 1. The presentation software displays the presentation on the projector and the notes on the internal monitor, without any tweaking

(If everything works together perfectly...)


Dependencies


Contingency Plan

Ship the unpatched upstream display capplet. Users will not have any nicely integrated randr support and will have to use the xrandr commandline tool.

Documentation

Documentation should ideally be accessible via the help button in the capplet (not there yet). It should probably explain that the big rectangles in the top area represent monitors/projectors by their vendor/model names, and that you can drag them around (can you ?). The remaining controls should be pretty self-explanatory. What needs to be explained is that the system remembers existing configurations based on the connected monitor models (also worth pointing out that this information is stored in ~/.gnome2/monitors.xml. The restriction of hotplugging to a small set of supported hardware should be mentioned.

Release Notes

Comments

I noticed you want to be on part atleast with displayconfig-gtk. So why not just use it or base your work on the existing tool? - RahulSundaram

There should be also some kind of automatic fallback mechanism: imagine you have a Laptop, one external display, and deactivate the LCD of the Laptop to work just with the external display. If you now deconnect the external one you don't see anything. RandR should detect that automatically and should bring back the LCD! - RolandWolters