Re: vgapci doesn't want to attach agp on ASUS M5A

From: Jonathan Fosburgh <jonathan_at_fosburgh.org>
Date: Thu, 29 Dec 2005 08:52:16 -0600
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
> _at__at_ -74,7 +74,7 _at__at_
>   	 * If AGP capabilities are present on this device, then create
>   	 * an AGP child.
>   	 */
> -	if (pci_find_extcap(dev, PCIY_AGP, NULL) == 0)
> +//	if (pci_find_extcap(dev, PCIY_AGP, NULL) == 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 
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 
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.

-- 
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX

Received on Thu Dec 29 2005 - 13:52:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC