[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2009-01-28 Thread Martin Pitt
** Tags added: verification-done ** Tags removed: verification-needed -- mnemosyne causes cpu usage in pulseaudio https://bugs.launchpad.net/bugs/290691 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2009-01-28 Thread Launchpad Bug Tracker
This bug was fixed in the package mnemosyne - 1.1-0ubuntu1.1 --- mnemosyne (1.1-0ubuntu1.1) intrepid-proposed; urgency=low * Change mnemosyne/pyqt_ui/sound.py so pulseaudio isn't activated when not needed (LP: #290691) * Fix import in mnemosyne/pyqt_ui/mnemosyne so it doesn't

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-11-25 Thread Peter Bienstman
Included in the recently released 1.2 (which incidentally also fixes some other bugs) ** Changed in: mnemosyne-proj Status: New = Fix Released -- mnemosyne causes cpu usage in pulseaudio https://bugs.launchpad.net/bugs/290691 You received this bug notification because you are a member of

Re: [Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-11-25 Thread Scott Kitterman
Thanks for the hint. I just uploaded 1.2 to Ubuntu Jaunty (which will become 9.04). -- mnemosyne causes cpu usage in pulseaudio https://bugs.launchpad.net/bugs/290691 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-11-04 Thread Launchpad Bug Tracker
This bug was fixed in the package mnemosyne - 1.1.1-0ubuntu1 --- mnemosyne (1.1.1-0ubuntu1) jaunty; urgency=low * New upstream release - Includes fix for (LP: #285793) * Change mnemosyne/pyqt_ui/sound.py to moderate CPU use when no sound is needed (LP: #290691) - In

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-11-03 Thread marmuta
Tested on my beat-up Intrepid install and found no more cpu usage. Sound works when needed and there were no obvious regressions. So, it works there. I tried to test on the current live cd, but the update had mysteriously vanished from intrepid-proposed. What happened? It's not in the repository

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-11-03 Thread marmuta
Poof! it's back. Tested on the live cd and found this bug solved with no obvious regressions. -- mnemosyne causes cpu usage in pulseaudio https://bugs.launchpad.net/bugs/290691 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

Re: [Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-11-02 Thread Peter Bienstman
Thanks a lot for the rapid patch! Feel free to apply it, I will also add it to the 1.x repository. Peter -- mnemosyne causes cpu usage in pulseaudio https://bugs.launchpad.net/bugs/290691 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-11-02 Thread Scott Kitterman
Fix uploaded for Jaunty. It'll be there once the archive is unfrozen. ** Changed in: mnemosyne (Ubuntu Intrepid) Importance: Undecided = Medium Assignee: (unassigned) = Scott Kitterman (kitterman) Status: New = In Progress ** Changed in: mnemosyne (Ubuntu) Status: In

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-11-02 Thread Scott Kitterman
motu-sru ack'ed via IRC. -- mnemosyne causes cpu usage in pulseaudio https://bugs.launchpad.net/bugs/290691 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-11-02 Thread Martin Pitt
Accepted into intrepid-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: mnemosyne (Ubuntu Intrepid) Status: In Progress = Fix Committed ** Tags

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-11-01 Thread Scott Kitterman
Based on a direct reply from upstream It look OK to me. In fact, I'll also add it to the 1.x codebase., I'm going to package this for SRU for Hardy and Intrepid. ** Changed in: mnemosyne (Ubuntu) Importance: Undecided = Medium Assignee: (unassigned) = Scott Kitterman (kitterman)

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-10-31 Thread marmuta
Done, here's the patch for mnemosyne 1.1-0ubuntu1. ** Attachment added: shutdown_idle_pygame_mixer.patch http://launchpadlibrarian.net/19138039/shutdown_idle_pygame_mixer.patch -- mnemosyne causes cpu usage in pulseaudio https://bugs.launchpad.net/bugs/290691 You received this bug

Re: [Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-10-31 Thread Peter Bienstman
On Friday 31 October 2008 00:07:16 marmuta wrote: Whatever the reason for the cpu usage, there shouldn't be a silent audio stream around anyway. Maybe mnemosyne really should take care of this. It would be super If that happened in 2.0 with phonon, but I'm also willing to contribute a patch

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-10-30 Thread marmuta
Hi, thanks for answering so quickly :) When I run it with alsa the cpu usage just shifts to mnemosyne (on a Intrepid RC live cd): [EMAIL PROTECTED]:~$ pulseaudio -k W: ltdl-bind-now.c: Failed to find original dlopen loader. [EMAIL PROTECTED]:~$ SDL_AUDIODRIVER=alsa mnemosyne [1] 8945 [EMAIL

Re: [Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-10-30 Thread Peter Bienstman
But still, opening a mixer stream which is idle should not take all the CPU time, so I'm inclined to think this is pygame regression, as with previous pygame versions it worked fine. I agree that it would be in principle possible to work around this in Mnemosyne, but the upcoming 2.x codebase

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-10-30 Thread marmuta
I agree that it shouldn't eat cpu when not explicitely asked to play. On the other hand, I could imagine this being a design choice for (game) performance reasons. The issue is probably low latency, no need to restart the sound hardware for each bullet. I had a closer look at the pygame and

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-10-29 Thread marmuta
This workaround stops it from playing any audio, including sound in flash cards: $ SDL_AUDIODRIVER=none mnemosyne It shows an error but runs anyway: Unable to initialise sound. Traceback (most recent call last): File /var/lib/python-support/python2.5/mnemosyne/pyqt_ui/sound.py, line 43, in

[Bug 290691] Re: mnemosyne causes cpu usage in pulseaudio

2008-10-29 Thread Peter Bienstman
This is a pulseaudio/pygame issue, not a Mnemosyne one. Using e.g. the alsa driver, I don't see this behaviour. Peter -- mnemosyne causes cpu usage in pulseaudio https://bugs.launchpad.net/bugs/290691 You received this bug notification because you are a member of Ubuntu Bugs, which is