Bug 24331 - Panel-fitting cannot be configured when using KMS
Panel-fitting cannot be configured when using KMS
Status: RESOLVED NOTABUG
Product: xorg
Classification: Unclassified
Component: Driver/intel
7.4 (2008.09)
Other Linux (All)
: medium normal
Assigned To: ykzhao
Xorg Project Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-05 11:16 UTC by Eric Appleman
Modified: 2009-10-12 02:38 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Appleman 2009-10-05 11:16:38 UTC
eric@kingfisher:~$ xrandr
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 4096 x 4096
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 304mm x 190mm
   1440x900       60.0*+   59.9  
   1360x768       59.8  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV1 disconnected (normal left inverted right x axis y axis)

eric@kingfisher:~$ xrandr --output LVDS1 --set PANEL_FITTING full_aspect
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  149 (RANDR)
  Minor opcode of failed request:  11 (RRQueryOutputProperty)
  Serial number of failed request:  27
  Current serial number in output stream:  27
Comment 1 Eric Appleman 2009-10-05 11:41:02 UTC
For additional information about my system in the form of attachments, please refer to https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/443373

I will not be reposting the attachments unless it is necessary.
Comment 2 Jesse Barnes 2009-10-05 12:52:43 UTC
Yakui, can you take a look at this?
Comment 3 Eric Appleman 2009-10-05 20:17:19 UTC
This bug also applies to the proper command that was implemented to do panel-fitting with KMS.

The "aspect" option takes, but the screen is corrupted.

I'll file a separate  bug for it.
Comment 4 ykzhao 2009-10-10 00:00:15 UTC
(In reply to comment #3)
> This bug also applies to the proper command that was implemented to do
> panel-fitting with KMS.
> 
> The "aspect" option takes, but the screen is corrupted.
> 
> I'll file a separate  bug for it.
The panel_fitting can also be configured in KMS. But the command is different with that in UMS mode.
   >UMS mode: xrandr --output LVDS --set "PANEL_FITTING" "full aspect"(center, full)
   >KMS mode: xrandr --output LVDS1 --set "scaling mode" "Full" ("Center" or "Full aspect"

Then you can switch to the different display mode.

The corruption issue will be tracked in bug24339.
So this bug will be marked as resolved. 
> 

Comment 5 Chí-Thanh Christopher Nguyễn 2009-10-12 02:10:50 UTC
Using xf86-video-intel-2.9.0, the suggested command does not work here:

$ xrandr --output LVDS1 --set "scaling mode" "Full aspect"
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  148 (RANDR)
  Minor opcode of failed request:  11 (RRQueryOutputProperty)
  Serial number of failed request:  27
  Current serial number in output stream:  27

Also the manpage still says to use the PANEL_FITTING property.
Comment 6 ykzhao 2009-10-12 02:38:59 UTC
From the xrandr output it seems that you uses the modified kernel.
In the upstream kernel the property of scaling mode should be:
  >scaling mode:	Full
		supported: None         Full         Center       Full aspect

But on your box the property of scaling mode is :
   >scaling mode:	Fullscreen
		supported: Non-GPU      Fullscreen   No scale     Aspect 

Please use the property on your box to change the scaling mode.

Thanks.