On Mit, 2002-10-30 at 00:48, James Fung wrote: 
> > I suppose both cards work with DRI disabled? Please provide config
> > files, logs and kernel output, preferrably somewhere on the web.
> 
> Oops - my XF86Config-4 file had some whitespace problems which I fixed.  
> I've got two PCI radeons working now.
> 
> However, only one has dri enabled.   Is there a way I can get the multiple
> cards each to use hardware acceleration?
> 
> I put some log files at http://www.eyetap.org/~fungja/radeon/ 
> 
> 
> II) RADEON(0): [drm] installed DRM signal handler
> (II) RADEON(0): [DRI] installation complete
> (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
> (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
> (II) RADEON(0): Direct rendering enabled
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 5, (OK)
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> 
> ...[snip]...
> 
> drmOpenDevice: node name is /dev/dri/card14
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> drmOpenByBusid: busid is PCI:0:9:0
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 5, (OK)
> drmOpenByBusid: drmOpenMinor returns 5
> drmOpenByBusid: drmGetBusid reports PCI:0:9:0
> (II) RADEON(1): [drm] drmSetBusid failed (5, PCI:0:13:0), Device or
> resource busy
> (EE) RADEON(1): [dri] DRIScreenInit failed.  Disabling DRI.

After looking at the source, support for multiple cards is only enabled
in the tdfx DRM yet. The attached hack might serve as a quick'n'dirty
way to find out the next problem. :)


-- 
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
Index: radeon_drv.c
===================================================================
RCS file: /cvsroot/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/radeon_drv.c,v
retrieving revision 1.17
diff -p -u -r1.17 radeon_drv.c
--- radeon_drv.c	5 Jul 2002 08:31:10 -0000	1.17
+++ radeon_drv.c	1 Nov 2002 15:33:04 -0000
@@ -41,6 +41,7 @@
 #include "drm_context.h"
 #include "drm_dma.h"
 #include "drm_drawable.h"
+#define DRIVER_NUM_CARDS 2
 #include "drm_drv.h"
 #include "drm_fops.h"
 #include "drm_init.h"

Reply via email to