From shlomo.solomon at gmail.com Thu Dec 10 07:56:23 2020 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 10 Dec 2020 07:56:23 +0200 Subject: sound problem on Kubuntu 20.04 Message-ID: <20201210075623.5ef53d9a@shlomo1.solomon> I feel really stupid, but after hours of searching, I'm really lost. No idea what I'm missing. 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. When I connect a Bluetooth speaker, it's recognized and works. kmix does not show any devices alsamixer -c 0 shows: Card: HDA Intel PCH Chip: Realtek ALC887-VD cat /proc/asound/modules 0 snd_hda_intel cat /proc/asound/devices 1: : sequencer 2: [ 0- 0]: digital audio playback 3: [ 0- 0]: digital audio capture 4: [ 0- 3]: digital audio playback 5: [ 0- 7]: digital audio playback 6: [ 0- 8]: digital audio playback 7: [ 0- 9]: digital audio playback 8: [ 0-10]: digital audio playback 9: [ 0- 0]: hardware dependent 10: [ 0- 2]: hardware dependent 11: [ 0] : control 33: : timer I don't see anything unusual in dmesg [ 16.769816] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002) [ 16.769946] snd_hda_intel 0000:00:1f.3: Applying patch firmware 'hda-jack-retask.fw' [ 16.883625] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [ i915]) [ 16.999730] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC887-VD: line_outs=1 (0x14/0x0/ 0x0/0x0/0x0) type:line [ 16.999731] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 16.999731] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0) [ 16.999732] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0 [ 16.999732] snd_hda_codec_realtek hdaudioC0D0: inputs: [ 16.999733] snd_hda_codec_realtek hdaudioC0D0: Line=0x1a [ 17.033081] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1f.3/sound/card0/input6 [ 17.033107] input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1f.3/sound/card0/input 7 [ 17.033133] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card 0/input8 [ 17.033156] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/ input9 [ 17.033177] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/ input10 [ 17.033197] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/ input11 [ 17.033217] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/ input12 [ 17.033238] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0 /input13 -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 From tzafrir at cohens.org.il Thu Dec 10 08:13:40 2020 From: tzafrir at cohens.org.il (Tzafrir Cohen) Date: Thu, 10 Dec 2020 08:13:40 +0200 Subject: sound problem on Kubuntu 20.04 In-Reply-To: <20201210075623.5ef53d9a@shlomo1.solomon> References: <20201210075623.5ef53d9a@shlomo1.solomon> Message-ID: <7104468f-37c6-78ee-bcc0-9ba6447c4883@cohens.org.il> 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 From borissh1983 at gmail.com Thu Dec 10 08:27:56 2020 From: borissh1983 at gmail.com (borissh1983 at gmail.com) Date: Thu, 10 Dec 2020 08:27:56 +0200 Subject: sound problem on Kubuntu 20.04 References: <20201210075623.5ef53d9a@shlomo1.solomon> Message-ID: <5419542.DvuYhMxLoT@beast> 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 ! ). From shlomo.solomon at gmail.com Thu Dec 10 08:30:55 2020 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 10 Dec 2020 08:30:55 +0200 Subject: sound problem on Kubuntu 20.04 In-Reply-To: <7104468f-37c6-78ee-bcc0-9ba6447c4883@cohens.org.il> References: <20201210075623.5ef53d9a@shlomo1.solomon> <7104468f-37c6-78ee-bcc0-9ba6447c4883@cohens.org.il> Message-ID: <20201210083055.4e0498e3@shlomo1.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 at 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 From shlomo.solomon at gmail.com Thu Dec 10 08:36:35 2020 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 10 Dec 2020 08:36:35 +0200 Subject: sound problem on Kubuntu 20.04 In-Reply-To: <5419542.DvuYhMxLoT@beast> References: <20201210075623.5ef53d9a@shlomo1.solomon> <5419542.DvuYhMxLoT@beast> Message-ID: <20201210083635.195bcc28@shlomo1.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 borissh1983 at 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 at 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 From borissh1983 at gmail.com Thu Dec 10 08:50:53 2020 From: borissh1983 at gmail.com (borissh1983 at gmail.com) Date: Thu, 10 Dec 2020 08:50:53 +0200 Subject: sound problem on Kubuntu 20.04 References: <20201210075623.5ef53d9a@shlomo1.solomon> <5419542.DvuYhMxLoT@beast> <20201210083635.195bcc28@shlomo1.solomon> Message-ID: <4586818.GXAFRqVoOG@beast> 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" . From borissh1983 at gmail.com Thu Dec 10 08:55:42 2020 From: borissh1983 at gmail.com (borissh1983 at gmail.com) Date: Thu, 10 Dec 2020 08:55:42 +0200 Subject: sound problem on Kubuntu 20.04 References: <20201210075623.5ef53d9a@shlomo1.solomon> <20201210083635.195bcc28@shlomo1.solomon> <4586818.GXAFRqVoOG@beast> Message-ID: <12664946.uLZWGnKmhe@beast> On Thursday, 10 December 2020 8:50:53 IST borissh1983 at 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. From shlomo.solomon at gmail.com Thu Dec 10 09:02:48 2020 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 10 Dec 2020 09:02:48 +0200 Subject: sound problem on Kubuntu 20.04 In-Reply-To: <12664946.uLZWGnKmhe@beast> References: <20201210075623.5ef53d9a@shlomo1.solomon> <20201210083635.195bcc28@shlomo1.solomon> <4586818.GXAFRqVoOG@beast> <12664946.uLZWGnKmhe@beast> Message-ID: <20201210090248.7bb60c85@shlomo1.solomon> On Thu, 10 Dec 2020 08:55:42 +0200 borissh1983 at 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 at 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 From borissh1983 at gmail.com Thu Dec 10 09:40:11 2020 From: borissh1983 at gmail.com (borissh1983 at gmail.com) Date: Thu, 10 Dec 2020 09:40:11 +0200 Subject: sound problem on Kubuntu 20.04 References: <20201210075623.5ef53d9a@shlomo1.solomon> <12664946.uLZWGnKmhe@beast> <20201210090248.7bb60c85@shlomo1.solomon> Message-ID: <1775331.CQOukoFCf9@beast> On Thursday, 10 December 2020 9:02:48 IST Shlomo Solomon wrote: > On Thu, 10 Dec 2020 08:55:42 +0200 > borissh1983 at 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 -vvvvv From tzafrir at cohens.org.il Thu Dec 10 09:40:41 2020 From: tzafrir at cohens.org.il (Tzafrir Cohen) Date: Thu, 10 Dec 2020 09:40:41 +0200 Subject: sound problem on Kubuntu 20.04 In-Reply-To: <20201210090248.7bb60c85@shlomo1.solomon> References: <20201210075623.5ef53d9a@shlomo1.solomon> <20201210083635.195bcc28@shlomo1.solomon> <4586818.GXAFRqVoOG@beast> <12664946.uLZWGnKmhe@beast> <20201210090248.7bb60c85@shlomo1.solomon> Message-ID: 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 From shlomo.solomon at gmail.com Thu Dec 10 09:57:19 2020 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 10 Dec 2020 09:57:19 +0200 Subject: sound problem on Kubuntu 20.04 In-Reply-To: References: <20201210075623.5ef53d9a@shlomo1.solomon> <20201210083635.195bcc28@shlomo1.solomon> <4586818.GXAFRqVoOG@beast> <12664946.uLZWGnKmhe@beast> <20201210090248.7bb60c85@shlomo1.solomon> Message-ID: <20201210095719.3746e9a0@shlomo1.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 From shlomo.solomon at gmail.com Thu Dec 10 10:49:44 2020 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 10 Dec 2020 10:49:44 +0200 Subject: sound problem on Kubuntu 20.04 In-Reply-To: <1775331.CQOukoFCf9@beast> References: <20201210075623.5ef53d9a@shlomo1.solomon> <12664946.uLZWGnKmhe@beast> <20201210090248.7bb60c85@shlomo1.solomon> <1775331.CQOukoFCf9@beast> Message-ID: <20201210104944.423ab03f@shlomo1.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 borissh1983 at gmail.com wrote: > On Thursday, 10 December 2020 9:02:48 IST Shlomo Solomon wrote: > > On Thu, 10 Dec 2020 08:55:42 +0200 > > borissh1983 at 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 > -vvvvv > > > > > > _______________________________________________ > Linux-il mailing list > Linux-il at 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