[mythtv-users] No sound when watching TV

Anders Pedersen anp at post4.tele.dk
Tue Jan 9 08:45:28 UTC 2007


Hi

Hope anybody have a good ide.

I've installed the mythtv rpms and the mysql rpms. Initiatet the
database but have no sound when watching tv in mythtv. The picture is
OK. The TVcard is connected to the soundcard with a cabel.

The sound is working all other places including "TVtime Television
Viewer".

My system is Mandriva 2007.0

MythTv is version 0.20.20060828-3 and installed with RPMs from Mandriva:
[root at localhost ape]# rpm -qa | grep mythtv
mythtv-frontend-0.20-1plf2007.0
mythtv-themes-0.20-1plf2007.0
mythtv-backend-0.20-1plf2007.0
mythtv-setup-0.20-1plf2007.0
mythtv-0.20-1plf2007.0

Nothing is bloking the sound device: 
#fuser /dev/dsp nothing comes up

Form the log file:

[ape at localhost mythtv]$ tail -f mythbackend.log
2007-01-08 21:20:44.174 adding: localhost as a client (events: 1)
2007-01-08 21:20:44.197 MainServer::HandleAnnounce Playback
2007-01-08 21:20:44.209 adding: localhost as a client (events: 0)
2007-01-08 21:20:44.245 TVRec(1): Changing from None to WatchingLiveTV
2007-01-08 21:20:44.258 TVRec(1): HW Tuner: 1->1
2007-01-08 21:20:44.814 Unknown video codec
2007-01-08 21:20:44.831 Please go into the TV Settings, Recording
Profiles and
2007-01-08 21:20:44.832 setup the four 'Software Encoders' profiles.
2007-01-08 21:20:44.856 Assuming RTjpeg for now.
2007-01-08 21:20:44.857 NVR: Error, unknown audio codec
2007-01-08 21:23:36.917 TVRec(1): Changing from WatchingLiveTV to None
2007-01-08 21:23:37.415 Finished recording Ukendt: channel 2061

Without any luck, I've traid to change the encoders profile from RTjpeg
to MPEG-4.
I've traid to change the softwafe encoders (v41 based) codec from from
MP3 to uncompressed.


When I look at the Mandriva hardware configuration I see:
Driver Module: ‎snd-emu10k1

When I look at the Gnome Audio Configuration sound capture I see: 

Audio confererencing sound playback is: ALSA - Advanced Linus Sound
Architecure.
Audio confererencing sound capture is: ALSA - Advanced Linus Sound
Architecure.

The Audio Output device in mythtv is ALSA:ice958:{ AES0 0x02 }.

I've used google, only to be more confused. Where should I look to
getting one step futher ?
(Please don't arsk my to install the myth source and compile/link :-) )

Is there any test I can do ? 


Here are some information:
[ape at localhost ~]$ more /home/ape/.mythtv/mysql.txt
DBHostName=localhost
DBUserName=mythtv
DBPassword=mythtv     
DBName=mythconverg
DBType=QMYSQL3

# Set the following if you want to use something other than the
# machine's real hostname for identifying settings in the database.
# This is useful if your hostname changes often, as otherwise
# you'll need to reconfigure mythtv (or futz with the DB) every time.
# TWO HOSTS MUST NOT USE THE SAME VALUE
#
#LocalHostName=my-unique-identifier-goes-here

# If you want your frontend to be able to wake your MySQL server
# using WakeOnLan, have a look at the following settings:
#
# Set the time the frontend waits (in seconds) between reconnect tries.
# This should be the rough time your MySQL server needs for startup
#WOLsqlReconnectWaitTime=0
#
#
# This is the amount of retries to wake the MySQL server until the
frontend
# gives up
#WOLsqlConnectRetry=5
#
#
# This is the command executed to wake your MySQL server.
#WOLsqlCommand=echo 'WOLsqlServerCommand not set'


[ape at localhost ~]$ more /etc/modules 
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.

nvidia
saa7134


The Hardware:
[root at localhost ape]# lspci -v
00:09.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23
IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
        Subsystem: AFAVLAB Technology Inc Unknown device 0000
        Flags: bus master, medium devsel, latency 32, IRQ 17
        Memory at eb004000 (32-bit, non-prefetchable) [size=2K]
        Memory at eb000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2

00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev
07)
        Subsystem: Creative Labs SBLive! 5.1 Model SB0100
        Flags: bus master, medium devsel, latency 32, IRQ 21
        I/O ports at d000 [size=32]
        Capabilities: [dc] Power Management version 1

00:0a.1 Input device controller: Creative Labs SB Live! Game Port (rev
07)
        Subsystem: Creative Labs Gameport Joystick
        Flags: bus master, medium devsel, latency 32
        I/O ports at d400 [size=8]
        Capabilities: [dc] Power Management version 1

00:0b.0 Multimedia controller: Philips Semiconductors SAA7134/SAA7135HL
Video Broadcast Decoder (rev 01)
        Subsystem: Avermedia Technologies Inc AverMedia M156 / Medion
2819
        Flags: bus master, medium devsel, latency 32, IRQ 20
        Memory at eb005000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [40] Power Management version 1

01:00.0 VGA compatible controller: nVidia Corporation Unknown device
02e2 (rev a2) (prog-if 00 [VGA])
        Subsystem: XFX Pine Group Inc. Unknown device 224a
        Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 19
        Memory at e8000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Memory at e9000000 (32-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at ea000000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0


The relevant loaded modules:
[root at localhost ape]# lsmod
Module                  Size  Used by
snd_seq_dummy           3620  0 
snd_seq_oss            31392  0 
snd_seq_midi_event      7072  1 snd_seq_oss
snd_seq                49488  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            40384  0 
snd_mixer_oss          16096  1 snd_pcm_oss
snd_emu10k1           117760  1 
snd_rawmidi            19936  1 snd_emu10k1
snd_ac97_codec         96868  1 snd_emu10k1
snd_ac97_bus            2848  1 snd_ac97_codec
snd_pcm                70116  3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device          7212  5
snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer              19620  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc          8712  2 snd_emu10k1,snd_pcm
snd_util_mem            4288  1 snd_emu10k1
snd_hwdep               7556  1 snd_emu10k1
snd                    46500  13
snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
soundcore               8096  1 snd
video                  13924  0 
saa7134               106880  0 
video_buf              21220  1 saa7134
compat_ioctl32          1952  1 saa7134
v4l2_common            15648  2 tuner,saa7134
v4l1_compat            14212  1 saa7134
ir_kbd_i2c              7472  1 saa7134
ir_common              24484  2 saa7134,ir_kbd_i2c
videodev                8064  1 saa7134
nvidia               4529012  12 
agpgart                27240  2 via_agp,nvidia
i2c_core               17536  5 tda9887,tuner,saa7134,ir_kbd_i2c,nvidia
ohci1394               32240  0 
ieee1394              286264  1 ohci1394




More information about the mythtv-users mailing list