[mythtv-users] MythMusic Problems

Bernhard C. Schrenk tv at clemy.org
Wed Jun 23 08:56:30 EDT 2004


I had the same problem. A repeating loud noise and crash of mythmusic and
also of mfd. It tries to start playing with empty buffers triggered by the
ioctl SNDCTRL_DSP_POST (used abnormally by mythmusic and mfd before the
first write). The noise is the garbage from the empty buffer and the crash
is a division by zero in the sound driver(via82cxxx_audio.c).

You can use another sound driver or try my little patch on your linux kernel
(I will sent it to the maintainer soon):

diff -uNr linux-2.4.25-orig/drivers/sound/via82cxxx_audio.c
linux-2.4.25/drivers/sound/via82cxxx_audio.c
--- linux-2.4.25-orig/drivers/sound/via82cxxx_audio.c   2003-08-25
13:44:42.000000000 +0200
+++ linux-2.4.25/drivers/sound/via82cxxx_audio.c        2004-06-21
14:39:30.000000000 +0200
@@ -3228,7 +3228,8 @@
                if (wr) {
                        if (card->ch_out.slop_len > 0)
                                via_chan_flush_frag (&card->ch_out);
-                       via_chan_maybe_start (&card->ch_out);
+                       if (atomic_read (&card->ch_out.n_frags) <
card->ch_out.frag_number)
+                               via_chan_maybe_start (&card->ch_out);
                }

                rc = 0;

Regards,
Bernhard



----- Original Message ----- 
From: "Andreas Witte" <Andreaz at t-online.de>
To: "Mythtv-Users" <mythtv-users at mythtv.org>
Sent: Thursday, June 17, 2004 8:59 AM
Subject: [mythtv-users] MythMusic Problems


> Hello List.
>
> (Hm, got some Problems regarding the mythsuite. I write it down
> to make it maybe better).
>
> Im using mythtv from cvs on a gentoo-box with kernel 2.6.6.
> The tv-part im firing with a technotrend dvb-t card which is
> working more or less (ive got some tuning and the firmware-upload
> issues) - but thats not a part of mythtv.
> This is all working on a VIA KT266 Board with an Athlon 1700XP
> and (via82cxxx_audio) Onboard-Audio (possibly totally crap!).
>
> What one of the main problems with mythtv is the plugin mythmusic
> which i tried several times now on several distributions (suse,
> debian and now gentoo). Until today, i cant get a reliable tone
> out of my speaker (just only with mythmusic).
>
> It compiles fine and i can hear music and cds with several cd players
> but if i try this with mythmusic, it crashes and i get a loop of
> soundish anything right that moment, if i try to play ANY File. 8-(
> It sounds like a buffer that is full and played over and over again
> in a cycle. It could be (the time is to short to hear) that this
> sound is the first miliseconds of the cd but its just a guess.
>
> Is that anyhow a knowing feature or am i alone and did a damish
> mistake that i can't get.
>
> I would be glad if i could use mythtv-suite also as music-player
> since this machine carry all of my cd-collection i backed up.
>
> 50 Cents for you ideas. =)
> Thanks for helping or trying to in advance.
> Andreas
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



More information about the mythtv-users mailing list