touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #11152
[Bug 1359729] Re: [System Product Name, Realtek ALC889, Green Headphone Out, Front] Underruns, dropouts or crackling sound
did you specify period time or buffer time for speaker-test since it use
max buffer size by default
if (! buffer_time && ! period_time) {
583 buffer_size = buffer_size_max;
584 if (! period_time)
585 buffer_size = (buffer_size / nperiods) * nperiods;
586 printf(_("Using max buffer size %lu\n"), buffer_size);
587 err = snd_pcm_hw_params_set_buffer_size_near(handle, params, &buffer_size);
588 if (err < 0) {
589 fprintf(stderr, _("Unable to set buffer size %lu for playback: %s\n"),
590 buffer_size, snd_strerror(err));
591 return err;
592 }
but your log seem requesting low latency instead of Max buffer size
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.215| 0.000) [pulseaudio] sink.c: Suspend cause of sink alsa_output.pci-0000_00_1b.0.analog-stereo is 0x0000, resuming
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.216| 0.000) [pulseaudio] reserve-wrap.c: Successfully acquired reservation lock on device 'Audio0'
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.216| 0.000) [alsa-sink-ALC889 Analog] alsa-sink.c: Trying resume...
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.216| 0.000) [alsa-sink-ALC889 Analog] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] alsa-util.c: Maximum hw buffer size is 341 ms
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] alsa-util.c: Set buffer size first (to 16384 samples), period size second (to 8192 samples).
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] alsa-util.c: ALSA period wakeups disabled
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] alsa-sink.c: hwbuf_unused=0
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] alsa-sink.c: setting avail_min=15502
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] alsa-sink.c: Time scheduling watermark is 18,38ms
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] alsa-sink.c: Resumed successfully...
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes idle, timeout in 5 seconds.
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] alsa-sink.c: Starting playback.
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] ratelimit.c: 203 events suppressed
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] alsa-sink.c: Cutting sleep time for the initial iterations by half.
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.217| 0.000) [alsa-sink-ALC889 Analog] alsa-sink.c: Cutting sleep time for the initial iterations by half.
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes idle, timeout in 5 seconds.
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: Created input 4460 "ALSA Playback" on alsa_output.pci-0000_00_1b.0.analog-stereo with sample spec s16le 2ch 48000Hz and channel map front-left,front-right
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: media.name = "ALSA Playback"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: application.name = "ALSA plug-in [speaker-test]"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket client"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: native-protocol.version = "28"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: application.process.id = "31663"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: application.process.user = "vincent"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: application.process.host = "Arbeits-PC"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: application.process.binary = "speaker-test"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: application.language = "C"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: window.x11.display = ":0"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: application.process.machine_id = "41ed86f4d975992452812da453ebb83b"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: application.process.session_id = "c2"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] sink-input.c: module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [speaker-test]"
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] protocol-native.c: Requested tlength=100,00 ms, minreq=25,00 ms
Aug 21 14:30:56 Arbeits-PC pulseaudio[1984]: ( 30.218| 0.000) [pulseaudio] protocol-native.c: Early requests mode enabled, configuring sink latency to minreq.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1359729
Title:
[System Product Name, Realtek ALC889, Green Headphone Out, Front]
Underruns, dropouts or crackling sound
Status in “alsa-driver” package in Ubuntu:
New
Bug description:
Crackling sound while playing music etc. With higher cpu utilization, it gets worse.
Ubuntu 14.04
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
Uname: Linux 3.13.0-34-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: vincent 1984 F.... pulseaudio
/dev/snd/controlC0: vincent 1984 F.... pulseaudio
/dev/snd/pcmC0D0p: vincent 1984 F...m pulseaudio
CurrentDesktop: Unity
Date: Thu Aug 21 14:28:50 2014
InstallationDate: Installed on 2014-08-13 (7 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH successful
Symptom_Card: Internes Audio - HDA Intel PCH
Symptom_Jack: Green Headphone Out, Front
Symptom_PulsePlaybackTest: PulseAudio playback test successful
Symptom_Type: Underruns, dropouts, or "crackling" sound
Title: [System Product Name, Realtek ALC889, Green Headphone Out, Front] Underruns, dropouts or crackling sound
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/09/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3603
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Maximus IV GENE-Z
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3603:bd11/09/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnMaximusIVGENE-Z:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1359729/+subscriptions
References