On Sat, 21 Jul 2007 13:03:08 -0400, I wrote: > The i810 video driver supplied with Etch isn't working too well with my > onboard Intel 946GZ video chipset. ... > > I read here: > http://lists.debian.org/debian-kernel/2007/01/msg00798.html > how to patch intel-agp.c for the 946GZ chipset ...
At Sat, 21 Jul 2007 22:39:55 +0200, Jorg_Becker <[EMAIL PROTECTED]> replied: > I extracted the agp sub folder from source an throw away the rest of the > source code. Calling make builds all agp modules in this folder. Copy the > module intel-agp.ko into /lib/modules/$(shell uname -r)/kernel/drivers/char/agp/ > and add intel-agp to your /etc/modules list. Thanks. I did succeed in compiling a new intel-agp.ko. I put the source in a tmp directory, ran "make config" and accepted all the defaults, and then "make modules". I did this with the revised intel-agp.c you posted and made a new intel-agp.ko. When it is loaded, I get /dev/agpgart, and there are no longer any errors in Xorg.0.log. xvinfo says that I now have X-video support. Loading intel-agp.ko does generate one error (in dmesg since I added the module to /etc/modules): intel_agp: no version for "struct module" found: kernel tainted. All in all this solved the first 2 of my 5 video problems with the i810 driver: 1. No more errors in /var/log/Xorg.0.log 2. X-video support now works 3. xvidtune still doesn't work 4. videos made with mencoder still play way too slowly on my virtual (VMware) XP machine 5. If I drop back to a virtual terminal and then go back to X (fvwm), the X display still goes crazy On Sat, 21 Jul 2007 22:39:55 +0200, Jorg_Becker <[EMAIL PROTECTED]> wrote: > But since there exists by now newer kernels for etch at www.backports.org I > would install a current kernel (2.6.21, 2.6.22?) instead of patching the old > 2.6.18 one. I haven't tried this. I forget but think I probably have to reinstall VMware if the kernel-header files change. And by the way, I was in error when I mentioned 2.6.18-3. As you suspected, I am running 2.6.18-4-686. Anyway, thanks. Thanks also to Andrei Popescu for suggesting module- assistant. I haven't tried this yet but will keep it in mind. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]