NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/41528
The following reply was made to PR misc/41528; it has been noted by GNATS.
From: Yorick Hardy <yorickhardy%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: misc/41528
Date: Wed, 03 Jun 2009 12:55:36 +0200
This is a multi-part message in MIME format.
--------------000300090607020108030007
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
--
Kind regards,
Yorick Hardy
--------------000300090607020108030007
Content-Type: text/plain;
name="drm4.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="drm4.patch"
--- share/man/man4/drm.4.orig 2009-05-12 19:03:47.000000000 +0200
+++ share/man/man4/drm.4 2009-06-03 12:09:06.000000000 +0200
@@ -86,44 +86,20 @@
.Pa /dev/dri/card*
device must exist, and DRI must be enabled in the X configuration
file.
+.Xr X 7
+provided with NetBSD and compiled from
+.Xr pkgsrc 7
+do so automatically where supported.
.Pp
-Details for these steps:
-.Bl -enum -offset indent
-.It
-X must be compiled with DRI support.
-On i386, this is usually the default.
-.It
-Mesa (see
-.Pa http://www.mesa3d.org/ )
-should be compiled for the netbsd-dri target, patch available at
-.Pa http://issc.uj.ac.za/~yorick/drm/mesa.patch
-.It
-The device node must exist:
+.Xr X 7
+will attempt to create the device node automatically.
+To create the device node manually:
.Bd -literal -offset indent
mkdir -p /dev/dri
mknod /dev/dri/card0 c 180 0
chgrp wheel /dev/dri/card0
chmod 0660 /dev/dri/card0
.Ed
-.It
-Enable DRI in the X configuration (either
-.Pa xorg.conf
-or
-.Pa XF86Config ) :
-.Bd -literal
-Section "Module"
- ...
- Load "dri"
- Load "GLcore"
- Load "glx"
-EndSection
-\&...
-Section "DRI"
- Group "wheel"
- Mode 0660
-EndSection
-.Ed
-.El
.Pp
Debugging output can be enabled and disabled by setting the
.Xr sysctl 8
@@ -138,7 +114,10 @@
etc.
.Sh SEE ALSO
.Xr agp 4 ,
-.Xr X 7
+.Xr X 7 ,
+.Xr xorg.conf 5 ,
+.Xr XF86Config 5 ,
+/usr/X11R7/lib/X11/doc/README.DRI
.Sh HISTORY
DRM was first available for Linux.
Subsequently Eric Anholt ported the DRM kernel modules to
@@ -188,17 +167,6 @@
.An Daryll Strauss ,
.An Keith Whitwell
.Sh CAVEATS
-Disable AIGLX if necessary
-.Pq Pa xorg.conf :
-.Bd -literal -offset indent
-Section "ServerFlags"
- Option "AIGLX" "off"
-EndSection
-
-Section "Extensions"
- Option "Composite" "Disable"
-EndSection
-.Ed
.Pp
In case of errors,
.Pa /dev/dri/card0
--------------000300090607020108030007--
Home |
Main Index |
Thread Index |
Old Index