trying to install to gentoo

2007-07-17
2013-04-30
  • spottyrover
    spottyrover
    2007-07-17

    trying to install to gentoo
    I am using the vesa video drivers

    I get the following when starting

    This is xdtv 2.4.0 running on Linux/x86_64 (2.6.21-sabayon-r2).
    scandir: No such file or directory
    filename = /home/david/.xdtv/xdtvrc
    /dev/video0 [v4l2]: no overlay support
    xdtv_v4l-conf had some trouble, trying to continue anyway
    Warning: Missing charsets in String to FontSet conversion
    wmhooks: netwm detected
    wmhooks: netwm state above supported
    wmhooks: netwm fullscreen supported
    wmhooks: nothing found...
    DGA: server=2.0, include=2.0
    VidMode: server=2.2, include=2.2
      available video mode(s): 1024x768 800x600 640x480 640x400
    No XvVideo port available.
    No XvImage port available with yuyv format.
    ioctl VIDIOC_G_FBUF: Invalid argument
    classical overlay is disabled*** GRABBER DEVICE TYPE = v4l2
    Warning: Cannot convert string "-xxl-ledfixed-medium-r-semicondensed--39-120-75-75-c-180-*-*" to type FontStruct
    Warning: Missing charsets in String to FontSet conversion
    Warning: Cannot convert string "-xxl-ledfixed-medium-r-semicondensed--39-120-75-75-c-180-*-*,                                           -jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0" to type FontSet
    Warning: Missing charsets in String to FontSet conversion
    MMX, SSE, AMD MMX extensions, SSE2, 3DNOW, have been detected.
    Method sse
    *** AUDIO DEVICE TYPE = alsa
    *** MIXER DEVICE TYPE = alsa

    You should launch XdTV with the -mixer_tvchan parameter.
    Goto the man page to get more informations about that switch.
    Your Alsa mixer doesn't propose any of those channels:

       Line, PCM, Capture, Aux, Wave Surround
       SB Live Analog/Digital Output Jack or Master

    Select the good one for your own audio card.
    Or use OSS with the -noalsa parameter.

    ioctl VIDIOC_STREAMON: Invalid argument
    ioctl VIDIOC_REQBUFS: Device or resource busy

    any ideas would be appreciated

    Dave

    PS this is the first prog I am trying to install in gentoo  
    used debian in the past

     
    • Catalin Prodan
      Catalin Prodan
      2007-08-20

      ioctl VIDIOC_STREAMON: Invalid argument
      ioctl VIDIOC_REQBUFS: Device or resource busy

      (looks like it happens on all newer (> 2.6.19.x or 2.6.20.x ?) kernels)

      these can be solved like this by modifying src/grab-v4l2.c:
      search for the line:
      if(-1 == ioctl(bttvfd,VIDIOC_STREAMON,&type))
      add before it:
      type = V4L2_BUF_TYPE_VIDEO_CAPTURE;

      I ask the others working on this to check it + make a patch, as I don't have a decent internet connection at home.

       
    • yes, if I read the v4l2 spec file:

      http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html#VIDIOC-STREAMON
      and the example into that section "Appendix B. Video Capture Example":
      we have to add the line you suggest:

                      type = V4L2_BUF_TYPE_VIDEO_CAPTURE;

                      if (-1 == xioctl (fd, VIDIOC_STREAMON, &type))
                              errno_exit ("VIDIOC_STREAMON");

                      break;

      I will test it this evening.
      Regards.

      Pingus