All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-13 15:35 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-13 15:35 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-13-2006 17:35 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-13 15:39 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-13 15: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=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-13-2006 17:39 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-13-06 17:39 
----------------------------------------------------------------------
Notice that playing a sound that is long enough with aplay -D default and
the above DMIX configuration also breaks.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-13 15:41 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-13 15:41 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-13-2006 17:41 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-13-06 17:39 
----------------------------------------------------------------------
Notice that playing a sound that is long enough with aplay -D default and
the above DMIX configuration also breaks.

----------------------------------------------------------------------
 dsandras - 05-13-06 17:41 
----------------------------------------------------------------------
If I comment out the period_time, period_size, buffer_size in the above
configuration and play some sound with aplay, I get the same backtrace :
*** glibc detected *** free(): invalid pointer: 0x0806dd80 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1210476320 (LWP 29600)]
0xb7dc37c7 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7dc37c7 in raise () from /lib/tls/libc.so.6
#1  0xb7dc506b in abort () from /lib/tls/libc.so.6
#2  0xb7dfa545 in __libc_message () from /lib/tls/libc.so.6
#3  0xb7e00b97 in _int_free () from /lib/tls/libc.so.6
#4  0xb7e01032 in free () from /lib/tls/libc.so.6
#5  0xb7f6ffd0 in snd_pcm_adpcm_decode () from /usr/lib/libasound.so.2
#6  0xb7f4e609 in snd_pcm_hw_free () from /usr/lib/libasound.so.2
#7  0xb7f7561d in _snd_pcm_rate_linear_open () from
/usr/lib/libasound.so.2
#8  0xb7f4e609 in snd_pcm_hw_free () from /usr/lib/libasound.so.2
#9  0xb7f58c7e in snd_pcm_close () from /usr/lib/libasound.so.2
#10 0x0804ff7b in ?? ()
#11 0x0805ba08 in ?? ()
#12 0x00000000 in ?? ()

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-13 16:29 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-13 16:29 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-13-2006 18:29 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-13-06 17:41 
----------------------------------------------------------------------
If I comment out the period_time, period_size, buffer_size in the above
configuration and play some sound with aplay, I get the same backtrace :
*** glibc detected *** free(): invalid pointer: 0x0806dd80 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1210476320 (LWP 29600)]
0xb7dc37c7 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7dc37c7 in raise () from /lib/tls/libc.so.6
#1  0xb7dc506b in abort () from /lib/tls/libc.so.6
#2  0xb7dfa545 in __libc_message () from /lib/tls/libc.so.6
#3  0xb7e00b97 in _int_free () from /lib/tls/libc.so.6
#4  0xb7e01032 in free () from /lib/tls/libc.so.6
#5  0xb7f6ffd0 in snd_pcm_adpcm_decode () from /usr/lib/libasound.so.2
#6  0xb7f4e609 in snd_pcm_hw_free () from /usr/lib/libasound.so.2
#7  0xb7f7561d in _snd_pcm_rate_linear_open () from
/usr/lib/libasound.so.2
#8  0xb7f4e609 in snd_pcm_hw_free () from /usr/lib/libasound.so.2
#9  0xb7f58c7e in snd_pcm_close () from /usr/lib/libasound.so.2
#10 0x0804ff7b in ?? ()
#11 0x0805ba08 in ?? ()
#12 0x00000000 in ?? ()

----------------------------------------------------------------------
 rlrevell - 05-13-06 18:29 
----------------------------------------------------------------------
Why are you using an .asoundrc - dmix has been enabled by default for
several releases.

Also try the latest HG sources - CVS is dead and has not been updated for
a while

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-13 16:36 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-13 16:36 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-13-2006 18:36 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 rlrevell - 05-13-06 18:29 
----------------------------------------------------------------------
Why are you using an .asoundrc - dmix has been enabled by default for
several releases.

Also try the latest HG sources - CVS is dead and has not been updated for
a while

----------------------------------------------------------------------
 dsandras - 05-13-06 18:36 
----------------------------------------------------------------------
When I tell that I'm using latest CVS, I mean latest HG, sorry for the
confusion.
I'm using that .asoundrc because I have been using it for years. It allows
refining DMIX parameters for a better latency. 

Without .asoundrc, I get choppy sound again.

I just uploaded a file that gives choppy sound here with this command :
aplay -D default /usr/share/sounds/ekiga/busytone.wav
and not with this command :
aplay -D plughw:0 /usr/share/sounds/ekiga/busytone.wav

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-15  8:35 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-15  8:35 UTC (permalink / raw)
  To: alsa-devel


The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-15-2006 10:35 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-13-06 18:36 
----------------------------------------------------------------------
When I tell that I'm using latest CVS, I mean latest HG, sorry for the
confusion.
I'm using that .asoundrc because I have been using it for years. It allows
refining DMIX parameters for a better latency. 

Without .asoundrc, I get choppy sound again.

I just uploaded a file that gives choppy sound here with this command :
aplay -D default /usr/share/sounds/ekiga/busytone.wav
and not with this command :
aplay -D plughw:0 /usr/share/sounds/ekiga/busytone.wav

----------------------------------------------------------------------
 tiwai - 05-15-06 10:35 
----------------------------------------------------------------------
Already fixed on HG repo.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-15  9:01 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-15  9:01 UTC (permalink / raw)
  To: alsa-devel


The following issue has been REOPENED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-15-2006 11:01 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 tiwai - 05-15-06 10:35 
----------------------------------------------------------------------
Already fixed on HG repo.

----------------------------------------------------------------------
 dsandras - 05-15-06 11:01 
----------------------------------------------------------------------
That is the second time that you tell me that it is fixed and close the bug
report.
That is the second time that I tell you that it is NOT fixed. I'm using
the latest version of HG repository and all those problems are not fixed
at all.

Could you please put a little bit more consideration into this bug
report?

Thank you.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-15  9:07 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-15  9:07 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-15-2006 11:07 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-15-06 11:01 
----------------------------------------------------------------------
That is the second time that you tell me that it is fixed and close the bug
report.
That is the second time that I tell you that it is NOT fixed. I'm using
the latest version of HG repository and all those problems are not fixed
at all.

Could you please put a little bit more consideration into this bug
report?

Thank you.

----------------------------------------------------------------------
 tiwai - 05-15-06 11:07 
----------------------------------------------------------------------
Are you using the latest HG repo?
hg-mirror looks out of sync for a long time.  Try HG repo from rsync, or
http://hg.alsa-project.org/alsa-lib.

The fix is SHA1 ID: 8c310c3277b78a6c53af86939fb5dd6a7db509ea.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-15 20:33 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-15 20:33 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-15-2006 22:33 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 tiwai - 05-15-06 11:07 
----------------------------------------------------------------------
Are you using the latest HG repo?
hg-mirror looks out of sync for a long time.  Try HG repo from rsync, or
http://hg.alsa-project.org/alsa-lib.

The fix is SHA1 ID: 8c310c3277b78a6c53af86939fb5dd6a7db509ea.

----------------------------------------------------------------------
 dsandras - 05-15-06 22:33 
----------------------------------------------------------------------
I applied this patch:
http://hg.alsa-project.org/alsa-lib?cs=8c310c3277b7

And it solves the problem.

However, using the "default" device (and thus implicitely dmix) gives a
very bad result with Ekiga.

If I defined a .asoundrc file like this one :
pcm.snd_card {
        type hw
        card 0
}

pcm.dmixer {
        type dmix
        ipc_key 1024
        slave.pcm "snd_card"
        slave {
                period_size 256
                buffer_size 2048
                rate 44100
        }
}

pcm.dsnooper {
        type dsnoop
        ipc_key 2048
        slave.pcm "snd_card"

        slave {
                period_size 256
                buffer_size 2048
                rate 44100
        }
}

pcm.duplex {
        type asym
        playback.pcm "dmixer"
        capture.pcm "dsnooper"
}

pcm.!default {
        type plug
        slave.pcm "duplex"
}

Then the sound quality becomes correct, except if the machine is loaded.
If the machine is loaded, then the latency increases.

Is there any sane explanation to that problem?

I'm asking because Ekiga users will complain.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-15 20:42 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-15 20:42 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-15-2006 22:42 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-15-06 22:33 
----------------------------------------------------------------------
I applied this patch:
http://hg.alsa-project.org/alsa-lib?cs=8c310c3277b7

And it solves the problem.

However, using the "default" device (and thus implicitely dmix) gives a
very bad result with Ekiga.

If I defined a .asoundrc file like this one :
pcm.snd_card {
        type hw
        card 0
}

pcm.dmixer {
        type dmix
        ipc_key 1024
        slave.pcm "snd_card"
        slave {
                period_size 256
                buffer_size 2048
                rate 44100
        }
}

pcm.dsnooper {
        type dsnoop
        ipc_key 2048
        slave.pcm "snd_card"

        slave {
                period_size 256
                buffer_size 2048
                rate 44100
        }
}

pcm.duplex {
        type asym
        playback.pcm "dmixer"
        capture.pcm "dsnooper"
}

pcm.!default {
        type plug
        slave.pcm "duplex"
}

Then the sound quality becomes correct, except if the machine is loaded.
If the machine is loaded, then the latency increases.

Is there any sane explanation to that problem?

I'm asking because Ekiga users will complain.

----------------------------------------------------------------------
 rlrevell - 05-15-06 22:42 
----------------------------------------------------------------------
What are the contents of:

/proc/asound/cardX/pcmXp/subX/hw_params and
/proc/asound/cardX/pcmXp/subX/status

(replace X with the card/stream in use)

for the non-working (default) and working configs?

You have the latest alsa-lib and alsa-driver installed?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-15 20:46 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-15 20:46 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-15-2006 22:46 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 rlrevell - 05-15-06 22:42 
----------------------------------------------------------------------
What are the contents of:

/proc/asound/cardX/pcmXp/subX/hw_params and
/proc/asound/cardX/pcmXp/subX/status

(replace X with the card/stream in use)

for the non-working (default) and working configs?

You have the latest alsa-lib and alsa-driver installed?

----------------------------------------------------------------------
 dsandras - 05-15-06 22:46 
----------------------------------------------------------------------
Not working:

cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384
tick_time: 1000

cat /proc/asound/card0/pcm0p/sub0/status
state: RUNNING
trigger_time: 1147725878.542749000
tstamp      : 1147725923.490961000
delay       : -2149046
avail       : 2165430
avail_max   : 2165430
-----
hw_ptr      : 2149046
appl_ptr    : 0


Working :
cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 256
buffer_size: 2048
tick_time: 1000

cat /proc/asound/card0/pcm0p/sub0/status
state: RUNNING
trigger_time: 1147725951.007094000
tstamp      : 1147725977.194283000
delay       : -1151388
avail       : 1153436
avail_max   : 1153436
-----
hw_ptr      : 1151388
appl_ptr    : 0

libasound 1.0.11 patches to fix the problems with latest "HG".
But not the latest drivers, but we can not impose our users to use latest
drivers anyway.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-15 20:58 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-15 20:58 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-15-2006 22:58 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-15-06 22:46 
----------------------------------------------------------------------
Not working:

cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384
tick_time: 1000

cat /proc/asound/card0/pcm0p/sub0/status
state: RUNNING
trigger_time: 1147725878.542749000
tstamp      : 1147725923.490961000
delay       : -2149046
avail       : 2165430
avail_max   : 2165430
-----
hw_ptr      : 2149046
appl_ptr    : 0


Working :
cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 256
buffer_size: 2048
tick_time: 1000

cat /proc/asound/card0/pcm0p/sub0/status
state: RUNNING
trigger_time: 1147725951.007094000
tstamp      : 1147725977.194283000
delay       : -1151388
avail       : 1153436
avail_max   : 1153436
-----
hw_ptr      : 1151388
appl_ptr    : 0

libasound 1.0.11 patches to fix the problems with latest "HG".
But not the latest drivers, but we can not impose our users to use latest
drivers anyway.

----------------------------------------------------------------------
 rlrevell - 05-15-06 22:58 
----------------------------------------------------------------------
It would still be useful to test the latest drivers, just so we can rule
out a hardware specific bug that was fixed.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
05-15-06 22:58 rlrevell       Note Added: 0009831                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-15 20:59 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-15 20:59 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-15-2006 22:59 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 rlrevell - 05-15-06 22:58 
----------------------------------------------------------------------
It would still be useful to test the latest drivers, just so we can rule
out a hardware specific bug that was fixed.

----------------------------------------------------------------------
 dsandras - 05-15-06 22:59 
----------------------------------------------------------------------
I can not afford it. But a friend of mine is reporting the same problem
with latest drivers.

Perhaps one of you can simply test Ekiga?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
05-15-06 22:58 rlrevell       Note Added: 0009831                          
05-15-06 22:59 dsandras       Note Added: 0009832                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-15 21:28 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-15 21:28 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-15-2006 23:28 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-15-06 22:59 
----------------------------------------------------------------------
I can not afford it. But a friend of mine is reporting the same problem
with latest drivers.

Perhaps one of you can simply test Ekiga?

----------------------------------------------------------------------
 rlrevell - 05-15-06 23:28 
----------------------------------------------------------------------
I cannot test here as I do not have a hardware mixing sound card, and the
problem varies by device.

If you set the period and buffer sizes in your .asoundrc to the values
from the non-working config do you get the same results?

What if you try changing Ekiga to set the period and buffer to 256/2048,
as you have done in your .asoundrc?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
05-15-06 22:58 rlrevell       Note Added: 0009831                          
05-15-06 22:59 dsandras       Note Added: 0009832                          
05-15-06 23:28 rlrevell       Note Added: 0009833                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-15 21:41 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-15 21:41 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-15-2006 23:41 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 rlrevell - 05-15-06 23:28 
----------------------------------------------------------------------
I cannot test here as I do not have a hardware mixing sound card, and the
problem varies by device.

If you set the period and buffer sizes in your .asoundrc to the values
from the non-working config do you get the same results?

What if you try changing Ekiga to set the period and buffer to 256/2048,
as you have done in your .asoundrc?

----------------------------------------------------------------------
 dsandras - 05-15-06 23:41 
----------------------------------------------------------------------
"I cannot test here as I do not have a hardware mixing sound card, and the
problem varies by device."

Me neither. Simply use DMIX.

"If you set the period and buffer sizes in your .asoundrc to the values
from the non-working config do you get the same results?"

Yes.

"What if you try changing Ekiga to set the period and buffer to 256/2048,
as you have done in your .asoundrc?"

I do not know how to do that. Advice from an ALSA developer would be
welcome. Ekiga is really a widespread VoIP softphone, and getting help
from an ALSA developer to improve DMIX support would be more than welcome.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
05-15-06 22:58 rlrevell       Note Added: 0009831                          
05-15-06 22:59 dsandras       Note Added: 0009832                          
05-15-06 23:28 rlrevell       Note Added: 0009833                          
05-15-06 23:41 dsandras       Note Added: 0009834                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-16  9:19 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-16  9: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=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-16-2006 11:19 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-15-06 23:41 
----------------------------------------------------------------------
"I cannot test here as I do not have a hardware mixing sound card, and the
problem varies by device."

Me neither. Simply use DMIX.

"If you set the period and buffer sizes in your .asoundrc to the values
from the non-working config do you get the same results?"

Yes.

"What if you try changing Ekiga to set the period and buffer to 256/2048,
as you have done in your .asoundrc?"

I do not know how to do that. Advice from an ALSA developer would be
welcome. Ekiga is really a widespread VoIP softphone, and getting help
from an ALSA developer to improve DMIX support would be more than welcome.

----------------------------------------------------------------------
 tiwai - 05-16-06 11:19 
----------------------------------------------------------------------
First, don't apply a single patch but use the whole HG tree.  The code sync
between tester and developer is one of most important things.

What is the sample rate the app uses?  One of differences between your
setting and the default is the sample rate.  The default is 48k while
yours is 44.1k.

Another difference is period and buffer size.  The recent dmix code does
async data transfer and may have varied periods.  Try to set the following
in ~/.asoundrc:

   defaults.pcm.dmix_max_periods   -1

This will force apps the fixed number of periods defined by slave PCM.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
05-15-06 22:58 rlrevell       Note Added: 0009831                          
05-15-06 22:59 dsandras       Note Added: 0009832                          
05-15-06 23:28 rlrevell       Note Added: 0009833                          
05-15-06 23:41 dsandras       Note Added: 0009834                          
05-16-06 11:19 tiwai          Note Added: 0009836                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-16  9:52 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-16  9:52 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-16-2006 11:52 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 tiwai - 05-16-06 11:19 
----------------------------------------------------------------------
First, don't apply a single patch but use the whole HG tree.  The code sync
between tester and developer is one of most important things.

What is the sample rate the app uses?  One of differences between your
setting and the default is the sample rate.  The default is 48k while
yours is 44.1k.

Another difference is period and buffer size.  The recent dmix code does
async data transfer and may have varied periods.  Try to set the following
in ~/.asoundrc:

   defaults.pcm.dmix_max_periods   -1

This will force apps the fixed number of periods defined by slave PCM.

----------------------------------------------------------------------
 dsandras - 05-16-06 11:52 
----------------------------------------------------------------------
It perfectly works with the .asoundrc you gave me.

Is that something that can be done by default for ALSA or does that
correspond to something I could change in my ALSA plugin?

Thanks,

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
05-15-06 22:58 rlrevell       Note Added: 0009831                          
05-15-06 22:59 dsandras       Note Added: 0009832                          
05-15-06 23:28 rlrevell       Note Added: 0009833                          
05-15-06 23:41 dsandras       Note Added: 0009834                          
05-16-06 11:19 tiwai          Note Added: 0009836                          
05-16-06 11:52 dsandras       Note Added: 0009837                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-16 10:04 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-16 10:04 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-16-2006 12:04 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-16-06 11:52 
----------------------------------------------------------------------
It perfectly works with the .asoundrc you gave me.

Is that something that can be done by default for ALSA or does that
correspond to something I could change in my ALSA plugin?

Thanks,

----------------------------------------------------------------------
 tiwai - 05-16-06 12:04 
----------------------------------------------------------------------
OK, let me rephrase my questions again:

- Wheter you're using the whole latest HG tree
- What is the sample rate your app uses
- What happens if you set "defaults.pcm.dmix_max_periods -1"

Could you answer them?  Otherwise I can't help.

Other userful information are:

- The hardware and driver that the problem appears
- Change period_size to 1024 and periods to 16 in your dmix config.
  No buffer_size.  It's the as same config as in default.

And what is your "plugin"?  Did you write a new plugin for alsa-lib and
use it?

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
05-15-06 22:58 rlrevell       Note Added: 0009831                          
05-15-06 22:59 dsandras       Note Added: 0009832                          
05-15-06 23:28 rlrevell       Note Added: 0009833                          
05-15-06 23:41 dsandras       Note Added: 0009834                          
05-16-06 11:19 tiwai          Note Added: 0009836                          
05-16-06 11:52 dsandras       Note Added: 0009837                          
05-16-06 12:04 tiwai          Note Added: 0009838                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-16 11:02 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-16 11:02 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-16-2006 13:02 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 tiwai - 05-16-06 12:04 
----------------------------------------------------------------------
OK, let me rephrase my questions again:

- Wheter you're using the whole latest HG tree
- What is the sample rate your app uses
- What happens if you set "defaults.pcm.dmix_max_periods -1"

Could you answer them?  Otherwise I can't help.

Other userful information are:

- The hardware and driver that the problem appears
- Change period_size to 1024 and periods to 16 in your dmix config.
  No buffer_size.  It's the as same config as in default.

And what is your "plugin"?  Did you write a new plugin for alsa-lib and
use it?

----------------------------------------------------------------------
 dsandras - 05-16-06 13:02 
----------------------------------------------------------------------
"Wheter you're using the whole latest HG tree"

Not completely. I couldn't find a way to generate a patch with hg and then
I cancelled and took only the patch that was interesting to fix the
original problem.

"What is the sample rate your app uses"

8kHz or 16kHz depending if the codec is wideband or not.

"What happens if you set "defaults.pcm.dmix_max_periods -1"

The result is good. 

"The hardware and driver that the problem appears"

All hardware, all drivers. All of the developers have different hardware
and they can all reproduce the problem without the .asoundrc that I gave
you or without the .asoundrc that you gave me. Of course, only with DMIX.

"Change period_size to 1024 and periods to 16 in your dmix config.
No buffer_size. It's the as same config as in default"

It gives bad results.

"And what is your "plugin"? Did you write a new plugin for alsa-lib and
use it?"

It is the portion of code that Ekiga is using to manager audio devices,
the ALSA version.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
05-15-06 22:58 rlrevell       Note Added: 0009831                          
05-15-06 22:59 dsandras       Note Added: 0009832                          
05-15-06 23:28 rlrevell       Note Added: 0009833                          
05-15-06 23:41 dsandras       Note Added: 0009834                          
05-16-06 11:19 tiwai          Note Added: 0009836                          
05-16-06 11:52 dsandras       Note Added: 0009837                          
05-16-06 12:04 tiwai          Note Added: 0009838                          
05-16-06 13:02 dsandras       Note Added: 0009839                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* [ALSA - lib 0002122]: DMIX crashes Ekiga
@ 2006-05-19  6:49 bugtrack
  0 siblings, 0 replies; 20+ messages in thread
From: bugtrack @ 2006-05-19  6:49 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2122> 
======================================================================
Reported By:                dsandras
Assigned To:                perex
======================================================================
Project:                    ALSA - lib
Issue ID:                   2122
Category:                   1_pcm_d - direct PCM plugins (dmix+)
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             05-13-2006 17:35 CEST
Last Modified:              05-19-2006 08:49 CEST
======================================================================
Summary:                    DMIX crashes Ekiga
Description: 
This problem is probably related to problem #2095 that was closed. 
Unfortunately, I can not reopen it, so I'm posting a new bug report.

When using DMIX, Ekiga crashes. This problem was not present with earlier
versions of libasound2. I applied all patches from CVS.
======================================================================

----------------------------------------------------------------------
 dsandras - 05-16-06 13:02 
----------------------------------------------------------------------
"Wheter you're using the whole latest HG tree"

Not completely. I couldn't find a way to generate a patch with hg and then
I cancelled and took only the patch that was interesting to fix the
original problem.

"What is the sample rate your app uses"

8kHz or 16kHz depending if the codec is wideband or not.

"What happens if you set "defaults.pcm.dmix_max_periods -1"

The result is good. 

"The hardware and driver that the problem appears"

All hardware, all drivers. All of the developers have different hardware
and they can all reproduce the problem without the .asoundrc that I gave
you or without the .asoundrc that you gave me. Of course, only with DMIX.

"Change period_size to 1024 and periods to 16 in your dmix config.
No buffer_size. It's the as same config as in default"

It gives bad results.

"And what is your "plugin"? Did you write a new plugin for alsa-lib and
use it?"

It is the portion of code that Ekiga is using to manager audio devices,
the ALSA version.

----------------------------------------------------------------------
 Raymond - 05-19-06 08:49 
----------------------------------------------------------------------
If your application use 8K/16K, there is no point to use .asoundrc which
specifiy dmix rate 44100. 

Your application should filter out those sound card which do'nt support
duplex

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-13-06 17:35 dsandras       New Issue                                    
05-13-06 17:39 dsandras       Note Added: 0009795                          
05-13-06 17:41 dsandras       Note Added: 0009796                          
05-13-06 18:29 rlrevell       Note Added: 0009799                          
05-13-06 18:36 dsandras       Note Added: 0009800                          
05-13-06 18:37 dsandras       File Added: busytone.wav                     
05-15-06 10:35 tiwai          Status                   assigned => resolved
05-15-06 10:35 tiwai          Resolution               open => fixed       
05-15-06 10:35 tiwai          Note Added: 0009814                          
05-15-06 11:01 dsandras       Status                   resolved => feedback
05-15-06 11:01 dsandras       Resolution               fixed => reopened   
05-15-06 11:01 dsandras       Note Added: 0009816                          
05-15-06 11:07 tiwai          Note Added: 0009818                          
05-15-06 22:33 dsandras       Note Added: 0009828                          
05-15-06 22:42 rlrevell       Note Added: 0009829                          
05-15-06 22:46 dsandras       Note Added: 0009830                          
05-15-06 22:58 rlrevell       Note Added: 0009831                          
05-15-06 22:59 dsandras       Note Added: 0009832                          
05-15-06 23:28 rlrevell       Note Added: 0009833                          
05-15-06 23:41 dsandras       Note Added: 0009834                          
05-16-06 11:19 tiwai          Note Added: 0009836                          
05-16-06 11:52 dsandras       Note Added: 0009837                          
05-16-06 12:04 tiwai          Note Added: 0009838                          
05-16-06 13:02 dsandras       Note Added: 0009839                          
05-19-06 08:49 Raymond        Note Added: 0009874                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

end of thread, other threads:[~2006-05-19  6:49 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-15 20:33 [ALSA - lib 0002122]: DMIX crashes Ekiga bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2006-05-19  6:49 bugtrack
2006-05-16 11:02 bugtrack
2006-05-16 10:04 bugtrack
2006-05-16  9:52 bugtrack
2006-05-16  9:19 bugtrack
2006-05-15 21:41 bugtrack
2006-05-15 21:28 bugtrack
2006-05-15 20:59 bugtrack
2006-05-15 20:58 bugtrack
2006-05-15 20:46 bugtrack
2006-05-15 20:42 bugtrack
2006-05-15  9:07 bugtrack
2006-05-15  9:01 bugtrack
2006-05-15  8:35 bugtrack
2006-05-13 16:36 bugtrack
2006-05-13 16:29 bugtrack
2006-05-13 15:41 bugtrack
2006-05-13 15:39 bugtrack
2006-05-13 15:35 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.