Re: [Mixxx-devel] Tiny bit of progress on our PortAudio bug - Let's consider a bounty
Increasing jackd timeout seems to solve my issue. Thanks Albert! //Anders 2010/6/1 Anders Gunnarsson d00g...@gmail.com: Woups! Sorry for confusing things. I guess some messages in the conversation regarding this bug gave me the impression that it was Jack related. :-| It seems that bug is solved now. Yay! I'll try to increase the timeout to see if it helps me with my Jack issue. Still I think it's a bit odd that Mixxx is kicked when nozombies is used. I've never seen that with other clients, not even softsynths using most cpu, causing loads of xruns. //Anders 2010/6/1 Albert Santoni albe...@mixxx.org: Anders: The bug the bounty is related to only involves problems when you pick ALSA as the Sound API in Mixxx. If you're seeing problems with the JACK or PortAudio watchdog giving Mixxx the boot, try running jackd with the --timeout 1 flag. (I usually compile PortAudio with --prefix=/usr, and it overwrites the old version from the Ubuntu repo.) Thanks, Albert On Mon, May 31, 2010 at 3:02 PM, Anders Gunnarsson d00g...@gmail.com wrote: I just want to check a few things to make sure I got everything right regarding this issue. If I build PortAudio from source. How do I know that this version is used before the installed binary? Right now I've used prefix /usr, which I guess would replace the binary install. If I use default /usr/local would that library override the binary insall in /usr? I've tried to build PortAudio r1411, but can't say I see any difference from any other version. It's kicked from jack with the error message below. I test on UbuntuStudio 10.04 64-bit with kernel 2.6.31-10-rt, and tried both Mixxx 1.7.1 from download page, and r2407 from trunk. -jackd output subgraph starting at qjackctl timed out (subgraph_wait_fd=16, status = 0, state = Running, pollret = 0 revents = 0x0) alsa_pcm: xrun of at least 0.117 msecs bad status (1) for client PortAudio handling event (type = 5) - It seems PortAudio is kicked on the first xrun. Jackd is started with /usr/bin/jackd -R -Z -dalsa -dhw:1 -r44100 -p256 -n2. I guess -Z (nozombies) should make jack keep clients that are too slow, so this must be something else. //Anders 2010/5/29 Albert Santoni albe...@mixxx.org: Thanks for the feedback guys! The bounty is up on Pledgie, if anyone wants to add to the pot: http://pledgie.com/campaigns/10964 Thanks again, Albert On Wed, May 26, 2010 at 9:12 PM, Albert Santoni albe...@mixxx.org wrote: Hi guys, It looks like a developer on the PortAudio mailing list has made a little bit of progress in troubleshooting our dreaded PortAudio xrun deadlock and thread termination problem: http://music.columbia.edu/pipermail/portaudio/2010-May/010234.html (For some info on this bug, see: https://bugs.launchpad.net/mixxx/+bug/383431 ) As far as we know, this bug affects _every_ user on Ubuntu, and as a result, on our downloads page we recommend that Ubuntu users install an older version of PortAudio. Unfortunately, the users that get Mixxx from Synaptic or the Ubuntu Software Centre won't know that, and get Mixxx with a deadlock-prone version of PortAudio. None of us have ever dug into PortAudio's ALSA code seriously enough to figure out why the problem happens, probably because we've got enough bugs directly inside Mixxx to keep us busy. However, this bug is definitely causing problems for a huge number of people, and is probably severely affecting the growth of our userbase. We estimate roughly 50% of our users run Linux, and since most of those people are running Ubuntu, many people's first impressions of Mixxx are likely ruined by this bug. Because we get most of our developers from the Linux community, this bug needs to be fixed if we want to keep growing. None of the PortAudio maintainers have fixed this bug so far, and none of them are expressing any interest in doing it. Thus, we're faced with the following decision: Pull our own developer time away from Mixxx and try to convince one or more of us to fix the bug in PortAudio, or find a way of getting someone else to fix it. I work on Mixxx because it's super fun, but my enthusiasm for fixing PortAudio is very low, even though it's important to us. I think our entire team feels the same way, otherwise someone would have fixed the bug by now. However, I think this is a great opportunity to put our pool of funds that we've received from donations to good use. I'd like us to propose a $100 bounty on fixing this bug. It's not a huge amount of money, but I think it would provide a little bit of incentive for the guy on the PortAudio mailing list who's already started poking at the problem to fix it for good. The way I see it is that we have a very important bug we want fixed, but we lack the resources to do it ourselves. Over the years, we've received approximately $600 in donations from users who want to support and enhance Mixxx development, and I
Re: [Mixxx-devel] Tiny bit of progress on our PortAudio bug - Let's consider a bounty
Woups! Sorry for confusing things. I guess some messages in the conversation regarding this bug gave me the impression that it was Jack related. :-| It seems that bug is solved now. Yay! I'll try to increase the timeout to see if it helps me with my Jack issue. Still I think it's a bit odd that Mixxx is kicked when nozombies is used. I've never seen that with other clients, not even softsynths using most cpu, causing loads of xruns. //Anders 2010/6/1 Albert Santoni albe...@mixxx.org: Anders: The bug the bounty is related to only involves problems when you pick ALSA as the Sound API in Mixxx. If you're seeing problems with the JACK or PortAudio watchdog giving Mixxx the boot, try running jackd with the --timeout 1 flag. (I usually compile PortAudio with --prefix=/usr, and it overwrites the old version from the Ubuntu repo.) Thanks, Albert On Mon, May 31, 2010 at 3:02 PM, Anders Gunnarsson d00g...@gmail.com wrote: I just want to check a few things to make sure I got everything right regarding this issue. If I build PortAudio from source. How do I know that this version is used before the installed binary? Right now I've used prefix /usr, which I guess would replace the binary install. If I use default /usr/local would that library override the binary insall in /usr? I've tried to build PortAudio r1411, but can't say I see any difference from any other version. It's kicked from jack with the error message below. I test on UbuntuStudio 10.04 64-bit with kernel 2.6.31-10-rt, and tried both Mixxx 1.7.1 from download page, and r2407 from trunk. -jackd output subgraph starting at qjackctl timed out (subgraph_wait_fd=16, status = 0, state = Running, pollret = 0 revents = 0x0) alsa_pcm: xrun of at least 0.117 msecs bad status (1) for client PortAudio handling event (type = 5) - It seems PortAudio is kicked on the first xrun. Jackd is started with /usr/bin/jackd -R -Z -dalsa -dhw:1 -r44100 -p256 -n2. I guess -Z (nozombies) should make jack keep clients that are too slow, so this must be something else. //Anders 2010/5/29 Albert Santoni albe...@mixxx.org: Thanks for the feedback guys! The bounty is up on Pledgie, if anyone wants to add to the pot: http://pledgie.com/campaigns/10964 Thanks again, Albert On Wed, May 26, 2010 at 9:12 PM, Albert Santoni albe...@mixxx.org wrote: Hi guys, It looks like a developer on the PortAudio mailing list has made a little bit of progress in troubleshooting our dreaded PortAudio xrun deadlock and thread termination problem: http://music.columbia.edu/pipermail/portaudio/2010-May/010234.html (For some info on this bug, see: https://bugs.launchpad.net/mixxx/+bug/383431 ) As far as we know, this bug affects _every_ user on Ubuntu, and as a result, on our downloads page we recommend that Ubuntu users install an older version of PortAudio. Unfortunately, the users that get Mixxx from Synaptic or the Ubuntu Software Centre won't know that, and get Mixxx with a deadlock-prone version of PortAudio. None of us have ever dug into PortAudio's ALSA code seriously enough to figure out why the problem happens, probably because we've got enough bugs directly inside Mixxx to keep us busy. However, this bug is definitely causing problems for a huge number of people, and is probably severely affecting the growth of our userbase. We estimate roughly 50% of our users run Linux, and since most of those people are running Ubuntu, many people's first impressions of Mixxx are likely ruined by this bug. Because we get most of our developers from the Linux community, this bug needs to be fixed if we want to keep growing. None of the PortAudio maintainers have fixed this bug so far, and none of them are expressing any interest in doing it. Thus, we're faced with the following decision: Pull our own developer time away from Mixxx and try to convince one or more of us to fix the bug in PortAudio, or find a way of getting someone else to fix it. I work on Mixxx because it's super fun, but my enthusiasm for fixing PortAudio is very low, even though it's important to us. I think our entire team feels the same way, otherwise someone would have fixed the bug by now. However, I think this is a great opportunity to put our pool of funds that we've received from donations to good use. I'd like us to propose a $100 bounty on fixing this bug. It's not a huge amount of money, but I think it would provide a little bit of incentive for the guy on the PortAudio mailing list who's already started poking at the problem to fix it for good. The way I see it is that we have a very important bug we want fixed, but we lack the resources to do it ourselves. Over the years, we've received approximately $600 in donations from users who want to support and enhance Mixxx development, and I think placing a $100 bounty on this bug would be an excellent way to do exactly that. If anyone would like to share their
Re: [Mixxx-devel] Tiny bit of progress on our PortAudio bug - Let's consider a bounty
I just want to check a few things to make sure I got everything right regarding this issue. If I build PortAudio from source. How do I know that this version is used before the installed binary? Right now I've used prefix /usr, which I guess would replace the binary install. If I use default /usr/local would that library override the binary insall in /usr? I've tried to build PortAudio r1411, but can't say I see any difference from any other version. It's kicked from jack with the error message below. I test on UbuntuStudio 10.04 64-bit with kernel 2.6.31-10-rt, and tried both Mixxx 1.7.1 from download page, and r2407 from trunk. -jackd output subgraph starting at qjackctl timed out (subgraph_wait_fd=16, status = 0, state = Running, pollret = 0 revents = 0x0) alsa_pcm: xrun of at least 0.117 msecs bad status (1) for client PortAudio handling event (type = 5) - It seems PortAudio is kicked on the first xrun. Jackd is started with /usr/bin/jackd -R -Z -dalsa -dhw:1 -r44100 -p256 -n2. I guess -Z (nozombies) should make jack keep clients that are too slow, so this must be something else. //Anders 2010/5/29 Albert Santoni albe...@mixxx.org: Thanks for the feedback guys! The bounty is up on Pledgie, if anyone wants to add to the pot: http://pledgie.com/campaigns/10964 Thanks again, Albert On Wed, May 26, 2010 at 9:12 PM, Albert Santoni albe...@mixxx.org wrote: Hi guys, It looks like a developer on the PortAudio mailing list has made a little bit of progress in troubleshooting our dreaded PortAudio xrun deadlock and thread termination problem: http://music.columbia.edu/pipermail/portaudio/2010-May/010234.html (For some info on this bug, see: https://bugs.launchpad.net/mixxx/+bug/383431 ) As far as we know, this bug affects _every_ user on Ubuntu, and as a result, on our downloads page we recommend that Ubuntu users install an older version of PortAudio. Unfortunately, the users that get Mixxx from Synaptic or the Ubuntu Software Centre won't know that, and get Mixxx with a deadlock-prone version of PortAudio. None of us have ever dug into PortAudio's ALSA code seriously enough to figure out why the problem happens, probably because we've got enough bugs directly inside Mixxx to keep us busy. However, this bug is definitely causing problems for a huge number of people, and is probably severely affecting the growth of our userbase. We estimate roughly 50% of our users run Linux, and since most of those people are running Ubuntu, many people's first impressions of Mixxx are likely ruined by this bug. Because we get most of our developers from the Linux community, this bug needs to be fixed if we want to keep growing. None of the PortAudio maintainers have fixed this bug so far, and none of them are expressing any interest in doing it. Thus, we're faced with the following decision: Pull our own developer time away from Mixxx and try to convince one or more of us to fix the bug in PortAudio, or find a way of getting someone else to fix it. I work on Mixxx because it's super fun, but my enthusiasm for fixing PortAudio is very low, even though it's important to us. I think our entire team feels the same way, otherwise someone would have fixed the bug by now. However, I think this is a great opportunity to put our pool of funds that we've received from donations to good use. I'd like us to propose a $100 bounty on fixing this bug. It's not a huge amount of money, but I think it would provide a little bit of incentive for the guy on the PortAudio mailing list who's already started poking at the problem to fix it for good. The way I see it is that we have a very important bug we want fixed, but we lack the resources to do it ourselves. Over the years, we've received approximately $600 in donations from users who want to support and enhance Mixxx development, and I think placing a $100 bounty on this bug would be an excellent way to do exactly that. If anyone would like to share their thoughts or opinions on this, I'm all ears. The bounty would be contingent on a fix for virtual and pure ALSA devices being committed to the PortAudio SVN repository and testing from us that ensures the problem is actually fixed. Thank you, Albert -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel -- Anders Gunnarsson Nergårdsvägen 51 436 36 Askim Tel: 031-7804498 Mob: 070-3301018 E-post: d00g...@gmail.com -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] Tiny bit of progress on our PortAudio bug - Let's consider a bounty
Thanks for the feedback guys! The bounty is up on Pledgie, if anyone wants to add to the pot: http://pledgie.com/campaigns/10964 Thanks again, Albert On Wed, May 26, 2010 at 9:12 PM, Albert Santoni albe...@mixxx.org wrote: Hi guys, It looks like a developer on the PortAudio mailing list has made a little bit of progress in troubleshooting our dreaded PortAudio xrun deadlock and thread termination problem: http://music.columbia.edu/pipermail/portaudio/2010-May/010234.html (For some info on this bug, see: https://bugs.launchpad.net/mixxx/+bug/383431 ) As far as we know, this bug affects _every_ user on Ubuntu, and as a result, on our downloads page we recommend that Ubuntu users install an older version of PortAudio. Unfortunately, the users that get Mixxx from Synaptic or the Ubuntu Software Centre won't know that, and get Mixxx with a deadlock-prone version of PortAudio. None of us have ever dug into PortAudio's ALSA code seriously enough to figure out why the problem happens, probably because we've got enough bugs directly inside Mixxx to keep us busy. However, this bug is definitely causing problems for a huge number of people, and is probably severely affecting the growth of our userbase. We estimate roughly 50% of our users run Linux, and since most of those people are running Ubuntu, many people's first impressions of Mixxx are likely ruined by this bug. Because we get most of our developers from the Linux community, this bug needs to be fixed if we want to keep growing. None of the PortAudio maintainers have fixed this bug so far, and none of them are expressing any interest in doing it. Thus, we're faced with the following decision: Pull our own developer time away from Mixxx and try to convince one or more of us to fix the bug in PortAudio, or find a way of getting someone else to fix it. I work on Mixxx because it's super fun, but my enthusiasm for fixing PortAudio is very low, even though it's important to us. I think our entire team feels the same way, otherwise someone would have fixed the bug by now. However, I think this is a great opportunity to put our pool of funds that we've received from donations to good use. I'd like us to propose a $100 bounty on fixing this bug. It's not a huge amount of money, but I think it would provide a little bit of incentive for the guy on the PortAudio mailing list who's already started poking at the problem to fix it for good. The way I see it is that we have a very important bug we want fixed, but we lack the resources to do it ourselves. Over the years, we've received approximately $600 in donations from users who want to support and enhance Mixxx development, and I think placing a $100 bounty on this bug would be an excellent way to do exactly that. If anyone would like to share their thoughts or opinions on this, I'm all ears. The bounty would be contingent on a fix for virtual and pure ALSA devices being committed to the PortAudio SVN repository and testing from us that ensures the problem is actually fixed. Thank you, Albert -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] Tiny bit of progress on our PortAudio bug - Let's consider a bounty
+1, or actually, +10$. Give me a paypal address and I'll toss in 10 bucks toward this bounty. owen On Thu, 2010-05-27 at 11:15 -0700, mad jester wrote: +1 on the bounty. My only comment is that I actually checked throught that code but I was looking at it the wrong way. I thought it was merely performance related and chalked it up to buffered audio being too slow. I hope the fresh eyes looking at this problem get to the bottom of all this mess. -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] Tiny bit of progress on our PortAudio bug - Let's consider a bounty
Dimitry of the PA team has already made some changes but needs someone on Linux to test: http://music.columbia.edu/pipermail/portaudio/2010-May/010283.html -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] Tiny bit of progress on our PortAudio bug - Let's consider a bounty
Good to see something is done about this issue, since it is the only thing keeping me from using Mixxx. I vote for it too, and can also chip in 10$ to speed up this process. If someone can help me with tools and strategies to debug this issue, I'm also willing to put some time on it. I'm a Java/C# developer with some basic knowledge of C/C++, but clueless about the tookit to use here. I also have a setup where it's easy to reproduce the issue. I'll start by doing some testing of the changes Pegasus mentioned this weekend. //Anders 2010/5/28 Sean M. Pappalardo - D.J. Pegasus spappala...@mixxx.org: Dimitry of the PA team has already made some changes but needs someone on Linux to test: http://music.columbia.edu/pipermail/portaudio/2010-May/010283.html -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] Tiny bit of progress on our PortAudio bug - Let's consider a bounty
I've tested to build latest PortAudio with Dmitrys pa_linux_alsa.c applied. I still experience the same issue. I've sent Dmitry a mail regarding this and offered help to provide information he needs to solve this. //Anders 2010/5/28 Anders Gunnarsson d00g...@gmail.com: Good to see something is done about this issue, since it is the only thing keeping me from using Mixxx. I vote for it too, and can also chip in 10$ to speed up this process. If someone can help me with tools and strategies to debug this issue, I'm also willing to put some time on it. I'm a Java/C# developer with some basic knowledge of C/C++, but clueless about the tookit to use here. I also have a setup where it's easy to reproduce the issue. I'll start by doing some testing of the changes Pegasus mentioned this weekend. //Anders 2010/5/28 Sean M. Pappalardo - D.J. Pegasus spappala...@mixxx.org: Dimitry of the PA team has already made some changes but needs someone on Linux to test: http://music.columbia.edu/pipermail/portaudio/2010-May/010283.html -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] Tiny bit of progress on our PortAudio bug - Let's consider a bounty
I think the money would be very well invested if the bug gets really fixed. More developer time for Mixxx core, less support time in the forum/irc , better user experience = +1 for the bounty. On the other hand sad to hear that only 600$ could be raised over the YEARS :-( jus -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] Tiny bit of progress on our PortAudio bug - Let's consider a bounty
Hello. Your reasoning on the bounty idea jibes with mine and sounds good to me. So here's my vote for it. (Unless any dormant developers want to jump in now...speak up!) Sean -- ___ Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel