<html theme="default-light"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body text="#000000">Correct, this is a function of multiple
audio outputs, and how they are enumerated. I have verified that SoaS
boots and runs, with sound and no changes required, on an old iMac5,2,
form 2007. As an aside, this is one of those weird Apple-manufactured
32-bit EFI machines (but 64-bit CPUs).<br>
<span>
</span><br>
<blockquote type="cite" cite="mid:20200429012847.GD18893@laptop.org"
style="border: 0px none ! important;">
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr"
style="margin:30px 25px 10px 25px;"><div
style="width:100%;border-top:2px solid
rgba(146,154,163,0.7);padding-top:10px;"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;" href="mailto:quozl@laptop.org" moz-do-not-send="true">James
Cameron</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#909AA4"><span style="padding-left:6px">April
28, 2020 at 6:28 PM</span></font></div> </div></div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody"
__pbrmquotes="true"
style="color:#909AA4;margin-left:24px;margin-right:24px;"><pre wrap="">Good, that makes it not-Sugar. Get it fixed on Workstation is your
best bet.
I've seen this kind of thing happen with laptops that have HDMI output
capability. Audio is being clocked out a disconnected port.
Sugar predates PulseAudio. Sugar has no support for anything other
than ALSA. An opportunity. GStreamer as used by Speak will use
PulseAudio if available.
On Tue, Apr 28, 2020 at 08:31:57PM -0400, Frederick Grose wrote:
</pre><blockquote type="cite"><pre wrap="">So I found that SoaS and Fedora Workstation, at least, have the audio output
sink default on card/port index 1 instead of the convention of index 0.
Where and how this goes this way, I don't know. But it happens on more than
one system.
I've updated the bug report, [1]<a class="moz-txt-link-freetext" href="https://bugs.sugarlabs.org/ticket/4998">https://bugs.sugarlabs.org/ticket/4998</a>.
A workaround is to use the PulseAudio command,
$ pacmd set-default-sink 0
On Tue, Apr 28, 2020 at 4:36 AM Peter Robinson <a class="moz-txt-link-rfc2396E" href="mailto:[2]pbrobinson@gmail.com"><[2]pbrobinson@gmail.com></a> wrote:
> With Fedora-SoaS-Live-x86_64-32-1.6.iso I'm hearing no sound.
> And see no log messages.
>
> Is this a common problem?
Ultimately in this cycle in particular an awful lot changed, we moved
completely from python2 -> python3 among a lot of other changes.
For me the Speak activity works for me on a VM and that's my usual
go-to sound tester as I don't need to find any media to play.
Things like sound are very complex, multiple output, defaults,
different hardware. Some level of detail of the hardware and the setup
is useful to even begin to know what the issue may be, is there any
errors in dmesg etc.
Peter
> ----------
> From: James Cameron <a class="moz-txt-link-rfc2396E" href="mailto:[3]quozl@laptop.org"><[3]quozl@laptop.org></a>
> Date: Mon, Apr 27, 2020 at 8:04 PM
> To: Frederick Grose <a class="moz-txt-link-rfc2396E" href="mailto:[4]fgrose@gmail.com"><[4]fgrose@gmail.com></a>
> Cc: Development of live Sugar distributions <a class="moz-txt-link-rfc2396E" href="mailto:[5]soas@lists.sugarlabs.org"><[5]soas@lists.sugarlabs.org
></a>, Sugar-dev Devel <a class="moz-txt-link-rfc2396E" href="mailto:[6]sugar-devel@lists.sugarlabs.org"><[6]sugar-devel@lists.sugarlabs.org></a>
>
>
> I've no idea about your sound problem. It doesn't happen for me on
> Debian or Ubuntu. I get sound from Speak and Music Keyboard. I get
> sound into Measure.
>
> For not seeing any log messages; Python 3 holds messages in process
> memory and does not flush logs. Another layer of buffering.
>
> Log files in .sugar/default/logs should be read after stopping the
> program that writes to them.
>
> For activity logs, you have to stop the activity and confirm with
> Frame F6 that it is stopped.
>
> For shell.log you have to log out and log in again.
>
> For datastore.log you have to log out for a couple of minutes and then
> log in again. Otherwise the same datastore process may be reused.
>
> James Cameron
> [7]<a class="moz-txt-link-freetext" href="http://quozl.netrek.org/">http://quozl.netrek.org/</a>
>
>
> ----------
> From: Alex Perez <a class="moz-txt-link-rfc2396E" href="mailto:[8]aperez@alexperez.com"><[8]aperez@alexperez.com></a>
> Date: Mon, Apr 27, 2020 at 8:11 PM
> To: Frederick Grose <a class="moz-txt-link-rfc2396E" href="mailto:[9]fgrose@gmail.com"><[9]fgrose@gmail.com></a>
> Cc: Development of live Sugar distributions <a class="moz-txt-link-rfc2396E" href="mailto:[10]soas@lists.sugarlabs.org"><[10]soas@lists.sugarlabs.org
></a>, Sugar-dev Devel <a class="moz-txt-link-rfc2396E" href="mailto:[11]sugar-devel@lists.sugarlabs.org"><[11]sugar-devel@lists.sugarlabs.org></a>
>
>
> Frederick,
>
> Chances are, with the sound problem, that this is a system/Fedora
specific problem, and has nothing to do with Sugar. You can test this
hypothesis by downloading a different spin of RC1.6, for example the LXDE
Live ISO, and test sound there. [12]<a class="moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/alt/">https://dl.fedoraproject.org/pub/alt/</a>
stage/32_RC-1.6/Spins/x86_64/iso/Fedora-LXDE-Live-x86_64-32-1.6.iso
>
> &&&&&&&&&&&&&&&&&&&&&&&&&
>
> Thanks for the hints.
>
> I tested a live USB installation of LXDE 32-1.6 and got sound for the
music player sample.
>
> So probably not Fedora in general, nor Sugar, but something in the SoaS
build.
>
> I've opened [13]<a class="moz-txt-link-freetext" href="https://bugs.sugarlabs.org/ticket/4998">https://bugs.sugarlabs.org/ticket/4998</a> and attached the
zipped logs from some test sessions.
>
>
> _______________________________________________
> SoaS mailing list
> [<a class="moz-txt-link-abbreviated" href="mailto:14]SoaS@lists.sugarlabs.org">14]SoaS@lists.sugarlabs.org</a>
> [15]<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/soas">http://lists.sugarlabs.org/listinfo/soas</a>
_______________________________________________
SoaS mailing list
[<a class="moz-txt-link-abbreviated" href="mailto:16]SoaS@lists.sugarlabs.org">16]SoaS@lists.sugarlabs.org</a>
[17]<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/soas">http://lists.sugarlabs.org/listinfo/soas</a>
References:
[1] <a class="moz-txt-link-freetext" href="https://bugs.sugarlabs.org/ticket/4998">https://bugs.sugarlabs.org/ticket/4998</a>
[2] <a class="moz-txt-link-freetext" href="mailto:pbrobinson@gmail.com">mailto:pbrobinson@gmail.com</a>
[3] <a class="moz-txt-link-freetext" href="mailto:quozl@laptop.org">mailto:quozl@laptop.org</a>
[4] <a class="moz-txt-link-freetext" href="mailto:fgrose@gmail.com">mailto:fgrose@gmail.com</a>
[5] <a class="moz-txt-link-freetext" href="mailto:soas@lists.sugarlabs.org">mailto:soas@lists.sugarlabs.org</a>
[6] <a class="moz-txt-link-freetext" href="mailto:sugar-devel@lists.sugarlabs.org">mailto:sugar-devel@lists.sugarlabs.org</a>
[7] <a class="moz-txt-link-freetext" href="http://quozl.netrek.org/">http://quozl.netrek.org/</a>
[8] <a class="moz-txt-link-freetext" href="mailto:aperez@alexperez.com">mailto:aperez@alexperez.com</a>
[9] <a class="moz-txt-link-freetext" href="mailto:fgrose@gmail.com">mailto:fgrose@gmail.com</a>
[10] <a class="moz-txt-link-freetext" href="mailto:soas@lists.sugarlabs.org">mailto:soas@lists.sugarlabs.org</a>
[11] <a class="moz-txt-link-freetext" href="mailto:sugar-devel@lists.sugarlabs.org">mailto:sugar-devel@lists.sugarlabs.org</a>
[12] <a class="moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/alt/stage/32_RC-1.6/Spins/x86_64/iso/Fedora-LXDE-Live-x86_64-32-1.6.iso">https://dl.fedoraproject.org/pub/alt/stage/32_RC-1.6/Spins/x86_64/iso/Fedora-LXDE-Live-x86_64-32-1.6.iso</a>
[13] <a class="moz-txt-link-freetext" href="https://bugs.sugarlabs.org/ticket/4998">https://bugs.sugarlabs.org/ticket/4998</a>
[14] <a class="moz-txt-link-freetext" href="mailto:SoaS@lists.sugarlabs.org">mailto:SoaS@lists.sugarlabs.org</a>
[15] <a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/soas">http://lists.sugarlabs.org/listinfo/soas</a>
[16] <a class="moz-txt-link-freetext" href="mailto:SoaS@lists.sugarlabs.org">mailto:SoaS@lists.sugarlabs.org</a>
[17] <a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/soas">http://lists.sugarlabs.org/listinfo/soas</a>
</pre></blockquote><blockquote type="cite"><pre wrap="">_______________________________________________
SoaS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SoaS@lists.sugarlabs.org">SoaS@lists.sugarlabs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/soas">http://lists.sugarlabs.org/listinfo/soas</a>
</pre></blockquote><pre wrap="">
</pre>
</div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr"
style="margin:30px 25px 10px 25px;"><div
style="width:100%;border-top:2px solid
rgba(146,154,163,0.7);padding-top:10px;"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;" href="mailto:fgrose@gmail.com" moz-do-not-send="true">Frederick
Grose</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#909AA4"><span style="padding-left:6px">April
28, 2020 at 5:31 PM</span></font></div> </div></div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody"
__pbrmquotes="true"
style="color:#909AA4;margin-left:24px;margin-right:24px;">
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div
dir="ltr"><div class="gmail_default" style="font-family:trebuchet
ms,sans-serif;font-size:small;color:#073763">So I found that SoaS and
Fedora Workstation, at least, have the audio output sink default on
card/port index 1 instead of the convention of index 0.</div><div
class="gmail_default" style="font-family:trebuchet
ms,sans-serif;font-size:small;color:#073763">Where and how this goes
this way, I don't know. But it happens on more than one system.</div><div
class="gmail_default" style="font-family:trebuchet
ms,sans-serif;font-size:small;color:#073763"><br></div><div
class="gmail_default" style="font-family:trebuchet
ms,sans-serif;font-size:small;color:#073763">I've updated the bug
report, <a href="https://bugs.sugarlabs.org/ticket/4998"
moz-do-not-send="true">https://bugs.sugarlabs.org/ticket/4998</a>.</div><div
class="gmail_default" style="font-family:trebuchet
ms,sans-serif;font-size:small;color:#073763"><br></div><div
class="gmail_default" style="font-family:trebuchet
ms,sans-serif;font-size:small;color:#073763">A workaround is to use the
PulseAudio command,</div><div class="gmail_default"
style="font-family:trebuchet
ms,sans-serif;font-size:small;color:#073763">$ pacmd set-default-sink 0</div><div
class="gmail_default" style="font-family:trebuchet
ms,sans-serif;font-size:small;color:#073763"><br></div></div><br>
<br><fieldset class="mimeAttachmentHeader"></fieldset><br><div>_______________________________________________<br>SoaS
mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:SoaS@lists.sugarlabs.org">SoaS@lists.sugarlabs.org</a><br><a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/soas">http://lists.sugarlabs.org/listinfo/soas</a><br></div>
</div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr"
style="margin:30px 25px 10px 25px;"><div
style="width:100%;border-top:2px solid
rgba(146,154,163,0.7);padding-top:10px;"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;" href="mailto:pbrobinson@gmail.com" moz-do-not-send="true">Peter
Robinson</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#909AA4"><span style="padding-left:6px">April
28, 2020 at 1:36 AM</span></font></div> </div></div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody"
__pbrmquotes="true"
style="color:#909AA4;margin-left:24px;margin-right:24px;"><blockquote
type="cite"><pre wrap="">With Fedora-SoaS-Live-x86_64-32-1.6.iso I'm hearing no sound.
And see no log messages.
Is this a common problem?
</pre></blockquote><pre wrap="">Ultimately in this cycle in particular an awful lot changed, we moved
completely from python2 -> python3 among a lot of other changes.
For me the Speak activity works for me on a VM and that's my usual
go-to sound tester as I don't need to find any media to play.
Things like sound are very complex, multiple output, defaults,
different hardware. Some level of detail of the hardware and the setup
is useful to even begin to know what the issue may be, is there any
errors in dmesg etc.
Peter
</pre><blockquote type="cite"><pre wrap="">----------
From: James Cameron <a class="moz-txt-link-rfc2396E" href="mailto:quozl@laptop.org"><quozl@laptop.org></a>
Date: Mon, Apr 27, 2020 at 8:04 PM
To: Frederick Grose <a class="moz-txt-link-rfc2396E" href="mailto:fgrose@gmail.com"><fgrose@gmail.com></a>
Cc: Development of live Sugar distributions <a class="moz-txt-link-rfc2396E" href="mailto:soas@lists.sugarlabs.org"><soas@lists.sugarlabs.org></a>, Sugar-dev Devel <a class="moz-txt-link-rfc2396E" href="mailto:sugar-devel@lists.sugarlabs.org"><sugar-devel@lists.sugarlabs.org></a>
I've no idea about your sound problem. It doesn't happen for me on
Debian or Ubuntu. I get sound from Speak and Music Keyboard. I get
sound into Measure.
For not seeing any log messages; Python 3 holds messages in process
memory and does not flush logs. Another layer of buffering.
Log files in .sugar/default/logs should be read after stopping the
program that writes to them.
For activity logs, you have to stop the activity and confirm with
Frame F6 that it is stopped.
For shell.log you have to log out and log in again.
For datastore.log you have to log out for a couple of minutes and then
log in again. Otherwise the same datastore process may be reused.
James Cameron
<a class="moz-txt-link-freetext" href="http://quozl.netrek.org/">http://quozl.netrek.org/</a>
----------
From: Alex Perez <a class="moz-txt-link-rfc2396E" href="mailto:aperez@alexperez.com"><aperez@alexperez.com></a>
Date: Mon, Apr 27, 2020 at 8:11 PM
To: Frederick Grose <a class="moz-txt-link-rfc2396E" href="mailto:fgrose@gmail.com"><fgrose@gmail.com></a>
Cc: Development of live Sugar distributions <a class="moz-txt-link-rfc2396E" href="mailto:soas@lists.sugarlabs.org"><soas@lists.sugarlabs.org></a>, Sugar-dev Devel <a class="moz-txt-link-rfc2396E" href="mailto:sugar-devel@lists.sugarlabs.org"><sugar-devel@lists.sugarlabs.org></a>
Frederick,
Chances are, with the sound problem, that this is a system/Fedora specific problem, and has nothing to do with Sugar. You can test this hypothesis by downloading a different spin of RC1.6, for example the LXDE Live ISO, and test sound there. <a class="moz-txt-link-freetext" href="https://dl.fedoraproject.org/pub/alt/stage/32_RC-1.6/Spins/x86_64/iso/Fedora-LXDE-Live-x86_64-32-1.6.iso">https://dl.fedoraproject.org/pub/alt/stage/32_RC-1.6/Spins/x86_64/iso/Fedora-LXDE-Live-x86_64-32-1.6.iso</a>
&&&&&&&&&&&&&&&&&&&&&&&&&
Thanks for the hints.
I tested a live USB installation of LXDE 32-1.6 and got sound for the music player sample.
So probably not Fedora in general, nor Sugar, but something in the SoaS build.
I've opened <a class="moz-txt-link-freetext" href="https://bugs.sugarlabs.org/ticket/4998">https://bugs.sugarlabs.org/ticket/4998</a> and attached the zipped logs from some test sessions.
_______________________________________________
SoaS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SoaS@lists.sugarlabs.org">SoaS@lists.sugarlabs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/soas">http://lists.sugarlabs.org/listinfo/soas</a>
</pre></blockquote><pre wrap="">_______________________________________________
SoaS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:SoaS@lists.sugarlabs.org">SoaS@lists.sugarlabs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/soas">http://lists.sugarlabs.org/listinfo/soas</a>
</pre>
</div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr"
style="margin:30px 25px 10px 25px;"><div
style="width:100%;border-top:2px solid
rgba(146,154,163,0.7);padding-top:10px;"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;" href="mailto:fgrose@gmail.com" moz-do-not-send="true">Frederick
Grose</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#909AA4"><span style="padding-left:6px">April
27, 2020 at 7:25 PM</span></font></div> </div></div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody"
__pbrmquotes="true"
style="color:#909AA4;margin-left:24px;margin-right:24px;">
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div
dir="ltr"><div dir="ltr"><div class="gmail_default"
style="font-family:"trebuchet
ms",sans-serif;font-size:small;color:rgb(7,55,99)"><br></div></div></div>
<br><fieldset class="mimeAttachmentHeader"></fieldset><br><div>_______________________________________________<br>SoaS
mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:SoaS@lists.sugarlabs.org">SoaS@lists.sugarlabs.org</a><br><a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/soas">http://lists.sugarlabs.org/listinfo/soas</a><br></div>
</div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvHr"
style="margin:30px 25px 10px 25px;"><div
style="width:100%;border-top:2px solid
rgba(146,154,163,0.7);padding-top:10px;"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;" href="mailto:aperez@alexperez.com" moz-do-not-send="true">Alex
Perez</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#909AA4"><span style="padding-left:6px">April
27, 2020 at 5:11 PM</span></font></div> </div></div>
<div xmlns="http://www.w3.org/1999/xhtml" class="__pbConvBody"
__pbrmquotes="true"
style="color:#909AA4;margin-left:24px;margin-right:24px;">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Frederick,<br>
<br>
Chances are, with the sound problem, that this is a system/Fedora
specific problem, and has nothing to do with Sugar. You can test this
hypothesis by downloading a different spin of RC1.6, for example the
LXDE Live ISO, and test sound there. <a
href="https://dl.fedoraproject.org/pub/alt/stage/32_RC-1.6/Spins/x86_64/iso/Fedora-LXDE-Live-x86_64-32-1.6.iso"
moz-do-not-send="true">https://dl.fedoraproject.org/pub/alt/stage/32_RC-1.6/Spins/x86_64/iso/Fedora-LXDE-Live-x86_64-32-1.6.iso</a><br>
<span>
</span><br>
<br>
<br><fieldset class="mimeAttachmentHeader"></fieldset><br><div>_______________________________________________<br>Sugar-devel
mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br><a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/sugar-devel">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br></div>
</div>
</blockquote>
<br>
</body></html>