You are not logged in.

#1 2012-08-21 23:23:18

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

[Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

I'm otherwise getting pretty similar power usage to the stock kernel, so I'm wondering if powertop is just mistaken and what might cause it to think that? It estimates that each one uses about 1.21W (if it's correct) out of my 12W total. I have NEVER gotten this machine under 10V, which is why I think it must be a mistake.

If it's not, it would be awesome to shut them off, but I've tried muting/unmuting. The tunables in powertop are 'Good' and if I cat the power_saving files, it shows a 1, indicating that power saving is, indeed, enabled.

Is this happening for anyone else?

I compile the kernel and the only setting I change with regard to the audio drivers is to enable power saving by default.

Last edited by pogeymanz (2012-08-22 21:49:50)

Offline

#2 2012-08-22 01:41:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

Never saw that one on my laptop w/ linux-ck.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2012-08-22 06:05:04

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

I have the same issue, but it's solved quite easily here. After enabling powersave on the soundcard I simply have to change the volume, mute it or whatever. After that I hear a silent click, which appears as soon as the soundcard is shut down. Powertop then shows the usage going down from 100% to 0%. Your post seems to tell that you do exactly those steps, first power it down, then change the volume / mute the soundcard. I just wanted to tell you that those steps fix it for me.

However, I don't use the ck-Kernel, but I hardly think that this patchset causes this.

Offline

#4 2012-08-22 09:03:45

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

Thanks for the info, army.

OP - do you mind editing the title of your post removing the 'Linux-ck' since this issue is unrelated?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2012-08-22 12:10:57

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

I've had the same issue Army describes before, where just toggling mute has fixed it. However, that does not work here. It's very strange. I'm wondering if my pulseaudio might be configured incorrectly.

I used to run Openbox and remember having to edit some pulse config files to get my HDMI working. Now I'm running KDE, plus a newer version of pulse, so maybe something about those has screwed me up?

Offline

#6 2012-08-22 14:55:18

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

See the pulse wiki for the location of the pulse config file.  As a test, you can rename it and reinstall the pulse package will should lprovide the default config.  Test that and report back?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2012-08-22 15:53:26

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

Well, reinstalling pulseaudio does not create the file /etc/pulse/client.conf, which makes it angry... So I popped my backed up one there and it works the same as before.

But, I just tested again, and with the stock kernel, the codecs behave as expected. It's only when I'm running my CK kernel. Maybe it's because my ck kernel is 3.5.2 and Arch's stock is still 3.4.9. Maybe some buggy stuff happened in 3.5.2?

I'm going to recompile again and turn off the power-saving-by-default option and see what that does.

EDIT: I'm putting the title back to the original, because I'm now convinced that it's because of linux-ck. Specifically because it's version 3.5.2.

Graysky, ValdikSS mentions the problem and links to a patch for it in the linux-ck AUR package. I'm compiling now with the patch. We'll see if it works.

Last edited by pogeymanz (2012-08-22 17:10:06)

Offline

#8 2012-08-22 20:32:13

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

@OP - I am confused.  Can you reproduce this error with the linux package from [testing]?  If you can, it is not related to the ck patchset at all, but is related to 3.5.2.  If that is indeed the case, I would ask that you open a flyspray against the linux package in [testing] pointing the devs to the patch to which you refer.  If you can confirm that this patch fixes your problem, I will very likely add it to the linux-ck package.  Again, not a problem with ck1 patchset, but a problem with 3.5.2 from upstream.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#9 2012-08-22 21:49:03

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

@Graysky:
Fair enough. It is a bug with 3.5.2 upstream and not the -ck patchset. I will make a bug report. (The patch at http://mailman.alsa-project.org/piperma … 54532.html does fix it, in case others are reading this thread)

Offline

#10 2012-08-22 23:00:35

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

@OP - Your thread convinced me to add the patch to linux-ck... v3.5.2-3 has it included.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#11 2012-08-23 00:11:26

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

You are a gentleman(?) and a scholar.

Offline

#12 2012-08-29 18:27:00

unknwn
Member
Registered: 2008-02-02
Posts: 35

Re: [Solved] Powertop shows my audio codecs usage at 100% w/ 3.5.2 kernel

I am still having this issue with linux-ck-corex 3.5.3-2 .

Offline

Board footer

Powered by FluxBB