I can no longer get bttv and dri (dri cvs) to work simultaneously with kernel 2.4.21. If dri is enabled (and working) then v4l-conf will complain "cannot allocate memory". Kernel log will show:
bttv: vmalloc_32(8519680) failed
bttv: vmalloc_32(8519680) failed
bttv: vmalloc_32(8519680) failed
bttv: vmalloc_32(8519680) failed
If dri is disabled (even when the radeon driver is still loaded) v4l-conf (and xawtv) just work as they used to.
Roland
Ok, figured it out. This doesn't seem to be a bug per se, if dri is enabled it will just eat up a lot of vmalloc space (it used to work though). Seems to be only a problem if highmem support in the kernel is enabled. Interestingly, I got xawtv and dri to work simultaneously by first starting fbtv, then X, then quitting fbtv, I couldn't see any complaints that the drm couldn't get enough vmalloc mem.
(increasing the VMALLOC_RESERVE value would probably also fix it, but I prefered to just get rid of highmem support and instead decrease __PAGE_OFFSET slightly so I can still use my full gigabyte. Careful attention was however needed for vmlinux.lds...)
I don't think there is some easy way to figure out how much memory a kernel driver has vmalloced?
Roland
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
