From owner-freebsd-stable@FreeBSD.ORG Tue Dec 27 03:20:16 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 1AB2E16A41F for ; Tue, 27 Dec 2005 03:20:16 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0A2D43D4C for ; Tue, 27 Dec 2005 03:20:14 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Er5Nk-0004rL-Vf for freebsd-stable@freebsd.org; Tue, 27 Dec 2005 04:20:13 +0100 Received: from p54ba4cdc.dip.t-dialin.net ([84.186.76.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Dec 2005 04:20:12 +0100 Received: from der_julian by p54ba4cdc.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Dec 2005 04:20:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Julian Stecklina Date: Tue, 27 Dec 2005 02:48:18 +0100 Lines: 65 Message-ID: <86acenia3h.fsf@dellbeast.localnet> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54ba4cdc.dip.t-dialin.net User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b24 (dandelion, berkeley-unix) Cancel-Lock: sha1:+zFP2xvyain0KLznyOpMraeERL4= Sender: news Subject: Problem with new DRI/DRM support for Intel 855GM X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2005 03:20:16 -0000 Hello, I just discovered that the DRM drivers have been updated and my 855GM is now supported by i915.ko. If I load the module, the driver attaches: drmsub1: mem 0xe8000000-0xefffffff,0xfaf00000-0xfaf7ffff at device 2.1 on pci0 info: [drm] AGP at 0xf0000000 128MB info: [drm] Initialized i915 1.2.0 20041217 But when I start X.org (xorg-server-6.8.99.903), it says: 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 The problem is easily spotted, as there is only /dev/dri/card1. If I try to symlink card1 to card0, the kernel says: error: [drm:pid890:drm_unlock] *ERROR* Process 890 using kernel context 0 (PID 890 is the X server.) while the X.org log file reports: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenByBusid: drmOpenMinor returns 7 drmOpenByBusid: drmGetBusid reports pci:0000:61:00.0 drmOpenDevice: node name is /dev/dri/card1 drmOpenDevice: open result is 7, (OK) drmOpenByBusid: drmOpenMinor returns 7 drmOpenByBusid: drmGetBusid reports pci:0000:61:00.0 ... (II) I810(0): [drm] Registers = 0xfaf80000 (II) I810(0): [drm] Back Buffer = 0xf6000000 (II) I810(0): [drm] Depth Buffer = 0xf5000000 (II) I810(0): [drm] ring buffer = 0xf0000000 (II) I810(0): [drm] textures = 0xf0a54000 (EE) I810(0): [drm] failure adding irq handler (II) I810(0): [drm] removed 1 reserved context for kernel (II) I810(0): [drm] unmapping 8192 bytes of SAREA 0xc5074000 at 0x28783000 The complete log is at: http://www.inf.tu-dresden.de/~s1054849/Xorg.0.log uname -a: FreeBSD dellbeast.localnet 6.0-STABLE FreeBSD 6.0-STABLE #2: Sun Dec 18 05:59:59 CET 2005 root@dellbeast.localnet:/usr/obj/usr/src/sys/DELLBEAST i386 But anyway: It's very nice to see that 3D acceleration is going to work Real Soon Now(tm) on my laptop. :-) Regards, -- Julian Stecklina When someone says "I want a programming language in which I need only say what I wish done," give him a lollipop. - Alan Perlis