From owner-freebsd-x11@FreeBSD.ORG Tue Sep 30 18:49:21 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 592E7106568D for ; Tue, 30 Sep 2008 18:49:21 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 2A47B8FC20 for ; Tue, 30 Sep 2008 18:49:21 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so133931rvf.43 for ; Tue, 30 Sep 2008 11:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=u2mbxHGxrpbV/rUJH1p/kdQFKG/I1NdkU3WK2kxdNo8=; b=g+/3ZG7cqGOLTzWz8lzINimTuTn3hkaqoNXiKxileX5d7adf1wKmc0weKtL4gkpAV0 XnH8hY0aYtqxEfNaN9w/nWf71K8+gmUJpfiS7GVrJQW6+cG23ahZOV/IEWYlO/I3xx0L lfxuHBe655UpOksXXSb/l4sXsl/5lweR2/isw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=orqFMuOnKiC/RvcA6H3Pk5qtsDpHRluFAQ3o5uQ7rlB9yZQL4teIW4KCo+/INXuOkN 4NpTC3X53LGrLTJgK2AJvSVZlocPkZ8i4XKxPEkqB2TYfDAHUDm0V9/hcCTyUgZPhyGk 1h6VXzh2ngdZ4aRGJIZXAfPKu41E4iPn7FnaE= Received: by 10.140.161.11 with SMTP id j11mr3748006rve.134.1222800560857; Tue, 30 Sep 2008 11:49:20 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Tue, 30 Sep 2008 11:49:20 -0700 (PDT) Message-ID: <3a142e750809301149qdb252c5j743878ccffbc8b7b@mail.gmail.com> Date: Tue, 30 Sep 2008 20:49:20 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <1222789921.1740.4.camel@wombat.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222735160.1683.6.camel@wombat.2hip.net> <3a142e750809300245w8d9e720w5da705ced21aec6a@mail.gmail.com> <1222777194.1683.29.camel@wombat.2hip.net> <1222789921.1740.4.camel@wombat.2hip.net> Cc: freebsd-x11 Subject: Re: [CFT] intel g33 & g45 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 18:49:21 -0000 On 9/30/08, Robert Noland wrote: > On Tue, 2008-09-30 at 08:19 -0400, Robert Noland wrote: >> > > This is against -CURRENT, but may apply to STABLE as well. > > I have checked and it does apply to RELENG_7 cleanly as well, though the > agp code is located in sys/pci on 7. > > patch is http://people.freebsd.org/~rnoland/agp_i810-g33-g45.patch That one works fine. (Old one have bogus whitespace diff) Old problem is still there (DRI broken on i945GM, unloading agp causes panic). (I rebuilded both agp and drm modules) Output is more verbose: agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M agp0: AGP_I810_PGTBL_CTL: 3ffc0001 agp0: AGP_I855_GCC1: 0x30 agp0: AGP_I915_MSAC: 0xd9 agp0: Aperture resource size: 268435456 bytes drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xe0000000 256MB info: [drm] Initialized i915 1.6.0 20080312 drm0: [ITHREAD] I think problem started after vgapci0 and vgapci1 appeared in dmesg output. How to make sure that Xorg use vgapci0 and not vgapci1? Do you have same card/output like mine?