[mythtv] specifying an xv port (fwd)

Afunding at stevens-tech.edu Afunding at stevens-tech.edu
Fri Jan 31 12:35:18 EST 2003


I'm trying to bring mythtv up and I think I need to specify the xv port to
get it to work on my system.  With xawtv I get a scrambled window if I do
not specify "xawtv -xvport 56" specifying the video device
"/dev/v4l/video0" also seems to work though the link is pointed properly
from /dev/video.  With mythtv I get the same scrambled window and messages
like these:

[andriod at columbia ]$ mythtv
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
Probed: /dev/v4l/video0 - Television
Probed: /dev/v4l/video0 - Composite1
Probed: /dev/v4l/video0 - S-Video
Changing from None to WatchingLiveTV
strange error flushing buffer ...
Using XV port 56
Delaying to next trigger: 299651
Delaying to next trigger: 344390
Delaying to next trigger: 318508
Delaying to next trigger: 216928
Changing from WatchingLiveTV to None
Changing from None to None

I can hear the sound and change channels fine but the video is scrambled.
Xvinfo reads as follows(slightly summarized):

X-Video Extension version 2.2
screen #0
  Adaptor #0: "video4linux"
    number of ports: 1
    port base: 55
    operations supported: PutVideo
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
    number of attributes: 8
	<SNIP>
    number of encodings: 21
	<SNIP>

  Adaptor #1: "Savage Streams Engine"
    number of ports: 1
    port base: 56
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
    number of attributes: 5
	<SNIP>
    maximum XvImage size: 1024 x 1024
    Number of image formats: 6
	<SNIP>
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
	<SNIP>

Any suggestions?  It looks to me like mythtv is using port 55 for some
reason even though it says it's not.  Apologies in advance if the answer
is in the archives, I couldn't find it.

-Andy Fundinger


More information about the mythtv-dev mailing list