Bug 20150

Summary: Dual display failed ( LVDS and VGA )
Product: xorg Reporter: Yingying <yingying.zhao>
Component: Driver/intelAssignee: Gordon Jin <gordon.jin>
Status: RESOLVED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: haien.liu, quanxian.wang
Version: unspecifiedKeywords: NEEDINFO
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log none

Description Yingying 2009-02-16 18:59:47 UTC
Created attachment 23004 [details]
Xorg.0.log

System environment:
-- chipset : Montevina 2a42
-- system architecture : x86_64
-- xf86-video-intel : 2.6.1
-- AccelMethod: EXA 
-- xserver : Xorg 1.6.0 RC2
-- Mesa: 7.3
-- kernel version:2.6.28-6-generic
-- Linux distribution :ubuntu-Jaunty-9.04-amd64(alpha4)

Steps to reproduce:

1:Connect external display to the VGA port on the laptop(Dell ).
2:Enter Terminal mode by Fn+F1.
3:Killall gdm,and then implement command:#startx.
4:X would boot on both LVDS and VGA port successfully (dualdisplay clone).
5:Implement following configuration command:
        #xrandr --output VGA --mode 1024x768
        # xrandr --output LVDS --mode 1024x768
        # xrandr --output LVDS --left-of VGA
you can see the following error:
   "xrandr: screen cannot be larger than 1360x1360 (desired size 2048x768)".

-----------
root@alpha4-x64:# xrandr 
Screen 0: minimum 320 x 200, current 1360 x 768, maximum 1360 x 1360
VGA connected 1360x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1360x768       59.8* 
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 261mm x
163mm
   1280x800       60.0 +   50.0  
   1024x768       85.0     75.0     70.1     60.0* 
   832x624        74.6  
   800x600        85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     72.8     75.0     59.9  
   720x400        85.0  
   640x400        85.1  
   640x350        85.1  
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

root@alpha4-x64:~# xrandr --output VGA --mode 1024x768
root@alpha4-x64:~# xrandr --output LVDS --right-of VGA
xrandr: screen cannot be larger than 1360x1360 (desired size 2048x768)
root@alpha4-x64:~# xrandr --output LVDS --mode 1024x768
root@alpha4-x64:~# xrandr --output LVDS --right-of VGA
xrandr: screen cannot be larger than 1360x1360 (desired size 2048x768)
root@alpha4-x64:~# xrandr --output LVDS --left-of VGA
xrandr: screen cannot be larger than 1360x1360 (desired size 2048x768)
root@alpha4-x64:~#xrandr --auto
root@alpha4-x64:~# xrandr --output LVDS --auto
root@alpha4-x64:~# xrandr --output LVDS --left-of VGA
xrandr: screen cannot be larger than 1360x1360 (desired size 2304x800)
root@alpha4-x64:~# xrandr --auto
root@alpha4-x64:~# xrandr --output LVDS --auto
root@alpha4-x64:~# xrandr --output VGA --auto
root@alpha4-x64:~# xrandr --output LVDS --left-of VGA
Comment 1 Gordon Jin 2009-02-17 05:54:43 UTC
You need set "Virtual" in xorg.conf for your dual display (with different contents on the 2 screens, i.e. extended desktop). e.g. you can set the value "2048 2048", otherwise the server will pick up the largest mode (1360) in your monitors and makes a square (1360x1360) as Virtual screen size (this is the xserver policy for choosing the maximum screen size when startup).
See http://intellinuxgraphics.org/dualhead.html for more detail.
Comment 2 qwang13 2009-03-09 00:19:57 UTC
Hi, Gordon

We have retried on Jaunty Alpha5 following the comment#1. Still it is. Therefore reopen this bug.

Do you have some testing on latest code? Does it work or not??
Comment 3 Gordon Jin 2009-03-09 01:42:45 UTC
Yes, the upstream code is working fine on my side.

Is the current symptom same as the previous? e.g. I don't think you'll still see  "xrandr: screen cannot be larger than 1360x1360 (desired size 2048x768)" if setting Virtual as 2048.

If the symptom is different now, I'd suggest to open a new bug to track, with new xorg.conf and Xorg.0.log.
Comment 4 qwang13 2009-03-09 22:59:16 UTC
Still be the same error. The platform is x200 with one VGA monitor.
Comment 5 Gordon Jin 2009-03-10 00:00:23 UTC
Please attach the new xorg.conf, Xorg.0.log, xrandr command with output.
Comment 6 qwang13 2009-03-15 19:29:22 UTC
We try it again with another configuration file, it works. Seems it is the configuration issue.

Ubuntu will use the default config file. If we use xrandr command, it will bring this problem. We have to get a new config file which works for SUSE and test it with no problem.
 
I will close the bug.

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.