Hardware: - Winfast TV2000 (with radio) - nVidia GeForce4 (64Mb) video card - Piii650, 1Gb 133sdram, on an ASUS p3v4x m'board (VIA chipset) Software: - redhat 7.3 (updated) with its standard 2.4.18-19.7.x kernel - alsa sound drivers (from freshrpms.net, nice!) - the nvidia.o driver compiled from the latest NVIDIA_kernel-1.0-4191 and NVIDIA_GLX-1.0-4191 src.rpms. This particular box (one of my usual workstations) is proving to be a stable platform. The bttv driver (v0.7.91) and the radio/fbtv/xawtv utils were working quite nicely with an nvidia 32Mb TNT card. I recently replaced it with the geforce4, and now only fbtv and the radio are working. The radio is definitely in stereo, although /usr/bin/radio (from xawtv) has always boldy claimed mono, no big deal:) The rivafb module does not support the geforce4, so I'm stuck with the vesafb and can no longer change fb modes to go fullscreen with fbtv. I'm using vga=794 or 795 (1280x1024, 160x64) with the vesafb at bootup to get semi-decent 16/32bit colour depth for fbtv. The X server itself seems quite stable (heh, unless I use "-dpi 96" with it:) I'm not doing anything fancy with twinview etc (although that does work), and the X server logs show that xinerama is being enabled (in case that matters). I can modprobe the bttv driver (or simply run "radio -qf 91.7" etc to do the same thing) with no complaints, but as soon as I try running xawtv in X (as any user) I get this: This is xawtv-3.73, running on Linux/i686 (2.4.18-19.7.x) can't open /dev/video0: Cannot allocate memory v4l2: open /dev/video0: Cannot allocate memory v4l: open /dev/video0: Cannot allocate memory no video grabber device available And in syslog: kernel: bttv: vmalloc_32(4259840) failed I can cause fbtv to fail with similar errors if I make gbuffers=16 or more (which might be a clue). Below here are the relevant extracts from: - modules.conf (I've tried all sorts of options in it) - syslogs - contents of the files in /proc/video/dev/* - output of lsmod - output of lspci - XF86Config-4 file Many thanks for any help to get this working (again). Cheers Tony =============================== # extract from /etc/modules.conf (wrapped) # lm-sensors add above i2c-proc w83781d i2c-viapro # 4vl for Winfast TV2000 with radio alias char-major-81 videodev add below videodev i2c-dev sound-slot-0 alias char-major-89 i2c-dev alias char-major-81-0 bttv alias char-major-81-64 bttv add below bttv tuner i2c-algo-bit videodev options bttv card=34 radio=1 tuner=5 pll=1 autoload=1 \ gbuffers=2 automute=0 no_overlay=0 bttv_verbose=1 options tuner debug=0 type=5 options i2c-algo-bit i2c_debug=1 bit_test=1 bit_scan=0 =============================== # from /var/log/messages (wrapped) kernel: vesafb: mode is 1280x1024x16, linelength=2560, pages=1 # nvidia X driver module insmod: Warning: loading /lib/modules/2.4.18-19.7.x/kernel/drivers/video/nvidia.o \ will taint the kernel: non-GPL license - NVIDIA insmod: See http://www.tux.org/lkml/#export-tainted for \ information about tainted modules insmod: Module nvidia loaded, with warnings kernel: 0: nvidia: loading NVIDIA Linux x86 nvidia.o \ Kernel Module 1.0-4191 Mon Dec 9 11:49:01 PST 2002 # produced by running xawtv without any of the v4l modules loaded kernel: i2c-dev.o: i2c /dev entries driver module kernel: i2c-core.o: driver i2c-dev dummy driver registered. kernel: i2c-dev.o: Registered 'SMBus Via Pro adapter at e800' as minor 0 kernel: Linux video capture interface: v1.00 kernel: i2c-algo-bit.o: i2c bit algorithm module kernel: i2c-core.o: driver i2c TV tuner driver registered. kernel: tuner: ignoring SMBus Via Pro adapter at e800 i2c adapter [id=0x40002] kernel: bttv: driver version 0.7.91 loaded kernel: bttv: using 2 buffers with 2080k (4160k total) for capture kernel: bttv: Host bridge is VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] kernel: bttv: Host bridge is VIA Technologies, Inc. VT82C596 Power Management kernel: bttv: Bt8xx card found (0). kernel: PCI: Found IRQ 10 for device 00:0b.0 kernel: PCI: Sharing IRQ 10 with 00:0b.1 kernel: bttv0: Bt878 (rev 17) at 00:0b.0, irq: 10, latency: 32, memory: 0xd6800000 kernel: bttv0: detected: Leadtek WinFast TV 2000 [card=34], PCI subsystem ID is 6606:217d kernel: bttv0: using: BT878(Leadtek WinFast 2000) [card=34,insmod option] kernel: i2c-algo-bit.o: Adapter: bt848 #0 scl: 1 sda: 1 -- testing... kernel: i2c-algo-bit.o:1 scl: 1 sda: 0 kernel: i2c-algo-bit.o:2 scl: 1 sda: 1 kernel: i2c-algo-bit.o:3 scl: 0 sda: 1 kernel: i2c-algo-bit.o:4 scl: 1 sda: 1 kernel: i2c-algo-bit.o: bt848 #0 passed test. kernel: i2c-dev.o: Registered 'bt848 #0' as minor 1 kernel: tuner: probing bt848 #0 i2c adapter [id=0x10005] kernel: tuner: chip found @ 0xc2 kernel: bttv0: i2c attach [client=Philips PAL,ok] kernel: i2c-core.o: client [Philips PAL] registered to adapter [bt848 #0](pos. 0). kernel: i2c-core.o: adapter bt848 #0 registered as adapter 1. kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found kernel: bttv0: registered device video0 kernel: bttv0: registered device vbi0 kernel: bttv0: registered device radio0 kernel: bttv: vmalloc_32(4259840) failed =============================== $ 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/video/dev/vbi0 name : bttv vbi type : VID_TYPE_CAPTURE|VID_TYPE_TELETEXT hardware : 0x1 $ cat /proc/video/dev/radio0 name : bttv radio type :|VID_TYPE_TUNER hardware : 0x1 =============================== # extract of output from lsmod Module Size Used by Tainted: PF bttv 69120 0 (autoclean) tuner 10148 1 (autoclean) i2c-algo-bit 8204 1 (autoclean) [bttv] videodev 7840 3 (autoclean) [bttv] i2c-dev 4704 0 (autoclean) (unused) nvidia 1592576 10 (autoclean) w83781d 20320 0 (unused) i2c-viapro 4936 0 (unused) snd-pcm-oss 42276 0 (autoclean) snd-seq-midi 4256 0 (autoclean) (unused) snd-seq-oss 27616 0 (autoclean) (unused) snd-seq-midi-event 5440 0 (autoclean) [snd-seq-midi snd-seq-oss] snd-seq 44140 2 (autoclean) [snd-seq-midi snd-seq-oss snd-seq-midi-event] snd-mixer-oss 10944 1 (autoclean) [snd-pcm-oss] snd-ens1371 13636 1 (autoclean) snd-pcm 76672 0 (autoclean) [snd-pcm-oss snd-ens1371] snd-timer 13792 0 (autoclean) [snd-seq snd-pcm] snd-ac97-codec 29616 0 (autoclean) [snd-ens1371] snd-rawmidi 17056 0 (autoclean) [snd-seq-midi snd-ens1371] snd-seq-device 5500 0 (autoclean) [snd-seq-midi snd-seq-oss snd-seq snd-rawmidi] snd 37000 0 (autoclean) [snd-pcm-oss snd-seq-midi snd-seq-oss snd-seq-midi-event snd-seq snd-mixer-oss snd-ens1371 snd-pcm snd-timer snd-ac97-codec snd-rawmidi snd-seq-device] soundcore 6212 8 (autoclean) [snd] i2c-proc 8096 0 [w83781d] i2c-core 18656 0 [bttv tuner i2c-algo-bit i2c-dev w83781d i2c-viapro i2c-proc] =============================== # output of lspci 00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4) 00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] 00:04.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 23) 00:04.1 IDE interface: VIA Technologies, Inc. VT82C586B PIPC Bus Master IDE (rev 10) 00:04.2 USB Controller: VIA Technologies, Inc. USB (rev 11) 00:04.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30) 00:09.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U 00:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06) 00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11) 00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11) 00:0d.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang] 00:0e.0 RAID bus controller: CMD Technology Inc PCI0680 (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX440] (rev a3) =============================== # relevant extracts from /etc/X11/XF86Config-4 Section "Device" Identifier "GeForce4" VendorName "nVidia Corporation" BoardName "GeForce4" BusID "PCI:01:0:0" Driver "nvidia" # nVidia's X driver Option "NvAGP" "1" EndSection Section "Module" Load "dbe" Load "extmod" Load "v4l" Load "glx" EndSection Section "Screen" Identifier "Screen0" Device "GeForce4" Monitor "Philips 109S" DefaultColorDepth 16 Subsection "Display" Depth 16 Modes "1600x1200" "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480" EndSubSection EndSection ==== end ======================