Bug 105701 - seeking in VLC causes sound to become stuttered for a second
Summary: seeking in VLC causes sound to become stuttered for a second
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 15:23 UTC by Martin Vysny
Modified: 2015-11-22 09:00 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.2.0-14-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Martin Vysny 2015-10-09 15:23:55 UTC
Good day, I have entered this Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1504421
It seems that this is a kernel bug, so I'm filing the report. In dmesg, during the seek issue, the following is logged:

 4915.101490] nouveau E[   VBIOS][0000:01:00.0] 0x6331[0]: script needs connector type
[ 4920.244628] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 4920.244841] ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
[ 4920.244850] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 4960.323447] nouveau E[   VBIOS][0000:01:00.0] 0x6331[0]: script needs connector type


However, upon boot, this is present in the logs:
Oct 09 08:10:00 hostname kernel: hdaudio hdaudioC1D0: no AFG or MFG node found
Oct 09 08:10:00 hostname kernel: hdaudio hdaudioC1D1: no AFG or MFG node found
Oct 09 08:10:00 hostname kernel: hdaudio hdaudioC1D2: no AFG or MFG node found
Oct 09 08:10:00 hostname kernel: hdaudio hdaudioC1D3: no AFG or MFG node found
Oct 09 08:10:00 hostname kernel: hdaudio hdaudioC1D4: no AFG or MFG node found
Oct 09 08:10:00 hostname kernel: hdaudio hdaudioC1D5: no AFG or MFG node found
Oct 09 08:10:00 hostname kernel: hdaudio hdaudioC1D6: no AFG or MFG node found
Oct 09 08:10:00 hostname kernel: hdaudio hdaudioC1D7: no AFG or MFG node found
Oct 09 08:10:00 hostname kernel: snd_hda_intel 0000:01:00.1: no codecs initialized
Oct 09 08:10:00 hostname kernel: snd_hda_intel 0000:01:00.1: initialization error

I am submitting my first bug, so I do not know what information will come handy for you - please let me know what you need.
/proc/asound/version: Advanced Linux Sound Architecture Driver Version k4.2.0-14-generic
$ cat /proc/asound/cards 
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xd2710000 irq 34

There are two audio devices:
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev ff)

00:1b.0 0403: 8086:1e20 (rev 04)
01:00.1 0403: 10de:0e1b (rev ff)

Thanks!
Comment 1 Takashi Iwai 2015-11-20 16:12:22 UTC
These error messages from hd-audio usually indicate a BIOS firmware issue.  Is the Nvidia GPU working as the real output on your machine?  Or is it Optimus, i.e. rendering only?  In the latter case, it's strange that it exposes any HDMI/DP audio controller.
Comment 2 Martin Vysny 2015-11-20 17:05:33 UTC
Thank you. I am not using Optimus nor the nvidia binary blob; I believe X uses the Intel graphic drivers (so no noveau) and PulseAudio is using "Built-in Audio Analog Stereo" for output, not GK107. So, I believe Nvidia GPU is not used at all, not for video output nor audio output. My BIOS version is A16 as displayed by the dmidecode program:

$ sudo dmidecode -s bios-version
A16

I checked at http://www.dell.com/support/home/us/en/19/product-support/product/xps-15-l521x/drivers and there is no newer bios.
Please let me know if there are further information I can provide.
Comment 3 Takashi Iwai 2015-11-20 17:09:06 UTC
OK, then it's no wonder why the HD-audio part doesn't work.  It's a kind of slave PCI entry for the HDMI/DP audio embedded in GPU.  So, when GPU isn't enabled, the audio part is also dead.  But the system doesn't know exactly.

Usually BIOS takes care of such a thing and disables the PCI entry accordingly, but yours doesn't do so.

That said, it's no generic kernel problem but specific to your machine.  Just disable the module probe for that entry, e.g. via index option.

  option snd-hda-intel index=1,0

which will disable the second PCI entry.
Comment 4 Raymond 2015-11-21 17:35:21 UTC
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1518310

Do your dell l521x have headset jack and headphone jack?
Comment 5 Raymond 2015-11-22 09:00:37 UTC
specification is different from setup guide

Audio •one microphone port
 •one microphone/headphone combo port



18. Headphone port
19. Headphone/Microphone combo port

snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3260: line_outs=1 (0x15/0x0/0x0/0x0/0x0) type:line 
snd_hda_codec_realtek hdaudioC0D0: speaker_outs=1 (0x14/0x0/0x0/0x0/0x0)
snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1a/0x0/0x0/0x0/0x0) 
snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0 
snd_hda_codec_realtek hdaudioC0D0: inputs: 
snd_hda_codec_realtek hdaudioC0D0: Mic=0x18 
snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12

Note You need to log in before you can comment on or make changes to this bug.