Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] [pulseaudio / GNOME] audio has suddenly disappeared
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sat Jan 23, 2021 12:05 pm    Post subject: [SOLVED] [pulseaudio / GNOME] audio has suddenly disappeared Reply with quote

I have a (simple) desktop PC with GENTOO, using a GNOME desktop profile. This machine has been working perfectly for 2 years or so.

Yesterday evening everything was fine, I put the PC in "suspend", and when I used the PC this morning, the sound was no longer working.

I checked the Gentoo Wiki about pulseaudio https://wiki.gentoo.org/wiki/PulseAudio

The GNOME sound settings and pavucontrol-qt only show the "Dummy Output". As in the Gentoo Wiki FAQ I checked for "other programs" but none were listed.

When I click on the "system sounds" in the GNOME sound settings, the "VU meter" shows the sound - but nothing is coming out of the speakers.

Code:

sagittarius ~ # lspci -vvv | grep -A8 Audio
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
   Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family HD Audio Controller
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 32, Cache Line Size: 64 bytes
   Interrupt: pin A routed to IRQ 125
   Region 0: Memory at df120000 (64-bit, non-prefetchable) [size=16K]
   Region 4: Memory at df100000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: [50] Power Management version 3
      Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)


Code:

sagittarius ~ # lsmod | grep snd
snd_hda_intel          32768  0
snd_intel_nhlt         16384  1 snd_hda_intel
snd_hda_codec          94208  1 snd_hda_intel
snd_hda_core           65536  2 snd_hda_intel,snd_hda_codec
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                81920  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              32768  1 snd_pcm
snd                    69632  5 snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm


Code:

rooijen@sagittarius ~ $ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
front:CARD=PCH
    Front output / input
surround21:CARD=PCH
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output


Code:

rooijen@sagittarius ~ $ aplay -l
**** ハードウェアデバイス PLAYBACK のリスト ****


(sorry my PC is Japanese, it means "hardware device PLAYBACK list"). The list is empty. It seems that pulseaudio cannot find the sound card.

Code:

rooijen@sagittarius ~ $ alsa-info.sh


Output: http://alsa-project.org/db/?f=5d478ec0d0bcd4d09502bcd0dfbb6a57e8cda895

Note: I updated to kernel 5.4.80-r1 about a week ago, everything was fine. I updated the world set on January 18 2021. I checked kernel config, all sound settings are "M".


Last edited by WvR on Tue Feb 09, 2021 11:42 am; edited 1 time in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6640
Location: The soundosphere

PostPosted: Sat Jan 23, 2021 11:16 pm    Post subject: Reply with quote

I had a similar issue on a Lenovo Yoga. Let me go find it and edit this post with more info...

EDIT:

https://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html

I solved this issue in Ubuntu, but the same or a similar solution might apply to you.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sun Jan 24, 2021 12:35 am    Post subject: Reply with quote

I already found that posting, and it didn't solve my problem.

Note: in
Code:
alsamixer
I can select "Default (PulseAudio)" and "HDA Intel PCH". If I select "HDA Intel PCH", the "PCM" volume is at 100, but the green "OO" are not indicated. Apparently, ALSA thinks the channel is muted (?)

In
Code:
pavucontrol-qt
there are three options for "output":

- all output devices
- hardware output devices
- virtual devices

If I select "hardware output devices",
Code:
pavucontrol-qt
says "no devices found".

If I play some music in VLC, the VU Meter in the GNOME Sound Settings does show that the music is playing.....

Code:

┌─────────────────────────────────────────────── AlsaMixer v1.2.3 ───────────────────────────────────────────────┐
│ カード: PulseAudio                                                                     F1:  ヘルプ             │
│ チップ: PulseAudio                                                                     F2:  システム情報       │
│   表示: F3:[再生] F4: 録音  F5: 全て                                                   F6:  サウンドカード選択 │
│   項目: Master                                                                         Esc: 終了               │
│                                                                                                                │
│                                                      ┌──┐                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      ├──┤                                                      │
│                                                      │OO│                                                      │
│                                                      └──┘                                                      │
│                                                    100<>100                                                    │
│                                                   < Master >                                                   │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────


and

Code:

┌─────────────────────────────────────────────── AlsaMixer v1.2.3 ───────────────────────────────────────────────┐
│ カード: PulseAudio                                                                     F1:  ヘルプ             │
│ チップ: PulseAudio                                                                     F2:  システム情報       │
│   表示: F3:[再生] F4: 録音  F5: 全て                                                   F6:  サウンドカード選択 │
│   項目: Master                                                                         Esc: 終了               │
│                                                                                                                │
│                                                      ┌──┐                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                             ┌── サウンドカード ──┐                                             │
│                                             │-  (デフォルト)     │                                             │
│                                             │0  HDA Intel PCH    │                                             │
│                                             │   デバイス名入力...│                                             │
│                                             └────────────────────┘                                             │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      ├──┤                                                      │
│                                                      │OO│                                                      │
│                                                      └──┘                                                      │
│                                                    100<>100                                                    │
│                                                   < Master >                                                   │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘


and

Code:

┌─────────────────────────────────────────────── AlsaMixer v1.2.3 ───────────────────────────────────────────────┐
│ カード: HDA Intel PCH                                                                  F1:  ヘルプ             │
│ チップ:                                                                                F2:  システム情報       │
│   表示: F3:[再生] F4: 録音  F5: 全て                                                   F6:  サウンドカード選択 │
│   項目: PCM [dBゲイン: 0.00, 0.00]                                                     Esc: 終了               │
│                                                                                                                │
│                                                      ┌──┐                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      │▒▒│                                                      │
│                                                      └──┘                                                      │
│                                                    100<>100                                                    │
│                                                   <  PCM   >                                                   │
│                                                                                                                │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Back to top
View user's profile Send private message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sat Jan 30, 2021 12:34 am    Post subject: Reply with quote

Bump after one week of no activity.

Really, is there nobody who has some tips?

- I upgraded the kernel to 5.4.92-gentoo, but the problem persists
- journalctl gives one (possibly related) error:

Code:
 
 1月 30 09:24:17 sagittarius systemd[2172]: pulseaudio.service: Succeeded.
 1月 30 09:24:17 sagittarius systemd[2172]: pulseaudio.service: Consumed 1.906s CPU time.
 1月 30 09:24:17 sagittarius systemd[2172]: Starting Sound Service...
 1月 30 09:24:18 sagittarius pulseaudio[3912]: E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
 1月 30 09:24:18 sagittarius pulseaudio[3912]: E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_00_1f.3" card_name="alsa_card.pci-0000_00_1f.3" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no de>


I checked several fora for similar errors, but the solution (downgrade ALSA) did not solve my problem.

Both pavucontrol-qt and the GNOME sound menu persistently only show the "Dummy Output" device.

Any help is appreciated.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Sat Jan 30, 2021 12:44 am    Post subject: Reply with quote

Well, I really can't help much, your setup is quadruple horror for my taste. (Gnome, systemd, PulseAudio, some bloated kernel.) However, it looks like the ALSA kernel module for your codec chip does not load. I can only guess why. Maybe it got damaged due to filesystem corruption. Or maybe it is a hardware issue and this chip gave up the ghost. If you boot from some liveCD, do you have sound?

Quote:
I checked several fora for similar errors, but the solution (downgrade ALSA) did not solve my problem.

ALSA is in kernel, how did you downgrade it? 8O
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21856

PostPosted: Sat Jan 30, 2021 1:25 am    Post subject: Reply with quote

ALSA also has a user-space package. WvR may have downgraded that.

WvR: you can force English output by setting LC_MESSAGES=C before running the program. I do not have any particular insights to your problem. As for general advice, when you updated @world, which packages changed? I suggest stopping PulseAudio, getting sound working with plain ALSA, and then returning to use of PulseAudio. This may help you narrow down whether sound is completely broken or if PulseAudio is having a problem with some change.
Back to top
View user's profile Send private message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sat Jan 30, 2021 2:08 am    Post subject: Reply with quote

I use the following profile:

Code:

sagittarius ~ # eselect profile list
Available profile symlink targets:
  [...]
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd (stable) *
  [...]


I installed Gentoo about 2 years ago and at that time, I did not set any special USE-flags. Just a simple profile and gnome-light. I have not explicitly emerged pulseaudio, it was emerged as part of the profile settings, I guess.

Sound was working with kernel 5.4.80-gentoo-r1, no problem until a week ago. The only (obvious) change was
Code:
media-libs/alsa-lib
, which was updated to v1.2.3.2-r1 early in January 2021. I downgraded all packages related to ALSA to v1.2.2 but the problem persists. I checked
Code:
/etc/portage/package.accept_keywords
and
Code:
/etc/portage/package.use
but none of the settings are related to sound.

Some more info:

Code:

● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-01-30 09:24:18 JST; 1h 38min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 3912 (pulseaudio)
        CPU: 3.221s
     CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
             ├─3912 /usr/bin/pulseaudio --daemonize=no
             └─3913 /usr/libexec/pulse/gsettings-helper


no errors are indicated. Note: I can say:

Code:

rooijen@sagittarius ~ $ systemctl --user stop pulseaudio
Warning: Stopping pulseaudio.service, but it can still be activated by:
  pulseaudio.socket


but even then pulseaudio is still restarted automatically:

Code:

rooijen@sagittarius ~ $ systemctl --user status pulseaudio
● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-01-30 11:07:43 JST; 35s ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 30696 (pulseaudio)
        CPU: 267ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
             ├─30696 /usr/bin/pulseaudio --daemonize=no
             └─30699 /usr/libexec/pulse/gsettings-helper
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Sat Jan 30, 2021 5:02 am    Post subject: Reply with quote

PulseAudio is a layer between ALSA and sound application(s). As Hu already mentioned, PA will not work if ALSA is broken. What about chip codec I mentioned (kernel module).
Back to top
View user's profile Send private message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sat Jan 30, 2021 10:11 am    Post subject: Reply with quote

Buffoon wrote:
PulseAudio is a layer between ALSA and sound application(s). As Hu already mentioned, PA will not work if ALSA is broken. What about chip codec I mentioned (kernel module).


OK, perhaps a relevant part of the output from pa-info:

Code:

!!DMI Information
!!---------------

Manufacturer:      MSI
Product Name:      MS-7996
Product Version:   1.0
Firmware Version:  2.C0
Board Vendor:      MSI
Board Name:        H110M PRO-VH (MS-7996)

!!Kernel Information
!!------------------

Kernel release:    5.4.92-gentoo
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k5.4.92-gentoo
Library version:    1.2.3.2
Utilities version:  1.2.3


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xdf120000 irq 125


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1f.3 Audio device [0403]: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller [8086:a170] (rev 31)
   Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family HD Audio Controller [1462:f996]


!!Loaded sound module options
!!---------------------------

!!Module: snd_hda_intel
   align_buffer_size : -1
   bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
   dmic_detect : N
   enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
   enable_msi : -1
   id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
   index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
   jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
   model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
   pm_blacklist : Y
   position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
   power_save : 0
   power_save_controller : Y
   probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
   probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
   single_cmd : -1
   snoop : -1


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  2 Jan 29 21:48 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  1 Jan 29 21:48 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jan 29 21:48 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Jan 29 21:48 .
drwxr-xr-x 3 root root 120 Jan 29 21:48 ..
lrwxrwxrwx 1 root root  12 Jan 29 21:48 pci-0000:00:1f.3 -> ../controlC0


I have always used the snd_hda_intel module. It seems that there are very few "ALSA Device nodes", could that be the source of the problem?
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Sat Jan 30, 2021 11:36 am    Post subject: Reply with quote

FWIW under KDE here sometimes my external USB speaker is muted suddenly and I have to go to the tab "Applications" here for the Volume systray applet (to the right of "Devices") and have to unmute it.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Sat Jan 30, 2021 2:02 pm    Post subject: Reply with quote

Quote:
It seems that there are very few "ALSA Device nodes", could that be the source of the problem?

This is the result, not cause. Your codec chip kernel module is not loaded as far as I can tell. Now it is the third time I'm saying this, and last. What's the point telling if no one is listening.

Did you investigate what module is required for your codec and why it is not loaded? No
Did you check if the hardware is OK with some liveCD? No
You keep running your PulseAudio tools which give you nothing because underlying ALSA is broken, do you listen people who tell you this? No

It is not rewarding to try and help you, not at all.
Back to top
View user's profile Send private message
JessicaPietrov
n00b
n00b


Joined: 23 Jan 2021
Posts: 4

PostPosted: Sat Jan 30, 2021 4:59 pm    Post subject: Reply with quote

Buffoon wrote:

Did you investigate what module is required for your codec and why it is not loaded?


How would one go about investigating the latter? Specially when built into the kernel?
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Sat Jan 30, 2021 5:21 pm    Post subject: Reply with quote

If it is built into kernel then one should look closely at hardware, considering it was working and stopped suddenly then it certainly looks like hardware failure. May also be CMOS corruption. Best diagnostics is always booting a known good live Linux, if this also does not work then your Gentoo is not at fault. But if it does then it offers you all information you need to set your sound (or anything else) up. It will have logs with successful hardware initialization, you can use various tools to look at configuration it created to make it work. Everything is right there, for you to look at, take notes and duplicate in your Gentoo.
However, our OP has snd_intel_hda as a module, thus the codec chip driver must be also as a module. I looked at the list of loaded modules and did not see anything that resembles chip codec. Therefore I made my recommendations. Of course, I may be wrong. Being wrong and trying something else is part of troubleshooting.
Back to top
View user's profile Send private message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sun Jan 31, 2021 1:47 am    Post subject: Reply with quote

Buffoon wrote:
Quote:
It seems that there are very few "ALSA Device nodes", could that be the source of the problem?

It is not rewarding to try and help you, not at all.


It is not rewarding to be "helped" by you, not at all ...
Back to top
View user's profile Send private message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sun Jan 31, 2021 2:05 am    Post subject: Reply with quote

Buffoon wrote:
If it is built into kernel then one should look closely at hardware, considering it was working and stopped suddenly then it certainly looks like hardware failure.


Agreed. Then again, I performed a world update, then suspended the PC, and the following morning sound had disappeared. Excuse me for assuming that the cause could perhaps be found in some updated software libraries, ALSA being one option.

Quote:
May also be CMOS corruption. Best diagnostics is always booting a known good live Linux, if this also does not work then your Gentoo is not at fault.


Agreed. I did not yet have the time to make a live-USB and test. Hardware failure is a possibility, but in my (many) years of experience with various flavours of linux, it is more common that some default setting here or there went astray (perhaps by an update). In many cases, somebody might look at the logs and say: "hey, you need to set this and that".

Quote:
However, our OP has snd_intel_hda as a module, thus the codec chip driver must be also as a module. I looked at the list of loaded modules and did not see anything that resembles chip codec. Therefore I made my recommendations. Of course, I may be wrong. Being wrong and trying something else is part of troubleshooting.


I thought snd_hda_intel took care of audio, but I guess I was wrong. OK, the plot thickens:

Code:

rooijen@sagittarius ~ $ lspci -nnk
00:1f.3 Audio device [0403]: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller [8086:a170] (rev 31)
   Subsystem: Micro-Star International Co., Ltd. [MSI] 100 Series/C230 Series Chipset Family HD Audio Controller [1462:f996]
   Kernel modules: snd_hda_intel


Code:

sagittarius ~ # dmesg | grep snd
[    5.935805] snd_hda_intel: probe of 0000:00:1f.3 failed with error -2
[  192.955539] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[  192.955702] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops intel_dual_link_lvds_callback [i915])
[  193.063194] snd_hda_intel 0000:00:1f.3: CORB reset timeout#1, CORBRP = 0
[  193.064831] snd_hda_intel 0000:00:1f.3: no codecs found!


Kernel config:

Code:

#
# HD-Audio
#
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
# CONFIG_SND_HDA_INTEL_DETECT_DMIC is not set
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
# CONFIG_SND_HDA_INPUT_BEEP is not set
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_CODEC_CIRRUS=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
# end of HD-Audio

CONFIG_SND_HDA_CORE=m
CONFIG_SND_HDA_COMPONENT=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_INTEL_NHLT=m


What kind of codec would I need for my sound chip?

I rebooted with several old kernels, where sound was working perfectly, and I get the same error, "no codecs found". Is this indicative of the "CMOS corruption" or "broken hardware"? Since this is a very simply PC I would expect that the "generic" codec would suffice.

It appears that the motherboard has an option to upgrade the BIOS, I will look into that.
Back to top
View user's profile Send private message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Sun Jan 31, 2021 7:31 am    Post subject: Reply with quote

Dear Benevolent Buffoon (and non-buffoonish forum members),

Buffoon wrote:
This is the result, not cause. Your codec chip kernel module is not loaded as far as I can tell. Now it is the third time I'm saying this, and last. What's the point telling if no one is listening.

Did you investigate what module is required for your codec and why it is not loaded? No


I checked my kernel settings, as far as I can tell all available codecs are included as modules. MSI H110M Pro-VH, "on board audio"..... "Generic" codec should be good enough, none of the other codecs seem to be related.

Buffoon wrote:
Did you check if the hardware is OK with some liveCD? No


Yes, I booted the PC with Ubuntu Live (version 20.04.1 LTS). Rather to my surprise, it resulted in the exact same error: "no codecs found". As in Gentoo, only the "Dummy Output" appears in the GNOME menu. I even flashed a new BIOS into the motherboard (MSI H110M Pro-VH). Still no sound.

Buffoon wrote:
You keep running your PulseAudio tools which give you nothing because underlying ALSA is broken, do you listen people who tell you this? No


The PulseAudio wiki has a specific entry concerning the case that only "Dummy Output" appears:

https://wiki.gentoo.org/wiki/PulseAudio#Dummy_output

and

https://wiki.gentoo.org/wiki/PulseAudio#Permissions

Since all the ALSA tools (alsamixer, alsa-info.sh) report the "SND Intel PCH" I was under the assumption that ALSA works fine.

Buffoon wrote:
It is not rewarding to try and help you, not at all.


It is not rewarding being helped by you, not at all. If my meager skills fail to meet your exalted expectations, feel free to simply ignore the thread. I don't appreciate none too much being shouted at by random buffoons on the internet.

Conclusion: since the audio does not work with Ubuntu Live with the same error message ("snd_hda_intel: no codecs found!"), even after updating the BIOS, is it safe to assume that this is hardware failure?
Back to top
View user's profile Send private message
WvR
Apprentice
Apprentice


Joined: 03 Mar 2011
Posts: 200
Location: Tsuruga, Japan

PostPosted: Tue Feb 09, 2021 11:44 am    Post subject: Reply with quote

For those who are interested: I finally solved the problem by installing a new Sound Blaster card in the computer.

This is the first time in my life that a piece of computer hardware has failed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum