Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2005 08:52:16 -0600
From:      Jonathan Fosburgh <jonathan@fosburgh.org>
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:  <200512290852.22186.jonathan@fosburgh.org>
In-Reply-To: <20051228075749.B57227@atlantis.atlantis.dp.ua>
References:  <20051225135216.Y1294@atlantis.atlantis.dp.ua> <200512271131.16479.jhb@freebsd.org> <20051228075749.B57227@atlantis.atlantis.dp.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2936710.pQTExrfTLf
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 28 December 2005 00:25, Dmitry Pryanishnikov wrote:

>
> --- vga_pci.c.orig	Thu Dec 22 18:25:22 2005
> +++ vga_pci.c	Sun Dec 25 13:04:09 2005
> @@ -74,7 +74,7 @@
>   	 * If AGP capabilities are present on this device, then create
>   	 * an AGP child.
>   	 */
> -	if (pci_find_extcap(dev, PCIY_AGP, NULL) =3D=3D 0)
> +//	if (pci_find_extcap(dev, PCIY_AGP, NULL) =3D=3D 0)
>   		device_add_child(dev, "agp", -1);
>

This fixed drm on my Compaq dc7100.  I now get:

vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem=20
0xcfd00000-0xcfd7ffff,0xe0000000-0xefffffff,0xcfd80000-0xcfdbffff
 irq 16 at device 2.0 on pci0
agp0: <Intel 82915G (915G GMCH) SVGA controller> on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
drm0: <Intel i915G> on vgapci0
info: [drm] AGP at 0xcfd00000 0MB
info: [drm] Initialized i915 1.2.0 20041217


However, I now get the following errors when trying to run things like=20
glxinfo, glxgears:

ERROR: line 125, Function intelInitDriver, File intel_screen.c
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering

I am using the current xorg server snap and dri-devel.

=2D-=20
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX

--nextPart2936710.pQTExrfTLf
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDs/gmqUvQmqp7omYRAnCtAJ9DY4p+cnDljNBX9nTLBcgPclyVxgCgm2Ce
va28McaAdpy4u6aGA+R92qY=
=8JzO
-----END PGP SIGNATURE-----

--nextPart2936710.pQTExrfTLf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512290852.22186.jonathan>