[Bug 566381] Re: Lag when using module-loopback
Same on 16.04 ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/566381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
Ubuntu 15.04 (vivid) reached end-of-life on February 4, 2016. But 14.04 is still supported for about two more years... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/566381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
Also on 14.04 and affected by this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/566381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
Sorry, meant to say on 15.04, not 14.04. ** Tags added: vivid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/566381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
I'm using Ubuntu 14.04 and there is a lag when using module-loopback. Are there any plans to fix this bug? ** Changed in: pulseaudio (Ubuntu) Status: Expired => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/566381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.] ** Changed in: pulseaudio (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/566381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
https://wiki.ubuntu.com/PulseAudio/Log https://bugs.freedesktop.org/enter_bug.cgi?product=PulseAudio ** Changed in: pulseaudio (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/566381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
so I still have to wire the card to the motherboard's CD-in connector, and get the sound from ALSA's CD input channel. try options snd-hda-intel model=6stack-digout use line in instead of CD or use hdajackretask or early patching to set node 0x1c to CD to get CD playback volume/switch at node 0x0b Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0xaa 0xaa] [0xa3 0xa3] [0x80 0x80] [0x80 0x80] Connection: 8 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 Node 0x1c [Pin Complex] wcaps 0x41: Stereo Pincap 0x0020: IN Pin Default 0x: [Jack] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0x0, Sequence = 0x0 Pin-ctls: 0x00: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/566381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
can confirm this problem exists in 13.10 tried the workarounds with pacat but to no avail, but there is some strange but consistent behaviour: initially the latency is around the sub 50ms mark, but every 10secs it increases exponentially until you get a 1sec delay -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/566381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
I can confirm that this still exists in 11.04. I did find a work around for it though. Similar to what Brian wrote above I ran: pacat -r --latency-msec=1 -d [input] | pacat -p --latency-msec=1 -d [output] where [input] and [output] where the names of the audio devices shown in paman. In my case it looked like: pacat -r --latency-msec=1 -d alsa_input.pci-_05_02.0.analog-stereo | pacat -p --latency-msec=1 -d alsa_output.pci-_05_02.0.analog- surround-51 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/566381/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
This is about the support of a fundamental functionality any soundcard provides and 99% of the not only playbacking users do. Any sound system should support this out of the box and without any need to have a deeper understanding, browse faqs, forums and without the need to do special things on command line. I dont give a S... for networked audio if I cant do the most basic things that I could do with soundblaster on linux slackware 15 years ago. I have no understanding whatsoever why this is an issue at all. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
I am also affected by this latency issue with the loopback module. However, while playing around with pavucontrol I noticed it go away (for the most part, still a slight lag, but seems to be under 10 ms (instead of the 500 ms - 1 s I had before). Unfortunately, the latency issue returned later. Then I stumbled across post #11 of http://ubuntuforums.org/showthread.php?t=1324135page=2. For some reason, if you open up pavucontrol, go to the Recording tab and switch Show to All Streams, then the latency gets much better. Close pavucontrol and it returns. So, whatever pavucontrol does when you switch to monitoring all recording streams should be the answer to this problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
Another method, which seems to give even less lag is to *not* load the loopback module, but instead use parec and pacat. e.g. parec --latency-msec=1 | pacat --latency-msec=1 You can probably lengthen these to a few msec. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
Same problem here with 10.04 LTS. Come on, a *second* delay on a GHz machine is appalling! And the inability to get that down to an acceptable delay for acceptable human reception, in particular when it apparently worked fine with the alsa module, is just pathetic. Why is nothing being done? There are complaints about this going back over a year to 9.10! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
Just to add, the alsa suggestion of comment 20 is not appearing to work on this laptop (Intel Corporation N10/ICH 7 Family High Definition Audio Controller), and it also is bizarre that you need to specially load the loop-back module from the command line to allow mic mixing in to the audio stream. Why is that? Due to it not working well enough? It should be a tick-box or similar in the Sound Preferences... GUI so non-technical users can do what should be simple straightforward. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566381 Title: Lag when using module-loopback -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566381] Re: Lag when using module-loopback
I'm having the same problem. I timed the delay using a stopwatch, it's about 1.1 seconds! The delay is the same using module-loopback and Multicast/RTP. -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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 566381] Re: Lag when using module-loopback
This is a critical bug generating endless reports from Ubuntu users. Note that even with 'pactl load-module module-loopback latency_msec=1', there is still some lag. http://ubuntuforums.org/showthread.php?t=1324135 http://ubuntuforums.org/showthread.php?t=1428389 http://ubuntuforums.org/showthread.php?t=1498341 http://ubuntuforums.org/showthread.php?t=869177 http://ubuntuforums.org/showthread.php?t=1373692 I myself cannot believe why this important feature affecting so many people is still left unfixed. Loopback used to work on Ubuntu, but now it doesn't because of the introduction of pulseaudio. What's stopping you from working on this? Why is it taking so long? Russ No, it does not work on most systems. ** Changed in: pulseaudio (Ubuntu) Status: New = Confirmed -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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 566381] Re: Lag when using module-loopback
In the mean time you can: * go the terminal * Type alsamixer and hit enter * go right a bunch till you find the input you are looking for ( you may have to go past the end of the screen) * make sure you turn the volume up and press m to unmute (if necessary) * you should hear your guitar / tv / game console etc -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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 566381] Re: Lag when using module-loopback
The Multicast/RTP workaround is having the same kind of delay for me. -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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 566381] Re: Lag when using module-loopback
Network traffic just for audio shouldn't really be a problem, even really high quality audio is typically 1MB a second. I'm pretty sure your typical network card should handle that just fine, I mean we've done likewise with video on our home network without a problem, high quality mkvs at that. So I feel like it is some problem in the implementation of routing it back, or this might all be related to jackd? I don't really know anything about it though, so I could be entirely wrong. -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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 566381] Re: Lag when using module-loopback
Same problem here, worked fine back in 9.10, also if you install the other packages (paprefs) and go to SystemPreferencesPulseAudio Preferences and then to the Multicast/RTP tab and enable both the sender and receiver, then check loop audio to local speakers then the audio is not delayed, but is very choppy, chops incessantly, I don't know if this is related to the delay problem using the loopback module, so it might work as a workaround for some people, but is not for me. Audacity offers a playthrough option that works perfectly for me, no delay, no choppiness, except that I have to be recording in order to use it. Hopefully this problem is fixed soon, I can run any commands anyone provides to gather more data on the problem. -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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 566381] Re: Lag when using module-loopback
That's an interesting alternate way of doing this. FYI Multicast/RTP is for network shared audio. So your method works by having the computer send an audio stream to it self over the network. The sound is so choppy because an audio stream up and down is to much data for a network card to handle. Even if the sound was not choppy all the new network traffic would still be a problem. -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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 566381] Re: Lag when using module-loopback
Several people are having this issue. http://ubuntuforums.org/showthread.php?t=1373692 I also saw a post that said something about a buffer being to large but I can not find it again so it may have been for a different issue. -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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 566381] Re: Lag when using module-loopback
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21. Architecture: i386 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC1: jack 1260 F pulseaudio /dev/snd/controlC0: jack 1260 F pulseaudio Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf200 irq 16' Mixer name : 'Realtek ALC880' Components : 'HDA:10ec0880,0880,00090500' Controls : 38 Simple ctrls : 21 Card1.Amixer.info: Card hw:1 'SAA7134'/'saa7133[0] at 0xf1004000 irq 19' Mixer name : 'SAA7134 Mixer' Components : '' Controls : 6 Simple ctrls : 3 DistroRelease: Ubuntu 10.04 InstallationMedia: Ubuntu 10.04 LTS Lucid Lynx - Release i386 (20100429) NonfreeKernelModules: nvidia Package: pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14 PackageArchitecture: i386 ProcEnviron: PATH=(custom, user) LANG=hu_HU.utf8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2 Tags: lucid Uname: Linux 2.6.32-22-generic i686 UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare dmi.bios.date: 09/02/2004 dmi.bios.vendor: Award Software International, Inc. dmi.bios.version: F4 dmi.board.name: 8I915GMF dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: x.x dmi.chassis.type: 3 dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF4:bd09/02/2004:svn:pn:pvr:rvnGigabyteTechnologyCo.,Ltd.:rn8I915GMF:rvrx.x:cvn:ct3:cvr: ** Tags added: apport-collected -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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 566381] Re: Lag when using module-loopback
Ugh, sorry. I didn't know this apport-collect thing would automatically insert 11 distinct entries instead of one. Anyway, same problem here, except that I tried to connect my SAA7134-based TV tuner's source to the default pulse sink with module- loopback. The result was ~0.5 sec time delay of the audio compared to the TV application's video signal (I use xawtv). Then I tried the following: $ pactl load-module module-loopback latency_msec=1 the lag was still there, although it went down to ~ 0.1-0.2 sec. It is still too much, so I still have to wire the card to the motherboard's CD-in connector, and get the sound from ALSA's CD input channel. On the other hand, the cable and the connectors pick up electric noise so easy, that I can imitate the sound effects of the Star Wars laser swords with mouse movements. :) -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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 566381] Re: Lag when using module-loopback
** Attachment added: AlsaDevices.txt http://launchpadlibrarian.net/44753623/AlsaDevices.txt ** Attachment added: AplayDevices.txt http://launchpadlibrarian.net/44753624/AplayDevices.txt ** Attachment added: BootDmesg.txt http://launchpadlibrarian.net/44753625/BootDmesg.txt ** Attachment added: Card0.Amixer.values.txt http://launchpadlibrarian.net/44753626/Card0.Amixer.values.txt ** Attachment added: Card0.Codecs.codec.0.txt http://launchpadlibrarian.net/44753627/Card0.Codecs.codec.0.txt ** Attachment added: Card0.Codecs.codec.1.txt http://launchpadlibrarian.net/44753628/Card0.Codecs.codec.1.txt ** Attachment added: Card0.Codecs.codec.2.txt http://launchpadlibrarian.net/44753629/Card0.Codecs.codec.2.txt ** Attachment added: CurrentDmesg.txt http://launchpadlibrarian.net/44753630/CurrentDmesg.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/44753631/Dependencies.txt ** Attachment added: PciMultimedia.txt http://launchpadlibrarian.net/44753632/PciMultimedia.txt ** Attachment added: ProcCpuinfo.txt http://launchpadlibrarian.net/44753633/ProcCpuinfo.txt -- Lag when using module-loopback https://bugs.launchpad.net/bugs/566381 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