Bug 25473 - KMS on intel doesn't respect resolution aspect-ratio
Summary: KMS on intel doesn't respect resolution aspect-ratio
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-06 05:22 UTC by Xavier Vello
Modified: 2010-02-22 05:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Xavier Vello 2009-12-06 05:22:39 UTC
Hello

Using xorg-video-intel 2.9.1 on xserver 1.6.5 and linux kernels 2.6.31 and 2.6.32-rc8, I notice a regression in KMS vs xorg modesetting. Without KMS, setting a 4:3 resolution (for instance 1024x768) on a 16:10 LCD screen (1440x900 in my case) makes xorg use black lateral borders in order to respect the aspect-ratio.
If I use KMS, the image is teared to fill the whole screen, which is quite uggly. It affects me in two use cases :
  - playing fullscreen games
  - when using a VGA 4:3 projector in clone mode (I set LVDS1 and VGA1 to 1024x768)


Thanks for your work, this bug aside, the driver is excellent !
Comment 1 Wang Zhenyu 2010-02-21 21:22:01 UTC
Do you mean the panel fitting feature for your LVDS panel?

Current kernel has supported that in KMS already, default is 'fullscreen' mode. You can use xrandr to change the property of "scaling mode" on LVDS output, like
xrandr --output LVDS1 --set "scaling mode" xxx
Comment 2 Xavier Vello 2010-02-22 05:18:11 UTC
Hello

Indeed, it works with xrandr --output LVDS1 --set "scaling mode" "Full aspect"
I remember trying this at the time, but it didn't work. Now it's OK.

Thanks a lot


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.