Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

To err is human -- to blame it on a computer is even more so.


computers / alt.os.linux.ubuntu / Re: Discord sound issues

SubjectAuthor
* Discord sound issuesMichael F. Stemper
+* Re: Discord sound issuesMike Easter
|`* Re: Discord sound issuesMichael F. Stemper
| `* Re: Discord sound issuesMike Easter
|  +- Re: Discord sound issuesMichael F. Stemper
|  `* Re: Discord sound issuesMichael F. Stemper
|   `* Re: Discord sound issuesPaul
|    `* Re: Discord sound issuesMichael F. Stemper
|     `* Re: Discord sound issuesPaul
|      `- Re: Discord sound issuesMichael F. Stemper
`- Re: Discord sound issuesPaul

1
Discord sound issues

<t976nj$3ilmp$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2227&group=alt.os.linux.ubuntu#2227

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED.068-187-092-084.res.spectrum.com!not-for-mail
From: michael.stemper@gmail.com (Michael F. Stemper)
Newsgroups: alt.os.linux.ubuntu
Subject: Discord sound issues
Date: Sat, 25 Jun 2022 09:39:38 -0500
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <t976nj$3ilmp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 25 Jun 2022 14:39:47 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="068-187-092-084.res.spectrum.com:68.187.92.84";
logging-data="3757785"; mail-complaints-to="abuse@eternal-september.org"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
X-Mozilla-News-Host: news://news.eternal-september.org:119
Content-Language: en-US
 by: Michael F. Stemper - Sat, 25 Jun 2022 14:39 UTC

Thursday morning, I fired up discord for a chat with my son, as
I do every week. I couldn't hear him and he couldn't hear me.

Going to Settings/Voice & Video, I found that the drop-downs for
"INPUT DEVICE" and "OUTPUT DEVICE" showed "No Input Devices" and
"No Output Devices", respectively, as well as being greyed out.

Not only it didn't recognize my USB headphone/mic unit, but
it didn't recognize the mic in my webcam. This even though it
recognized the camera part of my webcam.

This is a laptop, so it also has built-in mic and speakers. They
didn't show up either. Strictly "No Input Devices" and "No Output
Devices".

All of the devices appeared in and were accessible by the desktop's
"Sound Settings" panel. I could send test sounds to my headphones
and see the VU meter change when tapping the mic.

I've been using discord for weekly calls for over a year and prior
to this week it always recognized my hardware just fine.

Have any other discord (on Ubuntu) users encountered this? Does
anybody have any suggestions on how to trouble-shoot?

(P.S. I had just rebooted a minute or two earlier, so rebooting
is obviously not going to help.)

--
Michael F. Stemper
Always use apostrophe's and "quotation marks" properly.

Re: Discord sound issues

<jhome9FaojdU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2228&group=alt.os.linux.ubuntu#2228

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: MikeE@ster.invalid (Mike Easter)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Discord sound issues
Date: Sat, 25 Jun 2022 08:03:36 -0700
Lines: 15
Message-ID: <jhome9FaojdU1@mid.individual.net>
References: <t976nj$3ilmp$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Vs+uBUs0MPMCgtplJJr/Ug+PH4lEUW+8sA2JxdoJbV9sKbMwJ5
Cancel-Lock: sha1:toqr2BTqiRzvUlNghvDP2xEwZXM=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
In-Reply-To: <t976nj$3ilmp$1@dont-email.me>
Content-Language: en-US
 by: Mike Easter - Sat, 25 Jun 2022 15:03 UTC

Michael F. Stemper wrote:
> (P.S. I had just rebooted a minute or two earlier, so rebooting
> is obviously not going to help.)

If I'm understanding this rebooting report correctly;

- everything had been working correctly for a year
- you rebooted
- a minute or two later nothing was working

I highly recommend rebooting. There's the possibility of a 'spurious'
reboot result.

--
Mike Easter

Re: Discord sound issues

<t97d8d$3j43d$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2229&group=alt.os.linux.ubuntu#2229

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED.068-187-092-084.res.spectrum.com!not-for-mail
From: michael.stemper@gmail.com (Michael F. Stemper)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Discord sound issues
Date: Sat, 25 Jun 2022 11:31:09 -0500
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <t97d8d$3j43d$1@dont-email.me>
References: <t976nj$3ilmp$1@dont-email.me> <jhome9FaojdU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 25 Jun 2022 16:31:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="068-187-092-084.res.spectrum.com:68.187.92.84";
logging-data="3772525"; mail-complaints-to="abuse@eternal-september.org"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
In-Reply-To: <jhome9FaojdU1@mid.individual.net>
Content-Language: en-US
 by: Michael F. Stemper - Sat, 25 Jun 2022 16:31 UTC

On 25/06/2022 10.03, Mike Easter wrote:
> Michael F. Stemper wrote:
>> (P.S. I had just rebooted a minute or two earlier, so rebooting
>> is obviously not going to help.)
>
> If I'm understanding this rebooting report correctly;
>
>  - everything had been working correctly for a year
>  - you rebooted
>  - a minute or two later nothing was working
>
> I highly recommend rebooting.  There's the possibility of a 'spurious' reboot result.

Well, I just rebooted and it had no effect on the issue.

(To be clear, I had rebooted multiple times throughout the
previous year, not just the one time immediately before
the problem.)

--
Michael F. Stemper
If it isn't running programs and it isn't fusing atoms, it's just bending space.

Re: Discord sound issues

<jhovp9Fc9utU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2230&group=alt.os.linux.ubuntu#2230

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: MikeE@ster.invalid (Mike Easter)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Discord sound issues
Date: Sat, 25 Jun 2022 10:43:04 -0700
Lines: 35
Message-ID: <jhovp9Fc9utU1@mid.individual.net>
References: <t976nj$3ilmp$1@dont-email.me> <jhome9FaojdU1@mid.individual.net>
<t97d8d$3j43d$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net NTSj/ra2cT1VBl5PjEfEyw2Poow7Swil+3sjKwvHRTXNwwc3lH
Cancel-Lock: sha1:yF93pAcORYJaH/vcVuzA9HdySEg=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
In-Reply-To: <t97d8d$3j43d$1@dont-email.me>
Content-Language: en-US
 by: Mike Easter - Sat, 25 Jun 2022 17:43 UTC

Michael F. Stemper wrote:
> Mike Easter wrote:
>> Michael F. Stemper wrote:
>>> (P.S. I had just rebooted a minute or two earlier, so rebooting
>>> is obviously not going to help.)
>>
>> If I'm understanding this rebooting report correctly;
>>
>>   - everything had been working correctly for a year
>>   - you rebooted
>>   - a minute or two later nothing was working
>>
>> I highly recommend rebooting.  There's the possibility of a 'spurious'
>> reboot result.
>
> Well, I just rebooted and it had no effect on the issue.
>
> (To be clear, I had rebooted multiple times throughout the
> previous year, not just the one time immediately before
> the problem.)
>
I see.

The point I was trying to make is that any given boot or reboot can
result in something being 'wrong' but the 'wrongness' isn't 'real' or
ongoing, but spurious.

In any case, you've clarified that the condition isn't just due to a
spurious re/boot.

Further troubleshooting is necessary.

--
Mike Easter

Re: Discord sound issues

<t980sv$u5s$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2231&group=alt.os.linux.ubuntu#2231

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!h9Mg/dPGSzXpXJbdpj0Fbg.user.46.165.242.75.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Discord sound issues
Date: Sat, 25 Jun 2022 18:06:22 -0400
Organization: Aioe.org NNTP Server
Message-ID: <t980sv$u5s$1@gioia.aioe.org>
References: <t976nj$3ilmp$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="30908"; posting-host="h9Mg/dPGSzXpXJbdpj0Fbg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Paul - Sat, 25 Jun 2022 22:06 UTC

On 6/25/2022 10:39 AM, Michael F. Stemper wrote:
> Thursday morning, I fired up discord for a chat with my son, as
> I do every week. I couldn't hear him and he couldn't hear me.
>
> Going to Settings/Voice & Video, I found that the drop-downs for
> "INPUT DEVICE" and "OUTPUT DEVICE" showed "No Input Devices" and
> "No Output Devices", respectively, as well as being greyed out.
>
> Not only it didn't recognize my USB headphone/mic unit, but
> it didn't recognize the mic in my webcam. This even though it
> recognized the camera part of my webcam.
>
> This is a laptop, so it also has built-in mic and speakers. They
> didn't show up either. Strictly "No Input Devices" and "No Output
> Devices".
>
> All of the devices appeared in and were accessible by the desktop's
> "Sound Settings" panel. I could send test sounds to my headphones
> and see the VU meter change when tapping the mic.
>
> I've been using discord for weekly calls for over a year and prior
> to this week it always recognized my hardware just fine.
>
> Have any other discord (on Ubuntu) users encountered this? Does
> anybody have any suggestions on how to trouble-shoot?
>
> (P.S. I had just rebooted a minute or two earlier, so rebooting
> is obviously not going to help.)
>

Got out Disk29 and had a look.

u2204
snap discord 0.0.18
snap discord-canary 0.0.135
snap audacity 3.1.3
..deb audacity 2.4.2-dfsg0-5
*******
U2004.3
snap discord 0.0.18
snap discord-canary 0.0.135
snap audacity 3.1.3
..deb audacity 2.3.3-1build1
*******
Linux Mint 20.3 UMA
Discord, Missing in action

It's not open source, but you can see the ingredients.

https://dl.discordapp.net/apps/linux/0.0.18/discord-0.0.18.tar.gz

chrome-sandbox 15,184 bytes
chrome_100_percent.pak 141,930 bytes
chrome_200_percent.pak 208,519 bytes
Discord 138,954,560 bytes <=== smells like chrome ?

*******

It's just a wasteland of subsystems. No point trying to
debug with Audacity. You can't debug Snaps.

https://support.discord.com/hc/en-us/community/posts/360047644231-Native-Wayland-Support

If source isn't available, can't compile from source,
may not be able to select Xorg/Wayland/PulseAudio/Pipewire,
or perhaps even find out what it is using at any moment
in time.

*******

You can try unpacking discord-0.0.18.tar.gz and using that.

I did not see the canary build on the download page (aka a nightly).

Paul

Re: Discord sound issues

<t9caqk$gpq3$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2232&group=alt.os.linux.ubuntu#2232

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: michael.stemper@gmail.com (Michael F. Stemper)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Discord sound issues
Date: Mon, 27 Jun 2022 08:20:18 -0500
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <t9caqk$gpq3$1@dont-email.me>
References: <t976nj$3ilmp$1@dont-email.me> <jhome9FaojdU1@mid.individual.net>
<t97d8d$3j43d$1@dont-email.me> <jhovp9Fc9utU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Jun 2022 13:20:23 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c911e265d7ee0fd7c8bf17d586be259b";
logging-data="550723"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AZkrjrnPyhnz3hYFE/9D/k3nr+e0Vg24="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:5gXcMvuXNODRSUpe79JR/R8usRg=
In-Reply-To: <jhovp9Fc9utU1@mid.individual.net>
Content-Language: en-US
 by: Michael F. Stemper - Mon, 27 Jun 2022 13:20 UTC

On 25/06/2022 12.43, Mike Easter wrote:
> Michael F. Stemper wrote:
>> Mike Easter wrote:
>>> Michael F. Stemper wrote:

[discord not recognizing any mics or speakers]

> I see.
>
> The point I was trying to make is that any given boot or reboot can result in something being 'wrong' but the 'wrongness' isn't 'real' or ongoing, but spurious.
>
> In any case, you've clarified that the condition isn't just due to a spurious re/boot.
>
> Further troubleshooting is necessary.

Well, my trouble-shooting abilities pretty much begin and end
with looking at /var/log/syslog. I just started discord again
and found stuff like:

Jun 27 08:09:50 parvicursor kernel: [161086.820620] audit_printk_skb: 603 callbacks suppressed
Jun 27 08:09:50 parvicursor kernel: [161086.820624] audit: type=1326 audit(1656335390.253:2102): auid=4294967295 uid=1000 gid=1000 ses=4294967295 pid=14230 comm="Discord" exe="/snap/discord/137/usr/share/discord/Discord" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f66ba5fe73d code=0x50000
Jun 27 08:09:50 parvicursor dbus[929]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Jun 27 08:09:50 parvicursor dbus[929]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found.
Jun 27 08:09:50 parvicursor kernel: [161087.442359] audit: type=1400 audit(1656335390.877:2103): apparmor="DENIED" operation="open" profile="snap.discord.discord" name="/proc/14334/oom_score_adj" pid=14331 comm="ThreadPoolSingl" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
Jun 27 08:09:51 parvicursor dbus[1692]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus" member="ListNames" mask="send" name="org.freedesktop.DBus" pid=14230 label="snap.discord.discord" peer_label="unconfined"

and:

Jun 27 08:09:54 parvicursor kernel: [161091.143653] audit: type=1107 audit(1656335394.578:2108): pid=929 uid=106 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="Inhibit" mask="send" name="org.freedesktop.login1" pid=14230 label="snap.discord.discord" peer_pid=927 peer_label="unconfined"
Jun 27 08:09:54 parvicursor kernel: [161091.143653] exe="/usr/bin/dbus-daemon" sauid=106 hostname=? addr=? terminal=?'
Jun 27 08:09:54 parvicursor kernel: [161091.213501] audit: type=1326 audit(1656335394.650:2109): auid=4294967295 uid=1000 gid=1000 ses=4294967295 pid=14355 comm="ThreadPoolForeg" exe="/snap/discord/137/usr/share/discord/Discord" sig=0 arch=c000003e syscall=141 compat=0 ip=0x7f66ba5fa1eb code=0x50000
Jun 27 08:09:56 parvicursor kernel: [161092.897767] audit: type=1400 audit(1656335396.334:2110): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=14230 comm="Discord" requested_mask="trace" denied_mask="trace" peer="snap.discord.discord"

and:

Jun 27 08:09:58 parvicursor dbus[1692]: apparmor="DENIED" operation="dbus_signal" bus="session" path="/com/canonical/unity/launcherentry/2248748808" interface="com.canonical.Unity.LauncherEntry" member="Update" mask="send" name="org.freedesktop.DBus" pid=14230 label="snap.discord.discord" peer_pid=2042 peer_label="unconfined"
Jun 27 08:09:58 parvicursor kernel: [161095.399440] audit: type=1400 audit(1656335398.834:2118): apparmor="DENIED" operation="ptrace" profile="snap.discord.discord" pid=14230 comm="Discord" requested_mask="trace" denied_mask="trace" peer="snap.discord.discord"

Other than the fact that "DENIED" doesn't sound good, I can't see
any significance to any of these.

Suggestions?
--
Michael F. Stemper
If you take cranberries and stew them like applesauce they taste much
more like prunes than rhubarb does.

Re: Discord sound issues

<t9evet$13gc0$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2233&group=alt.os.linux.ubuntu#2233

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: michael.stemper@gmail.com (Michael F. Stemper)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Discord sound issues
Date: Tue, 28 Jun 2022 08:24:34 -0500
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <t9evet$13gc0$1@dont-email.me>
References: <t976nj$3ilmp$1@dont-email.me> <jhome9FaojdU1@mid.individual.net>
<t97d8d$3j43d$1@dont-email.me> <jhovp9Fc9utU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 28 Jun 2022 13:24:45 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="9306b59741ca310c1d62aaa55964f1ce";
logging-data="1163648"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/laWTJ/bFm0ozcviHiUOyXaBVqdqjr3JE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:ps/ldfLI8RMiTkUnMfFQkS/hEa0=
Content-Language: en-US
In-Reply-To: <jhovp9Fc9utU1@mid.individual.net>
 by: Michael F. Stemper - Tue, 28 Jun 2022 13:24 UTC

On 25/06/2022 12.43, Mike Easter wrote:
> Michael F. Stemper wrote:
>> Mike Easter wrote:
>>> Michael F. Stemper wrote:

[discord not recognizing any mics or speakers]

>>> I highly recommend rebooting.  There's the possibility of a 'spurious' reboot result.
>>
>> Well, I just rebooted and it had no effect on the issue.
>>
>> (To be clear, I had rebooted multiple times throughout the
>> previous year, not just the one time immediately before
>> the problem.)
>>
> I see.
>
> The point I was trying to make is that any given boot or reboot can result in something being 'wrong' but the 'wrongness' isn't 'real' or ongoing, but spurious.
>
> In any case, you've clarified that the condition isn't just due to a spurious re/boot.
>
> Further troubleshooting is necessary.

Better than syslog, I just captured some of the copious stderr
from discord. This looks as if it might be a clue:

[2022-06-28 08:19:13.155] [9647] (audio_device_impl.cc:299): PulseAudio support is enabled.
[2022-06-28 08:19:13.155] [9647] (audio_mixer_manager_pulse_linux.cc:57): AudioMixerManagerLinuxPulse created
[2022-06-28 08:19:13.155] [9647] (audio_device_pulse_linux.cc:81): AudioDeviceLinuxPulse created
[2022-06-28 08:19:13.155] [9647] (audio_device_impl.cc:304): Linux PulseAudio APIs will be utilized
[2022-06-28 08:19:13.155] [9647] (audio_device_impl.cc:345): AttachAudioBuffer
[2022-06-28 08:19:13.155] [9647] (audio_device_buffer.cc:180): SetRecordingSampleRate(0)
[2022-06-28 08:19:13.155] [9647] (audio_device_buffer.cc:186): SetPlayoutSampleRate(0)
[2022-06-28 08:19:13.155] [9647] (audio_device_buffer.cc:200): SetRecordingChannels(0)
[2022-06-28 08:19:13.155] [9647] (audio_device_buffer.cc:206): SetPlayoutChannels(0)
[2022-06-28 08:19:13.155] [9647] (audio_engine.cpp:48): Creating audio engine: standard
[2022-06-28 08:19:13.155] [9647] (audio_device_impl.cc:365): Init
shm_open() failed: No such file or directory
[2022-06-28 08:19:13.162] [9647] (audio_device_pulse_linux.cc:1625): failed to connect to PulseAudio sound server
[2022-06-28 08:19:13.162] [9647] (audio_device_pulse_linux.cc:144): failed to initialize PulseAudio
[2022-06-28 08:19:13.162] [9647] (audio_device_impl.cc:374): Audio device initialization failed.
[2022-06-28 08:19:13.162] [9647] (audio_coding.cpp:143): Using software Opus decoder

I know that pulse is running because I can see it in top.

Where do I go from here?

--
Michael F. Stemper
Deuteronomy 10:18-19

Re: Discord sound issues

<t9evvq$13h28$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2234&group=alt.os.linux.ubuntu#2234

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Discord sound issues
Date: Tue, 28 Jun 2022 09:33:46 -0400
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <t9evvq$13h28$3@dont-email.me>
References: <t976nj$3ilmp$1@dont-email.me> <jhome9FaojdU1@mid.individual.net>
<t97d8d$3j43d$1@dont-email.me> <jhovp9Fc9utU1@mid.individual.net>
<t9evet$13gc0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 28 Jun 2022 13:33:46 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="88b5fac784f8c5c68b8317578e62e996";
logging-data="1164360"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eOFAv+61dVJiWExt9TskANuLspXuMhg8="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:gzRveDU/WWrBlj+tBG0+RtdgDw0=
Content-Language: en-US
In-Reply-To: <t9evet$13gc0$1@dont-email.me>
 by: Paul - Tue, 28 Jun 2022 13:33 UTC

On 6/28/2022 9:24 AM, Michael F. Stemper wrote:
> On 25/06/2022 12.43, Mike Easter wrote:
>> Michael F. Stemper wrote:
>>> Mike Easter wrote:
>>>> Michael F. Stemper wrote:
>
> [discord not recognizing any mics or speakers]
>
>
>>>> I highly recommend rebooting.  There's the possibility of a 'spurious' reboot result.
>>>
>>> Well, I just rebooted and it had no effect on the issue.
>>>
>>> (To be clear, I had rebooted multiple times throughout the
>>> previous year, not just the one time immediately before
>>> the problem.)
>>>
>> I see.
>>
>> The point I was trying to make is that any given boot or reboot can result in something being 'wrong' but the 'wrongness' isn't 'real' or ongoing, but spurious.
>>
>> In any case, you've clarified that the condition isn't just due to a spurious re/boot.
>>
>> Further troubleshooting is necessary.
>
> Better than syslog, I just captured some of the copious stderr
> from discord. This looks as if it might be a clue:
>
> [2022-06-28 08:19:13.155] [9647] (audio_device_impl.cc:299): PulseAudio support is enabled.
> [2022-06-28 08:19:13.155] [9647] (audio_mixer_manager_pulse_linux.cc:57): AudioMixerManagerLinuxPulse created
> [2022-06-28 08:19:13.155] [9647] (audio_device_pulse_linux.cc:81): AudioDeviceLinuxPulse created
> [2022-06-28 08:19:13.155] [9647] (audio_device_impl.cc:304): Linux PulseAudio APIs will be utilized
> [2022-06-28 08:19:13.155] [9647] (audio_device_impl.cc:345): AttachAudioBuffer
> [2022-06-28 08:19:13.155] [9647] (audio_device_buffer.cc:180): SetRecordingSampleRate(0)
> [2022-06-28 08:19:13.155] [9647] (audio_device_buffer.cc:186): SetPlayoutSampleRate(0)
> [2022-06-28 08:19:13.155] [9647] (audio_device_buffer.cc:200): SetRecordingChannels(0)
> [2022-06-28 08:19:13.155] [9647] (audio_device_buffer.cc:206): SetPlayoutChannels(0)
> [2022-06-28 08:19:13.155] [9647] (audio_engine.cpp:48): Creating audio engine: standard
> [2022-06-28 08:19:13.155] [9647] (audio_device_impl.cc:365): Init
> shm_open() failed: No such file or directory
> [2022-06-28 08:19:13.162] [9647] (audio_device_pulse_linux.cc:1625): failed to connect to PulseAudio sound server
> [2022-06-28 08:19:13.162] [9647] (audio_device_pulse_linux.cc:144): failed to initialize PulseAudio
> [2022-06-28 08:19:13.162] [9647] (audio_device_impl.cc:374): Audio device initialization failed.
> [2022-06-28 08:19:13.162] [9647] (audio_coding.cpp:143): Using software Opus decoder
>
> I know that pulse is running because I can see it in top.
>
> Where do I go from here?
>

Run the non-Snap version.

Paul

Re: Discord sound issues

<t9hkdr$1eklb$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2235&group=alt.os.linux.ubuntu#2235

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: michael.stemper@gmail.com (Michael F. Stemper)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Discord sound issues
Date: Wed, 29 Jun 2022 08:34:42 -0500
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <t9hkdr$1eklb$1@dont-email.me>
References: <t976nj$3ilmp$1@dont-email.me> <jhome9FaojdU1@mid.individual.net>
<t97d8d$3j43d$1@dont-email.me> <jhovp9Fc9utU1@mid.individual.net>
<t9evet$13gc0$1@dont-email.me> <t9evvq$13h28$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 Jun 2022 13:34:51 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="0e88f18a560fd846dcdab58dc306512b";
logging-data="1528491"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Meo389t6MkDgwxrf7WhzO5hg0Mxm8yCM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:J4w6LU0JRknzsAUKSGxeXwdXmV0=
Content-Language: en-US
In-Reply-To: <t9evvq$13h28$3@dont-email.me>
 by: Michael F. Stemper - Wed, 29 Jun 2022 13:34 UTC

On 28/06/2022 08.33, Paul wrote:
> On 6/28/2022 9:24 AM, Michael F. Stemper wrote:
>> On 25/06/2022 12.43, Mike Easter wrote:
>>> Michael F. Stemper wrote:
>>>> Mike Easter wrote:
>>>>> Michael F. Stemper wrote:
>>
>> [discord not recognizing any mics or speakers]
>>
>>
>>>>> I highly recommend rebooting.  There's the possibility of a 'spurious' reboot result.
>>>>
>>>> Well, I just rebooted and it had no effect on the issue.
>>>>
>>>> (To be clear, I had rebooted multiple times throughout the
>>>> previous year, not just the one time immediately before
>>>> the problem.)
>>>>
>>> I see.
>>>
>>> The point I was trying to make is that any given boot or reboot can result in something being 'wrong' but the 'wrongness' isn't 'real' or ongoing, but spurious.
>>>
>>> In any case, you've clarified that the condition isn't just due to a spurious re/boot.
>>>
>>> Further troubleshooting is necessary.
>>
>> Better than syslog, I just captured some of the copious stderr
>> from discord. This looks as if it might be a clue:

>> [2022-06-28 08:19:13.162] [9647] (audio_device_pulse_linux.cc:1625): failed to connect to PulseAudio sound server
>> [2022-06-28 08:19:13.162] [9647] (audio_device_pulse_linux.cc:144): failed to initialize PulseAudio
>> [2022-06-28 08:19:13.162] [9647] (audio_device_impl.cc:374): Audio device initialization failed.
>> [2022-06-28 08:19:13.162] [9647] (audio_coding.cpp:143): Using software Opus decoder
>>
>> I know that pulse is running because I can see it in top.
>>
>> Where do I go from here?
>>
>
> Run the non-Snap version.

How do I do that?

mstemper@parvicursor$ sudo apt-get install discord
Reading package lists... Done
Building dependency tree
Reading state information... Done

No apt package "discord", but there is a snap with that name.
Try "snap install discord"

E: Unable to locate package discord
mstemper@parvicursor$

--
Michael F. Stemper
I feel more like I do now than I did when I came in.

Re: Discord sound issues

<t9huoe$1fmm$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2238&group=alt.os.linux.ubuntu#2238

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!aioe.org!GOVSpNU4hgf+b94ewqHkSw.user.46.165.242.75.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Discord sound issues
Date: Wed, 29 Jun 2022 12:31:12 -0400
Organization: Aioe.org NNTP Server
Message-ID: <t9huoe$1fmm$1@gioia.aioe.org>
References: <t976nj$3ilmp$1@dont-email.me> <jhome9FaojdU1@mid.individual.net>
<t97d8d$3j43d$1@dont-email.me> <jhovp9Fc9utU1@mid.individual.net>
<t9evet$13gc0$1@dont-email.me> <t9evvq$13h28$3@dont-email.me>
<t9hkdr$1eklb$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="48854"; posting-host="GOVSpNU4hgf+b94ewqHkSw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Paul - Wed, 29 Jun 2022 16:31 UTC

On 6/29/2022 9:34 AM, Michael F. Stemper wrote:
> On 28/06/2022 08.33, Paul wrote:
>> On 6/28/2022 9:24 AM, Michael F. Stemper wrote:
>>> On 25/06/2022 12.43, Mike Easter wrote:
>>>> Michael F. Stemper wrote:
>>>>> Mike Easter wrote:
>>>>>> Michael F. Stemper wrote:
>>>
>>> [discord not recognizing any mics or speakers]
>>>
>>>
>>>>>> I highly recommend rebooting.  There's the possibility of a 'spurious' reboot result.
>>>>>
>>>>> Well, I just rebooted and it had no effect on the issue.
>>>>>
>>>>> (To be clear, I had rebooted multiple times throughout the
>>>>> previous year, not just the one time immediately before
>>>>> the problem.)
>>>>>
>>>> I see.
>>>>
>>>> The point I was trying to make is that any given boot or reboot can result in something being 'wrong' but the 'wrongness' isn't 'real' or ongoing, but spurious.
>>>>
>>>> In any case, you've clarified that the condition isn't just due to a spurious re/boot.
>>>>
>>>> Further troubleshooting is necessary.
>>>
>>> Better than syslog, I just captured some of the copious stderr
>>> from discord. This looks as if it might be a clue:
>
>>> [2022-06-28 08:19:13.162] [9647] (audio_device_pulse_linux.cc:1625): failed to connect to PulseAudio sound server
>>> [2022-06-28 08:19:13.162] [9647] (audio_device_pulse_linux.cc:144): failed to initialize PulseAudio
>>> [2022-06-28 08:19:13.162] [9647] (audio_device_impl.cc:374): Audio device initialization failed.
>>> [2022-06-28 08:19:13.162] [9647] (audio_coding.cpp:143): Using software Opus decoder
>>>
>>> I know that pulse is running because I can see it in top.
>>>
>>> Where do I go from here?
>>>
>>
>> Run the non-Snap version.
>
> How do I do that?
>
> mstemper@parvicursor$ sudo apt-get install discord
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
>
> No apt package "discord", but there is a snap with that name.
> Try "snap install discord"
>
> E: Unable to locate package discord
> mstemper@parvicursor$
>
>

The executable is portable.

Download the tarball. It's a tarball with (pre-built) executables in it, in this case.

In Terminal, change directory, so that when you ls -al, you can
see "Discord" elf executable 138,954,560 bytes in all its glory,
then try this in Terminal at that point

cd /home/users/mstemper/Downloads/Discord

ls -al # We are verifying the location of our private executable
# We are managing this, not Synaptic or Snap...
# Note that two different vintages of Discord, fiddling the
# same Chrome configuration files, is a bad thing. This is a
# research topic for users of materials such as this. How are
# config details isolated from the rest of the platform ?

file Discord # Details which tell you it's an executable binary

./Discord # This will tell the shell to execute the program
# from the current working directory.

This is the URL of the download. It would help if this was
the same release as the one in the Snap.

https://dl.discordapp.net/apps/linux/0.0.18/discord-0.0.18.tar.gz

chrome-sandbox 15,184 bytes
chrome_100_percent.pak 141,930 bytes
chrome_200_percent.pak 208,519 bytes
Discord 138,954,560 bytes <=== smells like chrome ?

Commands and executables are case-sensitive, so you should match the
name of the 138,954,560 byte item, when attempting to execute it
from the current working directory. Normally, you would not make the
first character of the executable an UpperCase letter.

Paul

Re: Discord sound issues

<t9icnb$1hiv8$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2241&group=alt.os.linux.ubuntu#2241

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: michael.stemper@gmail.com (Michael F. Stemper)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: Discord sound issues
Date: Wed, 29 Jun 2022 15:29:31 -0500
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <t9icnb$1hiv8$1@dont-email.me>
References: <t976nj$3ilmp$1@dont-email.me> <jhome9FaojdU1@mid.individual.net>
<t97d8d$3j43d$1@dont-email.me> <jhovp9Fc9utU1@mid.individual.net>
<t9evet$13gc0$1@dont-email.me> <t9evvq$13h28$3@dont-email.me>
<t9hkdr$1eklb$1@dont-email.me> <t9huoe$1fmm$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 29 Jun 2022 20:29:31 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="0e88f18a560fd846dcdab58dc306512b";
logging-data="1625064"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9S7ulJ4UexwdfGgpD4Klzd8YDxEYEf/M="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:9QsrZrknHGqM3liNfxu8aA2WbgQ=
Content-Language: en-US
In-Reply-To: <t9huoe$1fmm$1@gioia.aioe.org>
 by: Michael F. Stemper - Wed, 29 Jun 2022 20:29 UTC

On 29/06/2022 11.31, Paul wrote:
> On 6/29/2022 9:34 AM, Michael F. Stemper wrote:
>> On 28/06/2022 08.33, Paul wrote:
>>> On 6/28/2022 9:24 AM, Michael F. Stemper wrote:
>>>> On 25/06/2022 12.43, Mike Easter wrote:
>>>>> Michael F. Stemper wrote:
>>>>>> Mike Easter wrote:
>>>>>>> Michael F. Stemper wrote:
>>>>
>>>> [discord not recognizing any mics or speakers]
>>>>
>>>>
>>>>>>> I highly recommend rebooting.  There's the possibility of a 'spurious' reboot result.
>>>>>>
>>>>>> Well, I just rebooted and it had no effect on the issue.
>>>>>>
>>>>>> (To be clear, I had rebooted multiple times throughout the
>>>>>> previous year, not just the one time immediately before
>>>>>> the problem.)
>>>>>>
>>>>> I see.
>>>>>
>>>>> The point I was trying to make is that any given boot or reboot can result in something being 'wrong' but the 'wrongness' isn't 'real' or ongoing, but spurious.
>>>>>
>>>>> In any case, you've clarified that the condition isn't just due to a spurious re/boot.
>>>>>
>>>>> Further troubleshooting is necessary.
>>>>
>>>> Better than syslog, I just captured some of the copious stderr
>>>> from discord. This looks as if it might be a clue:
>>
>>>> [2022-06-28 08:19:13.162] [9647] (audio_device_pulse_linux.cc:1625): failed to connect to PulseAudio sound server
>>>> [2022-06-28 08:19:13.162] [9647] (audio_device_pulse_linux.cc:144): failed to initialize PulseAudio
>>>> [2022-06-28 08:19:13.162] [9647] (audio_device_impl.cc:374): Audio device initialization failed.
>>>> [2022-06-28 08:19:13.162] [9647] (audio_coding.cpp:143): Using software Opus decoder
>>>>
>>>> I know that pulse is running because I can see it in top.
>>>>
>>>> Where do I go from here?
>>>>
>>>
>>> Run the non-Snap version.
>>
>> How do I do that?

> This is the URL of the download. It would help if this was
> the same release as the one in the Snap.
>
> https://dl.discordapp.net/apps/linux/0.0.18/discord-0.0.18.tar.gz

That did it. Why they would have two different versions is
beyond me.

Thanks for your help.

--
Michael F. Stemper
Psalm 82:3-4


computers / alt.os.linux.ubuntu / Re: Discord sound issues

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor