[mythtv-users] Leadtek Winfast 2000 XP & Debian - segfaults

Mark Shoemaker markshoe at postmark.net
Tue Oct 14 01:15:06 EDT 2003


I have recently installed Debian Woody (2.4.18bf-2.4), and I am
trying to get MythTV working. At first I tried the Debian
packages, and I was getting a segfault in the mythbackend. So, I
downloaded the tarballs and compiled it manually.  My card works
ok in XAWTV, and I can record if I use the -noxv option; However, I
start up Mythfrontend and go to watch TV and it gives me a
black screen, with audio.  Shortly after, it locks up the machine
and/or gives me a seqfault in the backend.  I am using an
NVIDIA TNT2 as the output card.  Is there something I can do to
enable XV or something that will just make this work?  Being a
semi-newbie with linux, I've run into a brick wall with this one.

I have bttv configured using card=34 and tuner=2 (I'm in Canada, so
NTSC is what I want)

Mythbackend says this when I start it:

Starting up as the master server.
Probed: /dev/video0 - Television
Probed: /dev/video0 - Composite1
Probed: /dev/video0 - S-Video

Mythfrontend says nothing and starts fine, and then when I go to
watch TV, I get this:

Opening OSS audio device '/dev/dsp'.
player: Can't open audio device: /dev/dsp
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 67
Changing from None to WatchingLiveTV

When I do a ctrl-c to exit it, the audio continues.

I'm using the newest NVIDIA driver.

Here is what I get from xvinfo:

sh-2.05a$ xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "video4linux"
    number of ports: 1
    port base: 66
    operations supported: PutVideo
    supported visuals:
      depth 16, visualID 0x21
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
    number of attributes: 10
      "XV_ENCODING" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -157)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is -8)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_MUTE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_FREQ" (range 0 to 16000)
              client settable attribute
              client gettable attribute (current value is 5108)
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 2110)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
    number of encodings: 21
      encoding ID #0: "pal-television"
        size: 768 x 576
        rate: 0.020000
      encoding ID #1: "ntsc-television"
        size: 640 x 480
        rate: 0.016683
      encoding ID #2: "secam-television"
        size: 768 x 576
        rate: 0.020000
      encoding ID #3: "palnc-television"
        size: 640 x 576
        rate: 0.020000
      encoding ID #4: "palm-television"
        size: 640 x 576
        rate: 0.020000
      encoding ID #5: "paln-television"
        size: 768 x 576
        rate: 0.020000
      encoding ID #6: "ntscjp-television"
        size: 640 x 480
        rate: 0.016683
      encoding ID #7: "pal-composite1"
        size: 768 x 576
        rate: 0.020000
      encoding ID #8: "ntsc-composite1"
        size: 640 x 480
        rate: 0.016683
      encoding ID #9: "secam-composite1"
        size: 768 x 576
        rate: 0.020000
      encoding ID #10: "palnc-composite1"
        size: 640 x 576
        rate: 0.020000
      encoding ID #11: "palm-composite1"
        size: 640 x 576
        rate: 0.020000
      encoding ID #12: "paln-composite1"
        size: 768 x 576
        rate: 0.020000
      encoding ID #13: "ntscjp-composite1"
        size: 640 x 480
        rate: 0.016683
      encoding ID #14: "pal-svideo"
        size: 768 x 576
        rate: 0.020000
      encoding ID #15: "ntsc-svideo"
        size: 640 x 480
        rate: 0.016683
      encoding ID #16: "secam-svideo"
        size: 768 x 576
        rate: 0.020000
      encoding ID #17: "palnc-svideo"
        size: 640 x 576
        rate: 0.020000
      encoding ID #18: "palm-svideo"
        size: 640 x 576
        rate: 0.020000
      encoding ID #19: "paln-svideo"
        size: 768 x 576
        rate: 0.020000
      encoding ID #20: "ntscjp-svideo"
        size: 640 x 480
        rate: 0.016683
  Adaptor #1: "NV04 Video Overlay"
    number of ports: 1
    port base: 67
    operations supported: PutImage
    supported visuals:
      depth 16, visualID 0x21
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
      depth 16, visualID 0x22
      depth 16, visualID 0x26
      depth 16, visualID 0x27
      depth 16, visualID 0x28
    number of attributes: 4
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 2110)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
    maximum XvImage size: 2046 x 2046
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
  Adaptor #2: "NV05 Video Blitter"
    number of ports: 32
    port base: 68
    operations supported: PutImage
    supported visuals:
      depth 16, visualID 0x21
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
      depth 16, visualID 0x22
      depth 16, visualID 0x26
      depth 16, visualID 0x27
      depth 16, visualID 0x28
    no port attributes defined
    maximum XvImage size: 2046 x 2046
    Number of image formats: 5
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x3
        guid: 03000000-0000-0010-8000-00aa00389b71
        bits per pixel: 32
        number of planes: 1
        type: RGB (packed)
        depth: 0
        red, green, blue masks: 0xff0000, 0xff00, 0xff
  Adaptor #3: "NVIDIA Video Interface Port"
    number of ports: 1
    port base: 100
    operations supported: PutVideo
    supported visuals:
      depth 16, visualID 0x21
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
      depth 16, visualID 0x22
      depth 16, visualID 0x26
      depth 16, visualID 0x27
      depth 16, visualID 0x28
    number of attributes: 4
      "XV_ENCODING" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 2110)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
    number of encodings: 2
      encoding ID #0: "ntsc"
        size: 720 x 480
        rate: 59.940060
      encoding ID #1: "pal"
        size: 720 x 576
        rate: 50.000000

Any ideas?  Thanks in advance for any help.

Mark Shoemaker


-- 
Mark Shoemaker
markshoe at postmark.net




More information about the mythtv-users mailing list