Date: Mon, 19 Dec 2005 21:35:09 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG Subject: Re: i915drm Message-ID: <200512192035.jBJKZ9kD055721@lurza.secnetix.de> In-Reply-To: <200512191310.11003.patfbsds@davenulle.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Patrick Lamaizière <patfbsds@davenulle.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512192035.jBJKZ9kD055721>