LKML Archive on lore.kernel.org help / color / mirror / Atom feed
* 4.0-rc3: sound broken in chromium but not in mpg123 @ 2015-03-14 20:11 Pavel Machek 2015-03-15 8:12 ` Takashi Iwai 0 siblings, 1 reply; 7+ messages in thread From: Pavel Machek @ 2015-03-14 20:11 UTC (permalink / raw) To: perex, tiwai, alsa-devel, kernel list Hi! Intel desktop machine: 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01) Sound worked ok in both in previous kernel versions. Any ideas? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.0-rc3: sound broken in chromium but not in mpg123 2015-03-14 20:11 4.0-rc3: sound broken in chromium but not in mpg123 Pavel Machek @ 2015-03-15 8:12 ` Takashi Iwai 2015-03-15 8:15 ` Pavel Machek 0 siblings, 1 reply; 7+ messages in thread From: Takashi Iwai @ 2015-03-15 8:12 UTC (permalink / raw) To: Pavel Machek; +Cc: perex, alsa-devel, kernel list At Sat, 14 Mar 2015 21:11:09 +0100, Pavel Machek wrote: > > Hi! > > Intel desktop machine: > > 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High > Definition Audio Controller (rev 01) > > Sound worked ok in both in previous kernel versions. > > Any ideas? How broken? Did you get any error messages? If the behavior depends on the application (e.g. ALSA vs OSS), I'd suspect rather a device permission problem at first. There are no significant changes between 3.19 and 4.0-rc3 regarding HD-audio. Takashi ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.0-rc3: sound broken in chromium but not in mpg123 2015-03-15 8:12 ` Takashi Iwai @ 2015-03-15 8:15 ` Pavel Machek 2015-03-15 8:23 ` Takashi Iwai 0 siblings, 1 reply; 7+ messages in thread From: Pavel Machek @ 2015-03-15 8:15 UTC (permalink / raw) To: Takashi Iwai; +Cc: perex, alsa-devel, kernel list On Sun 2015-03-15 09:12:47, Takashi Iwai wrote: > At Sat, 14 Mar 2015 21:11:09 +0100, > Pavel Machek wrote: > > > > Hi! > > > > Intel desktop machine: > > > > 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High > > Definition Audio Controller (rev 01) > > > > Sound worked ok in both in previous kernel versions. > > > > Any ideas? > > How broken? Did you get any error messages? I get some funny, faint, rhytmic noises where audio should be... Actually, I somehow suspect something is wrong with time during video playback. > If the behavior depends on the application (e.g. ALSA vs OSS), I'd > suspect rather a device permission problem at first. There are no > significant changes between 3.19 and 4.0-rc3 regarding HD-audio. My system contains pulseaudio, so it is more complex than ALSA vs OSS :-(. Audio seems to work ok on thinkpad x60 with very very similar config. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.0-rc3: sound broken in chromium but not in mpg123 2015-03-15 8:15 ` Pavel Machek @ 2015-03-15 8:23 ` Takashi Iwai 2015-03-16 12:37 ` Pavel Machek 0 siblings, 1 reply; 7+ messages in thread From: Takashi Iwai @ 2015-03-15 8:23 UTC (permalink / raw) To: Pavel Machek; +Cc: perex, alsa-devel, kernel list At Sun, 15 Mar 2015 09:15:44 +0100, Pavel Machek wrote: > > On Sun 2015-03-15 09:12:47, Takashi Iwai wrote: > > At Sat, 14 Mar 2015 21:11:09 +0100, > > Pavel Machek wrote: > > > > > > Hi! > > > > > > Intel desktop machine: > > > > > > 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High > > > Definition Audio Controller (rev 01) > > > > > > Sound worked ok in both in previous kernel versions. > > > > > > Any ideas? > > > > How broken? Did you get any error messages? > > I get some funny, faint, rhytmic noises where audio should > be... Actually, I somehow suspect something is wrong with time during > video playback. Did you try audio playback without video on chromium? > > If the behavior depends on the application (e.g. ALSA vs OSS), I'd > > suspect rather a device permission problem at first. There are no > > significant changes between 3.19 and 4.0-rc3 regarding HD-audio. > > My system contains pulseaudio, so it is more complex than ALSA vs OSS > :-(. OK, that was missing information :) Then there should be any difference in the kernel driver side -- it's only a single PA process who accesses the sound device in the very same manner no matter what clients are used (after all it's the purpose of PA). > Audio seems to work ok on thinkpad x60 with very very similar config. OK, then another thing I would check is to try different sample rates (e.g. via playing WAV files over PA). Takashi ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.0-rc3: sound broken in chromium but not in mpg123 2015-03-15 8:23 ` Takashi Iwai @ 2015-03-16 12:37 ` Pavel Machek 2015-03-16 13:46 ` Takashi Iwai 0 siblings, 1 reply; 7+ messages in thread From: Pavel Machek @ 2015-03-16 12:37 UTC (permalink / raw) To: Takashi Iwai; +Cc: perex, alsa-devel, kernel list On Sun 2015-03-15 09:23:15, Takashi Iwai wrote: > At Sun, 15 Mar 2015 09:15:44 +0100, > Pavel Machek wrote: > > > > On Sun 2015-03-15 09:12:47, Takashi Iwai wrote: > > > At Sat, 14 Mar 2015 21:11:09 +0100, > > > Pavel Machek wrote: > > > > > > > > Hi! > > > > > > > > Intel desktop machine: > > > > > > > > 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High > > > > Definition Audio Controller (rev 01) > > > > > > > > Sound worked ok in both in previous kernel versions. > > > > > > > > Any ideas? > > > > > > How broken? Did you get any error messages? > > > > I get some funny, faint, rhytmic noises where audio should > > be... Actually, I somehow suspect something is wrong with time during > > video playback. > > Did you try audio playback without video on chromium? Yes. Does not work, either; I tried http://www.thenakedscientists.com/HTML/podcasts/ . > > > If the behavior depends on the application (e.g. ALSA vs OSS), I'd > > > suspect rather a device permission problem at first. There are no > > > significant changes between 3.19 and 4.0-rc3 regarding HD-audio. > > > > My system contains pulseaudio, so it is more complex than ALSA vs OSS > > :-(. > > OK, that was missing information :) > Then there should be any difference in the kernel driver side -- it's > only a single PA process who accesses the sound device in the very > same manner no matter what clients are used (after all it's the > purpose of PA). > > Audio seems to work ok on thinkpad x60 with very very similar config. > > OK, then another thing I would check is to try different sample rates > (e.g. via playing WAV files over PA). Like this? pavel@amd:/usr/share$ pacat ./sounds/alsa/Front_Right.wav pavel@amd:/usr/share$ pacat --rate=48000 ./sounds/alsa/Front_Right.wav pavel@amd:/usr/share$ pacat --rate=44100 ./sounds/alsa/Front_Right.wav pavel@amd:/usr/share$ pacat --rate=32000 ./sounds/alsa/Front_Right.wav pavel@amd:/usr/share$ pacat --rate=16000 ./sounds/alsa/Front_Right.wav pavel@amd:/usr/share$ pacat --rate=8000 ./sounds/alsa/Front_Right.wav This seems to have behaved as expected. Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.0-rc3: sound broken in chromium but not in mpg123 2015-03-16 12:37 ` Pavel Machek @ 2015-03-16 13:46 ` Takashi Iwai 2015-03-24 19:01 ` Pavel Machek 0 siblings, 1 reply; 7+ messages in thread From: Takashi Iwai @ 2015-03-16 13:46 UTC (permalink / raw) To: Pavel Machek; +Cc: perex, alsa-devel, kernel list At Mon, 16 Mar 2015 13:37:19 +0100, Pavel Machek wrote: > > On Sun 2015-03-15 09:23:15, Takashi Iwai wrote: > > At Sun, 15 Mar 2015 09:15:44 +0100, > > Pavel Machek wrote: > > > > > > On Sun 2015-03-15 09:12:47, Takashi Iwai wrote: > > > > At Sat, 14 Mar 2015 21:11:09 +0100, > > > > Pavel Machek wrote: > > > > > > > > > > Hi! > > > > > > > > > > Intel desktop machine: > > > > > > > > > > 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High > > > > > Definition Audio Controller (rev 01) > > > > > > > > > > Sound worked ok in both in previous kernel versions. > > > > > > > > > > Any ideas? > > > > > > > > How broken? Did you get any error messages? > > > > > > I get some funny, faint, rhytmic noises where audio should > > > be... Actually, I somehow suspect something is wrong with time during > > > video playback. > > > > Did you try audio playback without video on chromium? > > Yes. Does not work, either; I tried > http://www.thenakedscientists.com/HTML/podcasts/ . > > > > > If the behavior depends on the application (e.g. ALSA vs OSS), I'd > > > > suspect rather a device permission problem at first. There are no > > > > significant changes between 3.19 and 4.0-rc3 regarding HD-audio. > > > > > > My system contains pulseaudio, so it is more complex than ALSA vs OSS > > > :-(. > > > > OK, that was missing information :) > > Then there should be any difference in the kernel driver side -- it's > > only a single PA process who accesses the sound device in the very > > same manner no matter what clients are used (after all it's the > > purpose of PA). > > > > Audio seems to work ok on thinkpad x60 with very very similar config. > > > > OK, then another thing I would check is to try different sample rates > > (e.g. via playing WAV files over PA). > > Like this? > > pavel@amd:/usr/share$ pacat ./sounds/alsa/Front_Right.wav > pavel@amd:/usr/share$ pacat --rate=48000 ./sounds/alsa/Front_Right.wav > pavel@amd:/usr/share$ pacat --rate=44100 ./sounds/alsa/Front_Right.wav > pavel@amd:/usr/share$ pacat --rate=32000 ./sounds/alsa/Front_Right.wav > pavel@amd:/usr/share$ pacat --rate=16000 ./sounds/alsa/Front_Right.wav > pavel@amd:/usr/share$ pacat --rate=8000 ./sounds/alsa/Front_Right.wav > > This seems to have behaved as expected. Hmm. You might see a difference when comparing /proc/asound/card*/pcm0p/sub0/* files between working and broken cases (while playing something). Other than that, I have no idea. A bisection would be needed, I'm afraid. Takashi ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.0-rc3: sound broken in chromium but not in mpg123 2015-03-16 13:46 ` Takashi Iwai @ 2015-03-24 19:01 ` Pavel Machek 0 siblings, 0 replies; 7+ messages in thread From: Pavel Machek @ 2015-03-24 19:01 UTC (permalink / raw) To: Takashi Iwai; +Cc: perex, alsa-devel, kernel list Hi! > > > OK, then another thing I would check is to try different sample rates > > > (e.g. via playing WAV files over PA). > > > > Like this? > > > > pavel@amd:/usr/share$ pacat ./sounds/alsa/Front_Right.wav > > pavel@amd:/usr/share$ pacat --rate=48000 ./sounds/alsa/Front_Right.wav > > pavel@amd:/usr/share$ pacat --rate=44100 ./sounds/alsa/Front_Right.wav > > pavel@amd:/usr/share$ pacat --rate=32000 ./sounds/alsa/Front_Right.wav > > pavel@amd:/usr/share$ pacat --rate=16000 ./sounds/alsa/Front_Right.wav > > pavel@amd:/usr/share$ pacat --rate=8000 ./sounds/alsa/Front_Right.wav > > > > This seems to have behaved as expected. > > Hmm. You might see a difference when comparing > /proc/asound/card*/pcm0p/sub0/* files between working and broken > cases (while playing something). > > Other than that, I have no idea. A bisection would be needed, I'm > afraid. :-(. To make it more fun, it now appeared on x60... it looks like it has something to do with starting browser early after boot. Restarting the browser seems to fix it. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-03-24 18:57 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-03-14 20:11 4.0-rc3: sound broken in chromium but not in mpg123 Pavel Machek 2015-03-15 8:12 ` Takashi Iwai 2015-03-15 8:15 ` Pavel Machek 2015-03-15 8:23 ` Takashi Iwai 2015-03-16 12:37 ` Pavel Machek 2015-03-16 13:46 ` Takashi Iwai 2015-03-24 19:01 ` Pavel Machek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).