Sound system issue in buster

News and discussion about development of the Debian OS itself

Sound system issue in buster

Postby sgage » 2018-09-27 21:07

Hello All,

I am running Buster using the MATE DE, and for the most part, it is fine, issue-free, fast and stable. I like the newer version of MATE, etc.

The only problem I'm having is with the sound system. I guess that, as an energy saving feature, the sound chip gets turned on and off as the system sees fit. Each time it turns on or off, there is an audible, loud 'thump'. This does not occur in Stretch.

This is obviously not a huge show-stopper of a bug, but it is annoying. Since I am running this on a desktop system on AC power, I am not overly worried about power savings on this level. is there any way to just turn this on/off behavior off? I have been unable to find anywhere to do this.

TIA
sgage
 
Posts: 41
Joined: 2013-03-10 21:00

Re: Sound system issue in buster

Postby bw123 » 2018-09-27 23:20

Would you think your sound hardware details might be relevant? Questions like this are a real challenge, because you have included basically nothing other than a complaint. Take a number, and someone will be right with you?
viewtopic.php?f=10&t=138704&p=681953&sid=a06d5b38e875b436bfd70718bd037a3c#p681953

If you are interested in tracking down the bug, reporting it, and helping to solve it, then let people know by asking a good question.
User avatar
bw123
 
Posts: 3414
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Sound system issue in buster

Postby debiman » 2018-09-28 05:45

sgage wrote:The only problem I'm having is with the sound system. I guess that, as an energy saving feature, the sound chip gets turned on and off as the system sees fit. Each time it turns on or off, there is an audible, loud 'thump'.

i once had a similar experience and it was the sound device being switched off.
but still, it would be better to know than to guess.

in any case, this should help:
https://www.startpage.com/do/dsearch?qu ... power+save
obviously, articles that talk about enabling it can also help.
User avatar
debiman
 
Posts: 2927
Joined: 2013-03-12 07:18

Re: Sound system issue in buster

Postby sgage » 2018-09-28 10:51

bw123 wrote:Would you think your sound hardware details might be relevant? Questions like this are a real challenge, because you have included basically nothing other than a complaint. Take a number, and someone will be right with you?
viewtopic.php?f=10&t=138704&p=681953&sid=a06d5b38e875b436bfd70718bd037a3c#p681953

If you are interested in tracking down the bug, reporting it, and helping to solve it, then let people know by asking a good question.


Look, I was just posting an initial question to see if this was a known issue. No reason to get snippy.
sgage
 
Posts: 41
Joined: 2013-03-10 21:00

Re: Sound system issue in buster

Postby sgage » 2018-09-28 10:52

debiman wrote:
sgage wrote:The only problem I'm having is with the sound system. I guess that, as an energy saving feature, the sound chip gets turned on and off as the system sees fit. Each time it turns on or off, there is an audible, loud 'thump'.

i once had a similar experience and it was the sound device being switched off.
but still, it would be better to know than to guess.

in any case, this should help:
https://www.startpage.com/do/dsearch?qu ... power+save
obviously, articles that talk about enabling it can also help.


Thanks, debiman - I will check out that link.
sgage
 
Posts: 41
Joined: 2013-03-10 21:00

Re: Sound system issue in buster

Postby bw123 » 2018-09-28 12:15

clicking audio on some chips when in low power state is a known issue. There are several apps that could set a device to low power state, like laptop-mode-tools, powertop, etc. Nobody knows what power saving apps you might have installed. It could also be a default in the kernel module for the device, or controller that the device is attached to.

The reason your hardware might matter is because on intel_hda devices like mine it's controlled at
/sys/module/snd_hda_intel/parameters/power_save so it depends on what driver your audio device uses. You can probably find more about your hardware and powersaving by using powertop, it will usually hunt down about anything related to power states on the machine. It probably won't help to set this if there is another app already controlling it.

Sometimes there are no sane defaults for power saving, so some tweaks are necessary, it's not always a bug. People who use testing before a release are really needed to find and report and solve bugs.
User avatar
bw123
 
Posts: 3414
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Sound system issue in buster

Postby sgage » 2018-09-28 14:13

bw123 wrote:clicking audio on some chips when in low power state is a known issue. There are several apps that could set a device to low power state, like laptop-mode-tools, powertop, etc. Nobody knows what power saving apps you might have installed. It could also be a default in the kernel module for the device, or controller that the device is attached to.

The reason your hardware might matter is because on intel_hda devices like mine it's controlled at
/sys/module/snd_hda_intel/parameters/power_save so it depends on what driver your audio device uses. You can probably find more about your hardware and powersaving by using powertop, it will usually hunt down about anything related to power states on the machine. It probably won't help to set this if there is another app already controlling it.

Sometimes there are no sane defaults for power saving, so some tweaks are necessary, it's not always a bug. People who use testing before a release are really needed to find and report and solve bugs.


Thanks for the pointers, bw123. I've been trying to get an understanding of where the power saving modes are set, and yes, it seems there are many layers and many potential actors in the matter. I will continue my testing shortly (I'm in stretch now), and report what I find...
sgage
 
Posts: 41
Joined: 2013-03-10 21:00

Re: Sound system issue in buster

Postby kedaha » 2018-09-28 22:25

sgage wrote:I am running Buster using the MATE DE, and for the most part, it is fine, issue-free, fast and stable. I like the newer version of MATE, etc.

Hi,
Looks like all the mate packages are now available from stretch-backports so I'll try the newer version without "upgrading" to Buster because it may not always be quite so "issue-free, fast and stable." Thanks for mentioning that.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2868
Joined: 2008-05-24 12:26

Re: Sound system issue in buster

Postby sgage » 2018-09-29 10:50

kedaha wrote:
sgage wrote:I am running Buster using the MATE DE, and for the most part, it is fine, issue-free, fast and stable. I like the newer version of MATE, etc.

Hi,
Looks like all the mate packages are now available from stretch-backports so I'll try the newer version without "upgrading" to Buster because it may not always be quite so "issue-free, fast and stable." Thanks for mentioning that.


I find that the MATE ensemble from backports works fine in Stretch.
sgage
 
Posts: 41
Joined: 2013-03-10 21:00

Re: Sound system issue in buster

Postby sgage » 2018-09-29 11:02

Well, the issue I was having is not so much a bug as a changed configuration between Stretch and Buster.

In Stretch, /sys/module/snd_hda_intel/parameters/power_save is set to 0, but in Buster defaults to 1. I suppose if you are running on a laptop you want the power saving feature, and the loudness of the 'thump' during power off/on probably differs (or maybe doesn't exist) depending on the sound card.

After figuring out how to make the systemd rc.local.service work, I just made an rc.local to

Code: Select all
echo 0 > /sys/module/snd_hda_intel/parameters/power_save


and that has taken care of it.

Thanks all for the suggestions and links that helped me figure this out.
sgage
 
Posts: 41
Joined: 2013-03-10 21:00


Return to Debian Development

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable