[mythtv] VooDoo 3500 TV almost working. . .

Dan M mythtv-dev@snowman.net
14 Dec 2002 12:05:30 -0500


I have the v3tv source compiled and installed, got i2c installed as
well.  I can watch TV with xawtv, however I do get a few error message
on the console, but everything works fine.  In myth, when I go to tv,
then watch live, I get "VIDOCGMBUF:: Bad address"

Any help would be appriciated.

I've attached the output from mythfrontend 

Loading required GL library /usr/X11R6/lib/libGL.so.1.2
Probed: /dev/video0 - TV Tuner
Probed: /dev/video0 - Composite input
Probed: /dev/video0 - S-Video input
sh: line 1: 3: command not found
Changing from None to WatchingLiveTV
VIDOCGMBUF:: Bad address

*********************************
*Heres the xawtv -debug 2 output*
*********************************
[dan@pvr dan]$ xawtv -debug 2
This is xawtv-3.76, running on Linux/i686 (2.4.20)
visual: id=0x22 class=4 (TrueColor), depth=16
visual: id=0x23 class=4 (TrueColor), depth=16
x11: color depth: 16 bits, 2 bytes - pixmap: 2 bytes
x11: color masks: red=0x0000f800 green=0x000007e0 blue=0x0000001f
x11: server byte order: little endian
x11: client byte order: little endian
check if the X-Server is local ... **** ok
x11 socket: me=localhost, server=localhost
main: dga extention...
DGA version 2.0
main: xinerama extention...
main: xvideo extention [video]...
Xvideo: 0 adaptors available.
Xvideo: no usable video port found
main: xvideo extention [image]...
main: init main window...
main: install signal handlers...
main thread [pid=3055]
main: open grabber device...
x11: 1280x1024, 16 bit/pixel, 2560 byte/scanline, DGA
v4l-conf: using X11 display :0.0
dga: version 2.0
mode: 1280x1024, depth=16, bpp=16, bpl=2560, base=0xe8000000
/dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
/dev/video0 [v4l]: configuration done
got sigchild
waitpid: No child processes
vid-open: trying: v4l2...
vid-open: failed: v4l2
vid-open: trying: v4l...
v4l: open: /dev/video0 (Voodoo3 3500 TV)
  capabilities:  capture tuner overlay chromakey scales
  size    : 16x16 => 1280x960
  channels: 3
ioctl: VIDIOCGCHAN(0,TV Tuner,flags=0x1,type=1,norm=1): ok
    TV Tuner: 1 tuner  tv
ioctl: VIDIOCGCHAN(1,Composite input,flags=0x0,type=1,norm=1): ok
    Composite input: 0  tv
ioctl: VIDIOCGCHAN(2,S-Video input,flags=0x0,type=1,norm=0): ok
    S-Video input: 0  tv
  audios  : 0
ioctl: VIDIOCGTUNER(0,TV Tuner,range=0-0,flags=0x3,mode=3,signal=65535):
ok
  tuner   : TV Tuner 0-0 PAL NTSC
ioctl: VIDIOCGFBUF(base=0xe8000000,size=1280x1024,depth=16,bpl=2560): ok
  fbuffer : base=0x0xe8000000 size=1280x1024 depth=16 bpl=2560
ioctl: VIDIOCGPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
  picture : brightness=32112 hue=32767 colour=32767 contrast=32767
  picture : whiteness=32768 depth=16 palette=rgb16
ioctl: VIDIOCGMBUF(size=0,frames=0): Bad address
  v4l: using read() for capture
vid-open: ok: v4l
v4l: 1280x1024, 16 bit/pixel, 2560 byte/scanline
main: checking wm...
wmhooks: netwm
main: creating windows ...
main: read config file ...
main: checking for vidmode extention ...
main: checking for lirc ...
lirc: ~/.lircrc file found
ev: reg built-in "lirc-key-ch+" => "setstation next"
ev: reg built-in "lirc-key-ch-" => "setstation prev"
ev: reg built-in "lirc-key-vol+" => "volume inc"
ev: reg built-in "lirc-key-vol-" => "volume dec"
ev: reg built-in "lirc-key-mute" => "volume mute"
ev: reg built-in "lirc-key-full_screen" => "fullscreen toggle"
ev: reg built-in "lirc-key-source" => "setinput next"
ev: reg built-in "lirc-key-reserved" => "quit"
ev: reg built-in "lirc-key-0" => "keypad 0"
ev: reg built-in "lirc-key-1" => "keypad 1"
ev: reg built-in "lirc-key-2" => "keypad 2"
ev: reg built-in "lirc-key-3" => "keypad 3"
ev: reg built-in "lirc-key-4" => "keypad 4"
ev: reg built-in "lirc-key-5" => "keypad 5"
ev: reg built-in "lirc-key-6" => "keypad 6"
ev: reg built-in "lirc-key-7" => "keypad 7"
ev: reg built-in "lirc-key-8" => "keypad 8"
ev: reg built-in "lirc-key-9" => "keypad 9"
lirc: init ok
main: checking for joystick ...
main: checking for midi ...
main: mapping main window ...
xt: pointer show
main: initialize hardware ...
ioctl: VIDIOCGCHAN(0,TV Tuner,flags=0x1,type=1,norm=1): ok
ioctl: VIDIOCGPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCGPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCGPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCGPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
main: parse channels from config file ...
cmd: "setfreqtab" "us-cable"
cmd: "capture" "overlay"
ioctl: VIDIOCGFREQ(8429366.500 MHz): Bad address
main: tuning first station
cmd: "setstation" "0"
v4l: overlay off
ioctl: VIDIOCGPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCGPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCGPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCGPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSCHAN(1,Composite input,flags=0x0,type=1,norm=1): ok
v4l: freq: 268435455.938
ioctl: VIDIOCSFREQ(268435455.938 MHz): ok
main: enter main event loop...
video: tv(+root): DestroyNotify
video: tv(+root): DestroyNotify
PropertyNotify WM_NAME
PropertyNotify WM_ICON_NAME
PropertyNotify WM_COMMAND
PropertyNotify WM_CLIENT_MACHINE
PropertyNotify WM_NORMAL_HINTS
PropertyNotify WM_HINTS
PropertyNotify WM_CLASS
PropertyNotify _KDE_NET_USER_TIME
PropertyNotify WM_LOCALE_NAME
PropertyNotify WM_LOCALE_NAME
PropertyNotify WM_CLIENT_LEADER
video: shell: size 384x288+0+0
blit: init
blit: resize 384x288
gd: config 384x288 win=1400047
v4l: setformat
ioctl: VIDIOCGCAP(Voodoo3 3500
TV,type=0x9b,chan=3,audio=0,size=16x16-1280x960): ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=384x288+0+0,key=0,flags=0x0,clips=0): ok
setformat: 16 bit TrueColor (LE) (384x288): ok
grabdisplay: using "16 bit TrueColor (LE)"
video: refresh
video: root: ConfigureNotify
PropertyNotify WM_STATE
PropertyNotify _NET_WM_VISIBLE_NAME
video: root: ConfigureNotify
video: root: ConfigureNotify
video: root: ConfigureNotify
video: root: ConfigureNotify
video: root: ConfigureNotify
video: root: ConfigureNotify
PropertyNotify _KDE_NET_WM_FRAME_STRUT
video: root: ConfigureNotify
video: root: ConfigureNotify
video: root: ConfigureNotify
PropertyNotify _NET_WM_DESKTOP
PropertyNotify WM_STATE
video: shell: size 384x288+594+20
video: root: ConfigureNotify
PropertyNotify WM_STATE
video: shell: ReparentNotify
video: tv(+root): ReparentNotify
video: shell: map
video: root: MapNotify
video: tv: visibility 0
expose count=0
expose: chromakey [384x288]
PropertyNotify WM_PROTOCOLS
PropertyNotify WM_NORMAL_HINTS
PropertyNotify _NET_WM_ICON_GEOMETRY
PropertyNotify _XAWTV_STATION
PropertyNotify WM_NAME
PropertyNotify WM_ICON_NAME
PropertyNotify _XAWTV_STATION
PropertyNotify _NET_WM_VISIBLE_NAME
PropertyNotify WM_NAME
PropertyNotify _NET_WM_VISIBLE_NAME
video: root: MapNotify
video: tv: visibility 2
video: root: UnmapNotify
video: tv: visibility 0
expose count=0
expose: chromakey [384x288]
video: tv(+root): DestroyNotify
video: shell: size 384x288+594+20
video: configure delayed yes
ioctl: VIDIOCGCAP(Voodoo3 3500
TV,type=0x9b,chan=3,audio=0,size=16x16-1280x960): ok
clip: win=380x288 xa=-2 ya=0
clip: init - 0 clips
clip: fixup adjust - 0 clips
clip: fixup range - 0 clips
clip: zerosize done - 0 clips
clip: final - 0 clips
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=380x288+596+20,key=16711935,flags=0x0,clips=0): ok
ioctl: VIDIOCCAPTURE(on): ok
v4l: overlay win=384x288+594+20, 0 clips
video: refresh
video: root: MapNotify (ignored)
video: tv: visibility 2 (ignored)
video: root: UnmapNotify (ignored)
video: tv: visibility 0 (ignored)
expose count=0
expose: chromakey [384x288]
video: tv(+root): DestroyNotify
xt: pointer hide
xt: pointer show
video: root: ConfigureNotify
video: configure delayed no
video: root: ConfigureNotify
video: root: ConfigureNotify
video: root: ConfigureNotify
video: root: ConfigureNotify
video: root: ConfigureNotify
video: configure delayed no
video: root: ConfigureNotify
video: root: ConfigureNotify
video: configure delayed no
video: root: ConfigureNotify
video: configure delayed no
video: root: ConfigureNotify
video: tv(+root): ReparentNotify
video: root: MapNotify
video: configure delayed no
PropertyNotify _NET_WM_ICON_GEOMETRY
xt: pointer hide
xt: pointer show
video: tv(+root): DestroyNotify
keypad: timeout
PropertyNotify WM_NAME
PropertyNotify _NET_WM_VISIBLE_NAME
video: root: MapNotify
video: configure delayed no
xt: pointer hide
cmd: "setattr" "input" "TV Tuner"
ioctl: VIDIOCSCHAN(0,TV Tuner,flags=0x1,type=1,norm=1): ok
video: root: UnmapNotify
video: root: UnmapNotify
video: tv(+root): DestroyNotify
video: configure delayed no
xt: pointer show
video: root: ConfigureNotify
video: configure delayed no
xt: pointer hide
cmd: "setchannel" "next"
v4l: setformat
ioctl: VIDIOCCAPTURE(off): ok
ioctl: VIDIOCGCAP(Voodoo3 3500
TV,type=0x9b,chan=3,audio=0,size=16x16-1280x960): ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=128x96+0+0,key=0,flags=0x0,clips=0): ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=380x288+596+20,key=16711935,flags=0x0,clips=0): ok
ioctl: VIDIOCCAPTURE(on): ok
setformat: 16 bit TrueColor (LE) (128x96): ok
v4l: setformat
ioctl: VIDIOCCAPTURE(off): ok
ioctl: VIDIOCGCAP(Voodoo3 3500
TV,type=0x9b,chan=3,audio=0,size=16x16-1280x960): ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=128x96+0+0,key=0,flags=0x0,clips=0): ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=380x288+596+20,key=16711935,flags=0x0,clips=0): ok
ioctl: VIDIOCCAPTURE(on): ok
v4l: getimage
ioctl: VIDIOCCAPTURE(off): ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=128x96+0+0,key=0,flags=0x0,clips=0): ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=380x288+596+20,key=16711935,flags=0x0,clips=0): ok
ioctl: VIDIOCCAPTURE(on): ok
v4l: overlay off
ioctl: VIDIOCCAPTURE(off): ok
v4l: freq: 73.250
ioctl: VIDIOCSFREQ(73.250 MHz): ok
cmd: "setchannel" "next"
v4l: overlay off
v4l: freq: 55.250
ioctl: VIDIOCSFREQ(55.250 MHz): ok
PropertyNotify WM_NAME
PropertyNotify WM_ICON_NAME
PropertyNotify _XAWTV_STATION
PropertyNotify WM_NAME
PropertyNotify WM_ICON_NAME
PropertyNotify _XAWTV_STATION
PropertyNotify _NET_WM_VISIBLE_NAME
video: configure delayed yes
ioctl: VIDIOCGCAP(Voodoo3 3500
TV,type=0x9b,chan=3,audio=0,size=16x16-1280x960): ok
clip: win=380x288 xa=-2 ya=0
clip: init - 0 clips
clip: fixup adjust - 0 clips
clip: fixup range - 0 clips
clip: zerosize done - 0 clips
clip: final - 0 clips
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=380x288+596+20,key=16711935,flags=0x0,clips=0): ok
ioctl: VIDIOCCAPTURE(on): ok
v4l: overlay win=384x288+594+20, 0 clips
video: refresh skipped
video: refresh skipped
options: received WM_DELETE_WINDOW message
video: root: UnmapNotify
video: configure delayed no
video: tv(+root): ReparentNotify
video: root: UnmapNotify
video: root: UnmapNotify
video: tv(+root): DestroyNotify
video: tv(+root): DestroyNotify
video: tv(+root): DestroyNotify
video: tv(+root): DestroyNotify
video: tv(+root): DestroyNotify
video: tv(+root): DestroyNotify
video: configure delayed no
PropertyNotify _NET_WM_ICON_GEOMETRY
xt: pointer show
xt: pointer hide
video: shell: ClientMessage
CloseMainAction: received WM_DELETE_WINDOW message
v4l: overlay off
ioctl: VIDIOCCAPTURE(off): ok
cmd: "capture" "off"
v4l: setformat
ioctl: VIDIOCGCAP(Voodoo3 3500
TV,type=0x9b,chan=3,audio=0,size=16x16-1280x960): ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=384x288+0+0,key=0,flags=0x0,clips=0): ok
setformat: 16 bit TrueColor (LE) (384x288): ok
v4l: setformat
ioctl: VIDIOCGCAP(Voodoo3 3500
TV,type=0x9b,chan=3,audio=0,size=16x16-1280x960): ok
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=384x288+0+0,key=0,flags=0x0,clips=0): ok
v4l: getimage
ioctl: VIDIOCSPICT(params=32112/32767/32767/32767/32768,depth=16,fmt=3):
ok
ioctl: VIDIOCSWIN(win=384x288+0+0,key=0,flags=0x0,clips=0): ok
v4l: close