You are not logged in.

#1 2014-03-09 20:56:56

rlevArch
Member
Registered: 2011-12-04
Posts: 35

"Choppy, Overdriven" audio over HDMI

Hey everyone,

I've been struggling with the "choppy, overdriven" audio over HDMI for the last half day and have had no luck solving it. The one-line fix in the wiki didn't help.

I'm using pulseaudio on top of alsa, and when I use the local speakers everything is fine. When I try to use the HDMI device, the sound comes out of the HDMI-connected speakers, but it makes everything sound like a chipmunk. Depending on what I'm watching, it'll be choppy as well, with very quick skips every few seconds. I dual boot windows, and this issue doesn't occur with the exact same hardware using windows.

I'm going to post a bunch of output below to share my set up. Please let me know if there is anything else that's useful.
Table of Contents:

~ » aplay -l
~ » lspci -v (just the audio component) 
~ » lsmod | grep snd
~ » cat /etc/asound.conf
~ » cat /etc/pulse/daemon.conf (only the uncommented things)

~ » aplay -l               

                                                                                                                                                                                                                 
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 2: VT1802 Alt Analog [VT1802 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

~ » lspci -v (just the audio component)                                                                                                                                                                                             

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 0650
        Flags: bus master, fast devsel, latency 0, IRQ 50
        Memory at f7a14000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

~ » lsmod | grep snd

                                                                                                                                                                                                                    
snd_usb_audio         117811  1 
snd_usbmidi_lib        19755  1 snd_usb_audio
snd_rawmidi            18742  1 snd_usbmidi_lib
snd_seq_device          5180  1 snd_rawmidi
snd_hda_codec_hdmi     36379  1 
snd_hda_codec_via      19718  1 
snd_hda_intel          37352  5 
snd_hda_codec         150017  3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep               6332  2 snd_usb_audio,snd_hda_codec
snd_pcm                77822  4 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7298  2 snd_pcm,snd_hda_intel
snd_timer              18718  1 snd_pcm
snd                    59029  23 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore               5418  1 snd
usbcore               180208  8 btusb,snd_usb_audio,uvcvideo,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd

~ » cat /etc/asound.conf                                                                                                                                                                                                                     

pcm.analog{
        type hw
        card 1
        device 0
}
pcm.altanalog{
        type hw
        card 1
        device 2
}
pcm.hdmi0{
        type hw
        card 0
        device 3
}
pcm.hdmi1{
        type hw
        card 0
        device 7
}
pcm.hdmi2{
        type hw
        card 0
        device 8
}
pcm.!default{
        type plug
        slave.pcm "hdmi1"
}
ctl.!default{
        type hw
        card 1
}

~ » cat /etc/pulse/daemon.conf (only the uncommented things)

exit-idle-time=0

resample-method=speex-float-0

# I have played with all of the below, commenting, uncommenting, setting the default-sample-rate to 48000... nothing helped.
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right

Thank you very much, in advance!! This has been an issue that's been bothering me for months, I just haven't had the time (and still don't really), to sort it out until I tried dealing with it today.

Offline

#2 2014-03-10 08:16:20

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: "Choppy, Overdriven" audio over HDMI

Maybe your full dmesg with an attempt of playing some output?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-03-10 21:31:01

rlevArch
Member
Registered: 2011-12-04
Posts: 35

Re: "Choppy, Overdriven" audio over HDMI

Thank you for responding. This is everything from connecting the HDMI and USB Hub, to running something in VLC, it doesn't seem (to me) like there is anything useful here.

~ » dmesg | tail  

[334439.004121] type=1006 audit(1394485609.444:1959): pid=13373 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1958 res=1
[334508.344656] usb 3-2: new high-speed USB device number 24 using xhci_hcd
[334508.360043] hub 3-2:1.0: USB hub found
[334508.360334] hub 3-2:1.0: 4 ports detected
[334508.628107] usb 3-2.2: new high-speed USB device number 25 using xhci_hcd
[334508.861530] uvcvideo: Found UVC 1.00 device <unnamed> (046d:081b)
[334508.958682] input: UVC Camera (046d:081b) as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.2/3-2.2:1.0/input/input73
[334510.122908] set resolution quirk: cval->res = 384
[334510.190949] usb 3-2.3: new low-speed USB device number 26 using xhci_hcd
[334510.211176] usb 3-2.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[334510.211179] usb 3-2.3: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[334510.214293] input: CHICONY HP USB Multimedia Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.3/3-2.3:1.0/input/input74
[334510.214429] hid-generic 0003:04F2:0841.0015: input,hidraw0: USB HID v1.11 Keyboard [CHICONY HP USB Multimedia Keyboard] on usb-0000:00:14.0-2.3/input0
[334510.234106] input: CHICONY HP USB Multimedia Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.3/3-2.3:1.1/input/input75
[334510.234251] hid-generic 0003:04F2:0841.0016: input,hiddev0,hidraw1: USB HID v1.11 Device [CHICONY HP USB Multimedia Keyboard] on usb-0000:00:14.0-2.3/input1
[334510.420878] usb 3-2.1: new full-speed USB device number 27 using xhci_hcd
[334510.439392] input: LVT Recon gaming mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.1/3-2.1:1.0/input/input76
[334510.439690] hid-generic 0003:2516:0006.0017: input,hiddev0,hidraw2: USB HID v1.11 Mouse [LVT Recon gaming mouse] on usb-0000:00:14.0-2.1/input0
[334510.440903] input: LVT Recon gaming mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2.1/3-2.1:1.1/input/input77
[334510.440964] hid-generic 0003:2516:0006.0018: input,hidraw3: USB HID v1.11 Keyboard [LVT Recon gaming mouse] on usb-0000:00:14.0-2.1/input1
[334570.992001] type=1006 audit(1394485741.472:1960): pid=14311 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1959 res=1
[334750.964383] type=1006 audit(1394485921.501:1961): pid=15426 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1960 res=1
[334869.944907] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
[334869.945127] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
[334869.956514] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[334873.724407] wlan0: authenticate with 80:1f:02:c4:5e:8a
[334873.725593] wlan0: send auth to 80:1f:02:c4:5e:8a (try 1/3)
[334873.726080] wlan0: authenticated
[334873.727552] wlan0: associate with 80:1f:02:c4:5e:8a (try 1/3)
[334873.728581] wlan0: RX AssocResp from 80:1f:02:c4:5e:8a (capab=0x411 status=0 aid=1)
[334873.729577] wlan0: associated
[334873.729604] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[334930.931782] type=1006 audit(1394486101.527:1962): pid=16936 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1961 res=1
[335110.906736] type=1006 audit(1394486281.560:1963): pid=18086 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1962 res=1
[335290.881463] type=1006 audit(1394486461.592:1964): pid=19240 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1963 res=1
[335470.855230] type=1006 audit(1394486641.625:1965): pid=20388 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1964 res=1

Offline

#4 2014-03-11 07:28:30

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: "Choppy, Overdriven" audio over HDMI

Maybe try a v3.14 kernel?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#5 2014-03-11 10:23:23

rlevArch
Member
Registered: 2011-12-04
Posts: 35

Re: "Choppy, Overdriven" audio over HDMI

You think it's something wrong down to the kernel level? It's frustrating if that's really the only solution, wait until someone upstream decides to patch it and make it work automagically. I don't even know how to properly probe/get more information about where the problem really is -- but it's definitely there when I play something and listen through the speakers

Are there any other routes I can take to try and figure this out? I have been looking at pulseaudio and alsa and haven't managed to figure out where the problem would be.

Offline

#6 2014-03-11 12:17:55

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: "Choppy, Overdriven" audio over HDMI

Kernel level, highly likely.

But, disabling pulseaudio and using Alsa directly might be a solution as well.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

Board footer

Powered by FluxBB