Mailing List Archive

Problems getting Mythtv to show a picture.
Greetings!

I've read the entire archive and have seen similar problems, but none of
the solutions seem to work.

My system:
dual PIII-500 with 640MB RAM (640 MB ought to be enough for anyone)
nVidia Riva TNT2 AGP Video card.
ancient bttv (Hauppauge WinTV from 4 yrs ago)
RedHat 7.3 running KDE

xawtv works great, video, audio, and tuner work.

mythtv doesn't show any video but I can hear TV audio. It just sits there
waiting for me to hit ctrl-C.

Any help would be greatly appreciated.

Also, I've appended the output of xvinfo and xawtv -debug 2

Thanks!
Anton


Xv seems to be setup correctly:

#xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "video4linux"
number of ports: 1
port base: 55
operations supported: PutVideo
supported visuals:
depth 16, visualID 0x23
depth 16, visualID 0x24
number of attributes: 7
"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)
number of encodings: 28
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 IDs continue to #27]

#xawtv -debug 2
This is xawtv-3.73, running on Linux/i686 (2.4.18-3smp)
visual: id=0x23 class=4 (TrueColor), depth=16
visual: id=0x24 class=4 (TrueColor), depth=16
visual: id=0x25 class=5 (DirectColor), depth=16
visual: id=0x26 class=5 (DirectColor), depth=16
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...
Xvideo: 1 adaptors available.
Xvideo: video4linux: input video, ports 55-55
Xvideo: using port 55 for video
XV_ENCODING get set, -1000 -> 1000
XV_BRIGHTNESS get set, -1000 -> 1000
XV_CONTRAST get set, -1000 -> 1000
XV_SATURATION get set, -1000 -> 1000
XV_HUE get set, -1000 -> 1000
XV_MUTE get set, 0 -> 1
XV_FREQ get set, 0 -> 16000
Xvideo: no usable hw scaler port found
main: init main window...
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
main: install signal handlers...
main thread [pid=32274]
main: checking wm...
wmhooks: netwm
main: creating windows ...
main: read config file ...
main: checking for vidmode extention ...
main: checking for lirc ...
main: checking for joystick ...
main: checking for midi ...
main: mapping main window ...
xt: pointer show
main: initialize hardware ...
xv: get XV_BRIGHTNESS: 0
xv: get XV_CONTRAST: -157
xv: get XV_SATURATION: -8
xv: get XV_HUE: 0
xv: set XV_MUTE: 0
xv: get XV_MUTE: 0
main: parse channels from config file ...
cmd: "setfreqtab" "us-cable"
cmd: "capture" "overlay"
cmd: "setchannel" "40"
Xvideo: video off
xv: set XV_MUTE: 1
xv: set XV_SATURATION: -8
xv: set XV_BRIGHTNESS: 0
xv: set XV_HUE: 0
xv: set XV_CONTRAST: -157
xv: set XV_MUTE: 0
main: known station tuned, not changing
main: enter main event loop...
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
Xvideo: video: win=0x2200044, src=640x480+0+0 dst=384x288+0+0
PropertyNotify WM_STATE
PropertyNotify WM_PROTOCOLS
PropertyNotify WM_NORMAL_HINTS
PropertyNotify _NET_WM_VISIBLE_NAME
PropertyNotify _KDE_NET_WM_FRAME_STRUT
PropertyNotify _NET_WM_DESKTOP
PropertyNotify WM_STATE
video: shell: size 384x288+618+20
Xvideo: video: win=0x2200044, src=640x480+0+0 dst=384x288+0+0
PropertyNotify WM_STATE
video: shell: ReparentNotify
video: shell: map
Xvideo: video: win=0x2200044, src=640x480+0+0 dst=384x288+0+0
expose count=0
expose: xv reblit
video: shell: size 384x288+618+20
Xvideo: video: win=0x2200044, src=640x480+0+0 dst=384x288+0+0
PropertyNotify _NET_WM_ICON_GEOMETRY
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: shell: size 384x288+618+20
Xvideo: video: win=0x2200044, src=640x480+0+0 dst=384x288+0+0
xt: pointer hide
xv: set XV_MUTE: 1
Xvideo: video off
cmd: "capture" "off"
Re: Problems getting Mythtv to show a picture. [ In reply to ]
On Monday 09 September 2002 11:03 pm, aolsen@lr2.com wrote:
> Greetings!
>
> I've read the entire archive and have seen similar problems, but none of
> the solutions seem to work.
>
> xawtv works great, video, audio, and tuner work.
>
> mythtv doesn't show any video but I can hear TV audio. It just sits there
> waiting for me to hit ctrl-C.
>
> Any help would be greatly appreciated.
>
> Also, I've appended the output of xvinfo and xawtv -debug 2

And what does mythtv say when run?

Isaac
Re: Problems getting Mythtv to show a picture. [ In reply to ]
Sorry, forgot the most obvious..

#mythtv
Probed: Television
Probed: Composite1
Probed: S-Video
Probed: Composite3
Changing from None to WatchingLiveTV
setting sample rate failed, exiting
Could not detect audio blocksize
using rtjpeg

It just sits at this point until I hit ctrl-C.

--Anton




> On Monday 09 September 2002 11:03 pm, aolsen@lr2.com wrote:
>> Greetings!
>>
>> I've read the entire archive and have seen similar problems, but none
>> of the solutions seem to work.
>>
>> xawtv works great, video, audio, and tuner work.
>>
>> mythtv doesn't show any video but I can hear TV audio. It just sits
>> there waiting for me to hit ctrl-C.
>>
>> Any help would be greatly appreciated.
>>
>> Also, I've appended the output of xvinfo and xawtv -debug 2
>
> And what does mythtv say when run?
>
> Isaac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
Re: Problems getting Mythtv to show a picture. [ In reply to ]
On Monday 09 September 2002 11:52 pm, aolsen@lr2.com wrote:
> Sorry, forgot the most obvious..
>
> #mythtv
> Probed: Television
> Probed: Composite1
> Probed: S-Video
> Probed: Composite3
> Changing from None to WatchingLiveTV
> setting sample rate failed, exiting
> Could not detect audio blocksize
> using rtjpeg
>
> It just sits at this point until I hit ctrl-C.

Try switching the AudioSampleRate setting in
/usr/local/share/mythtv/settings.txt to 48000 or 32000.

Isaac
Re: Problems getting Mythtv to show a picture. [ In reply to ]
I played with the sample settings with no luck, I finally found
out one of the problems. I started looking through the output of strace
and realized it was opening /dev/dsp and hanging.

I killed artsd and it now gets past that point. I'm still unsure why xmms
can open /dev/dsp and other programs can't when artsd is running.

Now I'm getting an error about Xv.

Sometimes I see a window flash on the screen, sometimes not.
xvinfo still shows what I pasted in a previous email.

#mythtv
Probed: Television
Probed: Composite1
Probed: S-Video
Probed: Composite3
Changing from None to WatchingLiveTV
using rtjpeg
strange error flushing buffer ...
problem setting sample rate, exiting
Couldn't find Xv support, exiting

I'm guessing my old nVidia is junk and I need to upgrade to a newer better
supported card. I'll try to pick up an ATI 7500 this weekend and see if
it's Xv support is better.


> Sorry, forgot the most obvious..
>
> #mythtv
> Probed: Television
> Probed: Composite1
> Probed: S-Video
> Probed: Composite3
> Changing from None to WatchingLiveTV
> setting sample rate failed, exiting
> Could not detect audio blocksize
> using rtjpeg
>
> It just sits at this point until I hit ctrl-C.
>
> --Anton
>
>
>
>
>> On Monday 09 September 2002 11:03 pm, aolsen@lr2.com wrote:
>>> Greetings!
>>>
>>> I've read the entire archive and have seen similar problems, but none
of the solutions seem to work.
>>>
>>> xawtv works great, video, audio, and tuner work.
>>>
>>> mythtv doesn't show any video but I can hear TV audio. It just sits
there waiting for me to hit ctrl-C.
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Also, I've appended the output of xvinfo and xawtv -debug 2
>>
>> And what does mythtv say when run?
>>
>> Isaac
>> _______________________________________________
>> mythtv-dev mailing list
>> mythtv-dev@snowman.net
>> http://www.snowman.net/mailman/listinfo/mythtv-dev
>
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev