You are not logged in.
Pages: 1
My system was playing sound normally until I decided to hibernate it and, after power it on again, reboot it (my internet connection was not working). After this, my os wasn't playing any sound at all. I ran:
speaker-test 1.2.6
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
Playback open error: -16,Device or resource busy
I tried output is muted after reboot, disabled auto-mute mode and nothing worked.
I already have my default sound card selected.
Then finally with getting debug output from pulseaudio I could see the output of speaker-test normally, but I still can't hear a thing. What should I do now? Btw I rebooted my system again and the Playback open error: -16,Device or resource busy appeared again.
Last edited by Kurokishin (2022-03-12 12:37:15)
Offline
the busy error means "something" is already using the device, what's your output for
sudo fuser -v /dev/snd/*
this can be normal if you're using pulse and didn't setup pulseaudio-alsa which you should if you're using pulse.
Last edited by V1del (2022-03-03 00:00:53)
Offline
I technically was using only alsamixer to handle my audio, but downloaded pulseaudio because of Discord. I installed the pulseaudio-alsa package and confirmed that the snd_pcm_oss module is not loaded at boot.
sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: rafael 899 F.... pulseaudio
/dev/snd/controlC1: rafael 899 F.... pulseaudio
Last edited by Kurokishin (2022-03-03 00:37:02)
Offline
looks okay, you still have issues? What's your output for
aplay -l
amixer -c0
pacmd list-cards
pacmd list-sinks
Offline
Yep, I still have issues.
Outuput:
aplay -l
**** 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 1: Generic_1 [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
amixer -c0
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.pci-0000_08_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 0xfcc88000 irq 63"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:08:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:08:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "15de"
device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller (PRIME B450M-A Motherboard)"
device.string = "0"
device.description = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller (PRIME B450M-A Motherboard)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
off: Off (priority 0, available: unknown)
active profile: <off>
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
index: 1
name: <alsa_card.pci-0000_08_00.6>
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 0xfcc80000 irq 64"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:08:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:08:00.6/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "15e3"
device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller (PRIME B450M-A Motherboard)"
device.string = "1"
device.description = "Family 17h (Models 10h-1fh) HD Audio Controller (PRIME B450M-A Motherboard)"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 32833, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 39268, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 39333, available: unknown)
output:iec958-stereo: Digital Stereo (IEC958) Output (priority 38268, available: unknown)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 38333, available: unknown)
output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (priority 300, available: unknown)
output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (priority 33133, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_08_00.6.analog-stereo/#4: Family 17h (Models 10h-1fh) HD Audio Controller (PRIME B450M-A Motherboard) Analog Stereo
sources:
alsa_input.pci-0000_08_00.6.analog-stereo/#1: Family 17h (Models 10h-1fh) HD Audio Controller (PRIME B450M-A Motherboard) Analog Stereo
alsa_output.pci-0000_08_00.6.analog-stereo.monitor/#5: Monitor of Family 17h (Models 10h-1fh) HD Audio Controller (PRIME B450M-A Motherboard) 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: yes)
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: yes)
properties:
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
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
1 sink(s) available.
* index: 4
name: <alsa_output.pci-0000_08_00.6.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 24163 / 37% / -26.00 dB, front-right: 24163 / 37% / -26.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: 5
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: 1 <alsa_card.pci-0000_08_00.6>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC887-VD Analog"
alsa.id = "ALC887-VD 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 0xfcc80000 irq 64"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:08:00.6"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:08:00.6/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "15e3"
device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller (PRIME B450M-A Motherboard)"
device.string = "front:1"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Family 17h (Models 10h-1fh) HD Audio Controller (PRIME B450M-A Motherboard) 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: yes)
properties:
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-lineout>
Offline
Looks good as well (except in this case amixer -c1 would be the better amixer to look at), try to reinit the codec state, without anything already playing run a
sudo alsactl init
and then try again, this might be some buggy FW state due to the hibernation.
Last edited by V1del (2022-03-03 12:35:26)
Offline
It worked, but when I rebooted my pc the problem of no sound appeared again, this time the sudo alsactl init gave an output though the problem was not solved. Now I just hear a very low crackling sound that goes forever
sudo alsactl init
Found hardware: "HDA-Intel" "ATI R6xx HDMI" "HDA:1002aa01,00aa0100,00100700" "0x1043" "0x876b"
Hardware is initialized using a generic method
Found hardware: "HDA-Intel" "Realtek ALC887-VD" "HDA:10ec0887,104386c7,00100302" "0x1043" "0x86c7"
Hardware is initialized using a generic method
amixer -c1
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 44 [69%] [-20.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 0 [0%] [-64.00dB] [off]
Front Right: Playback 0 [0%] [-64.00dB] [off]
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 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [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 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
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 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [on]
Front Right: Playback 0 [0%] [-34.50dB] [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: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 28 [61%] [12.00dB] [on]
Front Right: Capture 28 [61%] [12.00dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Front Mic' 'Rear Mic' 'Line'
Item0: 'Rear Mic'
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 31 [100%] [12.00dB] [off]
Front Right: Playback 31 [100%] [12.00dB] [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]
Last edited by Kurokishin (2022-03-03 13:02:17)
Offline
Any more ideas? I tried restarting pulseaudio (using -k and -- start flags), output stuck muted while Master is toggled, but to no avail.
When I attempted to restart the service using systemd I got the following:
sudo systemctl restart pulseaudio.service
Failed to restart pulseaudio.service: Unit pulseaudio.service not found.
Pulseaudio status (if it helps in anything):
systemctl --user status pulseaudio
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
Active: active (running) since Fri 2022-03-04 13:17:50 -03; 18s ago
TriggeredBy: ● pulseaudio.socket
Main PID: 571 (pulseaudio)
Tasks: 7 (limit: 15459)
Memory: 27.9M
CPU: 172ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
├─571 /usr/bin/pulseaudio --daemonize=no --log-target=journal
└─577 /usr/lib/pulse/gsettings-helper
Mar 04 13:17:49 arch systemd[421]: Starting Sound Service...
Mar 04 13:17:50 arch pulseaudio[571]: stat('/etc/pulse/default.pa.d'): No such file or directory
Mar 04 13:17:50 arch systemd[421]: Started Sound Service.
Last edited by Kurokishin (2022-03-04 16:20:04)
Offline
you'd restart pulse without sudo and with --user as well. Though I doubt that will help since I assume a more low level incompat than something pulse can fix.
If
speaker-test -Dhw:1 -c2
doesn't work then the issue is either at the HW or the firmware level. Do you have a Windows dual boot? Did you ensure fast boot is disabled there? What changed between the instance where it worked and where it stopped working? did it randomly work and then not again when you rebooted? Did you update/change anything before the reboot?
Offline
The command speaker-test -Dhw:1 -c2 didn't work.
I use dual boot, but the fast startup (I think u are referring to this when talking about "fast boot") feature is already disabled even before installing arch.
The problem started when I put my system to hibernate for the second time and when I turn on the pc again the internet wasn't working, which is exatcly what happened in the first time hibernating my arch install aside from this time the audio wasn't working.
Sometimes when I log in my system and run:
sudo alsactl init
the sound starts working, sometimes it doesn't, it's just very inconsistent. That solution doesn't work when I reboot the system.
Just before posting this message I suspended my system and when it woke up the audio returned for some reason. I tried it a few times and this temporary solution is working so far, even though this is not ideal.
Btw I don't if this helps or not, but everytime I run:
speaker-test
speaker-test 1.2.6
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 192 to 2097152
Period size range from 64 to 699051
Using max buffer size 2097152
Periods = 4
was set period_size = 524288
was set buffer_size = 2097152
0 - Front Left
Time per period = 10.938598
0 - Front Left
It just keeps showing only Front Left
Though with the command you gave me the output shows both Front Left and Front Right:
speaker-test -Dhw:1 -c2
speaker-test 1.2.6
Playback device is hw:1
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 6.475918
Last edited by Kurokishin (2022-03-05 03:08:12)
Offline
The speaker test anomaly is normal, that's what the -c2 flag is for, otherwise it will only use one rather than 2 channels.
Double-check the fast start setting, Windows can and does reenable it on occasion during updates, and since you technically have a hibernating system then, which you follow up by hibernating a completely different OS, all sorts of weirdness can happen. Outside of that's it's plain very possible you have either a kernel or a firmware bug or both when waking up. Do you remember which kernel you were on that allowed you to wakeup from hibernation successfully? Other than that maybe check for a UEFI/BIOS update.
Offline
After updating the BIOS everything got back to normal, thank you very much for your help.
Offline
Looks like my problem is back. During the week my sound was working, though it had a low sizzling sound playing non-stop. I was hibernating no problem but when i decided to turn my pc off completely and turned it on today the audio was gone. speaker-test still gives normal output and suspending the machine still works as a temporary solution (with the sizzling sound occurring). Any thoughts?
Last edited by Kurokishin (2022-03-12 12:51:33)
Offline
Pages: 1