[Touch-packages] [Bug 996906]

2015-04-21 Thread Rkfg
Some more info. On my new laptop that also has a VIA sound chipset I
managed to greatly leverage the problem by installing the low-latency
Ubuntu kernel. I have Ubuntu MATE 14.04 on it so it was effortless.
Unfortunately, for (presumably) performance reasons it doesn't have
CONFIG_SND_PCM_XRUN_DEBUG enabled so I can't see if it also misses
interrupts. However, on the default stock kernel which has this option
it misses interrupts indeed. I tried various position_fix and enable_msi
values and nothing helped. I had underruns in the log while doing usual
things like opening sites, now on the low-latency kernel it's all good
even on PA's timer-based scheduling.

I can only guess but it could be because the CPU has only two cores and
sometimes it can't schedule an interrupt in time. The low-latency kernel
has 1000 Hz timer compared to 250 Hz in the default one. It also has
various NO_HZ_* options enabled. I'll try two options on Monday with my
own kernel for Debian: one would be using the BFS scheduler and another
one will feature CONFIG_NO_HZ_FULL_ALL and alike options which are
disabled when BFS is used. I'll check if either of them will help with
the missed interrupts.

The problem as I see it is that my work PC and this laptop isn't
powerful enough to server IRQs in time. They both have VIA sound
although a bit different models and 2 core CPUs. My home PC has 4 cores
that are also more powerful. I tried to output some sound via PA to its
Realtek ALC889 card and enabled xrun_debug. There were no messages about
lost interrupts and I'm using the same kernel that's used on the work
PC. So the different behavior is either because of different
codecs/chipsets or CPUs.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: 

[Touch-packages] [Bug 996906]

2015-04-21 Thread Rkfg
Created attachment 115078
Kernel log

Here's the log. I've set tsched=0 and set 2 fragments, 2 ms each.

ALSA setup:

Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c: Soft volume 
PCM
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c: Control: PCM 
Playback Volume
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c: min_dB: -51
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c: max_dB: 0
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c: resolution: 
256
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c: Its setup is:
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   stream  
 : PLAYBACK
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   access  
 : MMAP_INTERLEAVED
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   format  
 : S16_LE
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   subformat   
 : STD
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   channels
 : 2
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   rate
 : 44100
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   exact rate  
 : 44100 (44100/1)
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   msbits  
 : 16
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   buffer_size 
 : 192
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   period_size 
 : 96
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   period_time 
 : 2176
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   tstamp_mode 
 : ENABLE
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   period_step 
 : 1
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   avail_min   
 : 96
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   
period_event : 1
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   
start_threshold  : -1
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   
stop_threshold   : 6917529027641081856
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   
silence_threshold: 0
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   
silence_size : 0
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   boundary
 : 6917529027641081856
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c: Slave: 
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c: Its setup is:
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   stream  
 : PLAYBACK
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   access  
 : MMAP_INTERLEAVED
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   format  
 : S16_LE
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   subformat   
 : STD
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   channels
 : 2
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   rate
 : 44100
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   exact rate  
 : 44100 (44100/1)
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   msbits  
 : 16
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   buffer_size 
 : 192
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   period_size 
 : 96
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   period_time 
 : 2176
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   tstamp_mode 
 : ENABLE
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   period_step 
 : 1
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   avail_min   
 : 96
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   
period_event : 1
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   
start_threshold  : -1
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   
stop_threshold   : 6917529027641081856
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   
silence_threshold: 0
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   
silence_size : 0
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   boundary
 : 6917529027641081856
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   appl_ptr
 : 0
Apr 15 12:05:20 work pulseaudio[19799]: [pulseaudio] alsa-util.c:   hw_ptr  
 : 0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug 

[Touch-packages] [Bug 996906]

2015-04-21 Thread Rkfg
I've tried 11, it's all spammed with messages to the level it gets
suppressed. I'll give it a try tomorrow then. I just don't know which
traces are relevant.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 21:45:17 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/03/2009
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F2
  dmi.board.name: 

[Touch-packages] [Bug 996906]

2015-04-21 Thread Rkfg
Updated my EFI, PA has the same settings:

[  156.151092] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=2517145, old_hw_ptr=2516984)
[  156.151099] CPU: 0 PID: 2399 Comm: chrome Not tainted 3.19.0-pf2+ #1
[  156.151100] Hardware name: System manufacturer System Product Name/P8H61-M 
LX2, BIOS 0605 05/09/2013
[  156.151102]   0019 8154b50a 
8800948ab400
[  156.151105]  a062e10f 8801ae5c1a80 00213766 
8801ae5c1ac0
[  156.151107]  815508fc 880235e4cda0  
000100023a7d
[  156.151110] Call Trace:
[  156.151112]  IRQ  [8154b50a] ? dump_stack+0x4a/0x74
[  156.151131]  [a062e10f] ? snd_pcm_update_hw_ptr0+0x40f/0x8d0 
[snd_pcm]
[  156.151134]  [815508fc] ? _raw_spin_unlock_irqrestore+0x1c/0x40
[  156.151138]  [81090b94] ? resched_curr+0x24/0xf0
[  156.151142]  [a062e63a] ? snd_pcm_period_elapsed+0x6a/0xe0 
[snd_pcm]
[  156.151146]  [a0582f2b] ? azx_interrupt+0x10b/0x1c0 
[snd_hda_controller]
[  156.151150]  [810c7f6d] ? handle_irq_event_percpu+0x2d/0x1e0
[  156.151153]  [810c8159] ? handle_irq_event+0x39/0x60
[  156.151155]  [810cafd1] ? handle_edge_irq+0x91/0x150
[  156.151159]  [81017678] ? handle_irq+0x18/0x30
[  156.151161]  [81016dfd] ? do_IRQ+0x4d/0xf0
[  156.151164]  [81551fed] ? common_interrupt+0x6d/0x6d
[  156.151165]  EOI  [8155126d] ? system_call_fastpath+0x16/0x1b
[  162.888555] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=2814073, old_hw_ptr=2813912)
[  162.888562] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.19.0-pf2+ #1
[  162.888564] Hardware name: System manufacturer System Product Name/P8H61-M 
LX2, BIOS 0605 05/09/2013
[  162.888566]   0079 8154b50a 
8800948ab400
[  162.888570]  a062e10f  88023fa0e4c0 

[  162.888582]  88023fa03ea4 0001000254d4  
0001000254ca
[  162.888585] Call Trace:
[  162.888587]  IRQ  [8154b50a] ? dump_stack+0x4a/0x74
[  162.888609]  [a062e10f] ? snd_pcm_update_hw_ptr0+0x40f/0x8d0 
[snd_pcm]
[  162.888614]  [a062e63a] ? snd_pcm_period_elapsed+0x6a/0xe0 
[snd_pcm]
[  162.888617]  [a0582f2b] ? azx_interrupt+0x10b/0x1c0 
[snd_hda_controller]
[  162.888623]  [810c7f6d] ? handle_irq_event_percpu+0x2d/0x1e0
[  162.888626]  [810c8159] ? handle_irq_event+0x39/0x60
[  162.888628]  [810cafd1] ? handle_edge_irq+0x91/0x150
[  162.888632]  [81017678] ? handle_irq+0x18/0x30
[  162.888635]  [81016dfd] ? do_IRQ+0x4d/0xf0
[  162.888638]  [81551fed] ? common_interrupt+0x6d/0x6d
[  162.888639]  EOI  [81427f99] ? cpuidle_enter_state+0x59/0x1a0
[  162.888644]  [81427f89] ? cpuidle_enter_state+0x49/0x1a0
[  162.888648]  [810a4599] ? cpu_startup_entry+0x489/0x4f0
[  162.888652]  [818edf69] ? start_kernel+0x47b/0x486
[  162.888654]  [818ed120] ? early_idt_handlers+0x120/0x120
[  162.888656]  [818ed120] ? early_idt_handlers+0x120/0x120
[  162.888658]  [818ed60d] ? x86_64_start_kernel+0x150/0x15f
[  170.116076] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=3132601, old_hw_ptr=3132440)
[  170.116083] CPU: 0 PID: 2290 Comm: chrome Not tainted 3.19.0-pf2+ #1
[  170.116084] Hardware name: System manufacturer System Product Name/P8H61-M 
LX2, BIOS 0605 05/09/2013
[  170.116086]   0079 8154b50a 
8800948ab400
[  170.116088]  a062e10f  88023fa0e4c0 

[  170.116091]  88023fa03ea4 88020a8c6780  
000100027101
[  170.116093] Call Trace:
[  170.116094]  IRQ  [8154b50a] ? dump_stack+0x4a/0x74
[  170.116114]  [a062e10f] ? snd_pcm_update_hw_ptr0+0x40f/0x8d0 
[snd_pcm]
[  170.116119]  [810993d3] ? check_preempt_wakeup+0xb3/0x210
[  170.116124]  [a062e63a] ? snd_pcm_period_elapsed+0x6a/0xe0 
[snd_pcm]
[  170.116127]  [a0582f2b] ? azx_interrupt+0x10b/0x1c0 
[snd_hda_controller]
[  170.116131]  [810c7f6d] ? handle_irq_event_percpu+0x2d/0x1e0
[  170.116134]  [810c8159] ? handle_irq_event+0x39/0x60
[  170.116137]  [810cafd1] ? handle_edge_irq+0x91/0x150
[  170.116140]  [81017678] ? handle_irq+0x18/0x30
[  170.116143]  [81016dfd] ? do_IRQ+0x4d/0xf0
[  170.116145]  [81551fed] ? common_interrupt+0x6d/0x6d
[  170.116146]  EOI  [8155126d] ? system_call_fastpath+0x16/0x1b
[  171.815153] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=3207481, old_hw_ptr=3207320)
[  171.815160] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.19.0-pf2+ #1
[  171.815161] Hardware name: System manufacturer System Product Name/P8H61-M 
LX2, BIOS 0605 05/09/2013
[  171.815163]   0079 8154b50a 

[Touch-packages] [Bug 996906]

2015-04-21 Thread Rkfg
Nothing seems to be printed with debug = 13:
[14559.554693] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=702553, old_hw_ptr=702392)
[14564.895847] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=937945, old_hw_ptr=937784)
[14565.941444] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=984025, old_hw_ptr=983864)
[14573.145037] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=1301497, old_hw_ptr=1301336)
[14574.635010] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=1367161, old_hw_ptr=1367000)
[14577.096462] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=1475641, old_hw_ptr=1475480)
[14586.796312] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=1903129, old_hw_ptr=1902968)
[14586.992402] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=1911769, old_hw_ptr=1911608)
[14594.026044] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=2221753, old_hw_ptr=2221592)
[14595.953870] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=169, 
new_hw_ptr=2306713, old_hw_ptr=2306544)
[14596.659610] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=2337817, old_hw_ptr=2337656)
[14596.685752] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=2338969, old_hw_ptr=2338808)
[14602.107478] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=185, 
new_hw_ptr=2577913, old_hw_ptr=2577728)
[14603.678073] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=2647129, old_hw_ptr=2646968)
[14607.444299] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=2813113, old_hw_ptr=2812952)
[14608.614012] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=185, 
new_hw_ptr=2864665, old_hw_ptr=2864480)
[14609.178195] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=169, 
new_hw_ptr=2889529, old_hw_ptr=2889360)
[14614.619587] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=3129337, old_hw_ptr=3129176)
[14616.410149] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=3208249, old_hw_ptr=3208088)
[14616.593118] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=3216313, old_hw_ptr=3216152)
[14621.289473] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=3423289, old_hw_ptr=3423128)
[14621.315617] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=3424441, old_hw_ptr=3424280)
[14622.783780] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=3489145, old_hw_ptr=3488984)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] 

[Touch-packages] [Bug 996906]

2015-04-21 Thread Rkfg
Still nothing:

[ 1469.264611] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=4954969, old_hw_ptr=4954808)
[ 1469.340845] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=169, 
new_hw_ptr=4958329, old_hw_ptr=4958160)
[ 1470.946188] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=153, 
new_hw_ptr=5029073, old_hw_ptr=5028920)
[ 1471.872164] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=168, 
new_hw_ptr=5069888, old_hw_ptr=5069720)
[ 1473.533990] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=153, 
new_hw_ptr=5143121, old_hw_ptr=5142968)
[ 1475.176618] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=176, 
new_hw_ptr=5215520, old_hw_ptr=5215344)
[ 1477.775171] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=5330041, old_hw_ptr=5329880)
[ 1478.241325] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=5350585, old_hw_ptr=5350424)
[ 1479.169273] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=5391481, old_hw_ptr=5391320)
[ 1479.835845] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=153, 
new_hw_ptr=5420857, old_hw_ptr=5420704)
[ 1480.471852] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=5448889, old_hw_ptr=5448728)
[ 1480.903183] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=5467897, old_hw_ptr=5467736)
[ 1481.815867] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=5508121, old_hw_ptr=5507960)
[ 1481.931274] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=153, 
new_hw_ptr=5513201, old_hw_ptr=5513048)
[ 1482.397507] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=153, 
new_hw_ptr=5533753, old_hw_ptr=5533600)
[ 1483.181608] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=153, 
new_hw_ptr=5568305, old_hw_ptr=5568152)
[ 1485.830481] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=169, 
new_hw_ptr=5685049, old_hw_ptr=5684880)
[ 1486.366331] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=161, 
new_hw_ptr=5708665, old_hw_ptr=5708504)
[ 1486.876226] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=160, 
new_hw_ptr=5731136, old_hw_ptr=5730976)

# cat /proc/asound/card0/pcm0p/xrun_debug
29

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|  

[Touch-packages] [Bug 996906]

2015-04-21 Thread Rkfg
So I've done some research. This article describes the timer model and
how ALSA works in regards of periods/fragments and software/hardware
buffers: http://0pointer.de/blog/projects/pulse-glitch-free.html

According to the article, PA works in two modes, with tsched=0 it's the
old IRQ-driven mode as ALSA does and it heavily relies to the fragments
number and size. Hence it gets ALSA underruns if the app is too slow to
fill the buffer. It happens to my work PC sometime because it isn't too
fast (model name: Intel(R) Pentium(R) CPU G620 @ 2.60GHz) and I mostly
listen to music in Chrome (HTML5 audio). Chrome has the latency of ~65
ms now. It's quite feasible that some program would occupy the CPU for
this much time so I'd have a skip/underrun. In case of tsched=0 there's
nothing we can do as period/buffer size is set up on startup and
basically can't be changed in runtime.

When tsched=1 or not specified (defaults to 1) PA sets up an ALSA buffer
of 2 seconds long with two periods of 1 second each. This way it doesn't
underrun in ALSA but rather underruns in PA itself. This code is
responsible for tweaking the watermark and latency:
https://github.com/pulseaudio/pulseaudio/blob/master/src/modules/alsa
/alsa-sink.c#L326

The problem here is that watermark can go in both directions, up and
down, while latency can only grow until the sink is reset (recreated).
This actually means that if some particular program has chosen too
little latency and had several underruns because of that, THE WHOLE LOT
OF OTHER PROGRAMS now will suffer bad latency as well! And there's no
other way to lower it back other than restarting PA itself together with
all its clients or when PA gets unsuspended (
https://github.com/pulseaudio/pulseaudio/blob/master/src/modules/alsa
/alsa-sink.c#L1021 ).

I haven't found a way to setup a default minimal latency so that if I
know that my system isn't capable to deliver 4 ms, I can set it to 16
instead of having  0.5 ms and several underruns just to let PA get to
that latency by itself. It seems to me that this minimal latency is just
hardcoded (
https://github.com/pulseaudio/pulseaudio/blob/master/src/pulsecore/sink.c#L54
) and there are no tools to call pa_sink_set_latency_range (
https://github.com/pulseaudio/pulseaudio/blob/master/src/pulsecore/sink.c#L3091
)

And also, I repeat, launching pavucontrol for the first time and
sometimes pacmd list-sinks causes stuttering on my work system (works ok
at home but there I have i7-2600 and PCI SB Live 7.1). I don't know how
and why but they seem to block PA somewhere so that Chrome can't sink
its audio to it in time and hence we get an underrun, latency increase
and the bad mood. I dunno, maybe I have to file this pavucontrol bug
separately.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   

[Touch-packages] [Bug 996906]

2015-04-21 Thread Rkfg
0.5 ms is just what PA reports as the minimal latency. I don't need it
to be this small, I just don't want it to grow up to 100 ms without the
possibility to automatically drop it back to normal. I suppose it's not
possible to make PA work with fragments as ALSA does. As I understand
from the Lennart's article, the latency in ALSA is the size of period
±something. For PA it's the size of fragment * number of fragments as it
reports this as the minimal latency in pacmd list-sinks. It's also very
noticeable when you use realtime apps like LMMS or games.

However, it's not true for dmix. I play a file with everything at
default on my home PC with SB Live 7.1 (at work the overall picture is
more or less the same), here's what I have:

 aplay -v /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little 
Endian, Rate 48000 Hz, Mono
Plug PCM: Route conversion PCM (sformat=S32_LE)
  Transformation table:
0 - 0
1 - 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 1
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 8192
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 1024
  period_event : 0
  start_threshold  : 8192
  stop_threshold   : 8192
  silence_threshold: 0
  silence_size : 0
  boundary : 4611686018427387904
Slave: Direct Stream Mixing PCM
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S32_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 32
  buffer_size  : 8192
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 1024
  period_event : 0
  start_threshold  : 8192
  stop_threshold   : 8192
  silence_threshold: 0
  silence_size : 0
  boundary : 4611686018427387904
Hardware PCM card 0 'CA0106' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S32_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 32
  buffer_size  : 8192
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : ENABLE
  period_step  : 1
  avail_min: 1024
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 4611686018427387904
  silence_threshold: 0
  silence_size : 4611686018427387904
  boundary : 4611686018427387904
  appl_ptr : 0
  hw_ptr   : 0

The buffer size is 8192 frames which is8192 / 48000 == 0.17066 s == 170
ms but there's no noticeable latency at all. If I setup PA not to use
tsched and set 8 fragments of 21 ms each (almost exactly as in dmix), I
have this setup then:

Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c: Hardware 
PCM card 0 'CA0106' device 0 subdevice 0
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c: Its setup 
is:
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   stream   
: PLAYBACK
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   access   
: MMAP_INTERLEAVED
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   format   
: S32_LE
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
subformat: STD
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   channels 
: 2
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   rate 
: 48000
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   exact 
rate   : 48000 (48000/1)
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   msbits   
: 32
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
buffer_size  : 8064
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
period_size  : 1008
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
period_time  : 21000
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
tstamp_mode  : ENABLE
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
period_step  : 1
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
avail_min: 1008
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
period_event : 1
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
start_threshold  : -1
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
stop_threshold   : 9079256848778919936
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
silence_threshold: 0
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   
silence_size : 0
Apr 16 19:16:17 homecomp pulseaudio[6121]: [pulseaudio] alsa-util.c:   boundary 
: 9079256848778919936
Apr 16 19:16:17 homecomp 

[Touch-packages] [Bug 996906]

2015-04-21 Thread Rkfg
ALSA setup:

Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c: Control: PCM 
Playback Volume
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c: min_dB: -51
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c: max_dB: 0
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c: resolution: 
256
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c: Its setup is:
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   stream  
 : PLAYBACK
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   access  
 : MMAP_INTERLEAVED
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   format  
 : S16_LE
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   subformat   
 : STD
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   channels
 : 2
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   rate
 : 44100
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   exact rate  
 : 44100 (44100/1)
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   msbits  
 : 16
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   buffer_size 
 : 192
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   period_size 
 : 32
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   period_time 
 : 725
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   tstamp_mode 
 : ENABLE
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   period_step 
 : 1
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   avail_min   
 : 32
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   
period_event : 1
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   
start_threshold  : -1
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   
stop_threshold   : 6917529027641081856
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   
silence_threshold: 0
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   
silence_size : 0
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   boundary
 : 6917529027641081856
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c: Slave: 
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c: Its setup is:
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   stream  
 : PLAYBACK
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   access  
 : MMAP_INTERLEAVED
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   format  
 : S16_LE
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   subformat   
 : STD
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   channels
 : 2
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   rate
 : 44100
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   exact rate  
 : 44100 (44100/1)
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   msbits  
 : 16
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   buffer_size 
 : 192
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   period_size 
 : 32
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   period_time 
 : 725
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   tstamp_mode 
 : ENABLE
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   period_step 
 : 1
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   avail_min   
 : 32
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   
period_event : 1
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   
start_threshold  : -1
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   
stop_threshold   : 6917529027641081856
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   
silence_threshold: 0
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   
silence_size : 0
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   boundary
 : 6917529027641081856
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   appl_ptr
 : 0
Apr 14 13:51:06 work pulseaudio[11059]: [pulseaudio] alsa-util.c:   hw_ptr  
 : 0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top 

[Touch-packages] [Bug 996906]

2015-04-21 Thread Rkfg
I have them with 4 fragments of 1 ms each. tsched=0,
device.buffering.buffer_size = 768, device.buffering.fragment_size =
128:

[11966.628405] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=72, 
new_hw_ptr=1177, old_hw_ptr=1105)
[11966.636364] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=72, 
new_hw_ptr=1521, old_hw_ptr=1449)
[11966.668090] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=72, 
new_hw_ptr=505, old_hw_ptr=433)
[11966.671573] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=79, 
new_hw_ptr=672, old_hw_ptr=593)
[11966.676095] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=72, 
new_hw_ptr=889, old_hw_ptr=817)
[11966.681435] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=56, 
new_hw_ptr=1145, old_hw_ptr=1089)
[11966.686940] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=80, 
new_hw_ptr=1409, old_hw_ptr=1329)
[11966.689460] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=80, 
new_hw_ptr=1529, old_hw_ptr=1449)
[11966.692775] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=80, 
new_hw_ptr=1689, old_hw_ptr=1609)
[11966.696944] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=80, 
new_hw_ptr=1889, old_hw_ptr=1809)

# cat /sys/module/snd_hda_intel/parameters/align_buffer_size
1

It has also printed this in the PA's log: http://pastebin.com/jAQx6DEZ

 ALSA woke us up to write new data to the device, but there was
actually nothing to write! Most likely this is a bug in the ALSA driver
'snd_hda_intel'. Please report this issue to the ALSA developers. We
were woken up with POLLOUT set -- however a subsequent snd_pcm_avail()
returned 0 or another value  min_avail.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting 

[Touch-packages] [Bug 996906]

2015-04-14 Thread Rkfg
Both commands produce underruns at large, audible and visible in the
output.

 aplay -D hw:0,0 -v --buffer-time=4000 /tmp/fr025.wav
Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 192
  period_size  : 32
  period_time  : 725
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 32
  period_event : 0
  start_threshold  : 192
  stop_threshold   : 192
  silence_threshold: 0
  silence_size : 0
  boundary : 6917529027641081856
  appl_ptr : 0
  hw_ptr   : 0
underrun!!! (at least 4.191 ms long)
Status:
  state   : XRUN
  trigger_time: 3336.7694317
  tstamp  : 3336.11882117
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 1.832 ms long)
Status:
  state   : XRUN
  trigger_time: 3336.30152303
  tstamp  : 3336.31983077
  delay   : 0
  avail   : 194
  avail_max   : 194
underrun!!! (at least 0.312 ms long)
Status:
  state   : XRUN
  trigger_time: 3337.6068547
  tstamp  : 3337.6379149
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 4.293 ms long)
Status:
  state   : XRUN
  trigger_time: 3339.4484089
  tstamp  : 3339.8775797
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 11.592 ms long)
Status:
  state   : XRUN
  trigger_time: 3343.6272217
  tstamp  : 3343.17862683
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 2.310 ms long)
Status:
  state   : XRUN
  trigger_time: 3343.700965780
  tstamp  : 3343.703274524
  delay   : 0
  avail   : 200
  avail_max   : 200
^CAborted by signal Interrupt...

 aplay -D hw:0,0 -v  --period-time=2000 --buffer-time=4000 /tmp/fr025.wav
Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 192
  period_size  : 96
  period_time  : 2176
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 96
  period_event : 0
  start_threshold  : 192
  stop_threshold   : 192
  silence_threshold: 0
  silence_size : 0
  boundary : 6917529027641081856
  appl_ptr : 0
  hw_ptr   : 0
underrun!!! (at least 8.673 ms long)
Status:
  state   : XRUN
  trigger_time: 3355.4367755
  tstamp  : 3355.13037189
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 2.189 ms long)
Status:
  state   : XRUN
  trigger_time: 3356.24657841
  tstamp  : 3356.26845873
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 2.160 ms long)
Status:
  state   : XRUN
  trigger_time: 3358.690871062
  tstamp  : 3358.693029225
  delay   : 0
  avail   : 281
  avail_max   : 281
underrun!!! (at least 3.647 ms long)
Status:
  state   : XRUN
  trigger_time: 3360.9384022
  tstamp  : 3360.13029349
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 1.095 ms long)
Status:
  state   : XRUN
  trigger_time: 3361.11945732
  tstamp  : 3361.13039182
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 3.016 ms long)
Status:
  state   : XRUN
  trigger_time: 3361.132006217
  tstamp  : 3361.135020659
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 0.352 ms long)
Status:
  state   : XRUN
  trigger_time: 3361.465478201
  tstamp  : 3361.465829023
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 2.799 ms long)
Status:
  state   : XRUN
  trigger_time: 3361.502227029
  tstamp  : 3361.505024503
  delay   : 0
  avail   : 200
  avail_max   : 200
underrun!!! (at least 0.019 ms long)
Status:
  state   : XRUN
  trigger_time: 3361.513310022
  tstamp  : 3361.513327710
  delay   : 0
  avail   : 200
  avail_max   : 200
^CAborted by signal Interrupt...

Also, after I do:
echo 1  /proc/asound/card0/pcm0p/xrun_debug

I have lots of this in dmesg:
[ 3504.140844] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=56, 
new_hw_ptr=809, old_hw_ptr=753)
[ 3504.143264] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=72, 
new_hw_ptr=913, old_hw_ptr=841)
[ 3504.148353] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=72, 
new_hw_ptr=1137, old_hw_ptr=1065)
[ 3504.150102] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=80, 
new_hw_ptr=1217, old_hw_ptr=1137)
[ 3504.156337] ALSA: PCM: [Q] Lost interrupts?: (stream=0, delta=72, 
new_hw_ptr=1489, old_hw_ptr=1417)
[ 3504.157990] ALSA: PCM: 

[Touch-packages] [Bug 996906]

2015-04-14 Thread Rkfg
So I've bought a laptop with VIA sound as well and it also have
skips/stutters. I worked around it on both systems with these steps:

1) in /etc/pulse/default.pa added tsched=0:
load-module module-udev-detect tsched=0

2) to reduce latency set in /etc/pulse/daemon.conf:
default-fragments = 4
default-fragment-size-msec = 1

The final latency is a product of these numbers, 1*4 == 4 ms which is
acceptable. The number of fragments should be at least 2 so the least
latency possible is 2*1 == 2 ms. I don't know if there's a real
difference between 4 fragments of 1 ms each or 2 fragments of 2 ms each.
Try some experimenting. At least now I don't have latency increase and
sound doesn't skip on pavucontrol launch, though it still skips on LMMS
launch.

Based on the comments' content and timestamps here, it looks to me that
no one in PA team really cares about HDA Intel cards which are the most
popular cards. And if PA performs badly with them out of the box it
hurts PA's face, no matter who's to blame actually. Plus, pure ALSA
works fine or doesn't work at all, usually.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  

[Touch-packages] [Bug 996906]

2015-04-14 Thread Rkfg
Also, when CPU is loaded for any reason I sometimes get this:

Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] 
protocol-native.c: Implicit underrun of 'Playback'
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] sink.c: Found 
underrun 1380 bytes ago (1436 bytes ahead in playback buffer)
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] 
protocol-native.c: Requesting rewind due to end of underrun.
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-sink.c: 
Requested to rewind 2816 bytes.
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-sink.c: 
Limited to 2560 bytes.
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-sink.c: 
before: 640
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-sink.c: 
after: 640
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-sink.c: 
Rewound 2560 bytes.
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] sink.c: 
Processing rewind...
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] sink.c: 
latency = 1302
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] sink-input.c: 
Have to rewind 2560 bytes on render memblockq.
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] source.c: 
Processing rewind...
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
snd_pcm_avail() returned a value that is exceptionally large: 32960 bytes (186 
ms).
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report 
this issue to the ALSA developers.
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
snd_pcm_dump():
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
Soft volume PCM
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
Control: PCM Playback Volume
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
min_dB: -51
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
max_dB: 0
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
resolution: 256
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
Its setup is:
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 stream   : PLAYBACK
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 access   : MMAP_INTERLEAVED
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 format   : S16_LE
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 subformat: STD
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 channels : 2
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 rate : 44100
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 exact rate   : 44100 (44100/1)
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 msbits   : 16
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 buffer_size  : 704
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 period_size  : 352
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 period_time  : 7981
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 tstamp_mode  : ENABLE
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 period_step  : 1
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 avail_min: 352
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 period_event : 1
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 start_threshold  : -1
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 stop_threshold   : 6341068275337658368
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 silence_threshold: 0
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 silence_size : 0
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 boundary : 6341068275337658368
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
Slave: Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c: 
Its setup is:
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 stream   : PLAYBACK
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S Analog] alsa-util.c:  
 access   : MMAP_INTERLEAVED
Apr 09 11:56:10 work pulseaudio[9718]: [alsa-sink-VT1708S 

[Touch-packages] [Bug 996906]

2015-04-14 Thread Rkfg
I don't know if it's related but there's no error messages in dmesg if I
run PA without tsched=0. Though in this case skips are pretty audible
and the fragment size and their number aren't respected. Even worse,
latency grows over time with each skip and becomes unbearable. With
tsched=0 I can at least get it fixed. I also have skips when PC is under
load (Java compiling, tabs reloading at the same time etc.). PA says
it's working in realtime mode so these userland processes should not
interfere. It reports in its log that it's the ALSA underrun, not the
application's one. So I don't know who's to blame.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  

[Touch-packages] [Bug 996906]

2015-04-14 Thread Rkfg
When I start PA without tsched=0, it's ALSA setup is weird:

Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: Control: PCM 
Playback Volume
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: min_dB: -51
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: max_dB: 0
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: resolution: 256
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: Its setup is:
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   stream   
: PLAYBACK
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   access   
: MMAP_INTERLEAVED
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   format   
: S16_LE
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   subformat
: STD
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   channels 
: 2
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   rate 
: 44100
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   exact rate   
: 44100 (44100/1)
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   msbits   
: 16
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   buffer_size  
: 88192
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   period_size  
: 44096
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   period_time  
: 09
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   tstamp_mode  
: ENABLE
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   period_step  
: 1
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   avail_min
: 87310
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   period_event 
: 0
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   
start_threshold  : -1
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   
stop_threshold   : 6205960286516543488
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   
silence_threshold: 0
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   silence_size 
: 0
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   boundary 
: 6205960286516543488
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: Slave: 
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c: Its setup is:
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   stream   
: PLAYBACK
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   access   
: MMAP_INTERLEAVED
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   format   
: S16_LE
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   subformat
: STD
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   channels 
: 2
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   rate 
: 44100
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   exact rate   
: 44100 (44100/1)
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   msbits   
: 16
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   buffer_size  
: 88192
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   period_size  
: 44096
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   period_time  
: 09
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   tstamp_mode  
: ENABLE
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   period_step  
: 1
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   avail_min
: 87310
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   period_event 
: 0
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   
start_threshold  : -1
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   
stop_threshold   : 6205960286516543488
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   
silence_threshold: 0
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   silence_size 
: 0
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   boundary 
: 6205960286516543488
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   appl_ptr 
: 0
Apr 10 09:46:52 work pulseaudio[5161]: [pulseaudio] alsa-util.c:   hw_ptr   
: 0

Why does period size lack 4 bytes to be exactly 1 second long?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or 

[Touch-packages] [Bug 996906]

2015-04-14 Thread Rkfg
enable_msi=0 doesn't change anything, still the same errors in the log.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 21:45:17 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/03/2009
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F2
  dmi.board.name: GA-790FXTA-UD5
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: 

[Touch-packages] [Bug 996906]

2015-04-14 Thread Rkfg
I've found that 16000 buffer time with 4000 period time doesn't underrun
while if I change the period time to 1000 or 2000 it underruns pretty
quickly. Lower buffer times underrun regardless of the period time it
seems.

16000/4000 shows these params:

 aplay -D hw:0,0 -v  --buffer-time=16000 --period-time=4000 /tmp/fr025.wav
Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 768
  period_size  : 192
  period_time  : 4353
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 192
  period_event : 0
  start_threshold  : 768
  stop_threshold   : 768
  silence_threshold: 0
  silence_size : 0
  boundary : 6917529027641081856
  appl_ptr : 0
  hw_ptr   : 0

16000/2000 is like this:

 aplay -D hw:0,0 -v  --buffer-time=16000 --period-time=2000 /tmp/fr025.wav
Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 672
  period_size  : 96
  period_time  : 2176
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 96
  period_event : 0
  start_threshold  : 672
  stop_threshold   : 672
  silence_threshold: 0
  silence_size : 0
  boundary : 6052837899185946624
  appl_ptr : 0
  hw_ptr   : 0
underrun!!! (at least 2.587 ms long)
Status:
  state   : XRUN
  trigger_time: 4380.16449247
  tstamp  : 4380.19033473
  delay   : 0
  avail   : 761
  avail_max   : 761
^CAborted by signal Interrupt...

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency 

[Touch-packages] [Bug 996906]

2015-04-14 Thread Rkfg
Created attachment 115003
Syslog with debug info

Here's my full syslog. First I started PA with:
default-fragments = 9
default-fragment-size-msec = 2

So the buffer was 800 frames, I couldn't get it to be 768 to have
exactly 16 ms latency. So it was 18 ms. I had no errors in dmesg while
using value of 11 for xrun_debug. Then I set params to 4 fragments of 1
ms each and had errors.

enable_msi=0 didn't help IIRC, neither did position_fix. But I'll try
again.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 21:45:17 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  

[Touch-packages] [Bug 996906]

2015-02-23 Thread Rkfg
Any ideas? The issue doesn't seem to resolve itself.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 21:45:17 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/03/2009
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F2
  dmi.board.name: GA-790FXTA-UD5
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  

[Touch-packages] [Bug 996906]

2015-02-09 Thread Rkfg
# aplay -D hw:0,0 -v --buffer-size=1500 /tmp/fr025.wav
Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 1500
  period_size  : 375
  period_time  : 8503
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 375
  period_event : 0
  start_threshold  : 1500
  stop_threshold   : 1500
  silence_threshold: 0
  silence_size : 0
  boundary : 6755399441055744000
  appl_ptr : 0
  hw_ptr   : 0


# aplay -D hw:0,0 -v --buffer-size=2000 /tmp/fr025.wav
Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 2000
  period_size  : 500
  period_time  : 11337
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 500
  period_event : 0
  start_threshold  : 2000
  stop_threshold   : 2000
  silence_threshold: 0
  silence_size : 0
  boundary : 9007199254740992000
  appl_ptr : 0
  hw_ptr   : 0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages 

[Touch-packages] [Bug 996906]

2015-02-09 Thread Rkfg
Ok, so 1024 overruns:
# aplay -D hw:0,0 -v --buffer-size=1024 /tmp/fr025.wav 
Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 1024
  period_size  : 256
  period_time  : 5804
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 256
  period_event : 0
  start_threshold  : 1024
  stop_threshold   : 1024
  silence_threshold: 0
  silence_size : 0
  boundary : 4611686018427387904
  appl_ptr : 0
  hw_ptr   : 0
underrun!!! (at least 2.306 ms long)
Status:
  state   : XRUN
  trigger_time: 7298.28726754
  tstamp  : 7298.31029657
  delay   : 0
  avail   : 1177
  avail_max   : 1177

2048 does not:

# aplay -D hw:0,0 -v --buffer-size=2048 /tmp/fr025.wav 
Playing WAVE '/tmp/fr025.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Hardware PCM card 0 'HDA Intel PCH' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 2048
  period_size  : 512
  period_time  : 11609
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 512
  period_event : 0
  start_threshold  : 2048
  stop_threshold   : 2048
  silence_threshold: 0
  silence_size : 0
  boundary : 4611686018427387904
  appl_ptr : 0
  hw_ptr   : 0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: 

[Touch-packages] [Bug 996906]

2015-02-09 Thread Rkfg
I was too fast coming to conclusions. ALSA plugin in LMMS still croaks
after PA worked several hours and gained latency of 36.00ms currently.
It may go down if I disconnect all its clients but I'm listening to
music all the day while working so it's not an option. Underruns happen
more often if LMMS is just working in the background not doing anything.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 21:45:17 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: 

[Touch-packages] [Bug 996906]

2015-02-09 Thread Rkfg
It turned out that garbled sound in LMMS with alsa output was because of
options snd-hda-intel position_fix=1 I used in module options. Tried
to fix this skips but it didn't work. After removing this option and
reloading the snd_hda_intel module, LMMS sounds much better with alsa
output but that clicks are still audible sometimes. PA also seems to
lower latency after an underrun occures as I see in the log latency
increasing like 1-2-4-8-4-8.

The lowest latency I've got with paplay is 8 msec, any less produces
clicks or garbled sound.

 aplay -D hw:0,0 -v --buffer-size=1024 /usr/share/sounds/alsa/Front_Center.wav 
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little 
Endian, Rate 48000 Hz, Mono
aplay: set_params:1239: Channels count non available

However, device default works fine. The lowest buffer size that
doesn't underrun is 3072.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 

[Touch-packages] [Bug 996906]

2015-02-03 Thread Rkfg
Base Board Information
Manufacturer: ASUSTeK Computer INC.
Product Name: P8H61-M LX2

 You can also connect the onboard header to an S/PDIF input header
available on some graphics cards using an S/PDIF cable.

I don't have any digital audio equipment, only headphones with a regular
jack.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 21:45:17 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present 

[Touch-packages] [Bug 996906]

2015-02-03 Thread Rkfg
Created attachment 113112
High latency because of underruns

Nah, after all prealloc is just snake oil. I now have latency of 66 ms
which is unacceptable.

1 sink(s) available.
  * index: 0
name: alsa_output.pci-_00_1b.0.analog-stereo
driver: module-alsa-card.c
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
FLAT_VOLUME DYNAMIC_LATENCY
state: RUNNING
suspend cause: 
priority: 9959
volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% 
/ 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 65.83 ms
max request: 11 KiB
max rewind: 344 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
 Stereo
used by: 3
linked by: 3
configured latency: 66.00 ms; range is 66.00 .. 2000.00 ms
card: 0 alsa_card.pci-_00_1b.0
module: 6
properties:
alsa.resolution_bits = 16
device.api = alsa
device.class = sound
alsa.class = generic
alsa.subclass = generic-mix
alsa.name = VT1708S Analog
alsa.id = VT1708S Analog
alsa.subdevice = 0
alsa.subdevice_name = subdevice #0
alsa.device = 0
alsa.card = 0
alsa.card_name = HDA Intel PCH
alsa.long_card_name = HDA Intel PCH at 0xfe40 irq 33
alsa.driver_name = snd_hda_intel
device.bus_path = pci-:00:1b.0
sysfs.path = /devices/pci:00/:00:1b.0/sound/card0
device.bus = pci
device.vendor.id = 8086
device.vendor.name = Intel Corporation
device.product.id = 1c20
device.product.name = 6 Series/C200 Series Chipset Family High 
Definition Audio Controller
device.form_factor = internal
device.string = front:0
device.buffering.buffer_size = 352800
device.buffering.fragment_size = 176400
device.access_mode = mmap+timer
device.profile.name = analog-stereo
device.profile.description = Analog Stereo
device.description = Built-in Audio Analog Stereo
alsa.mixer_name = VIA VT1708S
alsa.components = HDA:11060397,10438415,0010
module-udev-detect.discovered = 1
device.icon_name = audio-card-pci
ports:
analog-output: Analog Output (priority 9900, latency offset 0 
usec, available: unknown)
properties:

analog-output-lineout: Line Out (priority 9900, latency offset 
0 usec, available: yes)
properties:

analog-output-headphones: Headphones (priority 9000, latency 
offset 0 usec, available: no)
properties:
device.icon_name = audio-headphones
active port: analog-output


Any suggestions outside of forcing a fixed latency?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: 

[Touch-packages] [Bug 996906]

2015-02-03 Thread Rkfg
LMMS uses 64 frames, 1.5 ms but actually it has latency of 30-35 ms as
pacmd list-sink-inputs says. Setting its output to ALSA results in
extremely garbled sound, the only two options that actually produce
reasonable sound is PulseAudio (bad latency) and SDL. Actually, latency
isn't that bad if only PA doesn't increase it internally for every
client.

I've got a decent CPU here, G620 @ 2.6 GHz so I may understand skipping
on high CPU load, BUT PulseAudio has very high realtime priority (15)
and if I use pure ALSA there are no skips.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 21:45:17 2012
  

[Touch-packages] [Bug 996906]

2015-02-03 Thread Rkfg
I don't know, it's what I set in the LMMS settings:
http://i.imgur.com/MRYJC4J.png

Anyway, no matter what I set in one particular program, other clients
should not skip because of that.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 21:45:17 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/03/2009
  dmi.bios.vendor: Award Software International, Inc.
  

[Touch-packages] [Bug 996906]

2015-02-03 Thread Rkfg
Created attachment 113035
alsa-info

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 21:45:17 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/03/2009
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F2
  dmi.board.name: GA-790FXTA-UD5
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.type: 3
  

[Touch-packages] [Bug 996906]

2015-02-03 Thread Rkfg
To elaborate: I get garbled sound in LMMS when I use PulseAudio and set
LMMS to use ALSA so it's intercepted. Everything is fine if I use pure
ALSA everywhere but it's not the point here if we try to debug PA.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 21:45:17 2012
  InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/03/2009
  dmi.bios.vendor: Award Software 

[Touch-packages] [Bug 996906]

2015-02-03 Thread Rkfg
Created attachment 113034
Underruns in the log

Same with VIA VT1708S. When I start pavucontrol it skips hardly and almost 
stops sometimes. Because of that latency increases and may get up to 80 ms 
which is unacceptable as PulseAudio's goal is to provide low latency audio. Of 
course, it doesn't happen with pure ALSA. I already set all priorities to the 
maximum, doesn't seem to help. My kernel is preemptive (not the default 
Debian's one, it's even worse with it):
Linux work 3.18.0-pf0+ #1 SMP PREEMPT Tue Jan 13 09:21:17 MSK 2015 x86_64 
GNU/Linux

I have this enabled in daemon.conf:
high-priority = yes
nice-level = -19
realtime-scheduling = yes
realtime-priority = 15
exit-idle-time = -1
log-level = debug

This doesn't happen with tsched=0, but the resulting latency is horrible
in that case. Pure ALSA has negligible latency and doesn't skip at all.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 

[Touch-packages] [Bug 996906]

2015-02-03 Thread Rkfg
Created attachment 113083
Underruns with prealloc=2048

I was able to leverage the Underrun! issue by setting prealloc to 2048
in kernel options (recompiled it). It can also be achieved via echo 2048
 /proc/asound/card0/pcm0p/sub0/prealloc without recompiling. Wonder why
64 is still default in Debian/Ubuntu. So it doesn't change the
latency/watermark now this hard. However, I still get Underrun! after
launching LMMS. It also spams the syslog with

Feb 03 08:58:35 work pulseaudio[1895]: Pool full

And there are still clicks in the playback from time to time.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/996906

Title:
  periodic audio skips with Intel HDA

Status in PulseAudio sound server:
  Confirmed
Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  When running PulseAudio, if I'm playing music via any source (Exaile, Totem,
  Flash in Firefox or Chromium, VLC, etc.) every few minutes the audio will skip
  once or twice.  top doesn't show any process eating CPU any more when it
  happens.  dmesg doesn't show anything.  Nothing else seems to be affected.  It
  doesn't seem to happen regularly.

  I just installed Ubuntu 12.04 from scratch (with pulseaudio 1:1.1-0ubuntu15),
  but the same thing happened in 10.04 on the same hardware.  Uninstalling the
  PulseAudio packages and going back to ALSA gives me no issues whatsoever, 
which
  is how I know the issue is with PulseAudio.  I'm using my onboard audio 
device:

  $ lspci | grep Audio
  00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
  HDA)

  Following mailing list instructions, pulseaudio - --log-time shows during 
a
  skip:

  ( 684.030|   5.000) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 684.030|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  26.00 ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 26.00ms
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=60952
  ( 684.030|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15944
  ( 684.031|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.
  ( 684.036|   0.004) D: [alsa-sink] protocol-native.c: Requesting rewind due to
  end of underrun.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Requested to rewind 10940
  bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Limited to 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: before: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: after: 830
  ( 684.036|   0.000) D: [alsa-sink] alsa-sink.c: Rewound 3320 bytes.
  ( 684.036|   0.000) D: [alsa-sink] sink.c: Processing rewind...
  ( 684.036|   0.000) D: [alsa-sink] sink.c: latency = 1337
  ( 684.036|   0.000) D: [alsa-sink] sink-input.c: Have to rewind 3320 bytes on
  render memblockq.
  ( 684.036|   0.000) D: [alsa-sink] source.c: Processing rewind...
  ( 696.234|  12.197) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 696.234|   0.000) I: [alsa-sink] alsa-sink.c: Increasing wakeup watermark to
  15.99 ms
  ( 702.033|   5.799) I: [alsa-sink] alsa-sink.c: Underrun!
  ( 702.033|   0.000) I: [alsa-sink] alsa-sink.c: Increasing minimal latency to
  36.00 ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.033|   0.000) D: [alsa-sink] alsa-sink.c: Latency set to 36.00ms
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: hwbuf_unused=59188
  ( 702.034|   0.000) D: [alsa-sink] alsa-sink.c: setting avail_min=15680
  ( 702.034|   0.000) D: [alsa-sink] protocol-native.c: Underrun on 'ALSA
  Playback', 0 bytes in queue.

  ...and it goes on.

  The Underrun! messages alone happened a few times before, but it
  didn't skip.

  I'd like to use PulseAudio, but it's pretty annoying having audio skip all the
  time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  toxite 2136 F pulseaudio
   /dev/snd/pcmC0D0p:   toxite 2136 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
 Mixer name : 'Realtek ALC889'
 Components : 'HDA:10ec0889,1458a102,0014'
 Controls  : 48
 Simple ctrls  : 22
  Date: Tue May  8 

[Touch-packages] [Bug 1315212]

2015-01-10 Thread Rkfg
Tried with a stereo 48k file (converted 
/usr/share/sounds/KDE-Im-Cant-Connect.ogg to wav, tested with ffprobe that it's 
truly 48k/2chan) and 64 bytes buffer size:
# aplay -D plughw:CARD=CA0106 -v --buffer-size=64 /tmp/kde.wav
Playing WAVE '/tmp/kde.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Plug PCM: Hardware PCM card 0 'CA0106' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 64
  period_size  : 16
  period_time  : 333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 16
  period_event : 0
  start_threshold  : 64
  stop_threshold   : 64
  silence_threshold: 0
  silence_size : 0
  boundary : 4611686018427387904
  appl_ptr : 0
  hw_ptr   : 0
underrun!!! (at least 0.010 ms long)
Status:
  state   : XRUN
  trigger_time: 260136.459825170
  tstamp  : 260136.459834181
  delay   : 0
  avail   : 64
  avail_max   : 64
underrun!!! (at least 0.020 ms long)
Status:
  state   : XRUN
  trigger_time: 260136.460064991
  tstamp  : 260136.460084242
  delay   : 0
  avail   : 64
  avail_max   : 64

No underruns with 128b buffer.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-10 Thread Rkfg
Interesting. I've converted that file to 44100 Hz and now it reveals a
strange behavior. When I play it with buffer size of 64 it sounds like
the pitch is lower than it should be (even if it doesn't overrun though
it does from time to time). When the size is 128 it sounds fine.

# aplay -D plughw:CARD=CA0106 -v --buffer-size=64 /tmp/kde44100.wav
Playing WAVE '/tmp/kde44100.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S16_LE)
Converter: libspeex (builtin)
Protocol version: 10002
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 58
  period_size  : 14
  period_time  : 333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 14
  period_event : 0
  start_threshold  : 58
  stop_threshold   : 58
  silence_threshold: 0
  silence_size : 0
  boundary : 4179340454199820288
Slave: Hardware PCM card 0 'CA0106' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 64
  period_size  : 16
  period_time  : 333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 16
  period_event : 0
  start_threshold  : 64
  stop_threshold   : 64
  silence_threshold: 0
  silence_size : 0
  boundary : 4611686018427387904
  appl_ptr : 0
  hw_ptr   : 0
underrun!!! (at least 0.116 ms long)
Status:
  state   : XRUN
  trigger_time: 301642.243139271
  tstamp  : 301642.243254519
  delay   : 2
  avail   : 56
  avail_max   : 56

# aplay -D plughw:CARD=CA0106 -v --buffer-size=128 /tmp/kde44100.wav
 
Playing WAVE '/tmp/kde44100.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S16_LE)
Converter: libspeex (builtin)
Protocol version: 10002
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 117
  period_size  : 29
  period_time  : 666
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 29
  period_event : 0
  start_threshold  : 117
  stop_threshold   : 117
  silence_threshold: 0
  silence_size : 0
  boundary : 4215369251218784256
Slave: Hardware PCM card 0 'CA0106' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 128
  period_size  : 32
  period_time  : 666
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 32
  period_event : 0
  start_threshold  : 128
  stop_threshold   : 128
  silence_threshold: 0
  silence_size : 0
  boundary : 4611686018427387904
  appl_ptr : 0
  hw_ptr   : 0

This pitch (or maybe speed?) weirdness occurs only on playing stereo
files with rate of 44100. I've tried playing music and it indeed sounds
a bit transposed. Bufsize of 128 frames also seems to produce underruns
after some time, my testing clip was too small to reveal it. So it
required bufsize 512 to be played completely without underruns:

# aplay -D plughw:CARD=CA0106 -v --buffer-size=512 /tmp/ksp44100.wav
Playing WAVE '/tmp/ksp44100.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S16_LE)
Converter: libspeex (builtin)
Protocol version: 10002
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 529
  period_size  : 132
  period_time  : 3000
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 132
  period_event : 0
  start_threshold  : 529
  stop_threshold   : 529
  silence_threshold: 0
  silence_size : 0
  boundary : 4764808405757984768
Slave: Hardware PCM card 0 'CA0106' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 576
  period_size  : 144
  period_time  : 3000
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 144
  period_event : 0
  start_threshold  : 576
  stop_threshold   : 576
  silence_threshold: 0
  silence_size : 0
  boundary : 5188146770730811392
  appl_ptr : 0
  hw_ptr   : 0

The same song converted to 48000 Hz plays without underruns with buffer
size of 256 frames:

Playing WAVE '/tmp/ksp48000.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, 
Stereo
Plug 

[Touch-packages] [Bug 1315212]

2015-01-10 Thread Rkfg
This command doesn't work, it says aplay: set_params:1239: Channels
count non available. The -D default:CARD=CA0106 variant works and it
does not overrun. I only had overruns on recording (at least, explicit).
That said, I've made a huge improvement in my system, I compiled a pf-
kernel and set CONFIG_PREEMPT=y, CONFIG_HZ_1000=y and CONFIG_HZ=1000.
The default Debian kernel is on 250 Hz and is not preemptible. Now that
my kernel supports preemption I (crossing fingers) don't have ALSA over-
and underruns anymore. They were quite sudden and audible as
clicks/gaps. I saw this in the log:

Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
Scheduling delay of 11.42 ms  11.31 ms, you might want to investigate this to 
improve latency...
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
Underrun!
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
Increasing minimal latency to 1.00 ms
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
Latency set to 21.33ms
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
hwbuf_unused=57352
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
setting avail_min=7651
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
Latency set to 21.33ms
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
hwbuf_unused=57352
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
setting avail_min=7651

With the preempt kernel this doesn't happen at all (I grepped the log)
and sound is just as good as with pure ALSA.

However, arecord still drops overrun for CA0106. It doesn't do it for
PCH (ALC889) though.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-10 Thread Rkfg
(In reply to Raymond from comment #57)
 Do surround21 , surround41 appear in 
 
 aplay -L

null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=CA0106
CA0106, CA0106
Default Audio Device
sysdefault:CARD=CA0106
CA0106, CA0106
Default Audio Device
front:CARD=CA0106,DEV=0
CA0106, CA0106
Front speakers
rear:CARD=CA0106,DEV=0
CA0106, CA0106
Rear speakers
center_lfe:CARD=CA0106,DEV=0
CA0106, CA0106
Center and Subwoofer speakers
side:CARD=CA0106,DEV=0
CA0106, CA0106
Side speakers
surround21:CARD=CA0106,DEV=0
CA0106, CA0106
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=CA0106,DEV=0
CA0106, CA0106
4.0 Surround output to Front and Rear speakers
surround41:CARD=CA0106,DEV=0
CA0106, CA0106
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CA0106,DEV=0
CA0106, CA0106
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CA0106,DEV=0
CA0106, CA0106
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CA0106,DEV=0
CA0106, CA0106
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CA0106,DEV=0
CA0106, CA0106
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=CA0106,DEV=0
CA0106, CA0106
Direct sample mixing device
dmix:CARD=CA0106,DEV=1
CA0106, CA0106
Direct sample mixing device
dmix:CARD=CA0106,DEV=2
CA0106, CA0106
Direct sample mixing device
dmix:CARD=CA0106,DEV=3
CA0106, CA0106
Direct sample mixing device
dsnoop:CARD=CA0106,DEV=0
CA0106, CA0106
Direct sample snooping device
dsnoop:CARD=CA0106,DEV=1
CA0106, CA0106
Direct sample snooping device
dsnoop:CARD=CA0106,DEV=2
CA0106, CA0106
Direct sample snooping device
dsnoop:CARD=CA0106,DEV=3
CA0106, CA0106
Direct sample snooping device
hw:CARD=CA0106,DEV=0
CA0106, CA0106
Direct hardware device without any conversions
hw:CARD=CA0106,DEV=1
CA0106, CA0106
Direct hardware device without any conversions
hw:CARD=CA0106,DEV=2
CA0106, CA0106
Direct hardware device without any conversions
hw:CARD=CA0106,DEV=3
CA0106, CA0106
Direct hardware device without any conversions
plughw:CARD=CA0106,DEV=0
CA0106, CA0106
Hardware device with all software conversions
plughw:CARD=CA0106,DEV=1
CA0106, CA0106
Hardware device with all software conversions
plughw:CARD=CA0106,DEV=2
CA0106, CA0106
Hardware device with all software conversions
plughw:CARD=CA0106,DEV=3
CA0106, CA0106
Hardware device with all software conversions
default:CARD=PCH
HDA Intel PCH, ALC889 Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, ALC889 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Direct sample mixing device
dmix:CARD=PCH,DEV=1
HDA Intel PCH, ALC889 Digital
Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Direct sample snooping device
dsnoop:CARD=PCH,DEV=1
HDA Intel PCH, ALC889 Digital
Direct sample snooping device
hw:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Direct hardware device without any conversions
hw:CARD=PCH,DEV=1
HDA Intel PCH, ALC889 Digital
Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Hardware device with all software conversions
plughw:CARD=PCH,DEV=1
HDA Intel PCH, ALC889 Digital
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 2
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 3
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct sample mixing device
dmix:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Direct sample 

[Touch-packages] [Bug 1315212]

2015-01-10 Thread Rkfg
# aplay -D plughw:CARD=CA0106 -v --buffer-size=128 
/usr/share/sounds/alsa/Side_Left.wav
Playing WAVE '/usr/share/sounds/alsa/Side_Left.wav' : Signed 16 bit Little 
Endian, Rate 48000 Hz, Mono
Plug PCM: Route conversion PCM (sformat=S16_LE)
  Transformation table:
0 - 0
1 - 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 1
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 128
  period_size  : 32
  period_time  : 666
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 32
  period_event : 0
  start_threshold  : 128
  stop_threshold   : 128
  silence_threshold: 0
  silence_size : 0
  boundary : 4611686018427387904
Slave: Hardware PCM card 0 'CA0106' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 128
  period_size  : 32
  period_time  : 666
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 32
  period_event : 0
  start_threshold  : 128
  stop_threshold   : 128
  silence_threshold: 0
  silence_size : 0
  boundary : 4611686018427387904
  appl_ptr : 0
  hw_ptr   : 0

128 seems to be fine. It's not consistent, sometimes 64 works ok,
sometimes it overruns (says so in the console and hitches). 128 has
never overrun, neither visually (saying it in the console), nor audible
(clicks/pops).

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-05 Thread Rkfg
Created attachment 111662
Pulse log

(In reply to Raymond from comment #35)
 can you specify device 0
 
 +   capture.pcm {
 +type hw
 +card $CARD
 + device 0
 +

Added this, here's the startup log.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-05 Thread Rkfg
(In reply to Raymond from comment #49)
 did your sb0410 have these two chips ?
 
 ADC: WM8775EDS (4 Channel)
   DAC: CS4382 
 
My card looks exactly like this: 
http://www.ixbt.com/multimedia/creative-live!24bit/card-big.jpg
Probably, it has all these chips.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-05 Thread Rkfg
It does:
 arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.084 ms long)
^CAborted by signal Interrupt...

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-05 Thread Rkfg
It happens more likely with small buffers and sometimes doesn't happen with 
larger buffer. However, this behavior is not consistent:
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=2048 test.wav  
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.025 ms long)
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=4096 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.023 ms long)
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=8192 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.023 ms long)
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=16384 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.028 ms long)
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=32768 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.045 ms long)
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=65536 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.039 ms long)
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=131072 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.046 ms long)
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=262144 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=262144 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.039 ms long)
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=524288 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=524288 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.046 ms long)
^CAborted by signal Interrupt...
%[homecomp]:[/tmp/test] arecord -f dat -D hw:CARD=CA0106 -t wav -d 5 
--buffer-size=524288 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
overrun!!! (at least 0.044 ms long)
^CAborted by signal Interrupt...

Ok, what about the original issue? I don't quite get what we are doing
here. It looks like we're debugging something completely unrelated, for
example, I don't use the digital output like iec958 and this game
doesn't capture sound so this is probably unrelated, too. I'm fine with
improving ALSA but all this looks like other bugs and should probably be
filed separately...

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log 

[Touch-packages] [Bug 1315212]

2015-01-05 Thread Rkfg
Created attachment 111663
pactl list log

Log of pactl list.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-05 Thread Rkfg
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
HW Params of device iec958:CARD=CA0106:

ACCESS:  MMAP_INTERLEAVED RW_INTERLEAVED
FORMAT:  S16_LE S32_LE
SUBFORMAT:  STD
SAMPLE_BITS: [16 32]
FRAME_BITS: [32 64]
CHANNELS: 2
RATE: [48000 192000]
PERIOD_TIME: (41 170334)
PERIOD_SIZE: [8 8176]
PERIOD_BYTES: [64 32704]
PERIODS: 2
BUFFER_TIME: (83 340667)
BUFFER_SIZE: [16 16352]
BUFFER_BYTES: [64 65408]
TICK_TIME: ALL

Hardware PCM card 0 'CA0106' device 0 subdevice 0
Its setup is:
  stream   : CAPTURE
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 8160
  period_size  : 4080
  period_time  : 85000
  tstamp_mode  : NONE
  period_step  : 1
  avail_min: 4080
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 8160
  silence_threshold: 0
  silence_size : 0
  boundary : 9187343239835811840
  appl_ptr : 0
  hw_ptr   : 0
overrun!!! (at least 0.017 ms long)
Status:
  state   : XRUN
  trigger_time: 847573.10484226
  tstamp  : 847573.10498485
  delay   : 0
  avail   : 8160
  avail_max   : 8160
^CAborted by signal Interrupt...

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-05 Thread Rkfg
BTW, my mic is connected to the blue jack, not the usual pink one. This
is the only configuration I've found to be working, others result in
noise or silence. The mic is a bit more quiet (not _almost silent_ as if
it's connected to a Line-In jack, just not comfortable enough) than it
was on the ALC889 internal card so I had to increase the volume via
software means. There's no boost setting in the alsamixer but PulseAudio
can handle that.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-02 Thread Rkfg
Created attachment 111585
ALSA test log

I've applied those changes for the ALSA config. I ran the test as
./a.out front:0 0 4  alsa-test.log and here's the output. I stopped it
with Ctrl-C. When I set the fillrate less than 4, it stops with the
assertion failure like before. Setting the fillrate to 1 with playback
test mode (./a.out front:0 1 1  alsa1-test.log) doesn't fail.

That aside, I don't understand how IEC capture is related to the
playback issue though. The game doesn't use microphone.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-02 Thread Rkfg
(In reply to Raymond from comment #25)
 seem default sample 16 bits has no effect on format , pulseaudio prefer 32
 bits

No, it does. I have these options uncommented in my daemon.conf:

default-sample-format = s32le
default-sample-rate = 48000

I have them enabled for some time and PA startup logs were provided with
them on. If that's wrong tell me and I'll provide logs without them.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-02 Thread Rkfg
Created attachment 111616
pcm_avail log

Here's the output of pcm_avail.c program.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-02 Thread Rkfg
Created attachment 111615
Fixed PA log

It now doesn't report Cannot lock ctl elem.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-02 Thread Rkfg
(In reply to Raymond from comment #14)
 you need to put the current ca0106 iec958 slave pcm and hook into playback
 slave and create capture slave of asym plugin

Sorry, I don't understand. I'm not that familiar with low-level ALSA configs, I 
only did some basic operations with ~/.asoundrc
What file exactly should I change and what should I write into it?

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-02 Thread Rkfg
Good, the file is there and it has those lines you mentioned in #10. Now
how should I modify them? Could you provide a diff to apply? I don't
really get what to put the current ca0106 iec958 slave pcm and hook
into playback slave and create capture slave of asym plugin means. If
the alternative method is effectively equal to ALSA hacks, I can go that
way, it seems to be much easier.

alternative is to force pulseaudio not to open iec958 for capture
by removing all paths-input of iec958 from

Should I comment out the entire [Mapping iec958-stereo] section or just
paths-input = iec958-stereo-input?

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-02 Thread Rkfg
(In reply to Raymond from comment #8)
 
 how did you run the program ?
 
 the program is hardcoded to use 44100Hz , it should run continously without
 any error if fillrate is equal to period size
 
 if sound card can report hw_ptr with better grannularity, the program can
 still run continously when fillrate is smaller than period size (e.g. dma
 brust size )

I did:
gcc alsa-time-test.c -lasound
./a.out

That's all. What exactly should I do now and what information do you
need?

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1315212]

2015-01-02 Thread Rkfg
Created attachment 111649
ALSA info

Here's the output of alsa-info.sh. The speaker test works, all three
commands without errors. However, I only have 2 speakers so I hear
front left and front right.

-- 
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/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

Status in ALSA driver:
  Confirmed
Status in alsa-driver package in Ubuntu:
  Incomplete

Bug description:
  This is tested against a Creative Labs Sounblaster live! (sb0410) card
  and a SoundBlaster Audigy se (sb0570). Both of them behave strangely,
  output coming through some, but not all speakers, etc. This was
  working in 13.10 under the sb0410. the ca0106 driver is the same for
  both cards.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  joshp 30385 F pulseaudio
   /dev/snd/controlC0:  joshp 30385 F pulseaudio
  CurrentDesktop: Unity
  Date: Thu May  1 21:37:12 2014
  InstallationDate: Installed on 2014-04-28 (3 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Release i386 (20140417)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:CA0106 failed
  Symptom_Card: Built-in Audio - Intel ICH6
  Symptom_Type: None of the above
  Title: [CA0106 - CA0106, playback] Playback problem
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/03/2006
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.name: 0G8310
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA08:bd03/03/2006:svnDellInc.:pnOptiPlexGX280:pvr:rvnDellInc.:rn0G8310:rvr:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex GX280
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp