Skip to contentSkip to conversation

4.0-rc3: sound broken in chromium but not in mpg123

DISCUSSION Pavel Machek 2 participants 7 messages Mar 14, 2015 – Mar 24, 2015

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw

At Sat, 14 Mar 2015 21:11:09 +0100,

Quoted 11 lines · Pavel Machek

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

#2 lore raw
Quoted 7 lines · Takashi Iwai

At Sat, 14 Mar 2015 21:11:09 +0100,

Quoted 5 lines · Pavel Machek

Hi!

Intel desktop machine:

Quoted 8 lines
Quoted 6 lines

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.

Quoted 3 lines

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#3 lore raw

At Sun, 15 Mar 2015 09:15:44 +0100,

Quoted 14 lines · Pavel Machek
Quoted 12 lines · Takashi Iwai

At Sat, 14 Mar 2015 21:11:09 +0100,

Quoted 10 lines · Pavel Machek

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.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

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?

Quoted 6 lines
Quoted 3 lines

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).

Quoted 1 line

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

#4 lore raw
Quoted 18 lines · Takashi Iwai

At Sun, 15 Mar 2015 09:15:44 +0100,

Quoted 16 lines · Pavel Machek
Quoted 14 lines · Takashi Iwai

At Sat, 14 Mar 2015 21:11:09 +0100,

Quoted 11 lines · Pavel Machek

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?

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

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/ .

Quoted 13 lines
Quoted 6 lines
Quoted 3 lines

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).

Quoted 4 lines
Quoted 1 line

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#5 lore raw

At Mon, 16 Mar 2015 13:37:19 +0100,

Quoted 51 lines · Pavel Machek
Quoted 18 lines · Takashi Iwai

At Sun, 15 Mar 2015 09:15:44 +0100,

Quoted 16 lines · Pavel Machek
Quoted 14 lines · Takashi Iwai

At Sat, 14 Mar 2015 21:11:09 +0100,

Quoted 11 lines · Pavel Machek

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?

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

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/ .

Quoted 13 lines
Quoted 6 lines
Quoted 3 lines

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).

Quoted 4 lines
Quoted 1 line

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?

Quoted 8 lines
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

#6 lore raw

Hi!

Quoted 12 lines
Quoted 12 lines
Quoted 2 lines

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
Quoted 8 lines
Quoted 1 line

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html