Sound conf not properly loaded at boot

Hi,

Here is the thing:

  1. After booting, the sound doesn’t work properly and makes the same noise than old TVs without a program
  2. I found a temporary fix that always work: open YaST > Sound > Uninstall all sound cards, then use Edit and quick install for each of them to get the sound back (+ Apply which will save the changes).

Hereafter is the diff of lsmod (diff lsmod_file_after lsmod_file_before):

2,14d1< snd_hda_codec_ca0132    18062  1 
< snd_hda_codec_hdmi     40844  1 
< snd_hda_intel          42034  9 
< snd_hda_codec         147417  3 snd_hda_codec_ca0132,snd_hda_codec_hdmi,snd_hda_intel
< snd_hwdep              13603  1 snd_hda_codec
< snd_pcm               110154  6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
< snd_seq                69780  0 
< snd_timer              29371  2 snd_pcm,snd_seq
< snd_seq_device         14498  1 snd_seq
< snd                    91489  24 snd_hda_codec_ca0132,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
< soundcore              15048  1 snd
< snd_page_alloc         18711  2 snd_hda_intel,snd_pcm
< joydev                 17378  0 
47a35
> snd_hda_codec_ca0132    18062  1 
53a42
> snd_hda_codec_hdmi     40844  1 
60a50,52
> snd_hda_intel          42034  4 
> snd_hda_codec         147417  3 snd_hda_codec_ca0132,snd_hda_codec_hdmi,snd_hda_intel
> snd_hwdep              13603  1 snd_hda_codec
64a57
> snd_pcm               110154  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
66a60
> snd_seq                69780  0 
70a65,66
> snd_timer              29371  2 snd_pcm,snd_seq
> snd_seq_device         14498  1 snd_seq
73a70
> snd                    91489  17 snd_hda_codec_ca0132,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
83a81,82
> soundcore              15048  1 snd
> snd_page_alloc         18711  2 snd_hda_intel,snd_pcm

As you can see there are a few differences like:

  • snd_hda_intel 42034 4
  • snd 91489 17 snd_hda_codec_ca0132,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device

(which are the new values).
I forgot how to change the modules loaded at boot and will start investigating on that for now. In the mean time, if anyone has an idea or can create an OpenSuse ticket (because there is clearly a bug) to get this issue fixed, that’d be great.

A few more information:

Also, if anyone knows 1) how to script step 2 that I described before and 2) get it loaded before login, that would be a fine fix to me. 1) only would be already really helpful.

I’ll keep investigating on that.

Do you have any odd repos active? Maybe you are pulling in experimental code from some where.

Report in Bugzilla
https://en.opensuse.org/Bugzilla

Give as much info as you can above what you provided here ie openSUSE ver update that broke things or is this from a new install?

Now I have a few more repos than the default ones but this problem occurs immediately after installing the system.
The install process ends up with sound configuration, so it works once the installation is over but after a reboot, the sound will not work anymore and I have to delete/reinstall the sound cards as described before.
Will report the bug soon…

Do you know which extra useful information (commands to run) I could add to the ticket? I would start with:
uname -a
lsmod (after)
“diff of lsmod results”, provided in my first post
content of /etc/module/50-sound.conf
pacmd list-card (eventually since I have two sound cards)

Might look at this blog post: PulseAudio and Selecting the Proper Sound Card Configuration - Blogs - openSUSE Forums

Thank You,