[issue2178] [PATCH] Note about the use of secondary cards with DRI

Juan Francisco Cantero Hurtado (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Mon Nov 7 18:08:48 PST 2011


Juan Francisco Cantero Hurtado <iam at juanfra.info> added the comment:

I've modified the patch for correct the format and add the reference to devfsctl
(the last one thanks to swildner@).

----------
keyword: +doc
status: unread -> chatting
title: [PATCH 2/2] Note about the use of secondary cards with DRI -> [PATCH] Note about the use of secondary cards with DRI

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2178>
_____________________________________________________From 9c7dfd3c2886624e4ed3ad97521b623b4663ba5e Mon Sep 17 00:00:00 2001
From: Juan Francisco Cantero Hurtado <iam at juanfra.info>
Date: Tue, 8 Nov 2011 02:53:01 +0100
Subject: [PATCH] Note about the use of secondary cards with DRI

---
 share/man/man4/drm.4 |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/share/man/man4/drm.4 b/share/man/man4/drm.4
index 10ba2d6..69bd5dd 100644
--- a/share/man/man4/drm.4
+++ b/share/man/man4/drm.4
@@ -23,7 +23,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 23, 2009
+.Dd November 8, 2011
 .Dt DRM 4
 .Os
 .Sh NAME
@@ -102,6 +102,12 @@ EndSection
 .Ed
 .El
 .Pp
+If you have two graphic cards (i.e.: a on-board graphics and other AGP/PCI/PCIe
+card) and you would like use the secondary device with DRI, you will need
+create a link from /dev/dri/card1 to /dev/dri/card0 with
+.Xr devfsctl 8 .
+This is a old bug of Xorg, the DRI module only reads the first device.
+.Pp
 Debugging output can be enabled and disabled by setting the
 .Xr sysctl 8
 node
-- 
1.7.7.1





More information about the Submit mailing list