Mailing List Archive

Blank TV and Crash
I'm a total MythTV newbie having installed it for the first
time on Saturday. The problem is that the TV display comes up
blank, only audio, and the keyboard becomes non responsive.
After a few seconds mythfronend will exit with an invalid
instruction error.

After reading much of the mythtv-user archives I have determined
this to be a common problem. I tried nearly every suggestion
for cures offered in the archive to no avail. This includes
making sure XV works, ALSA installed, /dev/dsp is R/W, and so on.

Below is a list of anything I thought might be useful in
diagnosing this problem.

Hardware configuration:
Pentium II 500 MHZ
512MB RAM
5GB free disk space
Hauppauge WinTV (BT878)
Matrox G200 8MB
Aztech AZT2320 Sound Card

Relevant software versions:
MythTV 0.10 (Thac's RPMs for Mandrake9.1)
Mandrake Linux 9.1
libalsa2-0.9.0-0.14rc7mdk
X-Video Extension 2.2
bttv 0.7.100

Related software experiences:
XawTV: TV viewing works
Freevo: TV viewing works
Xine: works perfectly

Included data dumps:
/etc/modules
/etc/modules.conf
xvinfo output
mythbackend output
mythfrontend output
strace of mythfrontend crash
gdb output at mythfrontend crash
gdb backtrace of mythfrontend crash


/etc/modules
---------------------------
snd-azt2320
snd-pcm-oss
snd-mixer-oss
snd-seq-oss
bttv


/etc/modules.conf
---------------------------
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-azt2320

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

above snd-azt2320 snd-pcm-oss

# module options should go here
options bttv gbuffers=4


xvinfo output
--------------------------
X-Video Extension version 2.2
screen #0
Adaptor #0: "video4linux"
number of ports: 1
port base: 61
operations supported: PutVideo
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
number of attributes: 8
"XV_ENCODING" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -81)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -201)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -101)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -81)
"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 980)
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
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 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
encoding ID #21: "pal-composite3"
size: 768 x 576
rate: 0.020000
encoding ID #22: "ntsc-composite3"
size: 640 x 480
rate: 0.016683
encoding ID #23: "secam-composite3"
size: 768 x 576
rate: 0.020000
encoding ID #24: "palnc-composite3"
size: 640 x 576
rate: 0.020000
encoding ID #25: "palm-composite3"
size: 640 x 576
rate: 0.020000
encoding ID #26: "paln-composite3"
size: 768 x 576
rate: 0.020000
encoding ID #27: "ntscjp-composite3"
size: 640 x 480
rate: 0.016683
Adaptor #1: "Matrox G-Series Backend Scaler"
number of ports: 1
port base: 62
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, visualID 0x2a
number of attributes: 1
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
maximum XvImage size: 1024 x 1024
Number of image formats: 3
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: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)


mythbackend output
------------------------------
Starting up as the master server.
Probed: /dev/video0 - Television
Probed: /dev/video0 - Composite1
Probed: /dev/video0 - S-Video
Probed: /dev/video0 - Composite3
2003-08-12 15:38:27 adding: [deleted URL] as a player 1
2003-08-12 15:38:27 adding: [deleted URL] as a player 0
2003-08-12 15:38:27 adding: [deleted URL] as a player 0
2003-08-12 15:38:27 adding: [deleted URL] as a remote ringbuffer
Changing from None to WatchingLiveTV
audio volume set to '32768'
strange error flushing buffer ...
Changing from WatchingLiveTV to None
only read 1024 from 4096 bytes from '/dev/dsp'
read audio: Success


mythfrontend output
---------------------------------
connecting to backend server: 127.0.0.1:6543
Changing from None to WatchingLiveTV
Opening OSS audio device '/dev/dsp'.
Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
Using XV port 62
Illegal instruction


strace of mythfrontend (last ten lines)
---------------------------------
read(5, "\0", 1) = 1
gettimeofday({1060720089, 280900}, NULL) = 0
nanosleep({0, 100000}, NULL) = 0
gettimeofday({1060720089, 303359}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1060720089, 303651}, NULL) = 0
select(19, [3 4 5 13 14 16 17 18], [], [], {0, 0}) = 1 (in [5], left {0, 0})
read(5, "\0", 1) = 1
gettimeofday({1060720089, 304353}, NULL) = 0
nanosleep({0, 100000}, upeek: ptrace(PTRACE_PEEKUSER,8342,44,0):
Operation not permitted


gdb output at mythfrontend crash
----------------------------------
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 81926 (LWP 8404)]
0x40e6c88d in linearBlendFilter ()
from /usr/lib/mythtv/filters/liblinearblend.so


gdb backtrace of mythfrontend crash
-----------------------------------
#0 0x40e6c88d in linearBlendFilter ()
from /usr/lib/mythtv/filters/liblinearblend.so
Re: Blank TV and Crash [ In reply to ]
On Tuesday 12 August 2003 05:00 pm, Timothy Wagner wrote:
> I'm a total MythTV newbie having installed it for the first
> time on Saturday. The problem is that the TV display comes up
> blank, only audio, and the keyboard becomes non responsive.
> After a few seconds mythfronend will exit with an invalid
> instruction error.
>
> After reading much of the mythtv-user archives I have determined
> this to be a common problem. I tried nearly every suggestion
> for cures offered in the archive to no avail. This includes
> making sure XV works, ALSA installed, /dev/dsp is R/W, and so on.

http://www.mythtv.org/docs/mythtv-HOWTO-18.html#ss18.1

Isaac
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Blank TV and Crash [ In reply to ]
It works! thanks Isaac.

I read all the documentation, but I just missed that part.

I noticed that when I exit from TV viewing the audio does not mute, and
even continues playing after the program exits. Do you have any ideas on
this problem?


Isaac Richards wrote:
> On Tuesday 12 August 2003 05:00 pm, Timothy Wagner wrote:
>
>>I'm a total MythTV newbie having installed it for the first
>>time on Saturday. The problem is that the TV display comes up
>>blank, only audio, and the keyboard becomes non responsive.
>>After a few seconds mythfronend will exit with an invalid
>>instruction error.
>>
>>After reading much of the mythtv-user archives I have determined
>>this to be a common problem. I tried nearly every suggestion
>>for cures offered in the archive to no avail. This includes
>>making sure XV works, ALSA installed, /dev/dsp is R/W, and so on.
>
>
> http://www.mythtv.org/docs/mythtv-HOWTO-18.html#ss18.1
>
> Isaac
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Re: Blank TV and Crash [ In reply to ]
On Tuesday 12 August 2003 05:25 pm, Timothy Wagner wrote:
> It works! thanks Isaac.
>
> I read all the documentation, but I just missed that part.
>
> I noticed that when I exit from TV viewing the audio does not mute, and
> even continues playing after the program exits. Do you have any ideas on
> this problem?

That's this:
http://www.mythtv.org/docs/mythtv-HOWTO-7.html
section of the docs.

Isaac
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Blank TV and Crash [ In reply to ]
Thanks once again Isaac.

The moral of the story is RTFM, again and again and again ....


Isaac Richards wrote:
> On Tuesday 12 August 2003 05:25 pm, Timothy Wagner wrote:
>
>>It works! thanks Isaac.
>>
>>I read all the documentation, but I just missed that part.
>>
>>I noticed that when I exit from TV viewing the audio does not mute, and
>>even continues playing after the program exits. Do you have any ideas on
>>this problem?
>
>
> That's this:
> http://www.mythtv.org/docs/mythtv-HOWTO-7.html
> section of the docs.
>
> Isaac
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>