Didier Moens wrote: > Dear Robert, Nicolas, Stephan, :) > > > I got two patches : > > > 1. From Stephan, to test whether my assumption about the secondary > device was right : > > Stephan wrote : > > But if you want you can check that out pretty simple: just add a "break" > right > after the case : > > case PCI_DEVICE_ID_INTEL_830_M_0: > ---> break; > > i810_dev = pci_find_device(PCI_VENDOR_ID_INTEL, > What is the result if you place the 'break' a few lines below, just before the 'agp_bridge.type = NOT_SUPPORTED;' ? Does the module still loads ? > This patch left me with a loaded agpgart, and accelerated X (DRM/DRI). > The acceleration is still not up to par with an ATI Mobility-128 (30% > lower, while it should be at least 200% faster), but I suspect an X > CVS-problem here. > > Quitting and restarting X leaves me with a locked black screen. > The origin of the problem is not obvious... as you said, it could be a DRI/DRM/X related problem (-> hard to trace). In order to be sure AGP is functioning correctly, I suggest that you run this good old test program (attached) after loading the AGP module (but before starting X). I buried out this little fellow from the utah-glx project. All it does is trying to write some data to the agp memory. Try it with both flavors of the module (mine+your fix and the one from Stephan), and share the output with us ;-) Good luck > Conclusion : Stephan's break-patch loads agpgart, loads X, and locks > when reloading X ; Nicolas' patch (when combined with Stephan's first > patch) loads agpgart and locks X hard. > -- Nicolas Aspert Signal Processing Laboratory (LTS) Swiss Federal Institute of Technology (EPFL)