[Touch-packages] [Bug 1589289] Re: fstrim: cannot open /dev/.lxd-mounts: Permission denied

2019-09-02 Thread Bug Watch Updater
** Changed in: util-linux (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1589289 Title: fstrim: cannot open /dev/.lxd-mounts:

[Touch-packages] [Bug 1838436] Re: popt download location broken

2019-09-02 Thread Bug Watch Updater
** Changed in: popt (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to popt in Ubuntu. https://bugs.launchpad.net/bugs/1838436 Title: popt download location broken Status in popt

[Touch-packages] [Bug 1759836] Re: systemd-udevd consumes 100% of CPU

2019-09-02 Thread Bug Watch Updater
** Changed in: bluez (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/1759836 Title: systemd-udevd consumes 100% of CPU Status in

[Touch-packages] [Bug 145604]

2019-09-02 Thread Emadyassen1998
good post. http://www.winmilliongame.com http://www.gtagame100.com http://www.subway-game.com http://www.zumagame100.com -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/145604

[Touch-packages] [Bug 1801540]

2019-09-02 Thread guglovich164
Asus A88X-Pro (Realtek 1150) I join the problem in Discord -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted sound on ALC892/1220 on

[Touch-packages] [Bug 1801540]

2019-09-02 Thread lukycrociato
How does position_fix = 6 (the FIFO that the patch adds) work? Because when I add it, makes the system (only for GNOME) laggy when using Discord, exacly like before as I said in comment 86 https://bugzilla.kernel.org/show_bug.cgi?id=195303#c86 But this time obviously the mic capture is fine.

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Created attachment 284117 Test fis patch no.5 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted sound on ALC892/1220 on AMD chipsets

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
I confirm that both version of the second patch work. On playback I had only some minor issues when the stream was starting, but after enabling the playback patch, they disappeared too. Without tsched=0 and without the playback patch, acquisition work perfectly fine, but not the output, is

[Touch-packages] [Bug 1801540]

2019-09-02 Thread khaledaldajani98
(In reply to Ernst Sjöstrand from comment #257) > (In reply to Khaled from comment #256) > > I have MSI A320m mobo with a Realtek ALC887 and got the same problem not > > sure if others are having another problem with this chip but if i connect a > > speakers to the rear panel and a headset to the

[Touch-packages] [Bug 1801540]

2019-09-02 Thread lukycrociato
(In reply to Khaled from comment #256) > I have MSI A320m mobo with a Realtek ALC887 and got the same problem not > sure if others are having another problem with this chip but if i connect a > speakers to the rear panel and a headset to the front panel it only detects > my front panel it even

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Created attachment 284113 Test fix patch (revised) The previous one won't work, I'm afraid. This is the revised one (no.4). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Created attachment 284111 Test fix patch no.3 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted sound on ALC892/1220 on AMD chipsets

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Thanks. The problem with playback indicates that the delay correction isn't good for playback but only for capture. Below is yet another revised patch. It corrects the position report only for the capture, but takes the FIFO delay into account, too. -- You received this bug notification

[Touch-packages] [Bug 1639372] Re: CVE-2016-9082: DOS attack in converting SVG to PNG

2019-09-02 Thread Bug Watch Updater
Launchpad has imported 13 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=98165. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at

[Touch-packages] [Bug 405294]

2019-09-02 Thread Miroslav Hadzhiev
Hey folks - I'm still experiencing sound disruptions. Is a specific Kernel version expected to be present in order the patch to work fine? I'm using Kubuntu 18.04 with updated bluetooth and pulseaudio related pkgs: root@xtigyro-kubuntu:~# pulseaudio --version pulseaudio 12.2-2

[Touch-packages] [Bug 1837443] Re: [Power9][Witherspoon dd2.3] unable to set hwclock

2019-09-02 Thread Patricia Domingues
Ok. I was able to reproduce the error and then I've followed the instructions from comment #2 Step 1 (### With busctl on BMC), but I've got this output: `An enumeration mapping was attempted for which no valid enumeration value exists.` which I think it didn't work. But what I understood from

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
BTW, does anyone hit the problem on an AMD board with other PCI ID than 1022:1457? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted

[Touch-packages] [Bug 1801540]

2019-09-02 Thread henk717
Discord being robotic can happen on functional audio cards as well, i for example had it on my laptop in the past. When subject to the real bug this does not clear up at all and will remain an issue for a while. The non related bug in discord itself i can usually get rid off by opening and closing

[Touch-packages] [Bug 1685484] Re: DHCP exit hook for setting systemd-timesyncd NTP servers doesn't work

2019-09-02 Thread Bug Watch Updater
** Changed in: systemd (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1685484 Title: DHCP exit hook for setting

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
Created attachment 284171 Codec trace for the audio output delay problem -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted sound on

[Touch-packages] [Bug 1801540]

2019-09-02 Thread khaledaldajani98
I have MSI A320m mobo with a Realtek ALC887 and got the same problem not sure if others are having another problem with this chip but if i connect a speakers to the rear panel and a headset to the front panel it only detects my front panel it even says "unplugged" in audio settings i have to

[Touch-packages] [Bug 1801540]

2019-09-02 Thread vinayshastry
(In reply to Vinay Shastry from comment #261) > Everything works fine in 5.2.8. Actually, scratch that. I never tried the mic port until today (didn't have a mic). The crackling is present as reported by others. In 5.2.9, there is a different kind of distortion when using a usb webcam's mic

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Marco from comment #251) > (In reply to al from comment #250) > > (In reply to Takashi Iwai from comment #249) > > > (In reply to al from comment #248) > > > > Thanks that did it works great now! > > > > > > OK, I'll add the entry for 1022:1487 in the upstream, too. > > > > Ok

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Created attachment 284157 The correct no.6 test patch Oops, sorry the previous no.6 was wrong. The correct one here. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.

[Touch-packages] [Bug 1801540]

2019-09-02 Thread ernstp
(In reply to Khaled from comment #256) > I have MSI A320m mobo with a Realtek ALC887 and got the same problem not > sure if others are having another problem with this chip but if i connect a > speakers to the rear panel and a headset to the front panel it only detects > my front panel it even

[Touch-packages] [Bug 1801540]

2019-09-02 Thread lukycrociato
(In reply to Takashi Iwai from comment #202) > Created attachment 284157 [details] > The correct no.6 test patch > > Oops, sorry the previous no.6 was wrong. The correct one here. Hi, I tested this patch and it seems to be working fine. 1) Test made at

[Touch-packages] [Bug 1801540]

2019-09-02 Thread vinayshastry
Distortion/crackled sound in steam voice chat started with kernel 5.2.9. Differently distorted sound in discord web - parts of voice is chopped off every half second or so, and a large lag - 1 second or so. Everything works fine in 5.2.8. Board: ASUS PRIME X370-PRO. lspci -nn extract: 0c:00.3

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
OK, that's good to know. And how is the application set up? Does it run over PulseAudio backend or accesses directly ALSA devices? The BATCH workaround was needed for PulseAudio. Does any other application using PulseAudio (wrt capture) work on your device? And it'd be strange if this setup

[Touch-packages] [Bug 1801540]

2019-09-02 Thread vinayshastry
(In reply to Takashi Iwai from comment #269) > For all people who still see the problem: please test 5.3-rc6 or rc7 kernel > and confirm that the problem persists. Tried with 5.3-rc6 Problem: Distorted sound with steam voice chat with 1022:1457. > 1. Change the return value of

[Touch-packages] [Bug 1801540]

2019-09-02 Thread t.clastres
I notice the following in the log with patch 7: Also, I don't know if it's expected but enabling 'mic boost' produces a lot of noise. pulseaudio[3370]: E: [alsa-source-ALC1220 Analog] alsa-source.c: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
(In reply to Térence Clastres from comment #232) > I notice the following in the log with patch 7: > Also, I don't know if it's expected but enabling 'mic boost' produces a lot > of noise. > > pulseaudio[3370]: E: [alsa-source-ALC1220 Analog] alsa-source.c: We were > woken up with POLLIN set --

[Touch-packages] [Bug 1801540]

2019-09-02 Thread daxcore
(In reply to Vinay Shastry from comment #261) > Distortion/crackled sound in steam voice chat started with kernel 5.2.9. > Differently distorted sound in discord web - parts of voice is chopped off > every half second or so, and a large lag - 1 second or so. > > Everything works fine in 5.2.8. >

[Touch-packages] [Bug 1801540]

2019-09-02 Thread gort818
(In reply to Takashi Iwai from comment #269) > For all people who still see the problem: please test 5.3-rc6 or rc7 kernel > and confirm that the problem persists. Tried with 5.3-rc6 Problem: Distorted sound with steam voice chat with 1022:1487. # 3 Worked for steam voice chat but

[Touch-packages] [Bug 1801540]

2019-09-02 Thread vinayshastry
(In reply to Takashi Iwai from comment #271) > And how is the application set up? Does it run over PulseAudio backend or > accesses directly ALSA devices? Everything on PulseAudio. (Using a standard gnome desktop.) > The BATCH workaround was needed for PulseAudio. Does any other application >

[Touch-packages] [Bug 1841382] Re: Various programs crashed with SIGSEGV in g_str_hash() from g_hash_table_lookup_node() from g_hash_table_lookup() from console_kit_session_default_init() with account

2019-09-02 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: accountsservice (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to accountsservice in Ubuntu.

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Hmm, would it be only about playback? That is, restricting the workaround only to capture stream works better? --- a/sound/pci/hda/hda_controller.c +++ b/sound/pci/hda/hda_controller.c @@ -617,7 +617,8 @@ static int azx_pcm_open(struct snd_pcm_substream *substream) * tsched=1 when a

[Touch-packages] [Bug 1801540]

2019-09-02 Thread ernstp
So with patch 7, but tsched=1 (ie. not the part with |= BATCH included) I get the following: Only test idea 1: crackling 1+2: no crackling but playback skips when start/stop recording 2: no crackling but playback skips when start/stop recording I retested patch 2 and realized I also have that

[Touch-packages] [Bug 1801540]

2019-09-02 Thread ernstp
No issues here with Steam Voice Chat with patch 7 on 1022:1457. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted sound on ALC892/1220

[Touch-packages] [Bug 1801540]

2019-09-02 Thread gort818
I just picked up a new MSI MPG X570 GAMING EDGE WIFI with Realtek ALC1220. Audio output works fine but input is cracking and distorted. I tried with patch #2 and patch #7 and no luck on my end. If there is any more information I can provide to be helpful please let me know. Here is my alsa-info

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to al from comment #250) > (In reply to Takashi Iwai from comment #249) > > (In reply to al from comment #248) > > > Thanks that did it works great now! > > > > OK, I'll add the entry for 1022:1487 in the upstream, too. > > Ok thanks, I tested with discord and load-module

[Touch-packages] [Bug 1801540]

2019-09-02 Thread ernstp
(In reply to Takashi Iwai from comment #237) > What if you remove azx_get_delay_from_fifo assignment to get_delay[0/1], > together with dropping SNDRV_PCM_INFO_BATCH flag? Still getting the same > problem? I getting the crackling mic input if I do that yes. -- You received this bug

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Takashi Iwai from comment #224) > OK. And changing the period_bytes_max doesn't have any influence, either? Whoops, I completely forgot about the previous hack. Unfortunately, nothing changes; same thing, same timing. -- You received this bug notification because you are a member

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to David from comment #238) > Tried patch #7 without BATCH flag, this is not working with discord, there > is a delay, and the playback stream jump around when pressing button "Let's > Check". Yea, same here on B450/ALC892 with tsched enabled (which AFAIK the batch flag is the same of

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Then I have no better idea for now than disabling the tsched on PA. The patch below is a combination of the former patch (modified no.6) and the flag set to enforce tsched=0. This should work without changing PA config. Let me know if this works better. If the things work reasonably enough,

[Touch-packages] [Bug 1801540]

2019-09-02 Thread henk717
Did some tests using the AUR package snd_hda_intel-alc1220-dkms (Seems to be Patch 2) on the 1022:1457 ALC1220 (X370 Pro Carbon motherboard). Using the default settings i no longer hear the robotic echo issues in my microphone recordings and i am able to get good recordings with Audacity.

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Is this with tsched=0? I wonder why PA gets the position information so often. Without tsched change, PA should access to the hardware much less frequently. In anyway, one another interesting experiment is to reduce the max period size, something like below on top of the previous patch: ---

[Touch-packages] [Bug 1801540]

2019-09-02 Thread lukycrociato
Another update, on kernel 4.19.63 with position_fix=3 the output crackling lasts 10 seconds. So to me it looks like that parameter is somehow "applied" to the 5.2.5 kernel by default?? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
Created attachment 284211 hda_controller trace from the timing issue of my ALC892 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Takashi Iwai from comment #207) > Did you try to define AMD_FIXED_FIFO_IN_FRAMES in the patch, too? > Also, try to increase the FIFO size defined there. The current value (256 > bytes and 32 frames) is just a guess work and it might need larger size. > > And, the delay happens even

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Takashi Iwai from comment #200) > A possible explanation about the delay at playback while capturing is that > the FIFO size reported for each stream is influenced by other action. The > patch assumed that it's constant (like other platforms do), but AMD might > vary it per state. >

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Did you try to define AMD_FIXED_FIFO_IN_FRAMES in the patch, too? Also, try to increase the FIFO size defined there. The current value (256 bytes and 32 frames) is just a guess work and it might need larger size. And, the delay happens even with the patch no.6? Then my theory wasn't right, and

[Touch-packages] [Bug 1801540]

2019-09-02 Thread lukycrociato
Hmm... I am noticing something strange between old and new kernels. Without any patch applied, on the kernel 5.2.5 as Marco said, is working fine after a couple of seconds (with or without position-fix=3) BUT a little bit of sound distortion is present without the Iwai patch 6. On older kernels

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
Here is the pulseaudio log and the default.pa from my system, but the config (beside realtime scheduling) are unchanged: -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.

[Touch-packages] [Bug 1801540]

2019-09-02 Thread t.clastres
If you are on ArchLinux, I made a dkms package: https://aur.archlinux.org/packages/snd_hda_intel-alc1220-dkms/ which for now applies "Test fix patch no.2" as I found like others it was working well. I will certainly update it based on the reporters feedback from the different patches to try.

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
It's hard to say whether it's a PA bug. I still doubt it being some inconsistent behavior of the driver, triggered only by some specific condition PA hits. Could you start PA with more verbosity and check whether PA complains anything at starting capture? It might be that the incorrect position

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
Neither did nothing, however the audio playback has no problem staying in sync if I use directly arecord, even without pausing pulseaudio. So, it is a pulseaudio bug, if with arecord everything works correctly? Thanks a lot again, Marco. -- You received this bug notification because you are a

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tv7iR8OPvrPi
Marco, I would like to try your issue on my side, can you share the step to reproduce the problem, maybe your default.pa file too. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Takashi Iwai from comment #172) > Thanks. The problem with playback indicates that the delay correction isn't > good for playback but only for capture. > > Below is yet another revised patch. It corrects the position report only > for the capture, but takes the FIFO delay into

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
For all people who still see the problem: please test 5.3-rc6 or rc7 kernel and confirm that the problem persists. Once after confirming the same issue with 5.3-rc7, and it's about the PCI device 1022:1457 or 1022:1487, then check the following: 1. Change the return value of

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Created attachment 284097 Test fix patch no.1 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted sound on ALC892/1220 on AMD chipsets

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
OK, thanks. Could you try another one below, too? This should be a more correct way from API POV, passing the delay value instead of the direct correction of the position. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
OK, that looks more promising. Now I cooked two patches. The first one is to simply apply the existing VIA position fix to the AMD X370 platform (1022:1457). This should work like the test you've done now without any option. The second one is an attempt with simpler position fix, just reducing

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Takashi Iwai from comment #140) > Please write down exactly what you've tested. Otherwise we can't reduce the > possible causes. Tested the posted patch from you, same issue. Tried to enable all DCAPS flags (except SNOOP_MASK, SNOOP_ON, because I had used as a base the patch in

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Please write down exactly what you've tested. Otherwise we can't reduce the possible causes. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone

[Touch-packages] [Bug 1801540]

2019-09-02 Thread jg.staffel
(In reply to Ernst Sjöstrand from comment #267) > So you can have different $THING ALC1220 vs ALC892 but still the same pciid > 1022:1457 ... But the driver is the same one used. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed

[Touch-packages] [Bug 1801540]

2019-09-02 Thread jwdevel
Just chiming in: I applied the upstream patch[1] with success on my older-kernel system. It fixed the audio crackle issue on my line-in — thanks Takashi Iwai (: Mobo: ASus X570 Phantom Gaming 4 Audio chipset: ALC1200 (1022:1457) Kernel: 4.19.0 OS: Debian 10 [1]

[Touch-packages] [Bug 1801540]

2019-09-02 Thread ernstp
So you can have different $THING ALC1220 vs ALC892 but still the same pciid 1022:1457 ... -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone

[Touch-packages] [Bug 1801540]

2019-09-02 Thread jg.staffel
ASRock Fatal1ty B450 Gaming K4 ALC892, [1022:1457] subsys [1849:9893] With patch no.7 with kernel 4.19.66 and telegram-desktop-bin-1.8.2 my companion hear myself. With patch No. 5 there is no such problem and no crackling. -- You received this bug notification because you are a member of

[Touch-packages] [Bug 1801540]

2019-09-02 Thread t.clastres
(In reply to Takashi Iwai from comment #249) > (In reply to al from comment #248) > > Thanks that did it works great now! > > OK, I'll add the entry for 1022:1487 in the upstream, too. I can't find this entry in the commit. Did you forget or added it in another one? -- You received this bug

[Touch-packages] [Bug 1801540]

2019-09-02 Thread lukycrociato
That's true, Steam Voice Chat has distortions/delays for 1 minute (but totally different than the usual like it was on Discord) Also, my voice has a much lower pitch too, and only for one minute. But I noticed this is happening on Discord too right when I join a channel (or do a voice self

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Luca from comment #254) > That's true, Steam Voice Chat has distortions/delays for 1 minute (but > totally different than the usual like it was on Discord) > Also, my voice has a much lower pitch too, and only for one minute. > > But I noticed this is happening on Discord too right

[Touch-packages] [Bug 1801540]

2019-09-02 Thread gort818
(In reply to Takashi Iwai from comment #249) > (In reply to al from comment #248) > > Thanks that did it works great now! > > OK, I'll add the entry for 1022:1487 in the upstream, too. Ok thanks, I tested with discord and load-module module-loopback and it works perfectly. But with steam I

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
(In reply to al from comment #248) > Thanks that did it works great now! OK, I'll add the entry for 1022:1487 in the upstream, too. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
(In reply to Ernst Sjöstrand from comment #244) > So with patch 7, but tsched=1 (ie. not the part with |= BATCH included) I > get the following: > > Only test idea 1: crackling > 1+2: no crackling but playback skips when start/stop recording > 2: no crackling but playback skips when start/stop

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
(In reply to al from comment #245) > I just picked up a new MSI MPG X570 GAMING EDGE WIFI with Realtek ALC1220. Judging from alsa-info.sh output, your device has a different PCI device ID, 1022:1487. Replace the entry and retest. -- You received this bug notification because you are a member

[Touch-packages] [Bug 1801540]

2019-09-02 Thread gort818
(In reply to Takashi Iwai from comment #247) > (In reply to al from comment #245) > > I just picked up a new MSI MPG X570 GAMING EDGE WIFI with Realtek ALC1220. > Judging from alsa-info.sh output, your device has a different PCI device ID, > 1022:1487. Replace the entry and retest. Thanks that

[Touch-packages] [Bug 1801540]

2019-09-02 Thread lukycrociato
(In reply to Takashi Iwai from comment #227) > Created attachment 284221 [details] > Test fix patch no.7 completely fixed the audi for me, ALC 892 + MSI B350M Same tests as before, sound playback works fine as long I'm in a discord channel (the patch 6 only fixed the microphone) -- You

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
(In reply to Ernst Sjöstrand from comment #240) > (In reply to Takashi Iwai from comment #237) > > What if you remove azx_get_delay_from_fifo assignment to get_delay[0/1], > > together with dropping SNDRV_PCM_INFO_BATCH flag? Still getting the same > > problem? > > I getting the crackling mic

[Touch-packages] [Bug 1801540]

2019-09-02 Thread daxcore
(In reply to Takashi Iwai from comment #230) > (In reply to daxcore from comment #229) > > completely not working here. also not patch 7. with pa sound is jumping, > and > > with alsa I just get a random noise. > > > > does this work for anybody with X399 board alc1220? > > That sounds like a

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tv7iR8OPvrPi
Tried patch #7 without BATCH flag, this is not working with discord, there is a delay, and the playback stream jump around when pressing button "Let's Check". -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Basically patch 2 and 7 are essentially doing same wrt the position report. The latter uses the fixed FIFO size instead of reading the register and it reports the actual delay size as well. But the difference is likely irrelevant with PA tsched problem Marco was seeing. I guess PA would work

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
What if you remove azx_get_delay_from_fifo assignment to get_delay[0/1], together with dropping SNDRV_PCM_INFO_BATCH flag? Still getting the same problem? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.

[Touch-packages] [Bug 1801540]

2019-09-02 Thread ernstp
Patch 7 does not work on my system with the runtime->hw.info |= SNDRV_PCM_INFO_BATCH; statement removed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title:

[Touch-packages] [Bug 1801540]

2019-09-02 Thread ernstp
Patch 7 works very well here too AFAICT. Multiple playback streams and recording at the same time with PA. With patch 2 you didn't have to disable tsched, but perhaps that was a horrible hack in some other way.. ? (And I can go pretty high on mic boost without very much noise). -- You

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
(In reply to daxcore from comment #229) > completely not working here. also not patch 7. with pa sound is jumping, and > with alsa I just get a random noise. > > does this work for anybody with X399 board alc1220? That sounds like a different problem. Especially a random noise shouldn't be

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tv7iR8OPvrPi
Everything seems good so far, input not crackling, discord ok. ALC1220 on X470. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted

[Touch-packages] [Bug 1801540]

2019-09-02 Thread daxcore
completely not working here. also not patch 7. with pa sound is jumping, and with alsa I just get a random noise. does this work for anybody with X399 board alc1220? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Created attachment 284221 Test fix patch no.7 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted sound on ALC892/1220 on AMD chipsets

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Takashi Iwai from comment #226) > Then I have no better idea for now than disabling the tsched on PA. > > The patch below is a combination of the former patch (modified no.6) and the > flag set to enforce tsched=0. This should work without changing PA config. > > Let me know if

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
OK. And changing the period_bytes_max doesn't have any influence, either? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted sound on

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
OK, thanks. Then it looks like that it's really the chip that stalls the playback. Around time 8102 until 8106, there is no playback position update and proceed. The same position is kept for 4 seconds by some reason. If this happens only at the full-duplex (capture and playback mixture)

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Takashi Iwai from comment #219) > Is this with tsched=0? I wonder why PA gets the position information so > often. Without tsched change, PA should access to the hardware much less > frequently. > > In anyway, one another interesting experiment is to reduce the max period > size,

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Takashi Iwai from comment #221) > OK, thanks. Then it looks like that it's really the chip that stalls the > playback. Around time 8102 until 8106, there is no playback position update > and proceed. The same position is kept for 4 seconds by some reason. > > If this happens only

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
Created attachment 284213 Patch to remove stream sync calls -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1801540 Title: Microphone distorted sound on ALC892/1220 on

[Touch-packages] [Bug 1801540]

2019-09-02 Thread tiwai
(In reply to Marco from comment #211) > Created attachment 284171 [details] > Codec trace for the audio output delay problem Could you get the trace log for hda_controller, not hda? (/sys/kernel/debug/tracing/events/hda_controller) The former tracks the PCM events including the position report

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Takashi Iwai from comment #216) > (In reply to Marco from comment #211) > > Created attachment 284171 [details] > > Codec trace for the audio output delay problem > > Could you get the trace log for hda_controller, not hda? > (/sys/kernel/debug/tracing/events/hda_controller) > > The

[Touch-packages] [Bug 1801540]

2019-09-02 Thread ernstp
There's a lot to track here now, but patch #2 seems to work great here! Patch #6 didn't seem to cause any new problems for me, but the crackling is still there. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pulseaudio in

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
Nothing changed, here is the trace and the actions: 1) Opened VLC with a song 2) Opened discord 3) Started mic testing, output jumped back 5 seconds in the past 4) Ended mic testing, output re synced back. 5) Stopped VLC playing -- You received this bug notification because you are a member of

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
(In reply to Ernst Sjöstrand from comment #214) > There's a lot to track here now, but patch #2 seems to work great here! > > Patch #6 didn't seem to cause any new problems for me, but the crackling is > still there. 6 works only with the define enabled, remove the double slashes in front of

[Touch-packages] [Bug 1801540]

2019-09-02 Thread rodomar705
The only step is to not use tsched and try to use a software that use webrtc as a audio backend, like Discord. As soon as you test your mic, the audio in playback get shifted back in time, around 5 seconds. Thanks both for your time, Marco. -- You received this bug notification because you

  1   2   3   >