Bug 25562

Summary: Adding "CenterMode" option to radeon driver
Product: xorg Reporter: Andrea Turrini <andrea.turrini>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: enhancement    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Andrea Turrini 2009-12-10 05:45:44 UTC
I'm running openSUSE 11.2 on my Acer Aspire 1691 (screen size: 1280x800). My graphic card is (from Xorg.0.log): "ATI Mobility Radeon X700 (M26) (PCIE)" (ChipID = 0x5653) and xorg uses the driver radeon provided by xorg-x11-driver-video-7.4-87.90.1.i586.rpm.

One option that is missing in the radeon driver with respect to the fglrx proprietary driver is the "CenterMode", that permits to avoid desktop stretching when a non-native screen size is used.

For example, if I connect an external projector to the VGA output and I set the position to "Clone" and the screen size to 1024x768 on both lvds and projector, then the desktop on lvds is stretched from 1024x768 to 1280x800. On the contrary, the fglrx driver permits to enable the center mode, thus on lvds the desktop is placed into a 1024x768 black frame that is extended to 1280x800 whithout being stretched.

I think this option is useful also for the radeon driver, since I suppose it is the "ScaleType" option of radeonhd driver.

Best regards,
Andrea
Comment 1 Alex Deucher 2009-12-10 06:47:26 UTC
Already supported.  It's available as a randr property:
xrandr --output LVDS --set scaler center

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.