On Sun, Dec 25, 2005 at 02:28:47PM +0200, Dmitry Pryanishnikov wrote: > I've tried fresh (as of 24-Dec-2005) CURRENT on my ASUS M5A notebook > (based on Intel 915GM Express chipset), and got a problem with agp > module attachment. I'm having the same problem on a Dell GX280 with an onboard i915. > drm0: <Intel i915GM> on vgapci0 > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize > AGP. > device_attach: drm0 attach returned 12 Same error in my dmesg. > I had to hack /sys/dev/pci/vga_pci.c: > > --- 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); With this change, it attaches again. From dmesg after the patch: agp0: <Intel 82915G (915G GMCH) SVGA controller> on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M ... info: [drm] AGP at 0xdff00000 0MB info: [drm] Initialized i915 1.2.0 20041217 $ pciconf -lv | grep vgapci0 vgapci0_at_pci0:2:0: class=0x030000 card=0x01791028 chip=0x25828086 rev=0x04 hdr=0x00 # pciconf -rb pci0:2:0 0x0000:0x00ff 86 80 82 25 07 00 90 00 04 00 00 03 00 00 80 00 00 00 f0 df 99 e8 00 00 08 00 00 c0 00 00 ec df 00 00 00 00 00 00 00 00 00 00 00 00 28 10 79 01 00 00 00 00 d0 00 00 00 00 00 00 00 10 01 00 00 00 00 00 00 e0 00 00 00 09 00 09 21 02 b3 9b 08 02 00 30 00 1b 00 00 b8 00 00 00 00 00 00 80 3f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 22 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 05 64 34 00 00 00 00 00 00 04 00 00 00 00 00 I still can't get DRI to work though. --EmilReceived on Tue Jan 17 2006 - 02:23:11 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:50 UTC