Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm running Ubuntu 13.04 (though the problem was also present under 12.04) on an HP Pavilion dv7 laptop.

Every so often, if I change the system volume while listening to music, the sound becomes corrupted - that is to say, random crackly artifacts get interspersed within the audio. If I had to describe it, it's sort of as if the music had been mixed with the sound that played when connecting to a dial-up connection back in the day - just random, data-sounding clicks and pops, interspersed with sudden (fraction-of-a-second-long) mutes. When this happens, some volume levels will mute the sound entirely and become a series of high-pitched crackles; switching volume back will restore the (still-corrupted) sound.

This happens in both Rhythmbox and Audacious, as well as with Flash e.g. when watching YouTube videos. The problem is very sporadic - sometimes it won't happen for a week, sometimes it will happen twice within the same day. The only link is changing the system volume, but there's no other common element (no particular volume threshold that always triggers it, say). One thing I have noticed is that it happens often if I change the fade slider between front and rear speakers (The laptop has a subwoofer, which for some reason is seen by Ubuntu as the front speaker - so I generally have to pan it slightly towards the rear so as not to have an overabundance of bass - the corruption when changing volume, though, happens when I am using headphones as well as when using the built-in speakers)

Closing all applications (or Firefox tabs, in the case of Flash) that are using the sound card in some way and re-opening them fixes the problem.

This could possibly be linked to the HDMI port on the laptop (I don't use it but have heard things about its less-than-great interactions between this model and Ubuntu's sound drivers), or perhaps to the issue where I have to open alsamixer and change the Speaker volume to get my headphones to work whenever they are plugged in; but beyond that I can't think of any specific cause or solution for this.

Let me know if there are any debug outputs that would help figuring out the cause of this issue (I don't know for certain what diagnostics I can run for this)

So far I've identified this happening in:

  • Rhythmbox
  • Audacious
  • Firefox (w/Flash player)
  • VidyoDesktop (conference calling software)

I'd be hesitant to say that this is affecting all sound applications, but that could well be the case - it happens so intermittently that it's difficult to test in specific programs.

Update: Even stranger, over the last couple of days it has ceased to be simply a "when changing volume" issue, and sometimes happens simply when changing tracks (though changing the volume exacerbates it once it's started). I'm starting to wonder whether it could be some strange interaction between the MP3 codecs and the sound drivers [I have a dualboot system with music in MP3 format stored on my Windows drive] - though that wouldn't go any way to explaining why it also happens with Flash, so I am utterly stumped.

share|improve this question

2 Answers 2

Reference:- http://forum.notebookreview.com/hp-compaq/331172-hp-dv7-sound-fix-ubuntu.html

A fix was found for the sound problems with DV7 notebooks when running ubuntu.

  1. Open the Terminal.
  2. In the terminal: type sudo gedit /etc/modprobe.d/alsa-base.conf
  3. This will open that file in gedit. Scroll to the bottom of the file and add a new line: options snd-hda-intel enable_msi=1
  4. Save the file and close gedit (you can now also stop the terminal).
  5. Reboot the computer.

After rebooting, the sound should work properly.

share|improve this answer
up vote 0 down vote accepted

This issue seems to have been fixed in Saucy (13.10), so if anyone else is having similar problems the best course of action would be to upgrade to that version or newer (if a newer, supported release exists by the time you read this)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["                  <li><a href=\"//area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2015 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2015.6.29.2688\r\n            </div>\r\n                <div id=\"additional-notices\">\r\n                    Ubuntu and Canonical are registered trademarks of Canonical Ltd.\r\n                </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-wa"], "copyright__copyright__copyright": ["e this answer\nup vote 0 down vote accepted\n\nThis issue seems to have been fixed in Saucy (13.10), so if anyone else is having similar problems the best course of action would be to upgrade to that version or newer (if a newer, supported release exists by the time you read this)\n\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}