Bug 21745 - 915GM/GMS/910GML: Starting with no xorg.conf, a monitor (cable) plugged in LVDS screen too small with black lines left and right
Summary: 915GM/GMS/910GML: Starting with no xorg.conf, a monitor (cable) plugged in LV...
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: medium normal
Assignee: MaLing
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2009-05-15 01:18 UTC by Paul Menzel
Modified: 2009-06-23 23:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
log with the monitor connected and using xrandr to switch and set up displays (348.46 KB, text/x-log)
2009-05-15 01:18 UTC, Paul Menzel
no flags Details

Description Paul Menzel 2009-05-15 01:18:00 UTC
Created attachment 25886 [details]
log with the monitor connected and using xrandr to switch and set up displays

Dear xorg-, intel-hackers,


I think since version 2.7.0 and currently with 2.7.1 booting my ASUS Eee PC 701 4G the screen is too small with black line on the left and right (640x480). I do not use a xorg.conf. Using xrandr (--auto) afterwards sets up the size correctly (800x480). It used to be working before with 2.6.x.

Here is the behavior. I did sudo invoke-rc.d gdm restart between the steps.

### Without monitor connected to VGA ###

$ date && xrandr # no monitor
Fr 15. Mai 10:04:23 CEST 2009
Screen 0: minimum 320 x 200, current 800 x 480, maximum 800 x 800
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 800x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x480        60.0*+
   640x480        85.0     72.8     75.0     59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1
TV disconnected (normal left inverted right x axis y axis)

### With monitor (both cases turned off and on) connected to VGA

$ date && xrandr # with monitor connected to VGA but turned off
Fr 15. Mai 10:05:08 CEST 2009
Screen 0: minimum 320 x 200, current 640 x 480, maximum 1280 x 1280
VGA connected 640x480+0+0 (normal left inverted right x axis y axis) 337mm x 270mm
   1280x1024      75.0     60.0
   1024x768       75.0     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0*    72.8     66.7     59.9
   720x405        70.0
   720x400        70.1
LVDS connected 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x480        60.0 +
   640x480        85.0     72.8     75.0*    59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1
TV disconnected (normal left inverted right x axis y axis)
paul@uinonah:~$ date && xrandr # with monitor connected to VGA but turned on
Fr 15. Mai 10:06:09 CEST 2009
Screen 0: minimum 320 x 200, current 640 x 480, maximum 1280 x 1280
VGA connected 640x480+0+0 (normal left inverted right x axis y axis) 337mm x 270mm
   1280x1024      75.0     60.0
   1024x768       75.0     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0*    72.8     66.7     59.9
   720x405        70.0
   720x400        70.1
LVDS connected 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x480        60.0 +
   640x480        85.0     72.8     75.0*    59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1
TV disconnected (normal left inverted right x axis y axis)

### Monitor connected and xrandr --output VGA auto --output LVDS --auto

$ date && xrandr # switch xrandr --output VGA --auto --output LVDS --auto
Fr 15. Mai 10:06:31 CEST 2009
Screen 0: minimum 320 x 200, current 800 x 480, maximum 1280 x 1280
VGA connected (normal left inverted right x axis y axis)
   1280x1024      75.0     60.0
   1024x768       75.0     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     72.8     66.7     59.9
   720x405        70.0
   720x400        70.1
LVDS connected 800x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x480        60.0*+
   640x480        85.0     72.8     75.0     59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1
TV disconnected (normal left inverted right x axis y axis)
paul@uinonah:~$ date && xrandr # switch xrandr --output VGA --auto --output LVDS --off
Fr 15. Mai 10:06:45 CEST 2009
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1280 x 1280
VGA connected 1280x1024+0+0 (normal left inverted right x axis y axis) 337mm x 270mm
   1280x1024      75.0*    60.0
   1024x768       75.0     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     72.8     66.7     59.9
   720x405        70.0
   720x400        70.1
LVDS connected (normal left inverted right x axis y axis)
   800x480        60.0 +
   640x480        85.0     72.8     75.0     59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1
TV disconnected (normal left inverted right x axis y axis)
paul@uinonah:~$ date && xrandr # xrandr --output VGA --off --output LVDS --auto
Fr 15. Mai 10:07:04 CEST 2009
Screen 0: minimum 320 x 200, current 800 x 480, maximum 1280 x 1280
VGA connected (normal left inverted right x axis y axis)
   1280x1024      75.0     60.0
   1024x768       75.0     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     72.8     66.7     59.9
   720x405        70.0
   720x400        70.1
LVDS connected 800x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x480        60.0*+
   640x480        85.0     72.8     75.0     59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1
TV disconnected (normal left inverted right x axis y axis)


Please tell me, if I can provide further information.


Thanks,

Paul
Comment 1 Gordon Jin 2009-05-16 06:56:32 UTC
This seems not wrong to me. I wonder what's the correct resolution provided by previous driver.
This change may also be caused by xserver upgrade?
Anyway you can set preferred mode in xorg.conf to make it work as you like.

Let Ling to confirm.
Comment 2 MaLing 2009-05-24 19:59:17 UTC
hi Paul  
I'm not clear what is your expected result?
those connection status of your xrandr command are right.
Xorg will chose the best mode line for VGA and LVDS, driver is only responsible to execute, not like driver's issue.
Working with 2.6x is from result Xorg, not driver.

Thanks 
Ma Ling
Comment 3 Paul Menzel 2009-05-28 02:54:21 UTC
Dear Ma Ling,


thanks for your comment.

(In reply to comment #2)
> I'm not clear what is your expected result?

The resolution of the LVDS should also with the VGA cable plugged in be the correct resolution, that is 800x480 and not smaller 640x480.

> those connection status of your xrandr command are right.
> Xorg will chose the best mode line for VGA and LVDS, driver is only responsible
> to execute, not like driver's issue.
> Working with 2.6x is from result Xorg, not driver.

Ok, so I reassign to component *Other. Could you please tell me the correct component.

Could the reason for this behavior be, that Xorg tries to choose the same aspect ratio for the LVDS and external/VGA monitor?


Thanks,

Paul
Comment 4 Julien Cristau 2009-05-28 03:22:45 UTC
> --- Comment #3 from Paul Menzel <paulepanter@users.sourceforge.net>  2009-05-28 02:54:21 PST ---
> Ok, so I reassign to component *Other. Could you please tell me the correct
> component.
> 
Probably DDX/xorg.

> Could the reason for this behavior be, that Xorg tries to choose the same
> aspect ratio for the LVDS and external/VGA monitor?

Seems likely.  xf86InitialConfiguration tries to find a mode that's
supported by all connected outputs at startup.
Comment 5 MaLing 2009-05-30 22:32:40 UTC
(In reply to comment #4)
> > --- Comment #3 from Paul Menzel <paulepanter@users.sourceforge.net>  2009-05-28 02:54:21 PST ---
> > Ok, so I reassign to component *Other. Could you please tell me the correct
> > component.
> > 
> Probably DDX/xorg.
> > Could the reason for this behavior be, that Xorg tries to choose the same
> > aspect ratio for the LVDS and external/VGA monitor?
> Seems likely.  xf86InitialConfiguration tries to find a mode that's
> supported by all connected outputs at startup.
Exactly,  xf86InitialConfiguration tries to find a mode that's compatible with LVDS and VGA, it is not driver issue.

Thanks
Ma Ling
Comment 6 MaLing 2009-06-23 23:49:08 UTC
Dear Paul
Because it is not bug, I close the issue. please open it if you need.

Thanks
Ma Ling


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.