Re: [e-users] enlightenment audio default device issue

2023-03-03 Thread Massimo Maiurana
Update: looks like my problem is not actually mixer not recognizing 
pipewire, it's just that the mixer icon is not working after E starts.


Mixer itself is working as i can click on the shelf icon, click on 
"mixer" button to open the dialog and there i can see that all is fine: 
soundcard is recognized, bluetooth is also there, all sliders and 
checkboxes are working.


What's not working is the shelf icon. It doesn't display available 
soundcards nor bluetooth devices and it lacks its blue circle 
representing the volume level. I cannot even change volume scrolling on it.


Also, i don't see the mixer icon that is usually on the titlebar of 
windows which requires access to audio control, for example firefox on 
youtube. But i can see the slider for firefox volume in the mixer dialog 
when i open a youtube video and i can adjust its volume as i like.


Reloading mixer module makes all working again as expected.

Massimo Maiurana

Masaru Nomiya ha scritto il 04/03/23 alle 03:00:

Hello,

In the Message;

   Subject: Re: [e-users] enlightenment audio default device issue
   Message-ID : <662d56aa-25c5-8010-c56f-1dbea899a...@gmail.com>
   Date & Time: Fri, 3 Mar 2023 13:54:41 +0100

[MM] == Massimo Maiurana  has written:

MM> Masaru Nomiya ha scritto il 03/03/23 alle 13:36:

[...]
MM> > The messages about bluetooth (which are warnings for now) are not from
MM> > enlightenment, but from pipewire.
MM> >
MM> > I am using bluez-5.66 on my Tumbleweed, so I don't get these messages.

MM> Same here, current bluez version on bookworm:

MM> dpkg -l | grep bluez
MM> ii  bluez5.66-1 amd64
MM> Bluetooth tools and daemons
MM> ii  bluez-obexd  5.66-1 amd64
MM> bluez obex daemon

Is it?

Is this a bug in pipewire 0.3.65?
I am now using pipewire 0.3.66 git head.

In the Message;

   Subject: Re: [e-users] enlightenment audio default device issue
   Message-ID : <10facaf6-9712-a1d1-51f2-581c253b4...@gmail.com>
   Date & Time: Fri, 3 Mar 2023 18:16:25 +0100

[MM] == Massimo Maiurana  has written:

MM>  Masaru Nomiya ha scritto il 03/03/23 alle 03:21:
[...]
MM>  > The last means is to put the following settings in .xinitrc.

MM>  AFAIK xinit is not used if Xorg is executed via a display
MM>  manager. I don't have any xinitrc file in my homedir. For system
MM>  wide configuration there is /etc/gdm3/Init/Default and i don't
MM>  know if an user configuratione file can be used and what should
MM>  be its name.

It seems that gdm uses Xsession.

Do you have files like .profile, .bash_profile, or .bashrc in your
home directory?
If not, create a .bash_profile and write settings in it.

FYI.

This is yours;

In the Message;

   Subject: Re: [e-users] enlightenment audio default device issue
   Message-ID : <52a2c549-be5d-7ed4-3934-4f9439b8f...@gmail.com>
   Date & Time: Sat, 25 Feb 2023 11:49:28 +0100

[MM] == Massimo Maiurana  has written:

[..]
MN> > 1. $ pactl info

MM>  Stringa server: /run/user/1000/pulse/native
MM>  Versione protocollo libreria: 35
MM>  Versione protocollo server: 35
MM>  Locale: sì
MM>  Indice client: 60
MM>  Dimensione tile: 65472
MM>  Nome utente: max
MM>  Nome host: diamante
MM>  Nome server: PulseAudio (on PipeWire 0.3.65)
MM>  Versione server: 15.0.0
MM>  Specifica di campionamento predefinita: float32le ch 2 48000 Hz
MM>  Mappa del canale predefinita: front-left,front-right
MM>  Sink predefinito: alsa_output.pci-_00_1f.3.analog-stereo
MM>  Sorgente predefinita: alsa_input.pci-_00_1f.3.analog-stereo
MM>  Cookie: 56ec:5bba

As you can see, in your case, the sampling rate is 48Khz, which sounds
better than the CD with a sampling rate of 44.1Khz.

This is my case.

$> pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 58
Tile Size: 65472
User Name: masaru
Host Name: localhost
Server Name: PulseAudio (on PipeWire 0.3.66)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 352800Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-D_M_Holdings_Inc._HD-AMP1-00.analog-stereo
Default Source: 
alsa_output.usb-D_M_Holdings_Inc._HD-AMP1-00.analog-stereo.monitor
Cookie: 092b:2b50

The sampling rate in my case is 352.8KHz, and I can also play back
high-resolution sound. Even if it is not a high-resolution sound, it
gives me a sound that makes me think that this is the sound of CD.

This requires a USB DAC, but it also requires some configuration.

For it,

$ sudo cp /usr/share/pipewire/pipewire.conf /etc/pipewire

and then edit the /etc/pipewire/pipewire.conf like this;

[...]
## Properties for the DSP configuration.
 default.clock.rate = 352800
 default.clock.allowed-rates = [ 44100 48000 96000 192000 352800 384000 ]
 default.clock.quantum = 1024
 default.clock.min-quantum = 16
 default.clock.max-quantum = 2048
 default.clock.quantum-limit = 8192
 

Re: [e-users] enlightenment audio default device issue

2023-03-03 Thread Masaru Nomiya
Hello,

In the Message; 

  Subject: Re: [e-users] enlightenment audio default device issue
  Message-ID : <662d56aa-25c5-8010-c56f-1dbea899a...@gmail.com>
  Date & Time: Fri, 3 Mar 2023 13:54:41 +0100

[MM] == Massimo Maiurana  has written:

MM> Masaru Nomiya ha scritto il 03/03/23 alle 13:36:

[...]
MM> > The messages about bluetooth (which are warnings for now) are not from
MM> > enlightenment, but from pipewire.
MM> > 
MM> > I am using bluez-5.66 on my Tumbleweed, so I don't get these messages.

MM> Same here, current bluez version on bookworm:

MM> dpkg -l | grep bluez
MM> ii  bluez5.66-1 amd64
MM> Bluetooth tools and daemons
MM> ii  bluez-obexd  5.66-1 amd64
MM> bluez obex daemon

Is it?

Is this a bug in pipewire 0.3.65?
I am now using pipewire 0.3.66 git head.

In the Message; 

  Subject: Re: [e-users] enlightenment audio default device issue
  Message-ID : <10facaf6-9712-a1d1-51f2-581c253b4...@gmail.com>
  Date & Time: Fri, 3 Mar 2023 18:16:25 +0100

[MM] == Massimo Maiurana  has written:

MM>  Masaru Nomiya ha scritto il 03/03/23 alle 03:21:
[...]
MM>  > The last means is to put the following settings in .xinitrc.

MM>  AFAIK xinit is not used if Xorg is executed via a display
MM>  manager. I don't have any xinitrc file in my homedir. For system
MM>  wide configuration there is /etc/gdm3/Init/Default and i don't
MM>  know if an user configuratione file can be used and what should
MM>  be its name.

It seems that gdm uses Xsession.

Do you have files like .profile, .bash_profile, or .bashrc in your
home directory?
If not, create a .bash_profile and write settings in it.

FYI.

This is yours;

In the Message; 

  Subject: Re: [e-users] enlightenment audio default device issue
  Message-ID : <52a2c549-be5d-7ed4-3934-4f9439b8f...@gmail.com>
  Date & Time: Sat, 25 Feb 2023 11:49:28 +0100

[MM] == Massimo Maiurana  has written:

[..]
MN> > 1. $ pactl info

MM>  Stringa server: /run/user/1000/pulse/native
MM>  Versione protocollo libreria: 35
MM>  Versione protocollo server: 35
MM>  Locale: sì
MM>  Indice client: 60
MM>  Dimensione tile: 65472
MM>  Nome utente: max
MM>  Nome host: diamante
MM>  Nome server: PulseAudio (on PipeWire 0.3.65)
MM>  Versione server: 15.0.0
MM>  Specifica di campionamento predefinita: float32le ch 2 48000 Hz
MM>  Mappa del canale predefinita: front-left,front-right
MM>  Sink predefinito: alsa_output.pci-_00_1f.3.analog-stereo
MM>  Sorgente predefinita: alsa_input.pci-_00_1f.3.analog-stereo
MM>  Cookie: 56ec:5bba

As you can see, in your case, the sampling rate is 48Khz, which sounds
better than the CD with a sampling rate of 44.1Khz.

This is my case.

$> pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 58
Tile Size: 65472
User Name: masaru
Host Name: localhost
Server Name: PulseAudio (on PipeWire 0.3.66)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 352800Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-D_M_Holdings_Inc._HD-AMP1-00.analog-stereo
Default Source: 
alsa_output.usb-D_M_Holdings_Inc._HD-AMP1-00.analog-stereo.monitor
Cookie: 092b:2b50

The sampling rate in my case is 352.8KHz, and I can also play back
high-resolution sound. Even if it is not a high-resolution sound, it
gives me a sound that makes me think that this is the sound of CD.

This requires a USB DAC, but it also requires some configuration.

For it,

$ sudo cp /usr/share/pipewire/pipewire.conf /etc/pipewire

and then edit the /etc/pipewire/pipewire.conf like this;

[...]
## Properties for the DSP configuration.
default.clock.rate = 352800
default.clock.allowed-rates = [ 44100 48000 96000 192000 352800 384000 ]
default.clock.quantum = 1024
default.clock.min-quantum = 16
default.clock.max-quantum = 2048
default.clock.quantum-limit = 8192
default.video.width = 800
default.video.height = 600
[...]


I use mpd and Cantata to listen to musics and am very happy with them.

I hope this will be helpful.

Regards.

---
┏━━┓彡 野宮  賢 mail-to: nomiya @ lake.dti.ne.jp
┃\/彡
┗━━┛   "A bachelor’s degree still holds prestige as a ticket to the
   middle class, but its value has received increasing scrutiny.
   In the last several years, rising tuition and student loan debt
   have led more Americans to reconsider an investment in
   postsecondary education."

-- Washington Post --


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


Re: [e-users] enlightenment audio default device issue

2023-03-03 Thread Massimo Maiurana

Masaru Nomiya ha scritto il 03/03/23 alle 03:21:

Hello,

In the Message;

   Subject: Re: [e-users] enlightenment audio default device issue
   Message-ID : <01fa95dd-b23a-e5c0-0627-0293648c8...@gmail.com>
   Date & Time: Thu, 2 Mar 2023 13:29:44 +0100

[MM] == Massimo Maiurana  has written:

MM>  Masaru Nomiya ha scritto il 02/03/23 alle 07:30:

[...]
MN> > I mean, this is a trick to prevent pipewire from not recognizing
MN> > bluetooth devices.

MM> Thanks but pipewire DOES already recognize my bluetooth
MM> headphones with no problems.

Not everyone.
However, I do not know under what conditions a bluetooth device will
be unrecognized.
First and foremost, we users should be aware that pipewire itself is
still under development, as the version number below 1 indicates.

MM>  Anyway i will not install pipewire-media-session because removing
MM>  wireplumber also kicks out a bunch of Gnome things and i don't
MM>  want to mess up my installation to solve something which i can
MM>  live with.

Debian seems to be working on a GNOME-based pipewire.
I have no idea how they are going to structure it, but rtkit must be
installed and configured.

MM> Reloading mixer is not an annoying task as i don't reboot
MM> frequently my laptop.

The last means is to put the following settings in .xinitrc.


AFAIK xinit is not used if Xorg is executed via a display manager. I 
don't have any xinitrc file in my homedir. For system wide configuration 
there is /etc/gdm3/Init/Default and i don't know if an user 
configuratione file can be used and what should be its name.



systemctl --user daemon-reload
systemctl --user restart pipewire pipewwire-pulse wireplumber

If you still have problems, check the DM's log.

Regards.

---
┏━━┓彡 野宮  賢 mail-to: nomiya @ lake.dti.ne.jp
┃\/彡
┗━━┛   "The question of who holds the platform and whether the person
   or organisation holding it is trustworthy has serious and 
profound
   implications in these volatile times. Once trust is broken, it is
   extremely difficult to restore. It is necessary to diversify in
   advance."

-- Financial Times --


___
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


Re: [e-users] enlightenment audio default device issue

2023-03-03 Thread Massimo Maiurana

Masaru Nomiya ha scritto il 03/03/23 alle 13:36:

Hello,

I know you're aware of this, but it bothers me so I'm writing .

In the Message;

   Subject: Re: [e-users] enlightenment audio default device issue
   Message-ID : <3d8fb46b-bb4f-3e70-0e27-3d6e41510...@gmail.com>
   Date & Time: Tue, 28 Feb 2023 11:34:07 +0100

[MM] == Massimo Maiurana  has written:

[...]
MM>  feb 26 11:15:36 diamante wireplumber[2273]: BlueZ Battery Provider is not
MM>  available, won't retry to register it. Make sure you are running BlueZ 5.56+ 
>
MM>  feb 26 19:37:37 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.
MM>  feb 26 22:09:04 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.
MM>  feb 26 22:09:43 diamante wireplumber[2273]: Failed to register battery
MM>  provider. Error: org.freedesktop.DBus.Error.UnknownMethod
MM>  feb 26 22:09:43 diamante wireplumber[2273]: BlueZ Battery Provider is not
MM>  available, won't retry to register it. Make sure you are running BlueZ 5.56+ 
>
MM>  feb 26 23:56:19 diamante wireplumber[2273]: sco-sink: write failure: -104
MM>  (Connessione interrotta dal corrispondente)
MM>  feb 27 10:16:57 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.
MM>  feb 27 17:21:52 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.
MM>  feb 28 08:17:26 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.
MM>  feb 28 10:12:57 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.

The messages about bluetooth (which are warnings for now) are not from
enlightenment, but from pipewire.

I am using bluez-5.66 on my Tumbleweed, so I don't get these messages.


Same here, current bluez version on bookworm:

dpkg -l | grep bluez
ii  bluez5.66-1 
amd64Bluetooth tools and daemons
ii  bluez-obexd  5.66-1 
amd64bluez obex daemon



You should keep this in mind.

Regards & Good Night.

---
┏━━┓彡  野宮  賢   mail-to: nomiya @ lake.dti.ne.jp
┃\/彡
┗━━┛  "She continues to deeply divide opinion, nearly a decade after her
  death in 2013, due to her policies of privatisation, breaking the
  power of trade unions, and selling off public housing."

   -- World Is One News --


___
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


Re: [e-users] enlightenment audio default device issue

2023-03-03 Thread Masaru Nomiya
Hello,

I know you're aware of this, but it bothers me so I'm writing .

In the Message; 

  Subject: Re: [e-users] enlightenment audio default device issue
  Message-ID : <3d8fb46b-bb4f-3e70-0e27-3d6e41510...@gmail.com>
  Date & Time: Tue, 28 Feb 2023 11:34:07 +0100

[MM] == Massimo Maiurana  has written:

[...]
MM>  feb 26 11:15:36 diamante wireplumber[2273]: BlueZ Battery Provider is not
MM>  available, won't retry to register it. Make sure you are running BlueZ 
5.56+ >
MM>  feb 26 19:37:37 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.
MM>  feb 26 22:09:04 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.
MM>  feb 26 22:09:43 diamante wireplumber[2273]: Failed to register battery
MM>  provider. Error: org.freedesktop.DBus.Error.UnknownMethod
MM>  feb 26 22:09:43 diamante wireplumber[2273]: BlueZ Battery Provider is not
MM>  available, won't retry to register it. Make sure you are running BlueZ 
5.56+ >
MM>  feb 26 23:56:19 diamante wireplumber[2273]: sco-sink: write failure: -104
MM>  (Connessione interrotta dal corrispondente)
MM>  feb 27 10:16:57 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.
MM>  feb 27 17:21:52 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.
MM>  feb 28 08:17:26 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.
MM>  feb 28 10:12:57 diamante wireplumber[2273]: Trying to use legacy bluez5 
API for
MM>  LE Audio - only A2DP will be supported. Please upgrade bluez5.

The messages about bluetooth (which are warnings for now) are not from
enlightenment, but from pipewire.

I am using bluez-5.66 on my Tumbleweed, so I don't get these messages.

You should keep this in mind.

Regards & Good Night.

---
┏━━┓彡  野宮  賢   mail-to: nomiya @ lake.dti.ne.jp
┃\/彡
┗━━┛  "She continues to deeply divide opinion, nearly a decade after her
  death in 2013, due to her policies of privatisation, breaking the
  power of trade unions, and selling off public housing."
  
  -- World Is One News --


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