Bug 34797

Summary: Radeon 7000 and HD 3450 don't work together.
Product: xorg Reporter: Joseph Farmer <jfarmer99>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
One LCD each card
none
configuration for 3 monitors on 2 cards.
none
log for two monitors on one card each
none
log for all 3 active
none
no config
none
7000 as primary
none
Attempt with PCI as primary but no HDMI
none
PCI primary, only PCI monitor - this works.
none
dmesg
none
config for 1 monitor
none
log for 3450 with VGA. Goes with previous attachment. none

Description Joseph Farmer 2011-02-27 09:43:05 UTC
Created attachment 43890 [details] [review]
One LCD each card

Two video cards, 7000 (PCI) and 3450 (PCIE).  No combination seems to get X functional with 1 monitor on each card.

Only 2 CRTCs can be active on the 3450.  I have two LCD monitors and an LCD television.  The monitors will take VGA, DVI, or HDMI while the TV is HDMI.  I'd like to have 1 Monitor on the HD (DVI) along with the TV.  The other monitor would be on the 7000 (either DVI or VGA, doesn't matter but connecting it to the DVI doesn't work well whereas the VGA does. On DVI initial resolution is 720x400 or similar whereas on VGA it gets full 1920x1080).

Both cards, both monitors, and the TV all work.  Starting X on just the 7000 with a monitor connected to VGA results in a working X.  Starting with the 3450 active, in any combination, works.  What doesn't work is a monitor/TV active on both cards.

Attached are configuration and log files.  The config/log matches are:

xorg.conf.joe3 -> Xorg.0.log.try3.  No errors listed but no video on any of the three.

xorg.conf.joe2 -> Xorg.0.log.try2.  Dropped the HDMI to see if just the two monitors would come up.  The monitor on the HD3450 is blank with a cursor line at upper left.  The monitor on the 7000, surprisingly, showed wallpaper.

(No config) -> Xorg.0.log.hd-only-works.  This is both monitors on the HD and the 7000 inactive (TV not hooked up).  This configuration works fine.
Comment 1 Joseph Farmer 2011-02-27 09:43:56 UTC
Created attachment 43891 [details] [review]
configuration for 3 monitors on 2 cards.
Comment 2 Joseph Farmer 2011-02-27 09:44:35 UTC
Created attachment 43892 [details] [review]
log for two monitors on one card each
Comment 3 Joseph Farmer 2011-02-27 09:45:16 UTC
Created attachment 43893 [details] [review]
log for all 3 active
Comment 4 Joseph Farmer 2011-02-27 09:46:16 UTC
Created attachment 43894 [details] [review]
no config

This config works.  Monitor 1 on DVI, Monitor 2 on HDMI, TV not hooked up, HD3450 only active with the 7000 inactive.
Comment 5 Alex Deucher 2011-02-27 14:46:08 UTC
Does changing the primary vga card in the bios help?
Comment 6 Joseph Farmer 2011-02-27 15:14:51 UTC
I tried that.  Setting it to PCI first allows X to come up on just the 7000 but has no effect on getting both cards to work.

From #radeon last night:
* Topic for #radeon set by airlied_!airlied@fruit.freedesktop.org at Sat Nov 13 14:21:10 2010
<NoVid> Oddly changing the BIOS to "PCI is primary" came close.  I could see the logon wallpaper on the HD driven monitors but it was messed up.  Still much closer.
<NoVid> The other thing that showed is the 7000 itself works fine - it booted with that as primary and the monitor was fine all the way into initial X.
Comment 7 Alex Deucher 2011-02-27 15:18:20 UTC
(In reply to comment #6)
> I tried that.  Setting it to PCI first allows X to come up on just the 7000 but
> has no effect on getting both cards to work.

Can you attach the xorg logs and configs from when you tried the 7000 as the primary?
Comment 8 Alex Deucher 2011-02-27 15:18:34 UTC
Also dmesg output please.
Comment 9 Joseph Farmer 2011-02-27 15:36:38 UTC
Created attachment 43902 [details] [review]
7000 as primary

7000 as primary, attempting to get all 3 up.  Result is 3 blank screens.
Comment 10 Joseph Farmer 2011-02-27 15:37:24 UTC
Created attachment 43903 [details]
Attempt with PCI as primary but no HDMI

No HDMI
Comment 11 Joseph Farmer 2011-02-27 15:38:30 UTC
Created attachment 43904 [details]
PCI primary, only PCI monitor - this works.

Only using the 7000 (PCI is primary) and no config file.  This results in one live monitor on VGA.
Comment 12 Joseph Farmer 2011-02-27 15:40:43 UTC
Created attachment 43905 [details] [review]
dmesg

dmesg as requested.

Using X -configure with the PCI as primary gave the following error:

[519.155447] radeon 0000:05:00.0 Invalid ROM Contents
[EE] Radeon(1) Cannot read V_BIOS(3) Input/Output error.

Starting X with no config results in a working X on VGA on the 7000 with the 3450 not being used.
Comment 13 Joseph Farmer 2011-02-27 15:44:33 UTC
One other thing that might be helpful.  With PCI as primary, and those Fedora RHGB and Quiet kernel things off, the machine boots on the 7000's VGA.  When some type of DRM is loaded text appears on both monitors connected to the 3450.  That DRM text survives after X loads on the 7000.  So, in some kind of text mode, all 3 monitors have text on them.
Comment 14 Alex Deucher 2011-02-27 16:13:15 UTC
(In reply to comment #13)
> One other thing that might be helpful.  With PCI as primary, and those Fedora
> RHGB and Quiet kernel things off, the machine boots on the 7000's VGA.  When
> some type of DRM is loaded text appears on both monitors connected to the 3450.
>  That DRM text survives after X loads on the 7000.  So, in some kind of text
> mode, all 3 monitors have text on them.

The text on the 3450 is due to the console being started on first fb device enumerated when the drm loads.  That's a good sign.  If you get a console on the 3450 and X on the 7000, then both cards are initialized properly, so appears to be a X configuration issue.  A few things to try:
1. try removing the Modes and Viewport lines from your screen sections.
2. try disabling acceleration:
Option "NoAccel" "true"
in the device sections of your xorg.conf
3. try disabling xinerama in your xorg.conf and start X with just two device and screen sections; one for each card with busids and remove the ZaphodHeads options.  You should get two X screens.  Something like:

Section "ServerLayout"
	Identifier     "Two cards"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "radeon"
	BusID       "PCI:5:0:0"
EndSection

Section "Device"
	Identifier  "Card1"
	Driver      "radeon"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
        SubSection "Display"
		Depth     24
	EndSubSection
EndSection


Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
        SubSection "Display"
		Depth     24
	EndSubSection
EndSection
Comment 15 Joseph Farmer 2011-02-27 16:27:14 UTC
1. try removing the Modes and Viewport lines from your screen sections.

Removed, 3450 monitors no longer blank - just horizontal lines.

2. try disabling acceleration:
Option "NoAccel" "true"
in the device sections of your xorg.conf

No effect.

3. try disabling xinerama in your xorg.conf and start X with just two device
and screen sections; one for each card with busids and remove the ZaphodHeads
options.  You should get two X screens.  Something like:

Tried with and that your example with "NoAccel" added.  Blank screens.
Comment 16 Joseph Farmer 2011-02-27 16:44:20 UTC
Created attachment 43907 [details] [review]
config for 1 monitor

config used to see if just VGA would come up.  Nope.
Comment 17 Joseph Farmer 2011-02-27 16:52:49 UTC
Created attachment 43908 [details] [review]
log for 3450 with VGA.  Goes with previous attachment.


Figured I'd get back to basics.  I removed the HDMI and DVI from the 3450.  Then plugged in a vanilla VGA cable.  So, hardware:
7000 (PCI) is primary.  1 VGA connector to monitor.
3470 (PCIE) is secondary.  1 VGA connector to other monitor.

Started X with the sections for the 7000 removed.  Attachment 43907 [details] is config.  Attached is log.  No useful X.
Comment 18 Joseph Farmer 2011-02-28 18:13:10 UTC
Ok, let's close this.  It's just not worth anyone spending time on - the 7000 is just old.  No, I'm not saying that out of frustration.  I can get two monitors to work on the 7000 so that card works fine - the two cards just don't get along.  Video cards made during the stone age should probably rest in peace.  I have a second computer with a HD4??? and that one doesn't need dual monitors so I'll use the HDMI on that one for the TV.  Different room but I have legs.

Thanks for trying Alex.  I'd close this myself but the three options I get are "resolved," "assigned," and "new."  No "closed" or "pointless" option.

Thank you again for your time.
Comment 19 Alex Deucher 2011-02-28 19:45:00 UTC
I guess invalid?

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.