Re: [XFree86] Two graphics adaptors

2004-04-19 Thread Michael Taylor
Frans Andersson wrote:

 Section Device
Identifiers3kortet
Drivers3virge
BusIDPCI:0:13:0
Screen2
 EndSection
 
 My log says:
 
 --- XFree86.0.log - snip ---
 (WW) S3VIRGE: No matching Device section for instance (BusID PCI:0:13:0)
 found

What's the output of 'lspci -v'?
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Two graphics adaptors

2004-04-19 Thread Frans Andersson
Michael Taylor wrote:

Frans Andersson wrote:

 

Section Device
  Identifiers3kortet
  Drivers3virge
  BusIDPCI:0:13:0
  Screen2
EndSection
My log says:

--- XFree86.0.log - snip ---
(WW) S3VIRGE: No matching Device section for instance (BusID PCI:0:13:0)
found
   

What's the output of 'lspci -v'?
 

00:0d.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01) (prog-if 00 [VGA])

   Subsystem: S3 Inc. ViRGE/DX

   Flags: medium devsel, IRQ 19

   Memory at e800 (32-bit, non-prefetchable) [size=64M]

   Expansion ROM at efef [disabled] [size=64K]

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Two graphics adaptors

2004-04-19 Thread Michael Taylor
Frans Andersson wrote:
 Michael Taylor wrote:
 
 Frans Andersson wrote:

  

 Section Device
   Identifiers3kortet
   Drivers3virge
   BusIDPCI:0:13:0
   Screen2
 EndSection

 My log says:

 --- XFree86.0.log - snip ---
 (WW) S3VIRGE: No matching Device section for instance (BusID PCI:0:13:0)
 found
   


 What's the output of 'lspci -v'?
  

 00:0d.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)
 (prog-if 00 [VGA])

Perhaps?
 BusIDPCI:0:0d:0
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Two graphics adaptors

2004-04-19 Thread Frans Andersson
Michael Taylor wrote:

Section Device
 Identifiers3kortet
 Drivers3virge
 BusIDPCI:0:13:0
 Screen2
EndSection
My log says:

--- XFree86.0.log - snip ---
(WW) S3VIRGE: No matching Device section for instance (BusID PCI:0:13:0)
found
 
   

00:0d.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)
(prog-if 00 [VGA])
   

Perhaps?
BusIDPCI:0:0d:0
 

No, the output from lspci is in hex, the conf is in decimal. 0d=13

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Two graphics adaptors

2004-04-19 Thread Frans Andersson
It works now.
I'm not quite sure of what I did, but here's the correct XF86Config part:
---
Section Device
   Identifier  nvidia0
   Driver  nvidia
   BusID   PCI:1:0:0
   Screen  0
EndSection
Section Device
   Identifier  nvidia1
   Driver  nvidia
   BusID   PCI:1:0:0
   Screen  1
EndSection
Section Device
   Identifier  card0
   Driver  s3virge
   BusID   PCI:0:12:0
   Screen  0
EndSection
---
Note that I use Screen 0 on the S3 ViRGE card, instead of Screen 2.
Screen 0 on my nVidia and Screen 1 on my nVidia TV-out.
(I also changed the Identifier, but that was not the problem)
So I suppose the problem was that I used Screen 2 instead of 1.

thanks for the help
/Frans
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Two graphics adaptors

2004-04-19 Thread Thomas Winischhofer
Frans Andersson wrote:
It works now.
I'm not quite sure of what I did, but here's the correct XF86Config part:
---
Section Device
   Identifier  nvidia0
   Driver  nvidia
   BusID   PCI:1:0:0
   Screen  0
EndSection
Section Device
   Identifier  nvidia1
   Driver  nvidia
   BusID   PCI:1:0:0
   Screen  1
EndSection
Section Device
   Identifier  card0
   Driver  s3virge
   BusID   PCI:0:12:0
   Screen  0
EndSection
---
Note that I use Screen 0 on the S3 ViRGE card, instead of Screen 2.
Screen 0 on my nVidia and Screen 1 on my nVidia TV-out.
(I also changed the Identifier, but that was not the problem)
So I suppose the problem was that I used Screen 2 instead of 1.


Correct. See man XF86Config-4:

Screen  number
 This option is mandatory for cards where a single PCI entity can
 drive more than one display (i.e., multiple CRTCs sharing a sin-
 gle  graphics accelerator and video memory).  One Device section
 is required for each head, and this parameter  determines  which
 head  each  of the Device sections applies to.  The legal values
 of number range from 0 to one less  than  the  total  number  of
 heads  per entity.  Most drivers require that the primary screen
 (0) be present.
Emphasis on last sentence.

Thomas

--
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net  http://www.winischhofer.net/
twini AT xfree86 DOT org
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86