[alsa-devel] poor i4600 HDMI output under 1.0.27.2
Hi list
I have got HDMI audio out to kinda work but the sound quality is awful and not really listenable. Its very choppy and is slightly more high-pitched than it should be. This is when using hdmi:CARD=HDMI,DEV=1 @48khz outputting via ALSA 1.0.27.2 / jackd 0.124.2 under Deb Jessie amd64 with kernel 3.13.10-1. Its a System76 Gazelle Pro laptop FWIW.
$ lspci -v:
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) Subsystem: CLEVO/KAPOK Computer Device 0655 Flags: bus master, fast devsel, latency 0, IRQ 49 Memory at f7e14000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
Subsystem: CLEVO/KAPOK Computer Device 0655
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at f7e10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
$ cat /proc/asound/card0/codec#0 Codec: Intel Haswell HDMI Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x80862807 Subsystem Id: 0x80860101 Revision Id: 0x100000 No Modem Function Group found Default PCM: rates [0x0]: bits [0x0]: formats [0x0]: Default Amp-In caps: N/A Default Amp-Out caps: N/A State of AFG node 0x01: Power states: D0 D3 CLKSTOP EPSS Power: setting=D0, actual=D0, Clock-stop-OK GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital Converter: stream=0, channel=0 Digital: Enabled KAE Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1e]: 16 20 24 32 formats [0x5]: PCM AC3 Power states: D0 D3 EPSS Power: setting=D0, actual=D0 Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital Converter: stream=0, channel=0 Digital: Enabled KAE Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1e]: 16 20 24 32 formats [0x5]: PCM AC3 Power states: D0 D3 EPSS Power: setting=D3, actual=D3 Node 0x04 [Audio Output] wcaps 0x6611: 8-Channels Digital Converter: stream=0, channel=0 Digital: Enabled KAE Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1e]: 16 20 24 32 formats [0x5]: PCM AC3 Power states: D0 D3 EPSS Power: setting=D3, actual=D3 Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0 Control: name="IEC958 Playback Con Mask", index=0, device=0 Control: name="IEC958 Playback Pro Mask", index=0, device=0 Control: name="IEC958 Playback Default", index=0, device=0 Control: name="IEC958 Playback Switch", index=0, device=0 Control: name="ELD", index=0, device=3 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0b000094: OUT Detect HBR HDMI DP Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x00: Unsolicited: tag=01, enabled=1 Power states: D0 D3 EPSS Power: setting=D0, actual=D0 Devices: 0 Connection: 0 In-driver Connection: 3 0x02 0x03 0x04 Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Control: name="HDMI/DP,pcm=7 Jack", index=0, device=0 Control: name="IEC958 Playback Con Mask", index=1, device=0 Control: name="IEC958 Playback Pro Mask", index=1, device=0 Control: name="IEC958 Playback Default", index=1, device=0 Control: name="IEC958 Playback Switch", index=1, device=0 Control: name="ELD", index=0, device=7 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0b000094: OUT Detect HBR HDMI DP Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x00: Unsolicited: tag=02, enabled=1 Power states: D0 D3 EPSS Power: setting=D0, actual=D0 Devices: 0 Connection: 0 In-driver Connection: 3 0x02 0x03 0x04 Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Control: name="HDMI/DP,pcm=8 Jack", index=0, device=0 Control: name="IEC958 Playback Con Mask", index=2, device=0 Control: name="IEC958 Playback Pro Mask", index=2, device=0 Control: name="IEC958 Playback Default", index=2, device=0 Control: name="IEC958 Playback Switch", index=2, device=0 Control: name="ELD", index=0, device=8 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0b000094: OUT Detect HBR HDMI DP Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x00: Unsolicited: tag=03, enabled=1 Power states: D0 D3 EPSS Power: setting=D0, actual=D0 Devices: 0 Connection: 0 In-driver Connection: 3 0x02 0x03 0x04 Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
15.05.2014 04:20, Dan MacDonald wrote:
Hi list
I have got HDMI audio out to kinda work but the sound quality is awful and not really listenable. Its very choppy and is slightly more high-pitched than it should be. This is when using hdmi:CARD=HDMI,DEV=1 @48khz outputting via ALSA 1.0.27.2 / jackd 0.124.2 under Deb Jessie amd64 with kernel 3.13.10-1. Its a System76 Gazelle Pro laptop FWIW.
This may be another manifestation of https://bugzilla.kernel.org/show_bug.cgi?id=60769 which is still not completely fixed but has a workaround.
For me, it leads to silence, for others, it leads to underruns and screeching sounds. Please test whether appending this kernel command line option helps:
intel_iommu=on,igfx_off
$ lspci -v:
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) Subsystem: CLEVO/KAPOK Computer Device 0655 Flags: bus master, fast devsel, latency 0, IRQ 49 Memory at f7e14000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
Subsystem: CLEVO/KAPOK Computer Device
0655
Flags: bus master, fast devsel, latency 0, IRQ
48
Memory at f7e10000 (64-bit, non-prefetchable)
[size=16K]
Capabilities: <access
denied>
Kernel driver in use: snd_hda_intel
$ cat /proc/asound/card0/codec#0 Codec: Intel Haswell HDMI Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x80862807 Subsystem Id: 0x80860101 Revision Id: 0x100000
Hi Alexander
I have tried booting with just
intel_iommu=on,igfx_off
and also with
snd_hda_intel.align_buffer_size=1
but neither combination did anything to fix the garbled HDMI sound under both 3.13.10 (Deb Jessie) and 3.11.0 (Ubuntu 12.04.4). The analogue audio works fine.
On Thu, May 15, 2014 at 9:31 AM, Alexander E. Patrakov patrakov@gmail.comwrote:
15.05.2014 04:20, Dan MacDonald wrote:
Hi list
I have got HDMI audio out to kinda work but the sound quality is awful and not really listenable. Its very choppy and is slightly more high-pitched than it should be. This is when using hdmi:CARD=HDMI,DEV=1 @48khz outputting via ALSA 1.0.27.2 / jackd 0.124.2 under Deb Jessie amd64 with kernel 3.13.10-1. Its a System76 Gazelle Pro laptop FWIW.
This may be another manifestation of https://bugzilla.kernel.org/ show_bug.cgi?id=60769 which is still not completely fixed but has a workaround.
For me, it leads to silence, for others, it leads to underruns and screeching sounds. Please test whether appending this kernel command line option helps:
intel_iommu=on,igfx_off
$ lspci -v:
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) Subsystem: CLEVO/KAPOK Computer Device 0655 Flags: bus master, fast devsel, latency 0, IRQ 49 Memory at f7e14000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
Subsystem: CLEVO/KAPOK Computer Device
0655
Flags: bus master, fast devsel, latency 0, IRQ
48
Memory at f7e10000 (64-bit, non-prefetchable)
[size=16K]
Capabilities: <access
denied>
Kernel driver in use: snd_hda_intel
$ cat /proc/asound/card0/codec#0 Codec: Intel Haswell HDMI Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x80862807 Subsystem Id: 0x80860101 Revision Id: 0x100000
-- Alexander E. Patrakov
participants (2)
-
Alexander E. Patrakov
-
Dan MacDonald