Date: Mon, 26 Dec 2005 00:55:00 +0100 From: Max Laier <max@love2party.net> To: freebsd-current@freebsd.org Cc: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>, Norikatsu Shigemura <nork@freebsd.org> Subject: Re: vgapci doesn't want to attach agp on ASUS M5A Message-ID: <200512260055.07720.max@love2party.net> In-Reply-To: <20051226014329.152c6918.nork@FreeBSD.org> References: <20051225135216.Y1294@atlantis.atlantis.dp.ua> <20051226014329.152c6918.nork@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1931992.cVPSDO5UNy Content-Type: multipart/mixed; boundary="Boundary-01=_WFzrDmka2ec2A8j" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_WFzrDmka2ec2A8j Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 25 December 2005 17:43, Norikatsu Shigemura wrote: > On Sun, 25 Dec 2005 14:28:47 +0200 (EET) > > Dmitry Pryanishnikov <dmitry@atlantis.dp.ua> wrote: > > I've tried both to compile devices agp,drm,i915 to the kernel and load > > them via /boot/loader.conf - result with the stock kernel was the same: > > vgapci0: <VGA-compatible display> port 0xec00-0xec07 mem > > 0xfeb80000-0xfebfffff,0xd0000000-0xdfffffff,0xfeb40000-0xfeb7ffff irq > > 16 at device 2.0 on pci0 > > drm0: <Intel i915GM> on vgapci0 > > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initiali= ze > > AGP. device_attach: drm0 attach returned 12 > > I had to hack /sys/dev/pci/vga_pci.c: > > I have same problem in my i830M, too and fixed Dmitry's patch. > According to my pciconf -rb, pci_find_extcap(dev, PCIY_AGP, NULL) > never find PCIY_AGP(because of 0x01). > > # pciconf -lv | grep vgapci0 > vgapci0@pci0:2:0: class=3D0x030000 card=3D0x102913bd chip=3D0x35778086 re= v=3D0x04 > hdr=3D0x00 > # pciconf -rb pci0:2:0 0x0000:0x00ff | manual-formating...=20 /me too on a IBM X41, pciconf -lv and -rb 0x0000:0x00ff for both instances= =20 attached. As well, only 0x01 capability set. Without checking, AGP attaches nicely and drm seems to work well (at least= =20 glclock's benchclock shows significant speed up [for some tests]). =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --Boundary-01=_WFzrDmka2ec2A8j Content-Type: text/plain; charset="iso-8859-1"; name="card0" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="card0" 86 80 92 25 03 00 90 00 03 00 00 03 00 00 80 00=20 00 00 08 a0 01 18 00 00 08 00 00 c0 00 00 00 a0=20 00 00 00 00 00 00 00 00 00 00 00 00 14 10 82 05=20 00 00 00 00 d0 00 00 00 00 00 00 00 10 01 00 00=20 00 00 00 00 e0 00 00 00 09 00 09 21 02 a2 8b 90=20 0a 00 30 00 19 00 00 b8 00 00 00 00 00 00 80 1f=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 01 00 22 00 00 00 00 00 00 00 00 00 00 00 00 00=20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 64 34 ff 00 00 00 00 00 03 00 00 00 00 00=20 --Boundary-01=_WFzrDmka2ec2A8j Content-Type: text/plain; charset="iso-8859-1"; name="card1" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="card1" 86 80 92 27 00 00 90 00 03 00 80 03 00 00 80 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 14 10 82 05=20 00 00 00 00 d0 00 00 00 00 00 00 00 ff 00 00 00=20 00 00 00 00 e0 00 00 00 09 00 09 21 02 a2 8b 90=20 0a 00 30 00 19 00 00 b8 00 00 00 00 00 00 80 1f=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 01 00 22 00 00 00 00 00 00 00 00 00 00 00 00 00=20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00=20 00 00 64 34 ff 00 00 00 00 00 03 00 00 00 00 00=20 --Boundary-01=_WFzrDmka2ec2A8j-- --nextPart1931992.cVPSDO5UNy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDrzFbXyyEoT62BG0RAhWvAJ93v4SK7Yivko5M4HCIf5lUZxpBagCeJPWS yNx3dxSlUShesQpwGxumTLM= =/hRn -----END PGP SIGNATURE----- --nextPart1931992.cVPSDO5UNy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512260055.07720.max>