Re: sound problem on Kubuntu 20.04

2020-12-10 Thread Shlomo Solomon
THANK YOU!

I started working on your list (most of which I had already tried, but
did again to be on the safe side).

And then I hit timidity


apt-get purge timidity solved the problem

again THANK YOU!!!





On Thu, 10 Dec 2020 09:40:11 +0200
borissh1...@gmail.com wrote:

> On Thursday, 10 December 2020 9:02:48 IST Shlomo Solomon wrote:
> > On Thu, 10 Dec 2020 08:55:42 +0200
> > borissh1...@gmail.com wrote:
> > 
> > I think you're right, but I have no idea how to fix it, or why it
> > was not setup automatically. As I wrote earlier, in the LiveDVD I
> > had sound.
> > 
> 
> I hope that would be ok to ask, these questions are just for the
> debugging steps . I understand you may have done them already but I
> do not know the answers yet. 
> 
> Would you mind checking if it does happen to a brand new unix user ?
> sometimes we modify our config files in home dir (and sometimes there
> would be software that would that behind our back) . 
> 
> Would it be possible to give us the output of  pacmd list-cards -
> these will provide us the list of cards pulse audio sees ("hardware").
> 
> Check if any program holds the sound cards : fuser -v /dev/snd/* 
> 
> Do you have timtidy installed ? if so can you try removing it and
> restarting the server and see if that unblock you ? timtidy is known
> to have issues with pulseaudio in debian , so there could be a
> similar problem with Ubuntu.
> 
> Do you use fluidsynth ? can you try removing it ? 
> 
> Can you open the Pulse Audio control box , go to output devices and
> there check if you have your analog output , if it is there try to
> set it's port. If there are no hardware devices listed there (we
> would also know that based on the command of pacmd list-cards) we
> would need to check why it's missing and how we can add it.
> 
> Have you configured manually pulse audio config
> (/etc/pulse/default.pa ,  /etc/pulse/daemon.conf)   ?
> 
> Do you have the same pulseaudio packages installed - you can compare
> lists on the existing OS and the live machine if both are running the
> same OS (you can using dpkg --get-selections | grep pulse | grep -vvv
> deinstall | cut -f1 to get the list on both sides). 
> 
> For your debugging you can try running : pulseaudio -k; pulseaudio
> -v 
> 
> 
> 
> 
> 
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



-- 
Shlomo Solomon
http://the-solomons.net
Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sound problem on Kubuntu 20.04

2020-12-09 Thread Shlomo Solomon
pavucontrol was one of the first things I tried and no help

But, on trying it again now, Boris mentioned (and I did not notice
before), pavucontrol in fact lists dummy as the only device.


On Thu, 10 Dec 2020 09:40:41 +0200
Tzafrir Cohen  wrote:

> On 10/12/2020 9:02, Shlomo Solomon wrote:
> 
> > I think you're right, but I have no idea how to fix it, or why it
> > was not setup automatically. As I wrote earlier, in the LiveDVD I
> > had sound.
> 
> Have you tried pavucontrol? (from package pavucontrol) It can help 
> clarify Pulseaudio's view of things.
> 
> 
> But then again, if ALSA (as user root) does not see it, pulseaudio
> has nothing to work with. And nowadays there's even another layer:
> pipewire (pw-play, pw-cli, and such). But I have not yet heard of
> problems caused at that level.
> 
> 
> -- Tzafrir
> 



-- 
Shlomo Solomon
http://the-solomons.net
Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sound problem on Kubuntu 20.04

2020-12-09 Thread Tzafrir Cohen

On 10/12/2020 9:02, Shlomo Solomon wrote:


I think you're right, but I have no idea how to fix it, or why it was
not setup automatically. As I wrote earlier, in the LiveDVD I had sound.


Have you tried pavucontrol? (from package pavucontrol) It can help 
clarify Pulseaudio's view of things.



But then again, if ALSA (as user root) does not see it, pulseaudio has 
nothing to work with. And nowadays there's even another layer: pipewire 
(pw-play, pw-cli, and such). But I have not yet heard of problems caused 
at that level.



-- Tzafrir


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sound problem on Kubuntu 20.04

2020-12-09 Thread borissh1983
On Thursday, 10 December 2020 9:02:48 IST Shlomo Solomon wrote:
> On Thu, 10 Dec 2020 08:55:42 +0200
> borissh1...@gmail.com wrote:
> 
> I think you're right, but I have no idea how to fix it, or why it was
> not setup automatically. As I wrote earlier, in the LiveDVD I had sound.
> 

I hope that would be ok to ask, these questions are just for the debugging 
steps . I understand you may have done them already but I do not know the 
answers yet. 

Would you mind checking if it does happen to a brand new unix user ?  sometimes 
we modify our config files in home dir (and sometimes there would be software 
that would that behind our back) . 

Would it be possible to give us the output of  pacmd list-cards - these will 
provide us the list of cards pulse audio sees ("hardware").

Check if any program holds the sound cards : fuser -v /dev/snd/* 

Do you have timtidy installed ? if so can you try removing it and restarting 
the server and see if that unblock you ? timtidy is known to have issues with 
pulseaudio in debian , so there could be a similar problem with Ubuntu.

Do you use fluidsynth ? can you try removing it ? 

Can you open the Pulse Audio control box , go to output devices and there check 
if you have your analog output , if it is there try to set it's port. If there 
are no hardware devices listed there (we would also know that based on the 
command of pacmd list-cards) we would need to check why it's missing and how we 
can add it.

Have you configured manually pulse audio config (/etc/pulse/default.pa ,  
/etc/pulse/daemon.conf)   ?

Do you have the same pulseaudio packages installed - you can compare lists on 
the existing OS and the live machine if both are running the same OS (you can 
using dpkg --get-selections | grep pulse | grep -vvv deinstall | cut -f1 to get 
the list on both sides). 

For your debugging you can try running : pulseaudio -k; pulseaudio -v 





___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sound problem on Kubuntu 20.04

2020-12-09 Thread Shlomo Solomon
On Thu, 10 Dec 2020 08:55:42 +0200
borissh1...@gmail.com wrote:

I think you're right, but I have no idea how to fix it, or why it was
not setup automatically. As I wrote earlier, in the LiveDVD I had sound.

> > I think that it is set to a dummy output (meaning no sound would be
> > played from your speakers/ headset) , it should be set to a port
> > with something like "analog-output-speaker"  . 
> >
> 
> And there is no card definition too , I think pulseaudio did not
> select your audio card at all. 
> 
> 
> 
> 
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



-- 
Shlomo Solomon
http://the-solomons.net
Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sound problem on Kubuntu 20.04

2020-12-09 Thread borissh1983
On Thursday, 10 December 2020 8:50:53 IST borissh1...@gmail.com wrote:
> On Thursday, 10 December 2020 8:36:35 IST Shlomo Solomon wrote:
> > seems OK, but I'm sending the output - maybe I'm missing something:
> > 
> > pacmd list-sinks
> > 1 sink(s) available.
> >   * index: 2
> > name: 
> > driver: 
> > flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
> > state: SUSPENDED
> > suspend cause: IDLE
> > priority: 1000
> > volume: front-left: 65536 / 100% / 0.00 dB,   front-right:
> > 65536 / 100% / 0.00 dB balance 0.00
> > base volume: 65536 / 100% / 0.00 dB
> > volume steps: 65537
> > muted: no
> > current latency: 0.00 ms
> > max request: 344 KiB
> > max rewind: 344 KiB
> > monitor source: 2
> > sample spec: s16le 2ch 44100Hz
> > channel map: front-left,front-right
> >  Stereo
> > used by: 0
> > linked by: 0
> > configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
> > module: 29
> > properties:
> > device.description = "Dummy Output"
> > device.class = "abstract"
> > device.icon_name = "audio-card"
> > 
> > 
> 
> I think that it is set to a dummy output (meaning no sound would be played 
> from your speakers/ headset) , it should be set to a port with something like 
> "analog-output-speaker"  . 
>

And there is no card definition too , I think pulseaudio did not select your 
audio card at all. 




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sound problem on Kubuntu 20.04

2020-12-09 Thread borissh1983
On Thursday, 10 December 2020 8:36:35 IST Shlomo Solomon wrote:
> seems OK, but I'm sending the output - maybe I'm missing something:
> 
> pacmd list-sinks
> 1 sink(s) available.
>   * index: 2
> name: 
> driver: 
> flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
> state: SUSPENDED
> suspend cause: IDLE
> priority: 1000
> volume: front-left: 65536 / 100% / 0.00 dB,   front-right:
> 65536 / 100% / 0.00 dB balance 0.00
> base volume: 65536 / 100% / 0.00 dB
> volume steps: 65537
> muted: no
> current latency: 0.00 ms
> max request: 344 KiB
> max rewind: 344 KiB
> monitor source: 2
> sample spec: s16le 2ch 44100Hz
> channel map: front-left,front-right
>  Stereo
> used by: 0
> linked by: 0
> configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
> module: 29
> properties:
> device.description = "Dummy Output"
> device.class = "abstract"
> device.icon_name = "audio-card"
> 
> 

I think that it is set to a dummy output (meaning no sound would be played from 
your speakers/ headset) , it should be set to a port with something like 
"analog-output-speaker"  . 



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sound problem on Kubuntu 20.04

2020-12-09 Thread Shlomo Solomon
seems OK, but I'm sending the output - maybe I'm missing something:

pacmd list-sinks
1 sink(s) available.
  * index: 2
name: 
driver: 
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1000
volume: front-left: 65536 / 100% / 0.00 dB,   front-right:
65536 / 100% / 0.00 dB balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 344 KiB
max rewind: 344 KiB
monitor source: 2
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
 Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
module: 29
properties:
device.description = "Dummy Output"
device.class = "abstract"
device.icon_name = "audio-card"



And with a bluetooth speaker connected:

pacmd list-sinks
1 sink(s) available.
  * index: 3
name: 
driver: 
flags: HARDWARE DECIBEL_VOLUME LATENCY 
state: SUSPENDED
suspend cause: IDLE
priority: 9050
volume: front-left: 93061 / 142% / 9.14 dB,   front-right:
93061 / 142% / 9.14 dB balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 2 KiB
max rewind: 0 KiB
monitor source: 3
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
 Stereo
used by: 0
linked by: 0
fixed latency: 39.51 ms
card: 1 
module: 30
properties:
bluetooth.protocol = "a2dp_sink"
device.description = "SENSOR S-1"
device.string = "F4:4E:FD:19:AE:B6"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "headset"
bluez.path = "/org/bluez/hci0/dev_F4_4E_FD_19_AE_B6"
bluez.class = "0x240404"
bluez.alias = "SENSOR S-1"
device.icon_name = "audio-headset-bluetooth"
device.intended_roles = "phone"
ports:
headset-output: Headset (priority 0, latency offset 0
usec, available: unknown) properties:

active port: 








On Thu, 10 Dec 2020 08:27:56 +0200
borissh1...@gmail.com wrote:

> On Thursday, 10 December 2020 7:56:23 IST Shlomo Solomon wrote:
> > I feel really stupid, but after hours of searching, I'm really
> > lost. No idea what I'm missing. 
> > 
> 
> I had a nasty PBCAK bug with debian recently that might be the same
> case for you, the default sink was sent to an inactive sink (muted). 
> 
> You can get your sinks by running pacmd list-sinks 
> 
> Check if that sink is set correctly to you, and is not muted (and
> enabled ! ).
> 
> 
> 
> 
> 
> 
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



-- 
Shlomo Solomon
http://the-solomons.net
Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sound problem on Kubuntu 20.04

2020-12-09 Thread Shlomo Solomon
sudo aplay alsa-utils .
[sudo] password for solomon: 
alsa-utils: No such file or directory


aplay -l
 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD
Analog] Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


On Thu, 10 Dec 2020 08:13:40 +0200
Tzafrir Cohen  wrote:

> Hi,
> 
> On 10/12/2020 7:56, Shlomo Solomon wrote:
> 
> > New computer - new install of Kubuntu 20.04 - no sound.
> >
> > I thought it might be a hardware problem since it's a new computer,
> > but when I boot to a LiveDVD of the same distro, everything is fine.
> 
> 
> Just to check one obvious thing: can you play directly with ALSA? As 
> root (so you don't have pulseaudio in the middle)?
> 
> 
> aplay alsa-utils .
> 
> 
> -- Tzafrir
> 
> 
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



-- 
Shlomo Solomon
http://the-solomons.net
Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sound problem on Kubuntu 20.04

2020-12-09 Thread borissh1983
On Thursday, 10 December 2020 7:56:23 IST Shlomo Solomon wrote:
> I feel really stupid, but after hours of searching, I'm really lost. No
> idea what I'm missing. 
> 

I had a nasty PBCAK bug with debian recently that might be the same case for 
you, the default sink was sent to an inactive sink (muted). 

You can get your sinks by running pacmd list-sinks 

Check if that sink is set correctly to you, and is not muted (and enabled ! ).






___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: sound problem on Kubuntu 20.04

2020-12-09 Thread Tzafrir Cohen

Hi,

On 10/12/2020 7:56, Shlomo Solomon wrote:


New computer - new install of Kubuntu 20.04 - no sound.

I thought it might be a hardware problem since it's a new computer, but
when I boot to a LiveDVD of the same distro, everything is fine.



Just to check one obvious thing: can you play directly with ALSA? As 
root (so you don't have pulseaudio in the middle)?



aplay alsa-utils .


-- Tzafrir


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il