23

I ran powertop, and it says that the Realtek audio codec is using 100.0% of the cpu. Is this a problem?

I'm running Ubuntu 11.10 32-bit on Intel® Core™ i7 CPU M 640 @ 2.80GHz × 4 Sony VAIO laptop.

functionptr
  • 993
  • 1
  • 9
  • 23

4 Answers4

27

Try changing "Enable Audio codec power management" to good in the Tunables tab for powertop. After doing so, hwC0D0 is no longer listed in powertop for me.

undoIT
  • 371
  • It worked for me too (now let's see if power consumption will improve). Anyway there are loads of other settings like this one, I've enabled all of them...cross fingers the system will boot the next time :) – funder7 Aug 10 '20 at 18:02
9

No, it just means that you have (probably digital) sound output enabled. If you have some sound outputs, such as digital (optical/coaxial) or hdmi you are not using, then you can blacklist their drivers and you might save some battery. They will be listed in lsmod something like, snd_hda_code_realtek and snd_hda_codec_hdmi. By adding these to /etc/modprobe.d/blacklist.conf you can disable them.

Raja G
  • 102,391
  • 106
  • 255
  • 328
daithib8
  • 3,351
  • 2
    In case someone finds this question looking for a way to remove the realtek audio from Powertop DO NOT FOLLOW THE ABOVE ANSWER. Blacklisting the drivers will disable all audio from your machine. The only way to fix it is to remove the blacklisting and then doing a hard shutdown with sudo sh -c "echo o > /proc/sysrq-trigger". USE THE ANSWER BELOW THIS ONE – Leonardo Petrucci Sep 23 '18 at 17:48
7

I found that muting the microphone input in the mixer solved the problem. I use a Dell XPS17.

  • This mean your microphone was constantly listening? – Dan May 03 '18 at 08:24
  • Looks like it works only one time. The 100% usage disappeared after I muted mic, but when I turned it on for a while, and turned it off again, 100% usage stayed intact. – Astery May 05 '22 at 18:33
0

Muting / disabling stuff with alsamixer helped me get rid of the same problem on macbook air.

Erb
  • 281
  • 2
  • 6