All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Anand Moon <linux.amoon@gmail.com>
Cc: Vinod Koul <vinod.koul@intel.com>,
	gabriel@unseen.is,
	"linux-samsung-soc@vger.kernel.org"
	<linux-samsung-soc@vger.kernel.org>,
	dmaengine@vger.kernel.org, sylvester.nawrocki@gmail.com,
	Robert Baldyga <r.baldyga@samsung.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>
Subject: Re: exynos4412: Audio dies after one day on kernel 4.0
Date: Tue, 23 Jun 2015 08:57:03 +0900	[thread overview]
Message-ID: <5588A0CF.6000807@samsung.com> (raw)
In-Reply-To: <CANAwSgQKFTG+ts=kVrZ1fR1EBcZL+7dgXqH1WhoJ7kZzz8hS3Q@mail.gmail.com>

On 23.06.2015 01:00, Anand Moon wrote:
> Hi Krzysztof
> 
> On 13 June 2015 at 13:45, Krzysztof Kozlowski <k.kozlowski@samsung.com
> <mailto:k.kozlowski@samsung.com>> wrote:
> 
>     2015-06-13 14:47 GMT+09:00 Krzysztof Kozlowski
>     <k.kozlowski@samsung.com <mailto:k.kozlowski@samsung.com>>:
>     > W dniu 13.06.2015 o 06:48, gabriel@unseen.is
>     <mailto:gabriel@unseen.is> pisze:
>     >> On 06/10/2015 10:22 AM, Krzysztof Kozlowski wrote:
>     >>>
>     >>> Gabriel,
>     >>>
>     >>> I sent a patch which should fix the issue. Could you give it a
>     try? Of
>     >>> course don't revert the other patches and don't use other
>     workarounds.
>     >>> Just apply the patch on clean (vanilla would be the best) kernel.
>     >>> [RFT PATCH] dmaengine: Fix choppy sound because of unimplemented
>     resume
>     >>>
>     >>
>     >> hi krzysztof,
>     >>
>     >> thanks a lot for your work. having only that patch applied
>     unfortunately
>     >> brought back the problem after something more than one day. the sound
>     >> became choppy/noisy again. I will now compile the -next kernel
>     and give
>     >> it a try.
>     >
>     > Thanks, I'll try to reproduce the issue on my Odroid. Can you
>     share more
>     > details how to reproduce it? The audio must play continuously or just
>     > from time to time but the board must be turned on for more than
>     one day?
> 
>     I bought some audio cables and successfully reproduced similar issue
>     (choppy sound) on Odroid XU3-Lite. On current linux-next
>     (next-20150612) the sound is awful (choppy) after few seconds of play.
>     For example first four of:
>     $ aplay /usr/share/sounds/alsa/Front_Right.wav
>     work fine. But then it just gets worse and underruns are reported:
>     $ Playing WAVE '/usr/share/sounds/alsa/Front_Right.wav' : Signed 16
>     bit Little Endian, Rate 48000 Hz, Mono
>     $ underrun!!! (at least 0.095 ms long)
> 
>     Reverting the commit aee4d1fac887 ("dmaengine: pl330: improve
>     pl330_tx_status() function") fixes this issue so this is not related
>     to missing "resume" function. At least this particular issue on my
>     Odroid is not related to missing resume but I did not try to play
>     sound for 24 hours.
>     My fix does not solve this. Probably "cc-stable" and "fixes" tags
>     should be dropped.
> 
>     Anyway I'll try to investigate it more. If anyone has any ideas,
>     please share.
> 
>     Best regards,
>     Krzysztof
>     --
>     To unsubscribe from this list: send the line "unsubscribe
>     linux-samsung-soc" in
>     the body of a message to majordomo@vger.kernel.org
>     <mailto:majordomo@vger.kernel.org>
>     More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> ​I gave it a try by enabling following config​ flags.
> 
> CONFIG_SND_SEQUENCER=m
> CONFIG_SND_SEQ_DUMMY=m
> CONFIG_SND_USB_AUDIO=m
> 
> I am able to play mp3 songs on Odroid-XU3 boards on vlc.
> Could you give it a try.

What do you mean? Which patch are you talking about? Are you aware that
I tried to fix this two times?

I already tested the latest fix on Odroid XU3 - which I mentioned in
commit. However it would be nice to get confirmation for fixing original
bug report (that specific conditions on that board which Gabriel reported).

Best regards,
Krzysztof

  parent reply	other threads:[~2015-06-22 23:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-30 17:32 exynos4412: Audio dies after one day on kernel 4.0 gabriel
2015-05-31  6:47 ` Krzysztof Kozlowski
2015-06-02 19:51   ` gabriel
2015-06-03  0:05     ` Krzysztof Kozlowski
2015-06-09 11:25       ` gabriel
2015-06-10  8:22         ` Krzysztof Kozlowski
2015-06-12 13:06           ` Vinod Koul
2015-06-12 21:48           ` gabriel
2015-06-13  5:47             ` Krzysztof Kozlowski
2015-06-13  8:15               ` Krzysztof Kozlowski
     [not found]                 ` <CANAwSgQKFTG+ts=kVrZ1fR1EBcZL+7dgXqH1WhoJ7kZzz8hS3Q@mail.gmail.com>
2015-06-22 23:57                   ` Krzysztof Kozlowski [this message]
2015-06-23  2:35                     ` Anand Moon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5588A0CF.6000807@samsung.com \
    --to=k.kozlowski@samsung.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=gabriel@unseen.is \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux.amoon@gmail.com \
    --cc=m.szyprowski@samsung.com \
    --cc=r.baldyga@samsung.com \
    --cc=sylvester.nawrocki@gmail.com \
    --cc=vinod.koul@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.