Date: Sat, 27 Sep 2008 18:59:01 +0200 From: Szilveszter Adam <sziszi@bsd.hu> To: Robert Noland <rnoland@freebsd.org> Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working Message-ID: <20080927165901.GA1508@baranyfelhocske.buza.adamsfamily.xx> In-Reply-To: <1222524191.1662.3.camel@wombat.2hip.net> References: <48DD9ECD.40309@ahhyes.net> <1222524191.1662.3.camel@wombat.2hip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <VGA-compatible display> port 0x1800-0x1807 mem 0xe0000000-0xe7ffffff,0xd0000000-0xd007ffff irq 11 at device 2.0 on pci0 agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> on vgapci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M drm0: <Intel i852GM/i855GM GMCH> on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] AGP at 0xe0000000 128MB info: [drm] Initialized i915 1.6.0 20080312 vgapci1: <VGA-compatible display> mem 0xe8000000-0xefffffff, 0xd0080000-0xd00fffff at device 2.1 on pci0 drm1: <Intel i852GM/i855GM GMCH> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080927165901.GA1508>