All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - utils 0001174]: Speaker Test fails with error message(s) from alsa lib.  "problem for start_threshold"
@ 2005-06-22  9:39 bugtrack
  2005-06-22 10:22 ` Raymond
  0 siblings, 1 reply; 8+ messages in thread
From: bugtrack @ 2005-06-22  9:39 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1174> 
======================================================================
Reported By:                herby
Assigned To:                
======================================================================
Project:                    ALSA - utils
Issue ID:                   1174
Category:                   speakertest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-09-2005 00:42 CEST
Last Modified:              06-22-2005 11:39 CEST
======================================================================
Summary:                    Speaker Test fails with error message(s) from alsa
lib.  "problem for start_threshold"
Description: 
Running speaker test gets me:
>>>
speaker-test 0.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 32768
Period size range from 8 to 16384
Periods = 4
Buffer time size 2525
To choose buffer_size = 15052
To choose period_size = 3763
was set period_size = 3764
was set buffer_size = 15052
ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params:
params->avail_min problem for start_threshold
Unable to set sw params for playback: Invalid argument
Setting of swparams failed: Invalid argument
<<<
======================================================================

----------------------------------------------------------------------
 herby - 06-22-05 10:19 
----------------------------------------------------------------------
I've seen recent notes on the frequency range for speaker test (nice to
have a wide range of things).  Has anyone tried the latest version(s) to
see if this bug pops its head up.  I've got other programs that appear to
exhibit this (or a similar) error, but I feel that a standard program is a
better example.  If you need more information, PLEASE let me know!

----------------------------------------------------------------------
 tiwai - 06-22-05 11:39 
----------------------------------------------------------------------
The bug acked.  Will check what's going on there...

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-09-05 00:42 herby          New Issue                                    
06-13-05 19:49 herby          Issue Monitored: herby                       
06-13-05 19:55 herby          Note Added: 0005013                          
06-15-05 14:27 jdthood        Note Added: 0005024                          
06-22-05 10:19 herby          Note Added: 0005120                          
06-22-05 11:39 tiwai          Note Added: 0005123                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [ALSA - utils 0001174]: Speaker Test fails with error message(s) from alsa lib.  "problem for start_threshold"
@ 2005-06-23 10:06 bugtrack
  0 siblings, 0 replies; 8+ messages in thread
From: bugtrack @ 2005-06-23 10:06 UTC (permalink / raw)
  To: alsa-devel


The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1174> 
======================================================================
Reported By:                herby
Assigned To:                tiwai
======================================================================
Project:                    ALSA - utils
Issue ID:                   1174
Category:                   speakertest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             06-09-2005 00:42 CEST
Last Modified:              06-23-2005 12:06 CEST
======================================================================
Summary:                    Speaker Test fails with error message(s) from alsa
lib.  "problem for start_threshold"
Description: 
Running speaker test gets me:
>>>
speaker-test 0.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 32768
Period size range from 8 to 16384
Periods = 4
Buffer time size 2525
To choose buffer_size = 15052
To choose period_size = 3763
was set period_size = 3764
was set buffer_size = 15052
ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params:
params->avail_min problem for start_threshold
Unable to set sw params for playback: Invalid argument
Setting of swparams failed: Invalid argument
<<<
======================================================================

----------------------------------------------------------------------
 tiwai - 06-22-05 11:39 
----------------------------------------------------------------------
The bug acked.  Will check what's going on there...

----------------------------------------------------------------------
 tiwai - 06-23-05 12:06 
----------------------------------------------------------------------
Fixed on CVS.  The patch to alsa-lib is attached.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-09-05 00:42 herby          New Issue                                    
06-13-05 19:49 herby          Issue Monitored: herby                       
06-13-05 19:55 herby          Note Added: 0005013                          
06-15-05 14:27 jdthood        Note Added: 0005024                          
06-22-05 10:19 herby          Note Added: 0005120                          
06-22-05 11:39 tiwai          Note Added: 0005123                          
06-23-05 12:05 tiwai          File Added: pcm-sw-params.diff                    
06-23-05 12:06 tiwai          Status                   new => resolved     
06-23-05 12:06 tiwai          Resolution               open => fixed       
06-23-05 12:06 tiwai          Assigned To               => tiwai           
06-23-05 12:06 tiwai          Note Added: 0005175                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [ALSA - utils 0001174]: Speaker Test fails with error message(s) from alsa lib.  "problem for start_threshold"
@ 2005-06-22  8:19 bugtrack
  0 siblings, 0 replies; 8+ messages in thread
From: bugtrack @ 2005-06-22  8:19 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1174> 
======================================================================
Reported By:                herby
Assigned To:                
======================================================================
Project:                    ALSA - utils
Issue ID:                   1174
Category:                   speakertest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-09-2005 00:42 CEST
Last Modified:              06-22-2005 10:19 CEST
======================================================================
Summary:                    Speaker Test fails with error message(s) from alsa
lib.  "problem for start_threshold"
Description: 
Running speaker test gets me:
>>>
speaker-test 0.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 32768
Period size range from 8 to 16384
Periods = 4
Buffer time size 2525
To choose buffer_size = 15052
To choose period_size = 3763
was set period_size = 3764
was set buffer_size = 15052
ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params:
params->avail_min problem for start_threshold
Unable to set sw params for playback: Invalid argument
Setting of swparams failed: Invalid argument
<<<
======================================================================

----------------------------------------------------------------------
 jdthood - 06-15-05 14:27 
----------------------------------------------------------------------
I have this problem too.  1.0.8 worked fine.  1.0.9 prints an error
message

    Setting of swparams failed: Invalid argument

and cycles back to "Rate set to 48000Hz (requested 48000Hz)" in an
infinite loop, without ever producing any sound.

Note too that speaker-test 1.0.9 prints its version number as "0.0.8".

--------------------
Test with ALSA 1.0.8
--------------------

$ speaker-test

speaker-test 1.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 32768
Period size range from 16 to 1024
Buffer time size 2525
To choose buffer_size = 2520
To choose period_size = 315
was set period_size = 256
was set buffer_size = 2520
  - Front Left
... with tones playing


--------------------
Test with ALSA 1.0.9
--------------------

$ speaker-test

speaker-test 0.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 32768
Period size range from 16 to 1024
Periods = 4
Buffer time size 2525
To choose buffer_size = 15052
To choose period_size = 3763
was set period_size = 1024
was set buffer_size = 15052
Unable to set sw params for playback: Invalid argument
Setting of swparams failed: Invalid argument
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 32768
Period size range from 16 to 1024
Periods = 4
... ad infinitum


jdthood@thanatos:~$ dpkg -l alsa-\* libasound\* | grep ^ii
ii  alsa-base      1.0.9b-2~5     ALSA driver configuration files
ii  alsa-modules-2 1.0.9+1        ALSA modules for kernel 2.4.27-2-686
ii  alsa-source    1.0.9b-2~5     ALSA driver sources
ii  alsa-utils     1.0.9a-2       ALSA utilities
ii  libasound2     1.0.9-2        ALSA library
ii  libasound2-doc 1.0.9-2        ALSA library developer documentation
jdthood@thanatos:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun 15 2005 for kernel 2.6.11.
jdthood@thanatos:~$ cat /proc/asound/cards
0 [CS46xx         ]: CS46xx - Sound Fusion CS46xx
                     Sound Fusion CS46xx at 0x50100000/0x50000000, irq 11

----------------------------------------------------------------------
 herby - 06-22-05 10:19 
----------------------------------------------------------------------
I've seen recent notes on the frequency range for speaker test (nice to
have a wide range of things).  Has anyone tried the latest version(s) to
see if this bug pops its head up.  I've got other programs that appear to
exhibit this (or a similar) error, but I feel that a standard program is a
better example.  If you need more information, PLEASE let me know!

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-09-05 00:42 herby          New Issue                                    
06-13-05 19:49 herby          Issue Monitored: herby                       
06-13-05 19:55 herby          Note Added: 0005013                          
06-15-05 14:27 jdthood        Note Added: 0005024                          
06-22-05 10:19 herby          Note Added: 0005120                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [ALSA - utils 0001174]: Speaker Test fails with error message(s) from alsa lib.  "problem for start_threshold"
@ 2005-06-15 12:27 bugtrack
  0 siblings, 0 replies; 8+ messages in thread
From: bugtrack @ 2005-06-15 12:27 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1174> 
======================================================================
Reported By:                herby
Assigned To:                
======================================================================
Project:                    ALSA - utils
Issue ID:                   1174
Category:                   speakertest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-09-2005 00:42 CEST
Last Modified:              06-15-2005 14:27 CEST
======================================================================
Summary:                    Speaker Test fails with error message(s) from alsa
lib.  "problem for start_threshold"
Description: 
Running speaker test gets me:
>>>
speaker-test 0.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 32768
Period size range from 8 to 16384
Periods = 4
Buffer time size 2525
To choose buffer_size = 15052
To choose period_size = 3763
was set period_size = 3764
was set buffer_size = 15052
ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params:
params->avail_min problem for start_threshold
Unable to set sw params for playback: Invalid argument
Setting of swparams failed: Invalid argument
<<<
======================================================================

----------------------------------------------------------------------
 herby - 06-13-05 19:55 
----------------------------------------------------------------------
Is this a problem with the library, My interface card (Revolution 7.1), my
(simple) /etc/asound.conf, or with (I doubt) speaker-test?  Perhaps it
should be in a different catagory.  I have working speaker tests in older
versions, and (I assume) the current versions of others.

----------------------------------------------------------------------
 jdthood - 06-15-05 14:27 
----------------------------------------------------------------------
I have this problem too.  1.0.8 worked fine.  1.0.9 prints an error
message

    Setting of swparams failed: Invalid argument

and cycles back to "Rate set to 48000Hz (requested 48000Hz)" in an
infinite loop, without ever producing any sound.

Note too that speaker-test 1.0.9 prints its version number as "0.0.8".

--------------------
Test with ALSA 1.0.8
--------------------

$ speaker-test

speaker-test 1.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 32768
Period size range from 16 to 1024
Buffer time size 2525
To choose buffer_size = 2520
To choose period_size = 315
was set period_size = 256
was set buffer_size = 2520
  - Front Left
... with tones playing


--------------------
Test with ALSA 1.0.9
--------------------

$ speaker-test

speaker-test 0.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 32768
Period size range from 16 to 1024
Periods = 4
Buffer time size 2525
To choose buffer_size = 15052
To choose period_size = 3763
was set period_size = 1024
was set buffer_size = 15052
Unable to set sw params for playback: Invalid argument
Setting of swparams failed: Invalid argument
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 32768
Period size range from 16 to 1024
Periods = 4
... ad infinitum


jdthood@thanatos:~$ dpkg -l alsa-\* libasound\* | grep ^ii
ii  alsa-base      1.0.9b-2~5     ALSA driver configuration files
ii  alsa-modules-2 1.0.9+1        ALSA modules for kernel 2.4.27-2-686
ii  alsa-source    1.0.9b-2~5     ALSA driver sources
ii  alsa-utils     1.0.9a-2       ALSA utilities
ii  libasound2     1.0.9-2        ALSA library
ii  libasound2-doc 1.0.9-2        ALSA library developer documentation
jdthood@thanatos:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Jun 15 2005 for kernel 2.6.11.
jdthood@thanatos:~$ cat /proc/asound/cards
0 [CS46xx         ]: CS46xx - Sound Fusion CS46xx
                     Sound Fusion CS46xx at 0x50100000/0x50000000, irq 11

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-09-05 00:42 herby          New Issue                                    
06-13-05 19:49 herby          Issue Monitored: herby                       
06-13-05 19:55 herby          Note Added: 0005013                          
06-15-05 14:27 jdthood        Note Added: 0005024                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [ALSA - utils 0001174]: Speaker Test fails with error message(s) from alsa lib.  "problem for start_threshold"
@ 2005-06-13 17:55 bugtrack
  0 siblings, 0 replies; 8+ messages in thread
From: bugtrack @ 2005-06-13 17:55 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1174> 
======================================================================
Reported By:                herby
Assigned To:                
======================================================================
Project:                    ALSA - utils
Issue ID:                   1174
Category:                   speakertest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-09-2005 00:42 CEST
Last Modified:              06-13-2005 19:55 CEST
======================================================================
Summary:                    Speaker Test fails with error message(s) from alsa
lib.  "problem for start_threshold"
Description: 
Running speaker test gets me:
>>>
speaker-test 0.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 32768
Period size range from 8 to 16384
Periods = 4
Buffer time size 2525
To choose buffer_size = 15052
To choose period_size = 3763
was set period_size = 3764
was set buffer_size = 15052
ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params:
params->avail_min problem for start_threshold
Unable to set sw params for playback: Invalid argument
Setting of swparams failed: Invalid argument
<<<
======================================================================

----------------------------------------------------------------------
 herby - 06-13-05 19:55 
----------------------------------------------------------------------
Is this a problem with the library, My interface card (Revolution 7.1), my
(simple) /etc/asound.conf, or with (I doubt) speaker-test?  Perhaps it
should be in a different catagory.  I have working speaker tests in older
versions, and (I assume) the current versions of others.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-09-05 00:42 herby          New Issue                                    
06-13-05 19:49 herby          Issue Monitored: herby                       
06-13-05 19:55 herby          Note Added: 0005013                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [ALSA - utils 0001174]: Speaker Test fails with error message(s) from alsa lib.  "problem for start_threshold"
@ 2005-06-08 22:42 bugtrack
  0 siblings, 0 replies; 8+ messages in thread
From: bugtrack @ 2005-06-08 22:42 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1174> 
======================================================================
Reported By:                herby
Assigned To:                
======================================================================
Project:                    ALSA - utils
Issue ID:                   1174
Category:                   speakertest
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-09-2005 00:42 CEST
Last Modified:              06-09-2005 00:42 CEST
======================================================================
Summary:                    Speaker Test fails with error message(s) from alsa
lib.  "problem for start_threshold"
Description: 
Running speaker test gets me:
>>>
speaker-test 0.0.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 32768
Period size range from 8 to 16384
Periods = 4
Buffer time size 2525
To choose buffer_size = 15052
To choose period_size = 3763
was set period_size = 3764
was set buffer_size = 15052
ALSA lib pcm.c:824:(snd_pcm_sw_params) snd_pcm_sw_params:
params->avail_min problem for start_threshold
Unable to set sw params for playback: Invalid argument
Setting of swparams failed: Invalid argument
<<<
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-09-05 00:42 herby          New Issue                                    
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-06-23 10:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-22  9:39 [ALSA - utils 0001174]: Speaker Test fails with error message(s) from alsa lib. "problem for start_threshold" bugtrack
2005-06-22 10:22 ` Raymond
2005-06-22 10:34   ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2005-06-23 10:06 bugtrack
2005-06-22  8:19 bugtrack
2005-06-15 12:27 bugtrack
2005-06-13 17:55 bugtrack
2005-06-08 22:42 bugtrack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.