From owner-freebsd-questions Mon Jul 15 21: 6:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C3B437B400 for ; Mon, 15 Jul 2002 21:06:43 -0700 (PDT) Received: from tconl.com (mail.tconl.com [204.26.80.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CC4843E64 for ; Mon, 15 Jul 2002 21:06:42 -0700 (PDT) (envelope-from musselma@tconl.com) Received: from disflux ([10.64.26.253]) by tconl.com (8.11.6/8.11.6) with ESMTP id g6G46g405295 for ; Mon, 15 Jul 2002 23:06:42 -0500 Subject: XFree86 DRI and DRM From: Derek Musselmann To: "freebsd-questions@FreeBSD.ORG" Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 15 Jul 2002 23:05:46 -0500 Message-Id: <1026792347.337.9.camel@disflux.dhs.org> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG First off, I don't know if I am posting to the right list or not. Well, I have been playing around trying to get DRI and DRM working with FreeBSD. I can successfully get native binaries working. However, I am having problems with running a Linux GL application (quake 3). As soon as it started my box would *ALMOST* lockup. (I could move the mouse but couldn't do anything else.) I asked some questions and was told to checkout the latest CVS version of XFree86. I CVSup'ed the latest version and proceeded to build. However, after a successful build, DRM is not working even natively. I have tried several different things but to no avail. The DRM kernel module is being loaded on boot: info: [drm] Checking PCI vendor=4098, device=20825 drm0: port 0x2000-0x20ff mem 0xe8100000-0xe810ffff,0xf0000000-0xf7ffffff irq 10 at device 5.0 on pci1 info: [drm] AGP at 0xec000000 64MB info: [drm] Initialized radeon 1.1.1 20010405 on minor 0 My /var/log/XFree86.0.log is showing that it is loading the dri/drm modules: (II) Loading sub module "drm" (II) LoadModule: "drm" (II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a (II) Module drm: vendor="The XFree86 Project" (II) LoadModule: "dri" (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a (II) Module dri: vendor="The XFree86 Project" (II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o ABI class: XFree86 XInput driver, version 0.3 (II) ATI: ATI driver (version 6.4.13) for chipsets: ati, ativga (II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o However, there are supposed to be [drm] entries in the log. I see none of these and yet there are no errors. The consequence? No DRI, as evidenced by glxinfo: name of display: :0.0 display: :0 screen: 0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context client glx vendor string: SGI client glx version string: 1.2 client glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.2 If I install X 4.2.0 from the ports, DRI/DRM works fine. Any suggestions? I am running 4.6-STABLE with a radeon 7000 AGP 64MB. TIA, Derek Musselmann To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message