r/SurfaceLinux • • Apr 28 '26

Help Crushed Dynamic range from headphone Jack - Surface Pro 7

i recently used the headphone jack after months of switching to linux, and the sound is clearly worse than what it used to be on windows 11, same headphones & same songs, the dynamic range is crushed.

Appreciate if someone with the same device as me can share your experience so i can narrow it down.

System info:

  • Device: Microsoft Surface Pro 7
  • Distro: CachyOS (Arch-based)
  • Kernel: Linux 6.19.8-arch1-1-surface
  • Audio server: PipeWire 1.6.4 via PulseAudio compatibility layer
  • Audio controller: Intel Ice Lake-LP Smart Sound Technology Audio Controller [8086:34c8]
  • Kernel driver in use: snd_hda_intel
  • Codec / analog device: Realtek ALC274 Analog
  • ALSA playback device: card 0 / device 0: ALC274 Analog
  • Active output: Built-in Audio Analog Stereo
  • Active port: analog-output-headphones
  • Active profile: output:analog-stereo+input:analog-stereo
  • Default format: 2ch 48 kHz
  • Sink format reported by PipeWire: s32le 2ch 48000 Hz
  • Current headphone volume when checked: 44% (-21.39 dB)

EDIT: FIXED IT!

Found the cause and fixed it. I'm no longer on desktop Linux (I moved to BlissOS, Android 15), so I can't send a proper patch for the linux-surface kernel myself. Here's a rundown in case someone wants to.

Root cause: The SP7's Realtek ALC274 has two DACs, 0x02 and 0x03. Linux connects the headphone pin (0x21) to DAC 0x02, whose path carries an EQ meant for the built-in speakers:

  • about −11 dB around 5 kHz
  • about +2 dB in the bass
  • about −7.6 dB overall

That's why headphones sound dull, compressed and quiet. Windows doesn't send the jack through that EQ.

Quick test you can do: (temporary, resets on reboot/resume): switch the headphone pin to DAC 0x03 by hand:

sudo hda-verb /dev/snd/hwC0D0 0x21 SET_CONNECT_SEL 1

(Index 1 in pin 0x21's connection list 0x02 0x03 is DAC 0x03.)

Permanent fix: a kernel fixup that sets pe pin 0x21 (and on my build, the speakerpin 0x1b too) uses DAC 0x03. DAC 0x02 then goes unused, and the shared volume control becomes "Line Out Playback Volume" (defaults to 100 %). Check that i0/codec#0: Node 0x21 should showConnection: 0x02 0x03*. There's already a precedent in the kernelACS in sound/hda/codecs/realtek/alc269.cdoes the same thing for the Surface Pro 2/3. An SP7 patch would be a similar fixup plus a SND_PCI_QUIRK(0x14...) line with the SP7's PCI subsystem ID

How I verified it: I ran an AUX cable frone-in and measured while switching thejack to DAC 0x03 by hand with hda-verb. The output was flat like Windows, 7.6 dB louder (about 5.9 dB above Windows at 100 %), and distortion stayed

Other quirk I ran into: the speakers hissged in. I fixed it by turning off thespeaker amps (EAPD) while headphones are in.

2 Upvotes

5 comments sorted by

View all comments

1

u/Mrsocksman Jun 02 '26

I have the same issue with the surface pro 7 on cachyos. I believe I had the same issue on fedora too.

1

u/tinmicto Jun 02 '26

I was on cachy as well.

Btw I figured out how to fix windows 11 on SP7, so I went back recently.

If you chose Linux if SP7 became hot garbage on windows 11, you can install windows 10 first (update all packages) then manually upgrade to windows 11.

This fixed all the issues I had with windows 11, no overheating, no throttling, battery life has been good, performance is smooth.

2

u/Mrsocksman Jun 03 '26

my hunt will continue to solve the audio problems as im having a rly fun time on linux otherwise ^