I'm wondering if there are any known problems using a geforce4 card and a winfast tv2000, nVidia's X driver, and bttv. I simply cannot get them to work together. I have a 64Mb geforce4 and a winfast tv2000. I was having these problems with a pIII650/1Gb, abd the problem is persisting on an athlon 2100+ with 1Gb. In the past I have had the winfast card working with a 16Mb TNT card and an old version of the nvidia driver. The radio tuner works fine (with /usr/bin/radio from xawtv). I have a dvd player on this box: mplayer, ogle and xine all work well, same for 3D graphics (games etc). This is what happens: $ v4l-conf v4l-conf: using X11 display :0 dga: version 2.0 mode: 1600x1200, depth=16, bpp=16, bpl=3584, base=0xd8000000 can't open /dev/video0: Cannot allocate memory $ xawtv This is xawtv-3.73, running on Linux/i686 (2.4.18-27.7.x) can't open /dev/video0: Cannot allocate memory Mar 20 19:31:41 gandalf kernel: bttv: vmalloc_32(4259840) failed v4l-conf had some trouble, trying to continue anyway v4l2: open /dev/video0: Cannot allocate memory v4l: open /dev/video0: Cannot allocate memory no video grabber device available $ tvtime speedycode: Using MMXEXT optimized functions. deinterlace: Registering 'Greedy - Low motion (DScaler)' deinterlacing algorithm. deinterlace: Registering 'Bob (DScaler)' deinterlacing algorithm. deinterlace: Registering 'Greedy - 2-frame (DScaler)' deinterlacing algorithm. deinterlace: Registering 'TwoFrame (DScaler)' deinterlacing algorithm. deinterlace: Registering 'Linear interpolation' deinterlacing algorithm. deinterlace: Registering 'Weave last field' deinterlacing algorithm. deinterlace: Registering 'Line doubler' deinterlacing algorithm. deinterlace: Registering 'Linear Blend (idea from mplayer)' deinterlacing algorithm. videoinput: Can't open '/dev/video0': Cannot allocate memory tvtime: Can't open video input, maybe try a different device? $ tail /var/log/messages | grep kernel Mar 20 19:31:03 linuxbox kernel: bttv: vmalloc_32(4259840) failed Mar 20 19:31:41 linuxbox kernel: bttv: vmalloc_32(4259840) failed Mar 20 19:32:11 linuxbox kernel: bttv: vmalloc_32(4259840) failed Why can't the memory be allocated by the driver? More details are below. Cheers Tony =============8<------------- cut ------------------------- $ uname -a Linux linuxbox.linuxworks.com.au 2.4.18-27.7.x #1 Fri Mar 14 05:51:23 EST 2003 i686 unknown $ cat /etc/redhat-release Red Hat Linux release 7.3 (Valhalla) $ grep -E model\|bogo\|cpu /proc/cpuinfo cpu family : 6 model : 8 model name : AMD Athlon(tm) XP 2100+ cpu MHz : 1733.134 cpuid level : 1 bogomips : 3441.91 $ free total used free shared buffers cached Mem: 1031188 1015704 15484 0 157516 686628 -/+ buffers/cache: 171560 859628 Swap: 1036152 14904 1021248 $ lsmod Module Size Used by Tainted: PF ... output trimmed ... ... alsa drivers installed and working for sblive ... bttv 68992 0 (autoclean) tuner 10148 1 (autoclean) i2c-algo-bit 8204 1 (autoclean) [bttv] videodev 7840 3 (autoclean) [bttv] i2c-dev 4736 0 (autoclean) (unused) nvidia 1592576 10 (autoclean) i2c-proc 8096 0 (unused) i2c-core 18656 0 [bttv tuner i2c-algo-bit i2c-dev i2c-proc] $ cat /proc/video/dev/radio0 name : bttv radio type :|VID_TYPE_TUNER hardware : 0x1 $ cat /proc/video/dev/vbi0 name : bttv vbi type : VID_TYPE_CAPTURE|VID_TYPE_TELETEXT hardware : 0x1 $ cat /proc/video/dev/video0 name : BT878(Leadtek WinFast 2000) type : VID_TYPE_CAPTURE|VID_TYPE_TUNER|VID_TYPE_TELETEXT|VID_TYPE_OVERLAY hardware : 0x1 $ cat /proc/fb 0 VESA VGA $ echo extract from /etc/modules.conf alias char-major-195 nvidia options nvidia NVreg_EnableVia4x=1 NVreg_EnableAGPSBA=1 add below nvidia agpgart options agpgart agp_try_unsupported=1 # base module for i2c alias char-major-89 i2c-dev add below i2c-algo-bit i2c-dev options i2c-algo-bit i2c_debug=1 bit_scan=0 bit_test=1 # tv and radio tuner devices alias char-major-81-0 bttv alias char-major-81-64 bttv # LeadTek Winfast TV2000 with radio tuner options bttv card=34 radio=1 tuner=5 pll=1 autoload=1 automute=0 no_overlay=0 bttv_verbose=1 post-install bttv /usr/sbin/v4l-conf -q add below bttv tuner options tuner type=5 $ echo extracts from /etc/X11/XF86Config-4 Section "Module" Load "glx" # OpenGL X protocol interface Load "extmod" # Misc. required extensions Load "dbe" # Double-buffering Load "v4l" # Video4Linux Load "i2c" # Load "drm" # Direct rendering infrastructure EndSection Section "Device" Identifier "GeForce4" VendorName "nVidia Corporation" BoardName "GeForce4" BusID "PCI:01:0:0" Driver "nvidia" # nVidia's driver Option "NvAGP" "2" EndSection