From owner-freebsd-stable@FreeBSD.ORG Mon Dec 19 20:35:31 2005 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4827D16A41F for ; Mon, 19 Dec 2005 20:35:31 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8768043D94 for ; Mon, 19 Dec 2005 20:35:15 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (rytytm@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id jBJKZ9ks055722 for ; Mon, 19 Dec 2005 21:35:09 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id jBJKZ9kD055721; Mon, 19 Dec 2005 21:35:09 +0100 (CET) (envelope-from olli) Date: Mon, 19 Dec 2005 21:35:09 +0100 (CET) Message-Id: <200512192035.jBJKZ9kD055721@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <200512191310.11003.patfbsds@davenulle.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: i915drm X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2005 20:35:31 -0000 Patrick Lamaizière wrote: > But dri does not work, Xorg seems to look for a /dev/dri/card0 and i've got > only one device /dev/dri/card1 ? > > Xorg.log: > (II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fee000 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is -1, (No such file or directory) > drmOpenDevice: open result is -1, (No such file or directory) > drmOpenDevice: Open failed > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is -1, (No such file or directory) > drmOpenDevice: open result is -1, (No such file or directory) > drmOpenDevice: Open failed > [drm] failed to load kernel module "i915" Strange. It works fine for me: (II) I810(0): Allocated 64 kB for the scratch buffer at 0xffee000 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 9, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 9, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 9, (OK) drmOpenByBusid: drmOpenMinor returns 9 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (II) I810(0): [drm] DRM interface version 1.2 (II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0" (II) I810(0): [drm] added 8192 byte SAREA at 0xc5307000 (II) I810(0): [drm] mapped SAREA 0xc5307000 to 0x28744000 (II) I810(0): [drm] framebuffer handle = 0xc0020000 (II) I810(0): [drm] added 1 reserved context for kernel .. etc. ... Are you sure that you're using the latest RELENG_6 _and_ the latest Xorg development snapshot? You need both for things to work correctly. (I'm not using DRM/DRI, because I'm not playing games on my notebook, and I don't need 3D OpenGL "screen savers" either, but according to the logs and everything, it is detected and initialized correctly. However, I am using the XVideo extension for full-screen video playback with hardware acceleration, and that requires the presence of DRM, too -- that's why I configured it in my kernel.) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "The ITU has offered the IETF formal alignment with its corresponding technology, Penguins, but that won't fly." -- RFC 2549