From owner-freebsd-x11@FreeBSD.ORG Sat Sep 27 18:07:10 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 CE933106568A for ; Sat, 27 Sep 2008 18:07:10 +0000 (UTC) (envelope-from sziszi@bsd.hu) Received: from mail.rubicom.hu (mail.rubicom.hu [89.147.80.28]) by mx1.freebsd.org (Postfix) with ESMTP id 559D78FC2A for ; Sat, 27 Sep 2008 18:07:10 +0000 (UTC) (envelope-from sziszi@bsd.hu) Received: from localhost ([127.0.0.1] helo=mail.rubicom.hu) by mail.rubicom.hu with smtp (Exim 4.63) (envelope-from ) id 1Kjd8I-0003jo-Ve; Sat, 27 Sep 2008 18:59:03 +0200 Received: from ip5993549e.rubicom.hu ([89.147.84.158] helo=baranyfelhocske.buza.adamsfamily.xx) by mail.rubicom.hu with esmtp (Exim 4.63) (envelope-from ) id 1Kjd8I-0003jI-Ah; Sat, 27 Sep 2008 18:59:02 +0200 Received: from baranyfelhocske.buza.adamsfamily.xx (localhost [127.0.0.1]) by baranyfelhocske.buza.adamsfamily.xx (8.14.3/8.14.3) with ESMTP id m8RGx2qB001685; Sat, 27 Sep 2008 18:59:02 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from sziszi@localhost) by baranyfelhocske.buza.adamsfamily.xx (8.14.3/8.14.3/Submit) id m8RGx1SL001684; Sat, 27 Sep 2008 18:59:01 +0200 (CEST) (envelope-from sziszi@bsd.hu) X-Authentication-Warning: baranyfelhocske.buza.adamsfamily.xx: sziszi set sender to sziszi@bsd.hu using -f Date: Sat, 27 Sep 2008 18:59:01 +0200 From: Szilveszter Adam To: Robert Noland Message-ID: <20080927165901.GA1508@baranyfelhocske.buza.adamsfamily.xx> References: <48DD9ECD.40309@ahhyes.net> <1222524191.1662.3.camel@wombat.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1222524191.1662.3.camel@wombat.2hip.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working 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: Sat, 27 Sep 2008 18:07:10 -0000 Dear Robert, On Sat, Sep 27, 2008 at 10:03:11AM -0400, Robert Noland wrote: > drm shouldn't be attaching to the second head. The 852/5 chips have the > same pci id on both heads, which none of the other chips do. Please try > the attached patch to sys/dev/drm/i915_drv.c and see if that improves > things. I have applied the patch on my -CURRENT machine, it also seems to change the attachment phase: pciconf -lv: vgapci0@pci0:0:2:0: class=0x030000 card=0x05621014 chip=0x35828086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x05621014 chip=0x35828086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device' class = display Dmesg: vgapci0: port 0x1800-0x1807 mem 0xe0000000-0xe7ffffff,0xd0000000-0xd007ffff irq 11 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xe0000000 128MB info: [drm] Initialized i915 1.6.0 20080312 vgapci1: mem 0xe8000000-0xefffffff, 0xd0080000-0xd00fffff at device 2.1 on pci0 drm1: on vgapci1 But the result is still the same: the intel(4) driver still sees both "cards" and the Xorg log does not show any real difference. HW acceleration is still turned off automatically. Let me know if I can be of any help. -- Regards: Szilveszter ADAM Budapest Hungary