Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Hello Colin and Daniel! I just found the following Ubuntu PPA repo: https://launchpad.net/~scottritchie/+archive/ppa which includes the latest release of OpenAL. I installed it and now mplayer works fine. Yay! Daniel: *Please* backport it to Lucid (lucid-updates or lucid-backport). I am sure it breaks on many systems. Colin: If you can break the freeze, perhaps this is the moment. The latest release of OpenAL solves the problems I had. Thank you all! Best regards, Mihai Le Tue, 11 May 2010 16:33:55 +0300, Colin Guthrie gm...@colin.guthr.ie a écrit: Well that seems to cover it, but it hardly represents the seriousness of the problem. It suggests a marginal speed improvement, not the fix for a bug. That's not ideal. Packagers in all distros need to be able to have good information available to decide whether or not updating is a sensible thing. Right now I'm trying to evaluate whether or not it's wise for me to break freeze and push this updated version through. We've got enough time to do this, but just simply looking at the change log, I wouldn't have thought it was a necessary upgrade by any means. Col -- Mihai Sucan http://www.robodesign.ro ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
On Thu, May 13, 2010 at 1:26 PM, Mihai Sucan mihai.su...@gmail.com wrote: Daniel: *Please* backport it to Lucid (lucid-updates or lucid-backport). I am sure it breaks on many systems. We won't technically backport (lucid-backports) it; it'll land in lucid-proposed shortly. Best, -Dan ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
On Thu, May 13, 2010 at 2:30 PM, Daniel Chen seven.st...@gmail.com wrote: We won't technically backport (lucid-backports) it; it'll land in lucid-proposed shortly. It has been accepted (for building) into lucid-proposed. You may wish to track https://bugs.launchpad.net/bugs/351732 . Best, -Dan ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Hi Daniel, 'Twas brillig, and Daniel Chen at 10/05/10 21:20 did gyre and gimble: On Mon, May 10, 2010 at 12:06 PM, Mihai Sucan mihai.su...@gmail.com wrote: Tested with a Guest session (temporarily created user account, always fresh/clean). The same happens. I simply start mplayer and pulseaudio stops outputting any sound. According to http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-May/079934.html this symptom is caused by the outdated version of openal-soft shipped in Ubuntu 10.04 LTS. The remarks in that thread are unfortunately ignorant of the fact that the tag date for 1.12.854 was Tue, 30 Mar 2010 05:05:21 + (22:05 -0700), which was much too close to Lucid's release date. Also importantly, unless there is a significantly compelling reason, the Lucid development cycle synced directly (without any Ubuntu changes) from Debian testing. Please note that of this writing, the version of openal-soft in Debian testing *and* unstable remains the precise version that shipped in Ubuntu 10.04 LTS: Just out of curiosity, did he refer the 1.12.854 version? Am I right in saying that the version which is hideously broken is the 1.11.753? If so, it doesn't seem to mention this fact in the 1.12.854 release notes which I find confusing. I'm not that familiar with openal-soft so can't really comment, but I want to make sure we avoid any similar problems (considering there are enough other problems right now...) Col $ apt-cache madison openal-soft openal-soft | 1:1.11.753-1 | http://us.archive.ubuntu.com/ubuntu/ lucid/universe Sources $ rmadison -uqa openal-soft openal-soft | 1:1.4.272-2 |stable | source openal-soft | 1:1.9.563-1 | unstable | source openal-soft | 1:1.11.753-1 | testing | source openal-soft | 1:1.11.753-1 | unstable | source Of course this instance is an unfortunate example of newer software being released while the distribution was in a freeze state. In fact, WINE as shipped in Lucid suffers from the same classes of problems. At this point, the only hope of getting a newer openal-soft into Lucid lies in getting it backported from Maverick, which means that someone needs to generate and upload that source package to Maverick (which may well mean Luke, myself, or any other dev, but we're all quite jet-lagged ATM). Best, -Dan -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Hello Dan! Thank you for your detailed answer. It is an unfortunate situation, but I do agree, it's not Ubuntu's fault per-se, it is certainly understandable/acceptable. Nonetheless, this is Ubuntu 10.04 LTS and I will, perhaps, not upgrade to Maverick. Perhaps I will wait for the next LTS release. Could the new/fixed release of OpenAL be back-ported to Lucid? I do not want to stick two years with broken mplayer/wine audio, nor do I want to make my own horrible home-patches to the Ubuntu installation - I mean I wouldn't like to compile my own openal and/or mplayer packages. That is the only thing I ask: lucid-backport ... or an Ubuntu PPA from where me and many other users can get it. If this is possible, please let me know, so I can test it. Thank you again Daniel. Best regards, Mihai Le Mon, 10 May 2010 23:20:07 +0300, Daniel Chen seven.st...@gmail.com a écrit: On Mon, May 10, 2010 at 12:06 PM, Mihai Sucan mihai.su...@gmail.com wrote: Tested with a Guest session (temporarily created user account, always fresh/clean). The same happens. I simply start mplayer and pulseaudio stops outputting any sound. According to http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-May/079934.html this symptom is caused by the outdated version of openal-soft shipped in Ubuntu 10.04 LTS. The remarks in that thread are unfortunately ignorant of the fact that the tag date for 1.12.854 was Tue, 30 Mar 2010 05:05:21 + (22:05 -0700), which was much too close to Lucid's release date. Also importantly, unless there is a significantly compelling reason, the Lucid development cycle synced directly (without any Ubuntu changes) from Debian testing. Please note that of this writing, the version of openal-soft in Debian testing *and* unstable remains the precise version that shipped in Ubuntu 10.04 LTS: $ apt-cache madison openal-soft openal-soft | 1:1.11.753-1 | http://us.archive.ubuntu.com/ubuntu/ lucid/universe Sources $ rmadison -uqa openal-soft openal-soft | 1:1.4.272-2 |stable | source openal-soft | 1:1.9.563-1 | unstable | source openal-soft | 1:1.11.753-1 | testing | source openal-soft | 1:1.11.753-1 | unstable | source Of course this instance is an unfortunate example of newer software being released while the distribution was in a freeze state. In fact, WINE as shipped in Lucid suffers from the same classes of problems. At this point, the only hope of getting a newer openal-soft into Lucid lies in getting it backported from Maverick, which means that someone needs to generate and upload that source package to Maverick (which may well mean Luke, myself, or any other dev, but we're all quite jet-lagged ATM). Best, -Dan -- Mihai Sucan http://www.robodesign.ro ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Le Tue, 11 May 2010 14:02:09 +0300, Colin Guthrie gm...@colin.guthr.ie a écrit: Hi Daniel, 'Twas brillig, and Daniel Chen at 10/05/10 21:20 did gyre and gimble: On Mon, May 10, 2010 at 12:06 PM, Mihai Sucan mihai.su...@gmail.com wrote: Tested with a Guest session (temporarily created user account, always fresh/clean). The same happens. I simply start mplayer and pulseaudio stops outputting any sound. According to http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-May/079934.html this symptom is caused by the outdated version of openal-soft shipped in Ubuntu 10.04 LTS. The remarks in that thread are unfortunately ignorant of the fact that the tag date for 1.12.854 was Tue, 30 Mar 2010 05:05:21 + (22:05 -0700), which was much too close to Lucid's release date. Also importantly, unless there is a significantly compelling reason, the Lucid development cycle synced directly (without any Ubuntu changes) from Debian testing. Please note that of this writing, the version of openal-soft in Debian testing *and* unstable remains the precise version that shipped in Ubuntu 10.04 LTS: Just out of curiosity, did he refer the 1.12.854 version? Am I right in saying that the version which is hideously broken is the 1.11.753? If so, it doesn't seem to mention this fact in the 1.12.854 release notes which I find confusing. I'm not that familiar with openal-soft so can't really comment, but I want to make sure we avoid any similar problems (considering there are enough other problems right now...) This is an interesting point, indeed. I do recommend contacting Reimar for further details. I can only offer my system for testing - that is, if there's any package of openal available that might fix this issue, then I shall be told, to see if it does really fix the issue I am reporting, or not. Best regards, Mihai -- Mihai Sucan http://www.robodesign.ro ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
'Twas brillig, and Daniel Chen at 10/05/10 21:20 did gyre and gimble: According to http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-May/079934.html this symptom is caused by the outdated version of openal-soft shipped in Ubuntu 10.04 LTS. On Tue, May 11, 2010 at 1:02 PM, Colin Guthrie gm...@colin.guthr.ie wrote: Just out of curiosity, did he refer the 1.12.854 version? Am I right in saying that the version which is hideously broken is the 1.11.753? It appears that he didn't mention a specific version at all, only that Ubuntu shippes a completely broken OpenAL version -- which, presuming that 10.04 LTS is in fact the discussed release, can only point to 1.11753. The only newer release that I can see is 1.12.854. I'm in complete agreement that the 1.12.854 release notes don't seem to mention any fix of hideous brokenness. Best, -Dan ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Le Tue, 11 May 2010 14:10:57 +0300, Daniel Chen seven.st...@gmail.com a écrit: 'Twas brillig, and Daniel Chen at 10/05/10 21:20 did gyre and gimble: According to http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-May/079934.html this symptom is caused by the outdated version of openal-soft shipped in Ubuntu 10.04 LTS. On Tue, May 11, 2010 at 1:02 PM, Colin Guthrie gm...@colin.guthr.ie wrote: Just out of curiosity, did he refer the 1.12.854 version? Am I right in saying that the version which is hideously broken is the 1.11.753? It appears that he didn't mention a specific version at all, only that Ubuntu shippes a completely broken OpenAL version -- which, presuming that 10.04 LTS is in fact the discussed release, can only point to 1.11753. The only newer release that I can see is 1.12.854. I'm in complete agreement that the 1.12.854 release notes don't seem to mention any fix of hideous brokenness. From the 1.12.854 release notes: * Improved library load time by delaying backend device probing until needed. It seems exactly what I reported: mplayer (with openal) probes backend devices when it's not needed. Hence, I am quite very much interested to test this release. Best regards, Mihai -- Mihai Sucan http://www.robodesign.ro ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
'Twas brillig, and Mihai Sucan at 11/05/10 12:17 did gyre and gimble: Le Tue, 11 May 2010 14:10:57 +0300, Daniel Chen seven.st...@gmail.com a écrit: 'Twas brillig, and Daniel Chen at 10/05/10 21:20 did gyre and gimble: According to http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-May/079934.html this symptom is caused by the outdated version of openal-soft shipped in Ubuntu 10.04 LTS. On Tue, May 11, 2010 at 1:02 PM, Colin Guthrie gm...@colin.guthr.ie wrote: Just out of curiosity, did he refer the 1.12.854 version? Am I right in saying that the version which is hideously broken is the 1.11.753? It appears that he didn't mention a specific version at all, only that Ubuntu shippes a completely broken OpenAL version -- which, presuming that 10.04 LTS is in fact the discussed release, can only point to 1.11753. The only newer release that I can see is 1.12.854. I'm in complete agreement that the 1.12.854 release notes don't seem to mention any fix of hideous brokenness. From the 1.12.854 release notes: * Improved library load time by delaying backend device probing until needed. It seems exactly what I reported: mplayer (with openal) probes backend devices when it's not needed. Well that seems to cover it, but it hardly represents the seriousness of the problem. It suggests a marginal speed improvement, not the fix for a bug. That's not ideal. Packagers in all distros need to be able to have good information available to decide whether or not updating is a sensible thing. Right now I'm trying to evaluate whether or not it's wise for me to break freeze and push this updated version through. We've got enough time to do this, but just simply looking at the change log, I wouldn't have thought it was a necessary upgrade by any means. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Hello Colin! Le Tue, 11 May 2010 16:33:55 +0300, Colin Guthrie gm...@colin.guthr.ie a écrit: From the 1.12.854 release notes: * Improved library load time by delaying backend device probing until needed. It seems exactly what I reported: mplayer (with openal) probes backend devices when it's not needed. Well that seems to cover it, but it hardly represents the seriousness of the problem. It suggests a marginal speed improvement, not the fix for a bug. That's not ideal. Packagers in all distros need to be able to have good information available to decide whether or not updating is a sensible thing. Right now I'm trying to evaluate whether or not it's wise for me to break freeze and push this updated version through. We've got enough time to do this, but just simply looking at the change log, I wouldn't have thought it was a necessary upgrade by any means. You are correct, but that might be an error on the part of the one who wrote the release notes. For me, ultimately, there is no way to know if the bug affecting my system is fixed or not in the latest release, unless I get a build of the OpenAL package on Ubuntu (backport, PPA, any solution is fine). So, I am going to wait. I hope Daniel or someone else will kick-in with a test package so I can test and provide further feedback. Thanks again - you've been very helpful. Best regards, Mihai -- Mihai Sucan http://www.robodesign.ro ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Hello Colin! Le Mon, 10 May 2010 02:28:33 +0300, Colin Guthrie gm...@colin.guthr.ie a écrit: 'Twas brillig, and Mihai Sucan at 09/05/10 19:27 did gyre and gimble: In the early days I did get this warning: bt_audio_service_open: connect() failed: Connection refused (111) ... but that was simply because of the bluez-alsa package. I found online info that removing the package solves this minor issue. I removed the package and, indeed, I no longer see the warning. Do you have any customisations to your ~/.asoundrc? No, I do not have ~/.asoundrc at all. Perhaps you can test with a fresh user account? Tested with a Guest session (temporarily created user account, always fresh/clean). The same happens. I simply start mplayer and pulseaudio stops outputting any sound. My account (robod) is as clean as it gets - it's only two weeks since I got this new machine, fresh Ubuntu 10.04 installation, I did not copy some home folder from any previous system installations, etc. Best regards, Mihai -- Mihai Sucan http://www.robodesign.ro ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Hello everyone! A follow-up to the problem I have: Reimar Döffinger replied with a concise answer to the problem on the mplayer-users mailing list: http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-May/079933.html ... which is fun to read. Thanks Reimar :) Any further expert opinions on this matter? I wouldn't like to go through hoops of compilation fun to get a working OpenAL / MPlayer. If I am not mistaken, this bug is known at Ubuntu. Best regards, Mihai Le Sun, 09 May 2010 14:23:14 +0300, Colin Guthrie gm...@colin.guthr.ie a écrit: Hi, Just for clarity to others reading, we discussed and tried to debug this issue a lot on IRC already, so I'm familiar with the problem. 'Twas brillig, and Mihai Sucan at 09/05/10 12:06 did gyre and gimble: 4. somehow i think that mplayer -ao pulse does pretty much the same as it does mplayer -ao oss from the rvm Ubuntu PPA. The latter did take control of the sound card, via OSS. The former does somehow take control of the sound card, pulseaudio looses it, then mplayer happily goes on to use pulseaudio for subsequent audio stream output, but now ... pulseaudio is silenced. Well mplayer -ao oss will bypass pulse completely and, as you say, basically hog the sound h/w. You can theoretically use: padsp mplayer -ao oss and that should redirect oss output via PA too, but this may or may not work overly reliably (aka YMMV). The interesting thing about the report is that when PA stops outputting audible sound, the vumeters are properly moving up and down which means that the sinks are not suspended, nor are the sinks unloaded and replaced with a Dummy Output (null-sink) because they've been unloaded. In other words everything seems setup to work correctly but the reasons are eluding us! One thing you don't mention above, but is included in your debug output is the fact that the alsa mixer output is not any different before vs. after the problem. My initial hypothesis was that mplayer was somehow flipping the digital output switch in alsa, thus causing it to seem like it had simply stopped working. However analysis of the amixer output seems to kill this idea. So if anyone else has any bright ideas, please speak up! Col -- Mihai Sucan http://www.robodesign.ro ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Hello everyone! I have Ubuntu 10.04 (AMD64), cleanly installed on a new system I bought, an Intel Pentium Dual Core E6500 with an Asrock P5B-DE mother board, 3 GB of DDR2 memory. This mother board comes with an HDA Intel onboard audio card, HDA Intel, that has the Via VT1708S codec. This onboard audio card does not have the ability to do hardware mixing as it seems. I also have a TV tuner which is connected via the line-in port. Even if capturing is enabled in alsamixer, for the linein, I cannot hear any sound (no hw mixing). This is why I workaround the issue with the loopback-module provided by PulseAudio. Everything else seems to work fine, PulseAudio mixes all audio streams nicely. The problem is with mplayer. I cannot play *any* sound with it, and worse, it causes PulseAudio to go bonkers. Once I start mplayer, I cannot hear any sound, from any application. I tested mplayer from the default Ubuntu repositories [1] and a much newer build from the RVM Ubuntu PPA repository [2] (the author of SMPlayer, if I am not mistaken). Both behave quite much the same. Usage scenario #1: 1. No sounds playing. 2. Start mplayer -ao pulse video_with_audio.avi. Expected result: video plays together with audio. Actual result: video plays without any audible sound. More info: if I try to play other sounds with other apps (say vlc or gnome system sounds), they all seem to work fine, but I can no longer hear them, just like with mplayer. Mplayer seems to work fine - no errors, but I cannot hear anything. pavucontrol shows the mplayer (and other audio streams). The VU meter indicates proper audio stream activity, all is fine. No volume is muted/low, no stream is suspended (pacmd ls), nothing shows wrong. Semi-workarounds: - pulseaudio --kill. This restarts the PulseAudio system and then it works fine again. - change card profile (say from stereo to 7.1 and back). This makes PulseAudio output sound again. If I do this while mplayer plays the video file, I can hear its own audio stream fine. This means that only the initialization of mplayer makes pulseaudio go bonkers. Usage scenario #2: 1. Start vlc video_with_audio.avi. (making sure it is configured to use PulseAudio output). Sound plays fine. 2. Start mplayer -ao pulse another_video_with_audio.avi. Expected result: I can see both videos playing and I can hear both audio streams mixed. Actual result: I can see both videos playing, but no sound. Even the sound from vlc goes mute. Again, there are no indications of errors from any of the players, nor from pacmd ls, nor from pavucontrol. I can see both audio streams playing fine. Same semi-workarounds apply. Usage scenario #3: 1. Start mplayer -ao alsa/jack/etc. It's all the same as -ao pulse, with some notable differences: a) mplayer from default Ubuntu repos allows the use of -ao esd, which no longer breaks PulseAudio and the audio stream *almost* plays fine. It does not play fine, because after a few random seconds it stops - I can no longer hear sound. If I seek within the file with mplayer, then it resets some buffers and I can hear the audio stream again, and so on. At least it doesn't break PA. ;) b) mplayer from RVM Ubuntu PPA ... behaves with -ao esd as it does with -ao pulse. However, -ao oss works fine. I can hear the audio stream with no problems. Nonetheless, -ao oss manages to take over PulseAudio and that means any sounds coming from PulseAudio are not heard by me. Once I stop mplayer the situation does not 'recover', I need to kill pulseaudio or change the card profile back and forth. Usage scenario #4: 1. Start mplayer. No -ao pulse, no video/audio file, just so we can see its command line help. Expected result: I get the mplayer help and that there's no sound output, and that it does not affect PulseAudio. Actual result: mplayer somehow manages to break PulseAudio once again, irrespective of -ao pulse, irrespective of giving it any video/audio file to play. WTF? moment here. Debugging the problem: 1. Starting mplayer with -msglevel all=9 shows no errors at all. 2. pacmd ls and other lists/infos from pacmd do not show errors/problems. 3. pacmd set-log-level 4 does, finally, show errors in /var/log/syslog. The gist of the problem lies in: pulseaudio[8713]: client.c: Created 30 Native client (UNIX socket client) pulseaudio[8713]: client.c: Freed 30 Native client (UNIX socket client) pulseaudio[8713]: protocol-native.c: Connection died. pulseaudio[8713]: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes pulseaudio[8713]: last message repeated 10 times pulseaudio[8713]: client.c: Created 31 Native client (UNIX socket client) pulseaudio[8713]: protocol-native.c: Protocol version: remote 16, local 16 pulseaudio[8713]: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1 pulseaudio[8713]: protocol-native.c: SHM possible: yes pulseaudio[8713]: protocol-native.c: Negotiated SHM: yes pulseaudio[8713]: module-augment-properties.c: Looking for .desktop file for
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Hi, Just for clarity to others reading, we discussed and tried to debug this issue a lot on IRC already, so I'm familiar with the problem. 'Twas brillig, and Mihai Sucan at 09/05/10 12:06 did gyre and gimble: 4. somehow i think that mplayer -ao pulse does pretty much the same as it does mplayer -ao oss from the rvm Ubuntu PPA. The latter did take control of the sound card, via OSS. The former does somehow take control of the sound card, pulseaudio looses it, then mplayer happily goes on to use pulseaudio for subsequent audio stream output, but now ... pulseaudio is silenced. Well mplayer -ao oss will bypass pulse completely and, as you say, basically hog the sound h/w. You can theoretically use: padsp mplayer -ao oss and that should redirect oss output via PA too, but this may or may not work overly reliably (aka YMMV). The interesting thing about the report is that when PA stops outputting audible sound, the vumeters are properly moving up and down which means that the sinks are not suspended, nor are the sinks unloaded and replaced with a Dummy Output (null-sink) because they've been unloaded. In other words everything seems setup to work correctly but the reasons are eluding us! One thing you don't mention above, but is included in your debug output is the fact that the alsa mixer output is not any different before vs. after the problem. My initial hypothesis was that mplayer was somehow flipping the digital output switch in alsa, thus causing it to seem like it had simply stopped working. However analysis of the amixer output seems to kill this idea. So if anyone else has any bright ideas, please speak up! Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Hello Colin! Thanks for your clarifications. Le Sun, 09 May 2010 14:23:14 +0300, Colin Guthrie gm...@colin.guthr.ie a écrit: Hi, Just for clarity to others reading, we discussed and tried to debug this issue a lot on IRC already, so I'm familiar with the problem. 'Twas brillig, and Mihai Sucan at 09/05/10 12:06 did gyre and gimble: 4. somehow i think that mplayer -ao pulse does pretty much the same as it does mplayer -ao oss from the rvm Ubuntu PPA. The latter did take control of the sound card, via OSS. The former does somehow take control of the sound card, pulseaudio looses it, then mplayer happily goes on to use pulseaudio for subsequent audio stream output, but now ... pulseaudio is silenced. Well mplayer -ao oss will bypass pulse completely and, as you say, basically hog the sound h/w. You can theoretically use: padsp mplayer -ao oss and that should redirect oss output via PA too, but this may or may not work overly reliably (aka YMMV). The result of calling padsp mplayer -ao oss is the same: 1. I can see now mplayer with OSS emulation in pavucontrol, vu meter is fine, audio stream activity, etc. 2. I hear no sound, pulseaudio is borked/hogged. 3. Changing the card profile back and forth does make it work, while mplayer is running. So, no luck. Best regards, Mihai -- Mihai Sucan http://www.robodesign.ro ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
On 2010-05-09 13:06, Mihai Sucan wrote: The problem is with mplayer. I cannot play *any* sound with it, and worse, it causes PulseAudio to go bonkers. Once I start mplayer, I cannot hear any sound, from any application. I tested mplayer from the default Ubuntu repositories [1] and a much newer build from the RVM Ubuntu PPA repository [2] (the author of SMPlayer, if I am not mistaken). Both behave quite much the same. I'm not sure, but this could be worth a look: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580113 ...to see if that is what you have encountered as well, or if it is related. // David ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
Hello David! Thanks for your reply. Le Sun, 09 May 2010 20:26:38 +0300, David Henningsson launchpad@epost.diwic.se a écrit: On 2010-05-09 13:06, Mihai Sucan wrote: The problem is with mplayer. I cannot play *any* sound with it, and worse, it causes PulseAudio to go bonkers. Once I start mplayer, I cannot hear any sound, from any application. I tested mplayer from the default Ubuntu repositories [1] and a much newer build from the RVM Ubuntu PPA repository [2] (the author of SMPlayer, if I am not mistaken). Both behave quite much the same. I'm not sure, but this could be worth a look: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580113 ...to see if that is what you have encountered as well, or if it is related. The problem does not seem to be related with mine - the mplayer release in Ubuntu repos is much older and I get no errors from MPlayer. In the early days I did get this warning: bt_audio_service_open: connect() failed: Connection refused (111) ... but that was simply because of the bluez-alsa package. I found online info that removing the package solves this minor issue. I removed the package and, indeed, I no longer see the warning. (I do not use bluetooth, so the package removal does not affect my usage.) Other ALSA-based applications play sounds fine, for example Flash Player 10.0. Best regards, Mihai -- Mihai Sucan http://www.robodesign.ro ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04
'Twas brillig, and Mihai Sucan at 09/05/10 19:27 did gyre and gimble: In the early days I did get this warning: bt_audio_service_open: connect() failed: Connection refused (111) ... but that was simply because of the bluez-alsa package. I found online info that removing the package solves this minor issue. I removed the package and, indeed, I no longer see the warning. Do you have any customisations to your ~/.asoundrc? Perhaps you can test with a fresh user account? Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss