Hardware - Support > Sound

libasound2 not working after update

<< < (2/5) > >>

TheDead:
I think Moltke could be on to something...
1.Original post said:
snd_hda_codec_generic,snd_hda_codec_realtek

2.
Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2)
Subsystem: ASRock Incorporation MCP61 High Definition Audio
...but them it says :
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

3.
Then recently:
Destino por defecto: alsa_output.pci-0000_00_05.0.analog-stereo
Fuente por defecto: alsa_input.usb-KYE_Systems_Corp._FaceCam_VGA-02.mono-fallback

4.
Then last :
sysdefault:CARD=NVidia
    HDA NVidia, ALC887-VD Analog

Refering the the Widnows world, sound output goes trough different "channels/outputs" so the chipset and output could display differently.
But from in all I see
HDA Generic, Realtek, Intel then nVidia.

Maybe the output tries to go to a USB device (webcam, headphone, cellular, mp3 player, illuminating rock ;) ).
Point 3. mentions a webcam (?), so I would disconnect it and anything USB other than mouse and keyboard if possible and reboot.

I'm still a Linux noob so I can't "decode" all those logs myself. Maybe it's time to boot a live Linux USB key and check with that.

Moltke:
I'm quite not sure, because you didn't use BBcode and read all that is a bit messy, but it seems that the audio device might be not the right one, make sure that pulse is using the right device. If you've set this via configuration files, undo that, reboot and let pulseaudio to choose the audio device to use.

j8a:
Hi @Moltke ,
I tried both commands and I recieved no output  on the console. I also move the .asoundrc to .asoundr.bak and restart pulseaudio, but still not sound.

Then, I open a terminal command while I was playing a sound track on VLC and I excecuted the following commands:

aplay -Ll
default
    Playback/recording through the PulseAudio sound server surround21
2.1 Surround output to Front and Subwoofer speakers
surround40
    4.0 Surround output to Front and Rear speakers
surround41
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50
    5.0 Surround output to Front, Center and Rear speakers
surround51
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
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
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
sysdefault:CARD=NVidia
    HDA NVidia, ALC887-VD Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    Front speakers
surround21:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    Direct sample snooping device
hw:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=0
    HDA NVidia, ALC887-VD Analog
    Hardware device with all software conversions
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
**** Lista de PLAYBACK dispositivos hardware ****
tarjeta 0: NVidia [HDA NVidia], dispositivo 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdispositivos: 0/1
  Subdispositivo #0: subdevice #0

-----------------
fuser -v /dev/snd/*
                     USUARIO        ORDEN DE ACCESO PID
/dev/snd/controlC0:  jochoa     2826 F.... pulseaudio
/dev/snd/pcmC0D0p:   jochoa     2826 F...m pulseaudio


---------------

pacmd list-cards
1 card(s) available.
    index: 0
   name: <alsa_card.pci-0000_00_05.0>
   driver: <module-alsa-card.c>
   owner module: 7
   properties:
      alsa.card = "0"
      alsa.card_name = "HDA NVidia"
      alsa.long_card_name = "HDA NVidia at 0xefdf8000 irq 21"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:05.0"
      sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
      device.bus = "pci"
      device.vendor.id = "10de"
      device.vendor.name = "NVIDIA Corporation"
      device.product.id = "03f0"
      device.product.name = "MCP61 High Definition Audio"
      device.form_factor = "internal"
      device.string = "0"
      device.description = "Audio Interno"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   profiles:
      input:analog-stereo: Entrada Estéreo analógico (priority 65, available: no)
      output:analog-stereo: Salida Estéreo analógico (priority 6500, available: unknown)
      output:analog-stereo+input:analog-stereo: Estéreo Analógico Dúplex (priority 6565, available: no)
      off: Apagado (priority 0, available: unknown)
   active profile: <output:analog-stereo>
   sinks:
      alsa_output.pci-0000_00_05.0.analog-stereo/#0: Audio Interno Estéreo analógico
   sources:
      alsa_output.pci-0000_00_05.0.analog-stereo.monitor/#0: Monitor of Audio Interno Estéreo analógico
   ports:
      analog-input-front-mic: Micrófono frontal (priority 8500, latency offset 0 usec, available: no)
         properties:
            device.icon_name = "audio-input-microphone"
      analog-input-rear-mic: Micrófono trasero (priority 8200, latency offset 0 usec, available: no)
         properties:
            device.icon_name = "audio-input-microphone"
      analog-input-linein: Línea de entrada (priority 8100, latency offset 0 usec, available: no)
         properties:
            
      analog-output-lineout: Línea de salida (priority 9000, latency offset 0 usec, available: no)
         properties:
            
      analog-output-speaker: Altavoces (priority 10000, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-speakers"
      analog-output-headphones: Auriculares (priority 9900, latency offset 0 usec, available: no)
         properties:
            device.icon_name = "audio-headphones"
 jochoa  ~   pacmd list-sinks
1 sink(s) available.
  * index: 0
   name: <alsa_output.pci-0000_00_05.0.analog-stereo>
   driver: <module-alsa-card.c>
   flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
   state: RUNNING
   suspend cause: (none)
   priority: 9039
   volume: front-left: 65035 /  99% / -0,20 dB,   front-right: 65035 /  99% / -0,20 dB
           balance 0,00
   base volume: 65536 / 100% / 0,00 dB
   volume steps: 65537
   muted: no
   current latency: 39,54 ms
   max request: 6 KiB
   max rewind: 6 KiB
   monitor source: 0
   sample spec: s16le 2ch 44100Hz
   channel map: front-left,front-right
                Estéreo
   used by: 1
   linked by: 1
   configured latency: 40,00 ms; range is 0,50 .. 1999,82 ms
   card: 0 <alsa_card.pci-0000_00_05.0>
   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 = "0"
      alsa.card_name = "HDA NVidia"
      alsa.long_card_name = "HDA NVidia at 0xefdf8000 irq 21"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:05.0"
      sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
      device.bus = "pci"
      device.vendor.id = "10de"
      device.vendor.name = "NVIDIA Corporation"
      device.product.id = "03f0"
      device.product.name = "MCP61 High Definition Audio"
      device.form_factor = "internal"
      device.string = "front:0"
      device.buffering.buffer_size = "352768"
      device.buffering.fragment_size = "176384"
      device.access_mode = "mmap+timer"
      device.profile.name = "analog-stereo"
      device.profile.description = "Estéreo analógico"
      device.description = "Audio Interno Estéreo analógico"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   ports:
      analog-output-lineout: Línea de salida (priority 9000, latency offset 0 usec, available: no)
         properties:
            
      analog-output-speaker: Altavoces (priority 10000, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-speakers"
      analog-output-headphones: Auriculares (priority 9900, latency offset 0 usec, available: no)
         properties:
            device.icon_name = "audio-headphones"
   active port: <analog-output-speaker>

------------------
pacmd list-sink-inputs
1 sink input(s) available.
    index: 26
   driver: <protocol-native.c>
   flags: START_CORKED FIX_RATE
   state: RUNNING
   sink: 0 <alsa_output.pci-0000_00_05.0.analog-stereo>
   volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
           balance 0,00
   muted: no
   current latency: 1166,23 ms
   requested latency: 40,00 ms
   sample spec: float32le 2ch 44100Hz
   channel map: front-left,front-right
                Estéreo
   resample method: copy
   module: 11
   client: 27 <VLC media player (LibVLC 3.0.9.2)>
   properties:
      media.role = "video"
      media.name = "audio stream"
      application.name = "VLC media player (LibVLC 3.0.9.2)"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "33"
      application.id = "org.VideoLAN.VLC"
      application.version = "3.0.9.2"
      application.icon_name = "vlc"
      application.language = "es_ES.UTF-8"
      application.process.id = "4433"
      application.process.user = "jochoa"
      application.process.host = "jochoa-pc"
      application.process.binary = "vlc"
      window.x11.display = ":0"
      application.process.machine_id = "55b959beaf3c4e8c885de71ed85401c1"
      application.process.session_id = "c1"
      module-stream-restore.id = "sink-input-by-media-role:video"

-------------------
The more curious thing is that when i run in a terminal the command:
inxi -Aaaz
Audio:
  Device-1: NVIDIA MCP61 High Definition Audio vendor: ASRock
  driver: snd_hda_intel v: kernel bus ID: 00:05.0 chip ID: 10de:03f0
  Sound Server: ALSA v: k5.8.0-53-generic

It sounds that pulseAudio is not available, although when I start pulseaudio
ps ax | grep pulse
   2494 ?        S<sl   0:02 /usr/bin/pulseaudio --daemonize=no --log-target=journal
   2685 ?        Sl     0:01 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libpulseaudio-plugin.so 19 14680075 pulseaudio Complemento de PulseAudio Ajustar el volumen del sistema de sonido de PulseAudio
  11341 ?        S<l    0:00 pulseaudio --start
  11770 pts/0    S+     0:00 grep pulse


I could still not see where the problem is.

Regards

Moltke:

--- Quote from: j8a on May 26, 2021, 09:54:17 AM ---Hi @TheDead,
I unmark the post now, I though it will have no responses but @Moltke asked me a question about this and now you too.
I installed HWE support and the output from the terminal command line is the following:

hwe-support-status --verbose
Your Hardware Enablement Stack (HWE) is supported until abril 2025

I rebooted and disabled the sound from the BIOS. Afterwards, I reboot and enabled it.
In both cases the sound is still missing, the output I wrote are the same.  It is a weird problem.
 
The only thing is changed is that now, the output of pactl info is the following.

pactl info
Cadena de servidor: /run/user/1000/pulse/native
Versión de protocolo de biblioteca: 33
Versión de protocolo de servidor: 33
Es local: sí
Índice de cliente: 33
Tamaño de grupo: 65472
Nombre de usuario: jochoa
Nombre del equipo: jochoa-pc
Nombre del servidor: pulseaudio
Versión del servidor: 13.99.1
Especificación de muestra por defecto: s16le 2ch 44100Hz
Mapa de canal por defecto: front-left,front-right
Destino por defecto: alsa_output.pci-0000_00_05.0.analog-stereo
Fuente por defecto: alsa_input.usb-KYE_Systems_Corp._FaceCam_VGA-02.mono-fallback
Cookie: 4084:51ac


Regards,

--- End quote ---

According to pactl info pulseaudio is enabled and up, which means you should be getting sound, aren't you? If you don't, try renaming your ~/.asoundrc to ~/.asoundrc.bak, restart pulseaudio
--- Code: ---pulseaudio --check
--- End code ---
returns 0 when the pulseaudio daemon is already running, or non-zero otherwise. Then
--- Code: ---pulseaudio --start
--- End code ---
start pulseaudio if it is not running yet. Implies --daemonize. For more info read man pulseaudio

j8a:
Hi @TheDead,
I unmark the post now, I though it will have no responses but @Moltke asked me a question about this and now you too.
I installed HWE support and the output from the terminal command line is the following:

hwe-support-status --verbose
Your Hardware Enablement Stack (HWE) is supported until abril 2025

I rebooted and disabled the sound from the BIOS. Afterwards, I reboot and enabled it.
In both cases the sound is still missing, the output I wrote are the same.  It is a weird problem.
 
The only thing is changed is that now, the output of pactl info is the following.

pactl info
Cadena de servidor: /run/user/1000/pulse/native
Versión de protocolo de biblioteca: 33
Versión de protocolo de servidor: 33
Es local: sí
Índice de cliente: 33
Tamaño de grupo: 65472
Nombre de usuario: jochoa
Nombre del equipo: jochoa-pc
Nombre del servidor: pulseaudio
Versión del servidor: 13.99.1
Especificación de muestra por defecto: s16le 2ch 44100Hz
Mapa de canal por defecto: front-left,front-right
Destino por defecto: alsa_output.pci-0000_00_05.0.analog-stereo
Fuente por defecto: alsa_input.usb-KYE_Systems_Corp._FaceCam_VGA-02.mono-fallback
Cookie: 4084:51ac


Regards,

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version