[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again! ** Changed in: openal (Ubuntu) Status: Incomplete => Invalid -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
no, I'm not able to reproduce it, I assume it's fixed. -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
A default 8.10 install reroutes native ALSA applications through PulseAudio. Are you able to reproduce the symptom thusly? -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
This doesn't explain why it works on my centrino laptop and not on my dual-core Desktop, let alone the other findings I mentioned. -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
I don't think that this is a bug. If i don't remember wrong, lesson8 it's an example that makes a busy loop checking at which state are the sound buffers. It's not a sane way to check, openal lib and alsa require a bit of cpu to work :) -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
Well, this turns out to be an OpenAL <-> Alsa problem, it happens on my desktop(which has a ICH9R intel-hda card, ALC889A) but not on my laptop(which has a ICH6, AC97 Audio card) -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
I'm not trying to spam you but I got more info: the default /etc/openalrc that comes with Ubutntu 8.04 contains the following: (define devices '(alsa)) (define alsa-out-device "default") It's the last line that causes problems and creating a ~/.openalrc overrides these setting completely, /etc/openalrc is not used anymore, if your ~/.openalrc is empty or contains anything other than the 2 lines above, you shouldn't have any problems. -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
After more investigation and examining the source-code, I found out that when ~/.openalrc exists but is empty, oss is used but when it's not alsa is used. Why this happens? When ~/.openalrc exists but is empty, openal uses the default device which is oss. When ~/.openalrc doesn't exist, /etc/openalrc is used, which specifies the default device as alsa, so alsa is used. I think that when a user config file exists but doesn't specify something, the value in the global config file should be used but obviously this isn't what happens here. -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
$apt-cache policy libopenal0a libopenal0a: Installed: 1:0.0.8-7 Candidate: 1:0.0.8-7 Version table: *** 1:0.0.8-7 0 500 http://us.archive.ubuntu.com hardy/main Packages 100 /var/lib/dpkg/status -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
I faced this problem a couple of days ago and did some investigation about it, here are my conclusions: 1- This bug has nothing to do with ogg or vorbis 2- It only happens when there's no ~/.openalrc(I haven't tried anything with /etc/openalrc), creating an empty ~/.openalrc avoids any problem. I developed a small minimal program with only openal and alut as dependencies to reproduce it, here's how to reproduce the bug: - Make sure you have no ~/.openalrc - Use play, aplay or paplay to listen to how /usr/share/sounds/login.wav sounds when played correctly. - Run the attached program and you'll hear significant clicks and gaps, in addition to the sound being faster than it actually is. - Create an empty ~/.openalrc by running 'touch ~/.openalrc' and run the attached program again, it'll work properly. The source code uses alut to do initialization and plays /usr/share/sounds/login.wav by default which I assume to exist on all Ubuntu variants. ** Attachment added: "A minimal application to reproduce the problem." http://launchpadlibrarian.net/17783525/openal_problem.zip -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 192573] Re: plays all sounds fragmentary on alsa backend.
** Summary changed: - OpenAL plays all sounds fragmentary. Ubunut 7.10 + plays all sounds fragmentary on alsa backend. ** Description changed: - Streaming an ogg vorbis file onto OpenAL on Ubuntu causes the sound to - play fragmentary. Same source works on Windows, so Bug has to be in - OpenAL lib. Also tested other OpenAL apps, same problem. + Streaming an ogg vorbis file onto OpenAL on Ubuntu causes the sound to play fragmentary. + This works with oss backend. + Same source works on Windows. + + example code: http://www.devmaster.net/articles/openal- + tutorials/lesson8_linux.tar.bz2 -- plays all sounds fragmentary on alsa backend. https://bugs.launchpad.net/bugs/192573 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs