You are not logged in.
Pages: 1
Hello :-)
Had no idea snd_hda_intel would vanish, or anything about sof-firmware changes. Found out via plugging headphones in killed sound; a reboot used to fix that, but ended up messing around and a reinstall needed. Have tried so many things (including alsamixer/unmute/save changes, different kernels, etc), read wiki and everywhere, and saw that creating an asound.conf including defaults.pcm.card 1 and defaults.ctl.card 1 could work, which it did, briefly, but on the next reboot it's gone, as well as 2nd monitor now not showing, after caught and unplugged hdmi cable by accident, so am not sure if that's related.
Eventually found a post about sof-firmware ... has made no difference after reboot. At moment have removed all pulseaudio and have only jack and sof-firmware installed, have run rm -R ~/.config/pulse, and going to try reboot. Running 5.4 LTS, Mate, on TUF GAMING X570-PLUS, AMD Ryzen 7 3800X, Radeon RX5700XT. Navi 10 HDMI Audio and Starship/Matisse HD Audio both need snd-hda-intel, which I can't find anywhere. Sorry, a real beginner, and various health difficulties. Would be very grateful for advice. Will add bits found during searches. In inxi, sound devices show as running on snd-hda-intel, but that's not available.
cat /proc/asound/modules ...
0 snd_hda_intel
1 snd_hda_intel
fuser -v /dev/snd/* ...
USER PID ACCESS COMMAND
/dev/snd/controlC0: painter 1130 F.... pulseaudio
/dev/snd/controlC1: painter 1130 F.... pulseaudio
Offline
Welcome to the boards
Please post the outputs of
aplay -lL
amixer -c0 #or 1, depending on which device you want output out of
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs
sudo dmesg | grep -E 'snd|sof'during reproduction of the issue in
[code]code tags[/code]Offline
Hello V1del and thank you very much for your response. The solution I was trying hadn't worked, so I'd found some suggestions e.g. blacklist snd_soc_ski, which didn't work, and then tried 'snd_hda_intel.dmic_detect=0' added into grub, which hasn't worked. Have just reversed that, and will provide outputs.
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
default
Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
hdmi:CARD=Generic,DEV=1
HD-Audio Generic, HDMI 1
HDMI Audio Output
hdmi:CARD=Generic,DEV=2
HD-Audio Generic, HDMI 2
HDMI Audio Output
hdmi:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 3
HDMI Audio Output
hdmi:CARD=Generic,DEV=4
HD-Audio Generic, HDMI 4
HDMI Audio Output
hdmi:CARD=Generic,DEV=5
HD-Audio Generic, HDMI 5
HDMI Audio Output
usbstream:CARD=Generic
HD-Audio Generic
USB Stream Output
sysdefault:CARD=Generic_1
HD-Audio Generic, ALCS1200A Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, ALCS1200A Analog
Front output / input
surround21:CARD=Generic_1,DEV=0
HD-Audio Generic, ALCS1200A Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, ALCS1200A Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, ALCS1200A Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, ALCS1200A Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, ALCS1200A Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, ALCS1200A Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic_1,DEV=0
HD-Audio Generic, ALCS1200A Digital
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic_1
HD-Audio Generic
USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALCS1200A Analog [ALCS1200A Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 1: ALCS1200A Digital [ALCS1200A Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.pci-0000_0b_00.1>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfcea0000 irq 77"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0b:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "ab38"
device.product.name = "Navi 10 HDMI Audio"
device.string = "0"
device.description = "Navi 10 HDMI Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: unknown)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, available: no)
off: Off (priority 0, available: unknown)
active profile: <output:hdmi-stereo>
sinks:
alsa_output.pci-0000_0b_00.1.hdmi-stereo/#0: Navi 10 HDMI Audio Digital Stereo (HDMI)
sources:
alsa_output.pci-0000_0b_00.1.hdmi-stereo.monitor/#0: Monitor of Navi 10 HDMI Audio Digital Stereo (HDMI)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "DELL U2719D"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
index: 1
name: <alsa_card.pci-0000_0d_00.4>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfcd00000 irq 79"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0d:00.4"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.string = "1"
device.description = "Starship/Matisse HD Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 65, available: no)
output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: no)
output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: no)
output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: no)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: no)
output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: no)
output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: no)
output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: no)
output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: no)
output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: no)
output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: no)
output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: no)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo>
sinks:
alsa_output.pci-0000_0d_00.4.analog-stereo/#1: Starship/Matisse HD Audio Controller Analog Stereo
sources:
alsa_output.pci-0000_0d_00.4.analog-stereo.monitor/#1: Monitor of Starship/Matisse HD Audio Controller Analog Stereo
ports:
analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
properties:
analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
properties:
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-headphones"
iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:
pacmd list-sinks
2 sink(s) available.
index: 0
name: <alsa_output.pci-0000_0b_00.1.hdmi-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9030
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: 0 KiB
max rewind: 0 KiB
monitor source: 0
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 .. 1999.82 ms
card: 0 <alsa_card.pci-0000_0b_00.1>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "0"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfcea0000 irq 77"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0b:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "ab38"
device.product.name = "Navi 10 HDMI Audio"
device.string = "hdmi:0"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "Navi 10 HDMI Audio Digital Stereo (HDMI)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "DELL U2719D"
active port: <hdmi-output-0>
* index: 1
name: <alsa_output.pci-0000_0d_00.4.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 79965 / 122% / 5.19 dB, front-right: 79965 / 122% / 5.19 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 100.14 ms
card: 1 <alsa_card.pci-0000_0d_00.4>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALCS1200A Analog"
alsa.id = "ALCS1200A Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfcd00000 irq 79"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0d:00.4"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.string = "front:1"
device.buffering.buffer_size = "17664"
device.buffering.fragment_size = "2944"
device.access_mode = "mmap"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Starship/Matisse HD Audio Controller Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
properties:
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-headphones>pacmd list-sink-inputs
0 sink input(s) available.sudo dmesg | grep -E 'snd|sof'
[sudo] password for painter:
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=e1532afa-719a-49a7-acf9-d2c8d50fd090 rw loglevel=3 snd_hda_intel.dmic_detect=0
[ 0.152393] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=e1532afa-719a-49a7-acf9-d2c8d50fd090 rw loglevel=3 snd_hda_intel.dmic_detect=0
[ 2.726740] snd_hda_intel 0000:0b:00.1: enabling device (0000 -> 0002)
[ 2.726826] snd_hda_intel 0000:0b:00.1: Handle vga_switcheroo audio client
[ 2.726953] snd_hda_intel 0000:0d:00.4: enabling device (0000 -> 0002)
[ 2.810716] snd_hda_codec_realtek hdaudioC1D0: ALCS1200A: SKU not ready 0x00000000
[ 2.811193] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALCS1200A: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[ 2.811195] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 2.811197] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[ 2.811198] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 2.811199] snd_hda_codec_realtek hdaudioC1D0: dig-out=0x1e/0x0
[ 2.811200] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 2.811202] snd_hda_codec_realtek hdaudioC1D0: Front Mic=0x19
[ 2.811204] snd_hda_codec_realtek hdaudioC1D0: Rear Mic=0x18
[ 2.811205] snd_hda_codec_realtek hdaudioC1D0: Line=0x1a
[ 3.786827] snd_hda_intel 0000:0b:00.1: bound 0000:0b:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])Offline
I think alsamixer is pointing to card 1 being the main one. I've made sure automute is off, and turned up to full various columns.
amixer -c1
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Line Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [30.00dB]
Front Right: 3 [100%] [30.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 0 [0%] [-17.25dB] [off]
Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 0 [0%] [-17.25dB] [off]
Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Line'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]Offline
you aren't trying to play back anything in those outputs. What are you trying to use to test play back?
Offline
Thank you for your time reading all that code! I'm using VLC ... but just to report that somehow audio has righted itself. Had gone to offline non-updated laptop, turning off the network on the main PC (just a privacy thing)... clicked over to load something onto USB later, and there was sound! No idea what seems to have fixed it tbh; could have been uninstalling pulseaudio/alsa etc, then reinstalling, or I ran sudo pacman -Sy lib32-alsa-plugins lib32-libpulse lib32-openal as part of normal reinstalls. Not sure, but will reboot to test.
EDIT: sound still okay after reboot.
Last edited by paintkit (2021-01-31 17:49:57)
Offline
You should never run pacman -Sy always use -Syu otherwise you are in partial upgrade territory which might as well be the reason for the original issue.
For VLC playback with pulseaudio you need to have libpulse installed which should be a baseline dependency of a lot of things.
Offline
Great advice ... normally run -Syu, so I'm not sure what I've copy/pasted over from my notes there, lol. I have libpulse installed, and the sound has been great until a couple of minutes ago ... everything went dead (freetube video and small wine game both were active then went silent). The latest journal entries though aren't from a couple of minutes ago:
Jan 31 17:45:46 painter kernel: kvm: disabled by bios
Jan 31 17:46:29 painter kernel: proc: Bad value for 'hidepid'
Jan 31 17:47:02 painter pulseaudio[1354]: ALSA woke us up to write new data to the device, but there was actually no>
Jan 31 17:47:02 painter pulseaudio[1354]: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please repor>
Jan 31 17:47:02 painter pulseaudio[1354]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() >
Jan 31 17:57:55 painter kernel: proc: Bad value for 'hidepid'
Jan 31 17:58:26 painter kernel: proc: Bad value for 'hidepid'
Jan 31 18:04:13 painter kernel: proc: Bad value for 'hidepid'
Jan 31 18:05:17 painter kernel: proc: Bad value for 'hidepid'
Jan 31 18:06:02 painter kernel: proc: Bad value for 'hidepid'
Jan 31 18:08:03 painter kernel: proc: Bad value for 'hidepid'
Jan 31 18:10:04 painter kernel: proc: Bad value for 'hidepid'
Jan 31 18:12:36 painter kernel: proc: Bad value for 'hidepid'aplay -L | grep :CARD
hdmi:CARD=Generic,DEV=0
hdmi:CARD=Generic,DEV=1
hdmi:CARD=Generic,DEV=2
hdmi:CARD=Generic,DEV=3
hdmi:CARD=Generic,DEV=4
hdmi:CARD=Generic,DEV=5
usbstream:CARD=Generic
sysdefault:CARD=Generic_1
front:CARD=Generic_1,DEV=0
surround21:CARD=Generic_1,DEV=0
surround40:CARD=Generic_1,DEV=0
surround41:CARD=Generic_1,DEV=0
surround50:CARD=Generic_1,DEV=0
surround51:CARD=Generic_1,DEV=0
surround71:CARD=Generic_1,DEV=0
iec958:CARD=Generic_1,DEV=0
usbstream:CARD=Generic_1Last edited by paintkit (2021-02-01 06:08:30)
Offline
I've tried many other things, including installing pipewire, but that was dreadful (vlc video jumping/no server found etc). At this point have removed all pipewire and pulseaudio, and some alsa packages remain/unable to remove. Have tried so many things to fix this audio.
Not sure what to do, as, when am learning more about pipewire am seeing that it's linked to wayland/web stuff, and am not keen at all; avoid IoT/online to the max. I realise most want wayland/pipewire and aren't concerned about increasing lack of privacy/telemetry/IoT that entails. I also have increasingly realised, after nearly 4 years of misery, that linux is much more about liking testing new things and bug-fixing, including pushing for telemetry etc over the last year or so, and also there's never any announcements any more about any changes, anywhere; changes just drop and ruin everything e.g. I only saw reference to pipewire via searching forums, and there was just one thread and not much information in that. I'm too ill for all this anymore.
I've tried the Debian side (various outcomes e.g. telemetry, unable to install, tensorflow, google captcha to access forum, discord/facebook only help route, no answers, etc etc etc), looked at manjaro (snap and privacy issues/tensorflow).
Utterly despise windows, and doesn't run well offline, which is the only way I've recently tried it, after more and more problems coming in with linux, but at least would have audio/use of main recently-bought PC. I can't believe I'm left with that as possibly the only option for privacy, audio, stability (despite occasional glitches, there's a stability in being offline and never updating). Thankfully have never updated the other laptop, so still have linux audio, and can keep that so, only switching net (with vpn) on briefly when needed, but is too hard on eyes for art etc.
May I ask if there are any distros that are pro-pulseaudio/non-IoT, but that can run a new PC? I've looked absolutely everywhere, it seems, but would be more than grateful for any suggestions, incase I've missed something ... although I suppose it doesn't matter which distro I run on the main PC, as long as it's offline, as then there'd be no telemetry going out or issues brought in.
Last edited by paintkit (2021-02-01 10:37:30)
Offline
I'm not sure why you are going off on this tangent. You aren't forced to use pipewire and even if it was, the pipewire side of things is irrelevant regarding any privacy or telemetry issues that other applications might have. If things "suddenly" went silent I'd rather think of a kernel/hardware or permissions issue. If you recheck with sudo fuser -v /dev/snd/* is pulseaudio still the only client occupying your devices? Did you test a different kernel like the LTS or so?
Offline
Thanks for response:-) Audio thing is 'final straw' stage, but I can understand it may seem off-topic to be bringing in the other stuff. All I'm reading is that pipewire is the new audio for linux, being added in to use pulseaudio also, and that the plan is pipewire and wayland working in tandem.
Audio suddenly went; hadn't touched anything or doing anything different from when it was working. I've not got pulseaudio installed at the moment, but will reinstall and add the result of the command you've requested. Pre-reboot it shows this.
sudo fuser -v /dev/snd/*
Cannot stat file /proc/463186/fd/18: Permission denied
Cannot stat file /proc/463186/fd/19: Permission denied
Cannot stat file /proc/463186/fd/33: Permission denied
Cannot stat file /proc/463186/fd/1023: Permission denied
Cannot stat file /proc/468078/fd/4: Permission denied
Cannot stat file /proc/468078/fd/6: Permission denied
Cannot stat file /proc/468078/fd/30: Permission deniedLast edited by paintkit (2021-02-01 11:04:54)
Offline
I suggest you drop hidepid if it actually leads to horrific random breakage. And if you don't want to do that did you follow the setup information in https://wiki.archlinux.org/index.php/Security#hidepid ?
Last edited by V1del (2021-02-01 11:08:26)
Offline
Thank you for advice and link; will look at it now.
Results after reboot:
sudo fuser -v /dev/snd/*
[sudo] password for painter:
Cannot stat file /proc/1663/fd/18: Permission denied
Cannot stat file /proc/1663/fd/19: Permission denied
Cannot stat file /proc/1663/fd/32: Permission denied
Cannot stat file /proc/1663/fd/1023: Permission denied
Cannot stat file /proc/1877/fd/4: Permission denied
Cannot stat file /proc/1877/fd/6: Permission denied
Cannot stat file /proc/1877/fd/30: Permission denied
USER PID ACCESS COMMAND
/dev/snd/controlC0: painter 1230 F.... pulseaudio
/dev/snd/controlC1: painter 1230 F.... pulseaudioLast edited by paintkit (2021-02-01 11:10:21)
Offline
The thing here is if there are other processes accessing your actual devices that aren't pulseaudio then this explains your problem and you'd need to fix that, as the other processes would block access for pulseaudio to the sounddevices (and even with other programs, if you have an ALSA program taking exclusive access of the device, anything else can't output audio)
Offline
Yes, but am not sure how to fix it, and has never happened before; whatever's changing things is too broken to be included in install. Have worked through wiki. Regarding hidepid, I found /etc/swap/ but it didn't look like the example I found, including mispelling realtime as relatime, eek ... but I changed the 1 beside that to a 0, as I read that 0 gives permissions to access all. Not rebooting yet, just incase, lol, until have got a few backups done, but will add the proper output if can access that.
Last edited by paintkit (2021-02-01 11:23:54)
Offline
relatime is not a misspelling that's what the relevant mount option is called...
relatime
Update inode access times relative to modify or change time. Access time is only updated if the pre‐
vious access time was earlier than the current modify or change time. (Similar to noatime, but it
doesn't break mutt or other applications that need to know if a file has been read since the last time
it was modified.)
If you don't know where the relevant hidepid configuration comes from, did you actually install Arch? What did you follow to set up this system originally?
Offline
Thanks for response. I follow my own summary notes, from wiki and averagelinuxuser, but don't understand what most of it does, even if I read about it, so have always made sure to not try altering anything, incase it breaks. Concern is only getting away from windows/privacy invasion, and to do art. Donations have stood in stead of being able to do anything technical. Arch runs the leanest system, with choice, so it's easier to avoid bloat/telemetry etc, unlike anywhere else now, but I have no idea how I've managed to not hit bumps in the road more often, lol.
And it turns out sound comes back if the headphones are plugged in then removed ... maybe a bios thing/something switched? Have rebooted and sound still here at the moment.
Last edited by paintkit (2021-02-01 15:19:53)
Offline
Do you dualboot Windows? I once shutdown my computer on Windows with the headphones still plugged in, and then sound wouldn't work on Linux. Logging back onto Windows, plugging and unplugging the headphones and rebooting into Linux did the trick. Maybe it was some hardware configuration that is stored outside the OS.
Offline
Hi dry and thanks for response. I'm not dual-booting; never managed to get that to work when first came over nearly 4 years ago. Interesting to hear your experience ... I think in these cases there's some hidden setting/permissions at work somewhere; during trying to fix things, I'd tried a live usb (eOS) and sound had worked in that, and when I came back into Arch install, the sound worked for about 30 seconds before turning off, which got me puzzled, lol.
Last edited by paintkit (2021-02-01 17:30:45)
Offline
Just to add that sound died again, and plugging in headphones, then unplugging, worked again ... seems to be the workaround that fixes things.
Offline
Pages: 1