From owner-freebsd-mobile@FreeBSD.ORG Wed Aug 2 08:38:17 2006 Return-Path: X-Original-To: freebsd-mobile@FreeBSD.ORG Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FD9D16A4DE for ; Wed, 2 Aug 2006 08:38:17 +0000 (UTC) (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 12BF943D4C for ; Wed, 2 Aug 2006 08:38:15 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (knwluz@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k728c8vl082815 for ; Wed, 2 Aug 2006 10:38:14 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k728c8Kx082814; Wed, 2 Aug 2006 10:38:08 +0200 (CEST) (envelope-from olli) Date: Wed, 2 Aug 2006 10:38:08 +0200 (CEST) Message-Id: <200608020838.k728c8Kx082814@lurza.secnetix.de> From: Oliver Fromme To: freebsd-mobile@FreeBSD.ORG In-Reply-To: <200607281243.17331.jhb@freebsd.org> X-Newsgroups: list.freebsd-mobile User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 02 Aug 2006 10:38:14 +0200 (CEST) Cc: Subject: Re: Intel i830M behind transparent AGP bridge? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-mobile@FreeBSD.ORG List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 08:38:17 -0000 John Baldwin wrote: > Andreas Kohn wrote: > > a friend of mine has a laptop which has an Intel i830M chipset. > > Linux recognizes the chip, and connects it to its agpgart. > > FreeBSD* also recognizes the chip, but see it as connected to the pci > > bus. This makes the drm parts fail to attach, as they require > > (according to the code) the i830 to be attached as AGP chip. > > > > Is this a known problem, and even more, is there any known work-around > > to achieve working drm with i830M in this setup? > > It should work fine in current, and possibly on 6.1-stable. You need 'device > agp' in your kernel, and I think the patches in -stable as with drmsub the > idea is that agp0 attaches to the PCI device and creates a drmsub0 child, and > then the drm driver attaches to drmsub0. I can confirm that last week's RELENG_6 works perfectly fine with the i915, which is similar enough to the i830 and supported by the same drivers, AFAIK. The only problem is that X11's hardware cursor seems to occupy the resources of the brightness-icon. When I press a certain hotkey combination (Fn+CursorUp/Down), I can change the brightness of the screen backlight, and the current brightness is indicated with a small icon in the upper left corner. However, when I run X11 with DRI/DRM enabled, that brightness icon doesn't work anymore, and instead the hardware cursor changes its shape to that brightness icon when I use the key combination (I can provide screen shots if that description wasn't clear enough). ("Doesn't work anymore" means that the icon in the top left corner is either bit garbage, or it always shows the last brightness state before starting X11, no matter what the current state actually is. The chance seems to be about 50/50 which of those two cases occur.) There are no errors or warnings in the Xorg.log that might be related to the problem. Maybe the resources of the hardware cursor need to be assigned differently, but that's probably a bug in Xorg, not in FreeBSD, and I'm not familiar with the bug reporting facilities of Xorg. Fortunately, it's not a very serious problem, just a little bit annoying. Not annoying enough to let me look how to write an Xorg bug report anyway. :-) 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. "[...] one observation we can make here is that Python makes an excellent pseudocoding language, with the wonderful attribute that it can actually be executed." -- Bruce Eckel