You are not logged in.
Pages: 1
Hey,
so i recently installed arch linux, and few days later I realised i had no sound coming out from my laptop's speaker, nevetherless when i'm using my headphones it works just fine. I checked that their volume wasn't mute
This is my result when i type
pacmd list-cardsactive profile: <output:analog-stereo>
sinks:
alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Built-in Audio Analog Stereo
sources:
alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
ports:
analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
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"`I don't understand why the availability of the audio-speakers is at unknown
Offline
That its declared as unknown is normal and doesn't make an inherent statement over whether it should work or not.
amixer -c0 #or relevant card index
pacmd list-sinks
dmesg | grep sndOffline
As I have two audio card available (HDA Intel PCA, HDA NVidia), is there a way two know which one is the more relevant one ? I'm using a razer blade 2018
Nevetheless, the
pacmd list-sinksreturn me this :
1 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_1f.3.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: 49978 / 76% / -7.06 dB, front-right: 49978 / 76% / -7.06 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 .. 2000.00 ms
card: 1 <alsa_card.pci-0000_00_1f.3>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC298 Analog"
alsa.id = "ALC298 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xdd120000 irq 141"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a171"
device.product.name = "CM238 HD Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Realtek ALC298"
alsa.components = "HDA:10ec0298,1a586755,00100103 HDA:8086280b,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-speaker>and the last command doesn't display anything
Last edited by warthy (2020-04-29 11:07:46)
Offline
Nvida is for HDMI output out of external screens usually, for laptop built in speaker you want the "normal" built in audio card.
That dmesg doesn't contain *anything* might point to other issues as your dmesg is likely spammed with something that leads to the ringbuffer losing older context (though that can also be normal depending on what you are doing) use
sudo journalctl -b | grep sndor maybe post an entire
sudo journalctl -bso we can check for relevant context. FWIW which laptop model is this exactly?
Also maybe repost that during actual playback, as well as
pacmd list-sink-inputs(forgot to add that one should've been in the other post)
Last edited by V1del (2020-04-29 12:49:17)
Offline
This is was is returned from the first command :
[warthy@devwa ~]$ sudo journalctl -b | grep snd
[sudo] password for warthy:
Apr 29 14:59:45 devwa kernel: snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
Apr 29 14:59:45 devwa kernel: snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
Apr 29 14:59:45 devwa kernel: snd_hda_intel 0000:01:00.1: Disabling MSI
Apr 29 14:59:45 devwa kernel: snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
Apr 29 14:59:45 devwa kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Apr 29 14:59:45 devwa kernel: snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC298: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Apr 29 14:59:45 devwa kernel: snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Apr 29 14:59:45 devwa kernel: snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Apr 29 14:59:45 devwa kernel: snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
Apr 29 14:59:45 devwa kernel: snd_hda_codec_realtek hdaudioC0D0: inputs:
Apr 29 14:59:45 devwa kernel: snd_hda_codec_realtek hdaudioC0D0: Mic=0x18
Apr 29 14:59:45 devwa kernel: snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12For what i remember it is a classical razer blade 14" I bought in 2017, so probably the edition from 2016
This is from the last command:
[warthy@devwa ~]$ pacmd list-sink-inputs
0 sink input(s) available.I guess that having no sinks is a problem ^^
Last edited by warthy (2020-04-29 13:10:42)
Offline
Ok, i don't really know why but the speakers seems to work now ^^'
even is the problem is fixed, i'm interested into understanding what might have fixed it
Offline
Pages: 1