Sound isn't working on new install

https://www.reddit.com/r/linuxhardware/comments/xzxkef/realtek_alc256_sound_card_issue_fix/

1 Like

Thank you for the solution, the issue is that i only have a firewalld conf file in that file.

I think you have to create a file in /etc/modprobe.d and try it to see if it works. Call it alsa-base.conf
If it doesn’t work you can just remove it.

Edit: You may need to change the one line to match your brand if you even need that line.

Edit2: I think all this does is force it to use the old intel driver versus the newer? :thinking:

2 Likes

It didn’t work, I removed it because my headphones weren’t working after implementing that. I guess, for now, the headphone jack producing sound is a big win even though the internal speakers sound really good on Windows.

1 Like

I find audio issues quite difficult because there are so many variables.

1 Like

It is. The Alsa output does show that the speakers are muted, but I have no idea how to unmute them. Everything on the system says they are working.

did you try the alsamixer from terminal? Pressing F6 and choose the internal sounddevice and check channels:

That looks like the master that’s muted?

only to example it will look different on Bryans machine

1 Like

all options from that codec (ALC256 ALC25x)

ALC22x/23x/25x/269/27x/28x/29x (and vendor-specific ALC3xxx models)

laptop-amic

    Laptops with analog-mic input
laptop-dmic

    Laptops with digital-mic input
alc269-dmic

    Enable ALC269(VA) digital mic workaround
alc271-dmic

    Enable ALC271X digital mic workaround
inv-dmic

    Inverted internal mic workaround
headset-mic

    Indicates a combined headset (headphone+mic) jack
headset-mode

    More comprehensive headset support for ALC269 & co
headset-mode-no-hp-mic

    Headset mode support without headphone mic
lenovo-dock

    Enables docking station I/O for some Lenovos
hp-gpio-led

    GPIO LED support on HP laptops
hp-dock-gpio-mic1-led

    HP dock with mic LED support
dell-headset-multi

    Headset jack, which can also be used as mic-in
dell-headset-dock

    Headset jack (without mic-in), and also dock I/O
dell-headset3

    Headset jack (without mic-in), and also dock I/O, variant 3
dell-headset4

    Headset jack (without mic-in), and also dock I/O, variant 4
alc283-dac-wcaps

    Fixups for Chromebook with ALC283
alc283-sense-combo

    Combo jack sensing on ALC283
tpt440-dock

    Pin configs for Lenovo Thinkpad Dock support
tpt440

    Lenovo Thinkpad T440s setup
tpt460

    Lenovo Thinkpad T460/560 setup
tpt470-dock

    Lenovo Thinkpad T470 dock setup
dual-codecs

    Lenovo laptops with dual codecs
alc700-ref

    Intel reference board with ALC700 codec
vaio

    Pin fixups for Sony VAIO laptops
dell-m101z

    COEF setup for Dell M101z
asus-g73jw

    Subwoofer pin fixup for ASUS G73JW
lenovo-eapd

    Inversed EAPD setup for Lenovo laptops
sony-hweq

    H/W EQ COEF setup for Sony laptops
pcm44k

    Fixed PCM 44kHz constraints (for buggy devices)
lifebook

    Dock pin fixups for Fujitsu Lifebook
lifebook-extmic

    Headset mic fixup for Fujitsu Lifebook
lifebook-hp-pin

    Headphone pin fixup for Fujitsu Lifebook
lifebook-u7x7

    Lifebook U7x7 fixups
alc269vb-amic

    ALC269VB analog mic pin fixups
alc269vb-dmic

    ALC269VB digital mic pin fixups
hp-mute-led-mic1

    Mute LED via Mic1 pin on HP
hp-mute-led-mic2

    Mute LED via Mic2 pin on HP
hp-mute-led-mic3

    Mute LED via Mic3 pin on HP
hp-gpio-mic1

    GPIO + Mic1 pin LED on HP
hp-line1-mic1

    Mute LED via Line1 + Mic1 pins on HP
noshutup

    Skip shutup callback
sony-nomic

    Headset mic fixup for Sony laptops
aspire-headset-mic

    Headset pin fixup for Acer Aspire
asus-x101

    ASUS X101 fixups
acer-ao7xx

    Acer AO7xx fixups
acer-aspire-e1

    Acer Aspire E1 fixups
acer-ac700

    Acer AC700 fixups
limit-mic-boost

    Limit internal mic boost on Lenovo machines
asus-zenbook

    ASUS Zenbook fixups
asus-zenbook-ux31a

    ASUS Zenbook UX31A fixups
ordissimo

    Ordissimo EVE2 (or Malata PC-B1303) fixups
asus-tx300

    ASUS TX300 fixups
alc283-int-mic

    ALC283 COEF setup for Lenovo machines
mono-speakers

    Subwoofer and headset fixupes for Dell Inspiron
alc290-subwoofer

    Subwoofer fixups for Dell Vostro
thinkpad

    Binding with thinkpad_acpi driver for Lenovo machines
dmic-thinkpad

    thinkpad_acpi binding + digital mic support
alc255-acer

    ALC255 fixups on Acer machines
alc255-asus

    ALC255 fixups on ASUS machines
alc255-dell1

    ALC255 fixups on Dell machines
alc255-dell2

    ALC255 fixups on Dell machines, variant 2
alc293-dell1

    ALC293 fixups on Dell machines
alc283-headset

    Headset pin fixups on ALC283
aspire-v5

    Acer Aspire V5 fixups
hp-gpio4

    GPIO and Mic1 pin mute LED fixups for HP
hp-gpio-led

    GPIO mute LEDs on HP
hp-gpio2-hotkey

    GPIO mute LED with hot key handling on HP
hp-dock-pins

    GPIO mute LEDs and dock support on HP
hp-dock-gpio-mic

    GPIO, Mic mute LED and dock support on HP
hp-9480m

    HP 9480m fixups
alc288-dell1

    ALC288 fixups on Dell machines
alc288-dell-xps13

    ALC288 fixups on Dell XPS13
dell-e7x

    Dell E7x fixups
alc293-dell

    ALC293 fixups on Dell machines
alc298-dell1

    ALC298 fixups on Dell machines
alc298-dell-aio

    ALC298 fixups on Dell AIO machines
alc275-dell-xps

    ALC275 fixups on Dell XPS models
lenovo-spk-noise

    Workaround for speaker noise on Lenovo machines
lenovo-hotkey

    Hot-key support via Mic2 pin on Lenovo machines
dell-spk-noise

    Workaround for speaker noise on Dell machines
alc255-dell1

    ALC255 fixups on Dell machines
alc295-disable-dac3

    Disable DAC3 routing on ALC295
alc280-hp-headset

    HP Elitebook fixups
alc221-hp-mic

    Front mic pin fixup on HP machines
alc298-spk-volume

    Speaker pin routing workaround on ALC298
dell-inspiron-7559

    Dell Inspiron 7559 fixups
ativ-book

    Samsung Ativ book 8 fixups
alc221-hp-mic

    ALC221 headset fixups on HP machines
alc256-asus-mic

    ALC256 fixups on ASUS machines
alc256-asus-aio

    ALC256 fixups on ASUS AIO machines
alc233-eapd

    ALC233 fixups on ASUS machines
alc294-lenovo-mic

    ALC294 Mic pin fixup for Lenovo AIO machines
alc225-wyse

    Dell Wyse fixups
alc274-dell-aio

    ALC274 fixups on Dell AIO machines
alc255-dummy-lineout

    Dell Precision 3930 fixups
alc255-dell-headset

    Dell Precision 3630 fixups
alc295-hp-x360

    HP Spectre X360 fixups
alc-sense-combo

    Headset button support for Chrome platform
huawei-mbx-stereo

    Enable initialization verbs for Huawei MBX stereo speakers; might be risky, try this at your own risk
alc298-samsung-headphone

    Samsung laptops with ALC298
alc256-samsung-headphone

    Samsung laptops with ALC256

https://docs.kernel.org/sound/hd-audio/models.html

cat /proc/asound/cards

sudo dmesg | grep -i audio

I think this is where you’ll be able to tell what to set using pactl or some other method to set the correct output.

Sorry for the late reaction, I had a lunch date with friends yesterday and it took quite a bit longer and many more wine glasses than anticipated, so I went straight to bed :face_with_spiral_eyes:. I will share screenshots and logs later when I’m from work.

Everything is unmuted in Alsamixer btw.

Here is the output for cat /proc/asound/cards

0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0x6057150000 irq 204

dmesg | grep -i audio
[    4.534581] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.631486] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC256: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:speaker
[    4.631490] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.631491] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.631492] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.631493] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.631494] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19
[    4.631495] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12

Alsamixer

1 Like


there is more on that side i bet?

No, that’s it.

hmm strange it does only show mic-boost but no channel for the mic level itself…

Does it make any difference using

/etc/modprobe.d/alsa-base.conf

options

snd-hda-intel model=auto
1 Like

Thanks, it didn’t bring any change. I’m giving up on this by buying some external wired speakers and getting this over with. I’m a bit fed up looking and digging for this relatively minor issue, the rest of the system is working as a charm.

1 Like

Yes that is a fairly easy solution and besides the speakers are probably only 2-3 watt so you can get something that will provide better sound anyway i would think.

1 Like

They are 5 watts and as I said earlier, they do sound very good on Windows, with a very decent deep base and quite detailed. (I don’t know if the Dolby Atmos certification has to do with it, normally I don’t buy those claims)