Carsten Haitzler ha scritto il 06/07/21 alle 10:07:
On Tue, 6 Jul 2021 00:34:44 +0200 Massimo Maiurana <maiur...@gmail.com> said:

Massimo Maiurana ha scritto il 28/06/21 alle 15:13:
Carsten Haitzler ha scritto il 28/06/21 alle 00:22:
On Sun, 27 Jun 2021 22:36:09 +0200 Massimo Maiurana
<maiur...@gmail.com> said:

Carsten Haitzler ha scritto il 27/06/21 alle 11:09:
On Sun, 27 Jun 2021 08:03:35 +0200 Massimo Maiurana
<maiur...@gmail.com>
said:

I don't know it this is related, but sometimes in my PC enlightenment
seems to loose connection with pulse: mixer doesn't show any card,
I get
only dummy device. Restarting the E session restores the connection,
though.

pulseaudio might be crashing?

I don't think so as pavucontrol is still perfecty functional in that
situation.

just check - does the PID change?

That's not easy to do as it happens only sometimes and so i can't know
what the pid was before it stops working. Next time i'll try to look in
logs to see if they tells something about a respawn of pulse :)

Ok, it did happen today and indeed i see many pulseaudio restarts in
syslog, though i don't know why it exits for a failure.
Pavucontrol still works as usually, as i think it connects to the
running daemon when it is launched, but the mixer icon doesn't react. I
can still control volume running the E mixer, which has the playback tab
empty but all other tabs in a normal state.
Is there a way to restart only the mixer, not the entire E session, in
order to connect to the live pulseaudio system?

you can unload and load the mixer module

Thanks, i've never thought of this simple solution :)

but pulseaudio should not be
restarting. it must be crashing

For what i see it exits due to a failure and systemd tries to respawn it via a scheduled job. This is what systemd tells about it:

Jul 5 07:39:46 diamante pulseaudio[146907]: Failed to create secure directory (/nonexistent/.config/pulse): File o directory non esistente Jul 5 07:39:46 diamante systemd[146886]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Jul 5 07:39:46 diamante systemd[146886]: pulseaudio.service: Failed with result 'exit-code'. Jul 5 07:39:47 diamante systemd[146886]: pulseaudio.service: Scheduled restart job, restart counter is at 1.

Now i should find why it takes a wrong path for its own configuration...

the emixer tool is a separate binary like
pavucontol and will connect on its own to pulse so its essentially the same
thing as pavucontrol written for e/efl.

again - libpulse handles connecting to and
talking to pulseaudio. the mixer module just uses libpulse to talk to
pulseaudio. loss of connection would suggest pulseaudio is going
away and
that closes the connection.

Massimo Maiurana

Masaru Nomiya ha scritto il 27/06/21 alle 01:56:
Hello,

I rebooted, but no sounds from e.

In the Message;

      Subject    : Re: [e-users] How can I get system sounds?
      Message-ID :
<20210626234417.9f9757fe0a5a34e230529...@rasterman.com>
      Date & Time: Sat, 26 Jun 2021 23:44:17 +0100

[CH] == Carsten Haitzler <ras...@rasterman.com> has written:

[...]
MN> > But, it's a mystery for me.
MN> > Why the pulseaudio's settings problem is specific to me .... ?

CH>  I don't know. All I can think of was pulseaduio not running (as
CH>  your user - not as root or some other user). All Enlightenment
CH>  does is talk to the pulseaudio daemon using libpluse - like you
CH>  use xlib to talk to the xserver.

I can fully understand wha you mean, I think.

But, pulsedaemon does always run just after booting.
Because,

1. After booting, I can always hear the switching on sound of mu USB
      DAC.

2. I always begin  the PC operation with starting music via
audacious.

....

One question.

As a root, accessing to pulseaudio is always denied ;

# aplay /home/masaru/wav/Track\ 2.wav
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but
by uid
1000! (This could e.g. happen if you try to connect to a non-root
PulseAudio as a root user, over the native protocol. Don't do
that.) ALSA
lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

aplay: main:831: audio open error: Connection refused

Is this phenomena within your expectations?

Thanks.

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computer.
              Not with Me!"
             "No..., with money."


_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users














_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to