Can not use external VGA display (T43 + ATI + VGA)

Bug #152021 reported by damaru
8
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Invalid
Undecided
Unassigned
xserver-xorg-video-ati (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have a T43 laptop connected to an external dock. I have connected two monitors, one to VGA and other to DVI port of the dock. I used to both external monitors with this setting using xinerama with fiesty. recently when I upgraded to gutsy, the configuration no more works. I get an error saying the "Requested entry already in use". The default configuration using dpke-reconfigure xserver-xorg will get me a setting when LVDS is mirrored with the monitor. Hunting around the net made me realize that the old xinerama / dual head configs no longer work with the ati drivers.

It appears that xrandr detects the displays:

~ > xrandr
Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 2560 x 1024
VGA-0 connected (normal left inverted right)
   1280x1024 59.9
   640x480 60.0
DVI-0 connected 1280x1024+1280+0 (normal left inverted right) 376mm x 301mm
   1280x1024 60.0*+ 76.0 75.0 71.9 69.8 59.9
   1152x864 75.0 74.8
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3
   640x480 75.0 72.8 66.7 60.0
   720x400 70.1
LVDS connected 1280x1024+0+0 (normal left inverted right) 0mm x 0mm
   1280x1024 59.9*
   1280x800 60.0
   1280x768 60.0
   1024x768 60.0
   800x600 60.3
   640x480 59.9
S-video disconnected (normal left inverted right)

trying the following gets me a xinerama-like config:

 xrandr --output LVDS --left-of DVI-0

But I am not able to get the VGA-0 as the primary and DVI-0 as the secondary. The driver always choses LVDS as the primary display.

some relevant info:

~ > lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Mobility Radeon X300]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 11)
0b:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
0b:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)

Revision history for this message
damaru (damaru) wrote :
Revision history for this message
damaru (damaru) wrote :
Revision history for this message
damaru (damaru) wrote :

did some more configurations. here are new logs and config files.

Revision history for this message
damaru (damaru) wrote :

note that it appears that the driver is able to detect the VGA monitor. for some reason, it is not able to use it. It always uses the LVDS and DVI instead of VGA and DVI. I have tried specifying various combinations of screens in serverlayout section. This is what I expect it to work with:

Section "ServerLayout"
        Identifier "Default Layout"
        Screen 0 "DVI" RightOf "VGA"
        Screen 1 "VGA"
# Screen 1 "LVDS"
        InputDevice "Generic Keyboard"
        InputDevice "Configured Mouse"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
        InputDevice "Synaptics Touchpad"
EndSection

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Can you please try the newest driver from https://wiki.ubuntu.com/XorgOnTheEdge without any xorg.conf and then use the xrandr command to set up the screens? Please attach Xorg.0.log from this, and the output from "xrandr --verbose".

Changed in xserver-xorg-video-ati:
assignee: nobody → tormodvolden
status: New → Incomplete
Changed in xorg:
status: New → Invalid
Revision history for this message
damaru (damaru) wrote :

Since I was unable to use the gutsy due to this bug, I have reverted back to feisty. As mentioned on XorgOnTheEdge, I tested on feisty itself with the builds from http://people.ubuntu.com/~bryce/Testing/

please see the attachment for logs.

Revision history for this message
damaru (damaru) wrote :

This is the xrandr o/p. please see the attachment for the verbose o/p.

Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 2560 x 1200
VGA-0 connected (normal left inverted right)
   1280x1024 60.0 + 76.0 75.0 71.9 69.8 59.9
   1152x864 75.0 74.8
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3
   640x480 75.0 72.8 66.7 60.0
   720x400 70.1
DVI-0 connected 1280x1024+0+0 (normal left inverted right) 376mm x 301mm
   1280x1024 60.0*+ 76.0 75.0 71.9 69.8 59.9
   1152x864 75.0 74.8
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3
   640x480 75.0 72.8 66.7 60.0
   720x400 70.1
LVDS connected 1400x1050+0+0 (normal left inverted right) 0mm x 0mm
   1400x1050 50.0*+
   1280x800 60.0
   1280x768 60.0
   1024x768 60.0
   800x600 60.3
   640x480 59.9
S-video disconnected (normal left inverted right)

Revision history for this message
damaru (damaru) wrote :

I am not able get it working even with the new builds from https://wiki.ubuntu.com/XorgOnTheEdge.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

We would prefer if you could provide logs and output from running Gutsy.

Changed in xserver-xorg-video-ati:
assignee: tormodvolden → nobody
status: Incomplete → Confirmed
Revision history for this message
damaru (damaru) wrote :

attaching the logs from gutsy.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Please just attach the files next time.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 2560 x 1200
VGA-0 connected (normal left inverted right)
   1280x1024 60.0 + 76.0 75.0 71.9 69.8 59.9
   1152x864 75.0 74.8
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3
   640x480 75.0 72.8 66.7 60.0
   720x400 70.1
DVI-0 connected 1280x1024+0+0 (normal left inverted right) 376mm x 301mm
   1280x1024 60.0*+ 76.0 75.0 71.9 69.8 59.9
   1152x864 75.0 74.8
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3
   640x480 75.0 72.8 66.7 60.0
   720x400 70.1
LVDS connected 1400x1050+0+0 (normal left inverted right) 0mm x 0mm
   1400x1050 50.0*+
   1280x800 60.0
   1280x768 60.0
   1024x768 60.0
   800x600 60.3
   640x480 59.9
S-video disconnected (normal left inverted right)

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Did you try this?
 xrandr --output LVDS --off

Revision history for this message
damaru (damaru) wrote :

Yes, I tried. That did switch off the LVDS. But could not get the VGA working. I also tried doing:

xrandr --output VGA-0 --auto --left-of DVI-0
xrandr --output VGA-0 --auto --right-of DVI-0

The above two commands would make a big screen, only a part of which is visible on DVI monitor. But no display on VGA. one change i did notice after doing this is xrandr displays a * along the 1280X1024 modeline:

~ > xrandr
Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 2560 x 1200
VGA-0 connected 1280x1024+1280+0 (normal left inverted right) 376mm x 301mm
   1280x1024 60.0*+ 76.0 75.0 71.9 69.8 59.9
   1152x864 75.0 74.8
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3
   640x480 75.0 72.8 66.7 60.0
   720x400 70.1
DVI-0 connected 1280x1024+0+0 (normal left inverted right) 376mm x 301mm
   1280x1024 60.0*+ 76.0 75.0 71.9 69.8 59.9
   1152x864 75.0 74.8
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3
   640x480 75.0 72.8 66.7 60.0
   720x400 70.1
LVDS connected (normal left inverted right)
   1400x1050 50.0 +
   1280x800 60.0
   1280x768 60.0
   800x600 60.3
   640x480 59.9
S-video disconnected (normal left inverted right)

Revision history for this message
damaru (damaru) wrote :

I also tried

xrandr --output VGA-0 --same-as DVI-0

no results.

Revision history for this message
damaru (damaru) wrote :

I tried hardy and with the radeon driver, I am able to get the VGA and DVI both working perfectly. attaching the xorg.conf . this bug can be closed.

~/XTEST > dpkg -l xserver-xorg-core | grep ii
ii xserver-xorg-core 2:1.4.1~git20080131-1ubuntu9 Xorg X server - core server
~/XTEST > dpkg -l xserver-xorg-video-ati | grep ii
ii xserver-xorg-video-ati 1:6.8.0-1 X.Org X server -- ATI display driver

~/XTEST > xrandr
Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 2560 x 1024
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024 60.0*+ 76.0 75.0 71.9 69.8 59.9
   1152x864 75.0 74.8
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3
   640x480 75.0 72.8 66.7 60.0
   720x400 70.1
DVI-0 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024 60.0*+ 76.0 75.0 71.9 69.8 59.9
   1152x864 75.0 74.8
   1024x768 75.1 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3
   640x480 75.0 72.8 66.7 60.0
   720x400 70.1
LVDS connected (normal left inverted right x axis y axis)
   1280x1024 59.9
   1280x800 60.0
   1280x768 60.0
   1024x768 60.0 59.9
   800x600 60.3 59.9
   640x480 59.9 59.4
S-video disconnected (normal left inverted right x axis y axis)

I could enable the xinerama like setup with:

 xrandr --output DVI-0 --right-of VGA-0

Changed in xserver-xorg-video-ati:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.