Strange behaviour of my new rig

Hi there, hope someone could help me finding a solution. I have a new motherboard Gigabyte Aorus Gaming 7 Wifi with Realtek Alc1220 onboard. I use my old video card Asus Nvidia Geforce GTS 450.
Now everytime I log in I have to open the System Configuration app, change the default card, change the default connection and finally I have sound. I press “apply” and can hear sound wherever. But if I open again the System Configuration app it show me the same scenario over. Same if I log out or restart the machine I have to change the defaults to have sound. With other users is the same.
I tried to blacklist the hdmi module cause I don’t use it but it’s loaded anyway.
I have tried a lot but can’t manage to make the “Audio generic” default instead of “Gf106 High Definition Audio Controller”.
Thank you.
Here are some screenshots in sequence:
https://photos.app.goo.gl/rL7NbbshgN5Ss6Zq5
https://photos.app.goo.gl/om14mwjm1bPJ1ZpD8https://photos.app.goo.gl/Z4Y1zEnQPAwMLSfm8
https://photos.app.goo.gl/yTNfFVoJDwHvFygJA

Maybe change the order in Yast-sound???

Refer ‘STEP-9: Determine the order of sound devices’…
https://en.opensuse.org/SDB:Audio_troubleshooting

If the same driver is used for both chipsets, you may be able to do something like this…

**Intel HDA chipset
**
When you use the built-in audio of your Intel Haswell processor the default audio order is first HDMI and then “PCH” (analog). Changing the order via the OpenSuse 13.2 Sound configuration of the Yast Control Center probably will not work as Yast will try to set the order using:
options snd slots=snd-hda-intel,snd-hda-intel
To fix this, open /etc/modprobe.d/50-sound.conf and change it to:

alias snd-card-1 snd-hda-intel
alias snd-card-0 snd-hda-intel

options snd-hda-intel id=PCH index=0
options snd-hda-intel id=HDMI index=1

For the “id” to use, see the output of “aplay -l”.

Alternatively , the order can also be explicitly set using the chipset IDs eg

options snd-hda-intel index=0 model=auto vid=8086 pid=8c20
options snd-hda-intel index=1 model=auto vid=8086 pid=0c0c

Thank you so much Deano Ferrari for your reply: you guessed right with the double snd-hda-intel driver and with your tip I managed to have this aplay-l:

“angolo@seneca:~> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7

So now the first card is the internal realtek alc1220. But you know what? There’s no sound unless I go to System Configuration and change things like before… :frowning: The first card is always the hdmi nvidia
I don’t know, I’ll read the links you passed and try to fix…
Thanks again!

You should be able to configure the desired configuration via pavucontrol (PulseAudio volume control GUI). If not installed already…

sudo zypper in pavucontrol

then launch it from a terminal with

pavucontrol

Set the desired profile via the configuration tab. Any changes you make here should be persistent.

Great! Thanks to pavucontrol now the default card is the inboard one. But. But there are two options: the default selected one is “line out (connected)”; I have to change manually to the second: “headphones (disconnected)” and it works! If I connect the hearphones it changes from (disconnected) to (connected) and the sound goes on. If I log out and back in the default is “headphones (connected)” and all is fine through the headphones. So, at startup, it defaults correctly to “line out (connected)” 'cause I have the speakers but with no sound; if I change to “headphones (disconnected)” I hear the sound. How’s this possible? It’s not a hardware failure cause my rig is a dualboot and the other so sounds fine.
Anyway, hoping my english is understandable, I thank you.

It’s good to read that you now have working audio. I’m not sure why you are experiencing the quirks you’ve described though. (That would take further analysis of the alsa layer perhaps.)