Bug 1374 - No Xinerama possible with the 2 outputs of ATI Radeon 9600
Summary: No Xinerama possible with the 2 outputs of ATI Radeon 9600
Status: RESOLVED DUPLICATE of bug 1559
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-14 07:02 UTC by Nabil Sayegh
Modified: 2004-10-11 16:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
strace of sig11 for command X (124.15 KB, application/x-bzip2)
2004-09-14 09:27 UTC, Nabil Sayegh
no flags Details

Description Nabil Sayegh 2004-09-14 07:02:14 UTC
I use the latest snapshot of common and radeon and XFree86 from dri.sf.net 
I configured my X to do Xinerama, but I only get "clone"-mode. 
 
Here's my XF86Config-4: 
 
(Ignore the fact that the identifiers are called Matrox) 
 
------------------------------------------------------------------- 
Section "ServerLayout" 
        Identifier     "2x1600x1200" 
 
        Screen  "Display 1" LeftOf "Display 2" 
        Screen  "Display 2" 
 
        InputDevice    "Generic Keyboard" 
        InputDevice    "Configured Mouse" 
        Option         "Xinerama" "On" 
EndSection 
 
Section "Files" 
    FontPath    "unix/:7110" 
 
    FontPath    "/usr/local/share/fonts/ttfonts" 
    FontPath    "/usr/local/share/fonts/type1" 
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi" 
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi" 
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo" 
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1" 
    FontPath    "/usr/X11R6/lib/X11/fonts/misc" 
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" 
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID" 
    FontPath    "/usr/share/fonts/afms" 
    FontPath    "/usr/share/fonts/override" 
    FontPath    "/usr/share/fonts/truetype" 
    FontPath    "/usr/share/fonts/type1/gsfonts" 
    FontPath    "/usr/share/fonts/type1/xfree86-nonfree" 
    FontPath    "/usr/share/fonts/truetype/freefont" 
    FontPath    "/usr/share/fonts/truetype/kochi" 
    FontPath    "/usr/share/fonts/truetype/openoffice" 
    FontPath    "/usr/share/fonts/truetype/ttf-bitstream-vera" 
    FontPath    "/usr/share/fonts/truetype/xfree86-nonfree" 
    FontPath    "/usr/local/share/fonts" 
    FontPath    "/usr/share/fonts" 
    FontPath    "/usr/X11R6/lib/X11/fonts" 
EndSection 
 
Section "Module" 
        Load  "dbe" 
        Load  "extmod" 
        Load  "type1" 
        Load  "freetype" 
#       Load  "glx" 
#       Load  "dri" 
#       Load  "v4l" 
#       Load  "GLcore" 
EndSection 
 
Section "InputDevice" 
        Identifier  "Generic Keyboard" 
        Driver      "keyboard" 
        Option      "CoreKeyboard" 
        Option      "XkbRules" "xfree86" 
        Option      "XkbModel" "pc105" 
        Option      "XkbLayout" "gb" 
EndSection 
 
Section "InputDevice" 
        Identifier  "Configured Mouse" 
        Driver      "mouse" 
        Option      "CorePointer" 
        Option      "Device" "/dev/input/mice" 
        Option      "Protocol" "ImPS/2" 
        Option      "Buttons" "7" 
        Option      "ZAxisMapping" "4 5" 
        Option      "Emulate3Buttons" "false" 
EndSection 
 
# Mittlerer Monitor 
Section "Monitor" 
        Identifier   "Display 1" 
        HorizSync    30.0 - 107.0 
        VertRefresh  50.0 - 160.0 
EndSection 
 
# Rechter Monitor 
Section "Monitor" 
        Identifier   "Display 2" 
        HorizSync    30.0 - 107.0 
        VertRefresh  50.0 - 70.0 
        Modeline     "1600x1200" 162.00 1600 1664 1856 2160 1200 1201 1204 
1250 +hsync +vsync 
#       Modeline     "1600x1200" 137.97 1600 1632 2152 2184 1200 1225 1235 
1261 
EndSection 
 
# Mitte 
Section "Device" 
        Identifier  "MATROX CARD 1" 
        VendorName  "Matrox" 
        Driver      "radeon" 
 
#       Option      "hw cursor" "off" 
        BusID       "PCI:1:0:1" 
        Screen      1 
#       Option      "AGPMode"     "4" 
EndSection 
 
# Rechts 
Section "Device" 
        Identifier  "MATROX CARD 2" 
        VendorName  "Matrox" 
        Driver      "radeon" 
 
#       Option      "hw cursor" "off" 
        BusID       "PCI:1:0:0" 
        Screen      0 
#       Option      "AGPMode"     "4" 
EndSection 
 
# Mitte 
Section "Screen" 
        Identifier "Display 1" 
        Device     "MATROX CARD 1" 
        Monitor    "Display 1" 
        DefaultDepth     16 
        option "ignoreEDID" "1" 
        SubSection "Display" 
                Depth     8 
                Modes    "1600x1200" "640x480" 
        EndSubSection 
        SubSection "Display" 
                Depth     16 
                Modes    "1600x1200" "640x480" 
        EndSubSection 
        SubSection "Display" 
                Depth     24 
                Modes    "1600x1200" "640x480" 
        EndSubSection 
        SubSection "Display" 
                Depth     32 
                Modes    "1600x1200" "640x480" 
        EndSubSection 
EndSection 
 
# Rechts 
Section "Screen" 
        Identifier "Display 2" 
        Device     "MATROX CARD 2" 
        Monitor    "Display 2" 
        DefaultDepth     16 
        option "ignoreEDID" "1" 
        SubSection "Display" 
                Depth     8 
                Modes    "1600x1200" "640x480" 
        EndSubSection 
        SubSection "Display" 
                Depth     16 
                Modes    "1600x1200" "640x480" 
        EndSubSection 
        SubSection "Display" 
                Depth     24 
                Modes    "1600x1200" "640x480" 
        EndSubSection 
        SubSection "Display" 
                Depth     32 
                Modes    "1600x1200" "640x480" 
        EndSubSection 
EndSection 
 
 
Section "DRI" 
        Mode         0666 
EndSection 
------------------------------------------------------------------- 
 
Actually I have another card (PCI) installed and I get Xinerama between those 
cards, but the 2 outputs from the radeon 9600 are still cloned.
Comment 1 Nabil Sayegh 2004-09-14 07:17:02 UTC
Here's the log: 
 
------------------------------------------------------------------------ 
X: warning; process set to priority -1 instead of requested priority 0 
 
This is a pre-release version of XFree86, and is not supported in any 
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted 
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions, 
please check the latest version in the XFree86 CVS repository 
(http://www.XFree86.Org/cvs). 
 
XFree86 Version 4.3.99.12 (DRI trunk) 
Release Date: 10 September 2003 
X Protocol Version 11, Revision 0, Release 6.6 
Build Operating System: Linux 2.4.21 i686 [ELF] 
Current Operating System: Linux billy 2.6.7 #1 SMP Fri Jul 30 12:26:03 CEST 
2004 i686 
Build Date: 23 September 2003 
Changelog Date: 10 September 2003 
        Before reporting problems, check http://www.XFree86.Org/ 
        to make sure that you have the latest version. 
Module Loader present 
Markers: (--) probed, (**) from config file, (==) default setting, 
        (++) from command line, (!!) notice, (II) informational, 
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown. 
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Sep 14 16:15:16 2004 
(==) Using config file: "/etc/X11/XF86Config-4" 
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found 
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo, removing 
from list! 
Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/CID, 
removing from list! 
Could not init font path element /usr/share/fonts/afms, removing from list! 
Could not init font path element /usr/share/fonts/override, removing from 
list! 
Could not init font path element /usr/local/share/fonts, removing from list! 
Could not init font path element /usr/share/fonts, removing from list! 
Could not init font path element /usr/X11R6/lib/X11/fonts, removing from list! 
SetClientVersion: 0 8 
------------------------------------------------------------------------ 
 
BTW: I also tried every combination of "screen" and "BusID" 
 
Comment 2 Alex Deucher 2004-09-14 07:17:18 UTC
do not use BusID "PCI:1:0:1" that is just a placeholder for the windows drivers.
 Use BusID "PCI:1:0:0" for both device sections.  if that doesn't fix it, try
adding the appropriate "monitorlayout" option to your device section (see the
radeon man page for more)
e.g.,
option "monitorlayout" "tmds,crt"
for dvi plus crt, or
option "monitorlayout" "crt,crt"
for two crts.

Also not that crtc1 (screen 0) always drives the dvi port, while crtc2 (screen
1) drives the vga port.  You may need to adjust your monitors accordingly.

Also if you are using dri cvs or xorg cvs you can use mergedfb rather than
xinerama for multihead.  it has some advantages and is more flexible in many ways.
Comment 3 Nabil Sayegh 2004-09-14 07:31:49 UTC
Thx for the fast reply 
 
(In reply to comment #2) 
> do not use BusID "PCI:1:0:1" that is just a placeholder for the windows 
drivers. 
>  Use BusID "PCI:1:0:0" for both device sections. 
 
I tried that and get a sig11 
1 Device has option "screen 0" and the other "screen 1" 
both have 'BusID "PCI:1:0:0"' now. 
 
------------------------------------------------------------------------ 
This is a pre-release version of XFree86, and is not supported in any 
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted 
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions, 
please check the latest version in the XFree86 CVS repository 
(http://www.XFree86.Org/cvs). 
 
XFree86 Version 4.3.99.12 (DRI trunk) 
Release Date: 10 September 2003 
X Protocol Version 11, Revision 0, Release 6.6 
Build Operating System: Linux 2.4.21 i686 [ELF] 
Current Operating System: Linux billy 2.6.7 #1 SMP Fri Jul 30 12:26:03 CEST 
2004 i686 
Build Date: 23 September 2003 
Changelog Date: 10 September 2003 
        Before reporting problems, check http://www.XFree86.Org/ 
        to make sure that you have the latest version. 
Module Loader present 
Markers: (--) probed, (**) from config file, (==) default setting, 
        (++) from command line, (!!) notice, (II) informational, 
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown. 
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Sep 14 16:22:13 2004 
(==) Using config file: "/etc/X11/XF86Config-4" 
 
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found 
 
   *** If unresolved symbols were reported above, they might not 
   *** be the reason for the server aborting. 
 
Fatal server error: 
Caught signal 11.  Server aborting 
 
 
When reporting a problem related to a server crash, please send 
the full server output, not just the last messages. 
This can be found in the log file "/var/log/XFree86.0.log". 
Please report problems to xfree86@xfree86.org. 
 
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0" 
      after 0 requests (0 known processed) with 0 events remaining. 
----------------------------------------------------------------------- 
 
 
>  if that doesn't fix it, try 
> adding the appropriate "monitorlayout" option to your device section (see 
the 
> radeon man page for more) 
> e.g., 
> option "monitorlayout" "tmds,crt" 
> for dvi plus crt, or 
> option "monitorlayout" "crt,crt" 
> for two crts. 
 
 
Tried that, same problem. 
 
  
> Also not that crtc1 (screen 0) always drives the dvi port, while crtc2 
(screen 
> 1) drives the vga port.  You may need to adjust your monitors accordingly. 
>  
> Also if you are using dri cvs or xorg cvs you can use mergedfb rather than 
> xinerama for multihead.  it has some advantages and is more flexible in many 
ways. 
>  
 
I guess when I use mergedfb maximizing windows will maximize across all 
screens :( 
 
Comment 4 Alex Deucher 2004-09-14 07:44:28 UTC
(In reply to comment #3)
> Thx for the fast reply 
>  
> (In reply to comment #2) 
> > do not use BusID "PCI:1:0:1" that is just a placeholder for the windows 
> drivers. 
> >  Use BusID "PCI:1:0:0" for both device sections. 
>  
> I tried that and get a sig11 
> 1 Device has option "screen 0" and the other "screen 1" 
> both have 'BusID "PCI:1:0:0"' now. 

I'm not quite sure why that is happening...

>  
>  
> I guess when I use mergedfb maximizing windows will maximize across all 
> screens :( 
>  

no. mergedfb provides it's own xinerama extension so it will work like regular
xinerama, however, you can't use the pseudo-xinerama extention in conjunction
with real xinerama (ie, 2 heads of the radeon and another card for 3 heads, etc.).
Comment 5 Nabil Sayegh 2004-09-14 08:12:59 UTC
(In reply to comment #4) 
> (In reply to comment #3) 
> > I guess when I use mergedfb maximizing windows will maximize across all  
> > screens :(  
> >   
>  
> no. mergedfb provides it's own xinerama extension so it will work like 
regular 
> xinerama, however, you can't use the pseudo-xinerama extention in 
conjunction 
> with real xinerama (ie, 2 heads of the radeon and another card for 3 heads, 
etc.). 
 
That's the reason why I don't use the fglrx drivers. I need 3 heads. 
I'd hate to switch back to my aged matrox g550 :( 
 
Comment 6 Nabil Sayegh 2004-09-14 09:27:22 UTC
Created attachment 898 [details]
strace of sig11 for command X

This is the output of `strace X` sig11'ing when both devices take the same
BusID for Xinerama purpose.
Comment 7 Alex Deucher 2004-10-12 09:48:26 UTC
this is a DDX problem.

*** This bug has been marked as a duplicate of 1559 ***


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.