dual head with 2 graphic cards issue

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

dual head with 2 graphic cards issue

Nicoco
sorry if i post this msg twice but i'm not sure that it was successfully
sended first time...

Hello everybody,

i'm trying to use my computer with 2 monitors connected on 2 different
graphic cards.

My first graphic card is an ATI Radeon 9250 (AGP) and the second one is
a Matrox Mystique PCI (mga1064sg)
I can use them separately by choosing one of them as "Display init
first" in the BIOS menu.

when i try to use them both :
- if the ATI is the principal device, my system crashes with a black
screen on the ATI-connected monitor and the wakeup message on the other
monitor (something like (c)Matrox accelerated graphics ...). i cannot
even ctrl+alt+backspace. the strangest thing is that i cannot find any
error messages in the Xorg.log !
- if the MATROX is the principal device, X starts but only on the
matrox-connected monitor, the other one showing the ATI wakeup message
and Xorg.log with those lines :
(EE) fglrx(0): CAIL: CAILNoBiosInitializeAdapter failed, error 1
(EE) fglrx(0): GetBIOSParameter failed
(EE) fglrx(0): PreInitConfig failed
(EE) fglrx(0): R200PreInit failed
(II) fglrx(0): === [R200PreInit] === end

i use debian sid and ATI non-free drivers (stanchina packages)
i've already tried to disable the DRI section of my xorg.conf

So if anyone has any idea please help me !!!

thanks a lot for reading until the end ;o)

here is my xorg.conf :

Section "ServerLayout"
    Identifier     "Default Layout"
    Option    "Xinerama"    "true"
    Screen      0  "aticonfig Screen 0"
    Screen      1  "deuxieme" Above "aticonfig Screen 0"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"
            # local font server
    # if the local font server has problems, we can fall back on these
    FontPath     "unix/:7100"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath    "/usr/share/fonts/X11/misc"
    FontPath     "/usr/lib/X11/fonts/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath    "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/lib/X11/fonts/cyrillic"
    FontPath     "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath     "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath    "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/lib/X11/fonts/Type1"
    FontPath     "/usr/share/fonts/X11/CID"
    FontPath    "/usr/share/fonts/X11/CID"
    FontPath     "/usr/lib/X11/fonts/CID"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath    "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/lib/X11/fonts/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath    "/usr/share/fonts/X11/75dpi"
    FontPath     "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
    Load  "bitmap"
    Load  "dbe"
    Load  "ddc"
    Load  "dri"
    Load  "evdev"
    Load  "extmod"
    Load  "freetype"
    Load  "glx"
    Load  "int10"
    Load  "record"
    Load  "type1"
    Load  "vbe"
#    Load  "v4l"
EndSection

Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "fr"
    Option        "XkbVariant" "latin9"
EndSection

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option        "CorePointer"
    Option        "Device" "/dev/input/mice"
    Option        "Protocol" "ImPS/2"
    Option        "Emulate3Buttons" "true"
    Option        "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
    Identifier   "aticonfig Monitor 0"
EndSection

Section "Monitor"
    Identifier   "petitecran"
    HorizSync    28-49
    VertRefresh    43-72
EndSection

Section "Device"
    Identifier  "ATI Graphics Adapter 0"
    Driver      "fglrx"
    BusID       "PCI:1:0:0"
    Screen 0
EndSection

Section "Device"
    Identifier  "Mystique"
    Driver      "mga"
    BusID       "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier "aticonfig Screen 0"
    Device     "ATI Graphics Adapter 0"
    Monitor    "aticonfig Monitor 0"
    DefaultDepth     24
    SubSection "Display"
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "deuxieme"
    Device     "Mystique"
    Monitor    "petitecran"
    DefaultDepth     24
    SubSection "Display"
        Depth     24
        Modes "800x600"
    EndSubSection
EndSection

Section "DRI"
    Mode         0666
EndSection


--

Nicoco


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: dual head with 2 graphic cards issue

Alvin Oga

hi nico

> Nicoco wrote:
>
> here is my xorg.conf :
 
good...

> Section "ServerLayout"
>     Identifier     "Default Layout"
>     Option    "Xinerama"    "true"

#
# looks like ati config tool is messed up
#
>     Screen      0  "aticonfig Screen 0"
>     Screen      1  "deuxieme" Above "aticonfig Screen 0"

whacky ... normally it would be something like:

    Screen      0  "Screen0" 0 0
    Screen 1  "Screen1" LeftOf "Screen0"


>     InputDevice    "Generic Keyboard"
>     InputDevice    "Configured Mouse"
> EndSection
>
> Section "Files"
>             # local font server
>     # if the local font server has problems, we can fall back on these
>     FontPath     "unix/:7100"

if you have the font server above, you do not need any these font files below

>     FontPath     "/usr/share/fonts/X11/misc"
...
> EndSection
>
> Section "InputDevice"
>     Identifier  "Configured Mouse"
>     Driver      "mouse"

i assume your mouse works .. otherwise you're dead ..

it should work in single monitor mode at least

>
> Section "Monitor"
>     Identifier   "aticonfig Monitor 0"

whacky ... bad ..

if you use Screen0 ... than it should be used in Layout defined above
if you use "aticonfig Monitor 0" ... than it should be used in Layout defined above

> EndSection
>
> Section "Monitor"
>     Identifier   "petitecran"
>     HorizSync    28-49
>     VertRefresh    43-72

more whackyness...

if you use Screen1 ... than it should be used in Layout defined above
if you use "peitecran" ... than it should be used in Layout defined above

> EndSection
>
> Section "Device"
>     Identifier  "ATI Graphics Adapter 0"
>     Driver      "fglrx"
>     BusID       "PCI:1:0:0"

good
presumably this is pci and NOT agp based svga card

>     Screen 0

what's that for .. take it out

> EndSection
>
> Section "Device"
>     Identifier  "Mystique"
>     Driver      "mga"
>     BusID       "PCI:2:0:0"

presumably this is pci and NOT agp based svga card
> EndSection
>
> Section "Screen"
>     Identifier "aticonfig Screen 0"
>     Device     "ATI Graphics Adapter 0"
>     Monitor    "aticonfig Monitor 0"

make sure your naming convention matches the Layout section

>     DefaultDepth     24
>     SubSection "Display"
>         Depth     24

sometimes you need to specify Modes "1024x768"

what is the point of having 24bit resolution if you have 800x600 ??

>     EndSubSection
> EndSection
>
> Section "Screen"
>     Identifier "deuxieme"
>     Device     "Mystique"
>     Monitor    "petitecran"
make sure your naming convention matches the Layout section

>     DefaultDepth     24
>     SubSection "Display"
>         Depth     24
>         Modes "800x600"

what is the point of having 24bit resolution if you have 800x600 ??

>     EndSubSection
> EndSection
>
> Section "DRI"
>     Mode         0666
> EndSection
>

for more ( dozens of ) dual-screen x.org config file examples and options ...

        http://www.linux-1u.net/X11/Dual/

c ya
alvin


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: dual head with 2 graphic cards issue

Nicoco
hi again

>> Section "ServerLayout"
>>     Identifier     "Default Layout"
>>     Option    "Xinerama"    "true"
>>    
>
> #
> # looks like ati config tool is messed up
> #
>  
>>     Screen      0  "aticonfig Screen 0"
>>     Screen      1  "deuxieme" Above "aticonfig Screen 0"
>>    
>
> whacky ... normally it would be something like:
>
>     Screen      0  "Screen0" 0 0
>     Screen 1  "Screen1" LeftOf "Screen0"
>
>
>  
the 0 0 does not change anything

>> Section "Monitor"
>>     Identifier   "aticonfig Monitor 0"
>>    
>
> whacky ... bad ..
>
> if you use Screen0 ... than it should be used in Layout defined above
> if you use "aticonfig Monitor 0" ... than it should be used in Layout defined above
>
>  
sorry but I don't understand !!! where is the error here ?
"aticonfig Monitor 0" is used by "aticonfig Screen 0" used in Layout

>> EndSection
>>
>> Section "Monitor"
>>     Identifier   "petitecran"
>>     HorizSync    28-49
>>     VertRefresh    43-72
>>    
>
> more whackyness...
>
> if you use Screen1 ... than it should be used in Layout defined above
> if you use "peitecran" ... than it should be used in Layout defined above
>
>  
same as above

>> EndSection
>>
>> Section "Device"
>>     Identifier  "ATI Graphics Adapter 0"
>>     Driver      "fglrx"
>>     BusID       "PCI:1:0:0"
>>    
>
> good
> presumably this is pci and NOT agp based svga card
>
>  
IT IS an AGP card !
>>     Screen 0
>>    
>
> what's that for .. take it out
>
>  
because i can connect 2 monitors to my ATI card... but removing this
line doesn't change anything

>> EndSection
>>
>> Section "Device"
>>     Identifier  "Mystique"
>>     Driver      "mga"
>>     BusID       "PCI:2:0:0"
>>    
>
> presumably this is pci and NOT agp based svga card
>  
>> EndSection
>>
>> Section "Screen"
>>     Identifier "aticonfig Screen 0"
>>     Device     "ATI Graphics Adapter 0"
>>     Monitor    "aticonfig Monitor 0"
>>    
>
> make sure your naming convention matches the Layout section
>
>  
it does...

>>     DefaultDepth     24
>>     SubSection "Display"
>>         Depth     24
>>    
>
> sometimes you need to specify Modes "1024x768"
>
> what is the point of having 24bit resolution if you have 800x600 ??
>
>  
i want my matrox at 800x600 and my ati at 1024x768

>>     EndSubSection
>> EndSection
>>
>> Section "Screen"
>>     Identifier "deuxieme"
>>     Device     "Mystique"
>>     Monitor    "petitecran"
>>    
> make sure your naming convention matches the Layout section
>
>  
>>     DefaultDepth     24
>>     SubSection "Display"
>>         Depth     24
>>         Modes "800x600"
>>    
>
> what is the point of having 24bit resolution if you have 800x600 ??
>
>  
>>     EndSubSection
>> EndSection
>>
>> Section "DRI"
>>     Mode         0666
>> EndSection
>>
>>    
>
> for more ( dozens of ) dual-screen x.org config file examples and options ...
>
> http://www.linux-1u.net/X11/Dual/
>
> c ya
> alvin
>
>  

thanks for trying to help but have you read my whole mail ?
both cards works separately depending on which I choose as first device
(in the BIOS)

--
Nicoco


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

why bother Re: dual head with 2 graphic cards issue

Alvin Oga

hi ya nicoco

On Wed, 24 May 2006, Nicoco wrote:

> the 0 0 does not change anything

it wont

> sorry but I don't understand !!! where is the error here ?
> "aticonfig Monitor 0" is used by "aticonfig Screen 0" used in Layout

the point:
it is not working for one reason or another ...

> >>     BusID       "PCI:1:0:0"
> >>    
> IT IS an AGP card !

good if "1" corresponds ot agp ..
 
> thanks for trying to help but have you read my whole mail ?

why bother to reply ...

c ya
alvin


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]