Bug 20407

Summary: Second Monitor not found with radeon
Product: xorg Reporter: Murray Lindeblom <lindeblm>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: CLOSED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log file for radeon driver
none
xorg.conf used with radeon
none
rom
none
Radeonhd log post jaunty alpha 5 + python updates
none
Xorg.0.log file for radeonhd OPTION "HPD" "off"
none
Xorg.0.log
none
xorg.conf none

Description Murray Lindeblom 2009-03-01 07:30:55 UTC
Created attachment 23415 [details] [review]
Xorg.0.log file for radeon driver

I did a fresh install of jaunty alpha 5
x-server 1.5.99.902-7
libxrandr 1.2.99.4-2

The radeon driver (6.11.0-2) now ignores my second monitor.

Second monitor works perfectly if i install radeonhd 1.2.4-2 and use OPTION "HPD" "off"  The only thing added to /etc/X11/xorg.conf is virtual size to allow larger screen area.
Comment 1 Murray Lindeblom 2009-03-01 07:54:45 UTC
Created attachment 23416 [details] [review]
xorg.conf used with radeon
Comment 2 Alex Deucher 2009-03-01 10:15:53 UTC
Can you attach your radeonhd log as well?  Also, what connectors does your card have and what connectors do you have the monitors connected to?  Finally can you attach your video bios?

How to get your video bios:
(as root)
cd /sys/bus/pci/devices/<pci bus id of your video card>/
echo 1 > rom
cat rom > /tmp/rv260.rom
echo 0 > rom

Comment 3 Murray Lindeblom 2009-03-01 18:16:40 UTC
Created attachment 23426 [details]
rom

mur@ubuntu2:/sys/bus/pci/devices/0000:01:00.0$ sudo -s
root@ubuntu2:/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0# echo 1 > rom
root@ubuntu2:/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0# cat rom > /tmp/rv260.rom
root@ubuntu2:/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0# echo 0 > rom
root@ubuntu2:/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0# ls -al /tmp/rv260.rom
-rw-r--r-- 1 root root 64000 2009-03-01 20:13 /tmp/rv260.rom
root@ubuntu2:/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0# ls
broken_parity_status  device  local_cpulist  msi_bus   resource0     resource4  subsystem_device  vendor
class                 enable  local_cpus     power     resource0_wc  rom        subsystem_vendor
config                irq     modalias       resource  resource2     subsystem  uevent
Comment 4 Murray Lindeblom 2009-03-01 18:29:44 UTC
Created attachment 23427 [details] [review]
Radeonhd log post jaunty alpha 5 + python updates

My problem has returned (i.e. both outputs are tied together).
Immediately after a fresh install of jaunty alpha 5 radeonhd worked perfectly with OPTION "HPD" "off".
Now after all the Python fixes, the problem has returned.

mur@ubuntu2:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1152 x 864, maximum 2704 x 1050
VGA_1 connected 1152x864+0+0 0mm x 0mm
   1152x864       60.0*+
   1360x768       59.8  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
DVI-D_1 disconnected
DVI-I_2/digital disconnected
DVI-I_2/analog connected 1152x864+0+0 0mm x 0mm
   1152x864       60.0*+
   1360x768       59.8  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
mur@ubuntu2:~$ xrandr --output VGA_1 --mode 1024x768
mur@ubuntu2:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1152 x 864, maximum 2704 x 1050
VGA_1 connected 1024x768+0+0 0mm x 0mm
   1152x864       60.0 +
   1360x768       59.8  
   1024x768       60.0* 
   800x600        60.3  
   640x480        59.9  
DVI-D_1 disconnected
DVI-I_2/digital disconnected
DVI-I_2/analog connected 1024x768+0+0 0mm x 0mm
   1152x864       60.0 +
   1360x768       59.8  
   1024x768       60.0* 
   800x600        60.3  
   640x480        59.9
Comment 5 Murray Lindeblom 2009-03-02 21:01:32 UTC
I have two analog monitors connected to a PowerColor AX3450 256MD2-H.
The primary monitor is an Daytek LCD connected to VGA_1.
The secondary monitor is a Daytek CRT connected via analog adapter to DVI_2/analog.
The mother board is a Sapphire PI-AM2RS690MHD board with the IGA not being used because it does not get configured.  The BIOS does not allow it to be disabled.
This system has 3GB of memory because I wanted to remove problems 4GB may cause.  I have 4GB if testing with that will help.

I have another system with a Gigabyte MA78GM-S2H that give similar results.  I use it primarily with Vista64 as the RS780 works with my other HD3450.  Same monitors used with it.  I have 4GB of memory on this system as it is needed when I run VirtualPC for XP applications.

My goal is to have three monitors functioning on Ubuntu Linux.  I am using ext4.  I rebuild this system from scratch every alpha release to test install issues.  It was time consuming to install under jaunty alpha 2.

I am willing to test with git sources if that is useful.

I don't know if this problem is the driver or xrandr.

Suggest and I will test it.
Comment 6 Murray Lindeblom 2009-03-03 19:14:35 UTC
The question was what connectors does the PowerColor HD3450 have:
1) 9 pin VGA
2) DVI connector c/w analog pins
3) HDMI

Comment 7 Murray Lindeblom 2009-03-07 06:00:35 UTC
Created attachment 23630 [details]
Xorg.0.log file for radeonhd OPTION "HPD" "off"

Radeonhd is working with newest updates and OPTION "HPD" "off".
If I use OPTION "HPD" "swap" I get the same disconnected message for the second monitor as when I use the radeon driver.

I now have DVI-D_1 available to control the second monitor and I use it instead of DVI-I_2/analog.

libxrandr 1.2.99.4-2
radeon 6.11.0-5
radeonhd 1.2.4-2

mur@ubuntu2:~$ uname -a
Linux ubuntu2 2.6.28-8-generic #28-Ubuntu SMP Fri Mar 6 00:09:20 UTC 2009 x86_64 GNU/Linux
mur@ubuntu2:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2704 x 1050
VGA_1 connected 1280x1024+0+0 260mm x 195mm
   1280x1024      60.0*+
   1152x864       75.0  
   1024x768       75.1     70.1     60.0     43.5  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        87.8     70.1  
DVI-D_1 connected 1280x1024+0+0 260mm x 195mm
   1280x1024      60.0*+
   1152x864       75.0  
   1024x768       75.1     70.1     60.0     43.5  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        87.8     70.1  
DVI-I_2/digital disconnected
DVI-I_2/analog connected 1152x864+0+0 0mm x 0mm
   1360x768       59.8  
   1152x864       60.0* 
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
mur@ubuntu2:~$ xrandr --output VGA_1 --mode 1152x864
mur@ubuntu2:~$ xrandr --output VGA_1 --right-of DVI-D_1
Comment 8 Murray Lindeblom 2009-03-14 10:32:52 UTC
Created attachment 23857 [details]
Xorg.0.log

x-server 2:1.6.0-0ubuntu1
libxrandr 2:1.2.99.4-2
radeonhd 1.2.4+git2009031

I get the best results with

Section "Device"
	Identifier	"HD3450"
	Driver		"radeonhd"
        Option    	"monitor-VGA_1" "Daytek LCD TV"
        Option    	"monitor-DVI-I_2/analog" "Daytek 17 inch CRT"
        Option		"RROutputOrder" "Daytek LCD TV"
        Option		"DRI"
EndSection

The Option "HPD" "off" is no longer required.

My server layout section seems to be ignored.
Comment 9 Murray Lindeblom 2009-03-14 10:33:48 UTC
Created attachment 23858 [details]
xorg.conf
Comment 10 Alex Deucher 2009-03-18 08:52:31 UTC
This should be fixed now in git:
6ae54d3ea023968887bf0cb0ec1be2115621d554
Comment 11 Murray Lindeblom 2009-03-20 20:47:16 UTC
Confirmed Bug Fixed

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.