FS#58668 - [linux] Revert snd-hda-intel power_save=10 in kernel config

Attached to Project: Arch Linux
Opened by David Roth (V1del) - Saturday, 19 May 2018, 23:33 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 11 June 2023, 01:31 GMT
Task Type General Gripe
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan Alexander Steffens (heftig)
David Runge (dvzrv)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:As of https://git.archlinux.org/svntogit/packages.git/tree/trunk/config?h=packages/linux&id=9998d4fe8026c686abe8db9d9c5941d3936af3de#n6130 power_saving has been enabled by default on the snd-hda-intel driver. This leads to surprising results on certain chipsets ranging from annoying buzz noises, delayed sound effects, to unexpected system crashes.

If one wants to make use of power_saving on the audio controller this should probably be a conscious decision (and laptop user's who are primarily interested in this might already run a helper daemon which sets this dynamically). I did some quick search through the mailing lists and didn't find a discussion but I might've not searched well enough.

FWIW a few links to forum threads and a kernel bugzilla

https://bbs.archlinux.org/viewtopic.php?pid=1786394
https://bbs.archlinux.org/viewtopic.php?pid=1766206
https://bugzilla.kernel.org/show_bug.cgi?id=116401



Additional info:
* package version(s) 4.15 onwards
* config and/or log files etc.


Steps to reproduce: 1. Before playing audio with a snd-hda-intel chipset, notice delay or noise in audio startup
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Sunday, 11 June 2023, 01:31 GMT
Reason for closing:  None
Additional comments about closing:  Set to 10 seconds in main, pending next release.
Comment by Szebenyi Balint (szebenyib) - Thursday, 24 May 2018, 10:35 GMT
I can only second to this. Turning it off as suggested here: https://bbs.archlinux.org/viewtopic.php?pid=1766206#p1766206 helps to fix this. This unneeded sound is incredibly annoying.
Comment by David Roth (V1del) - Wednesday, 06 January 2021, 09:48 GMT
This has apparently surfaced again with 5.10, is this intentional? Same ramifications apply again.
Comment by Jan Alexander Steffens (heftig) - Wednesday, 06 January 2021, 09:52 GMT
Fedora and Ubuntu both have it enabled. I intend to follow that. It works fine in most cases and can still be disabled at runtime.
Comment by David Roth (V1del) - Wednesday, 06 January 2021, 10:10 GMT
Ah alright, then that's fine by me. I'd personally be a bit weary of this as a default but that might just be because I happen to own one of these Acers, and having your laptop instantly turn off just because you plug in headphones isn't a good experience.
Comment by Leon Möller (jkhsjdhjs) - Wednesday, 13 October 2021, 11:51 GMT
As of 5.14.11.arch1-1 the power_save option is set to 1 by default: https://github.com/archlinux/svntogit-packages/blob/0282cbb8270387b93ee09a052e89fc5dcc6eecf3/trunk/config#L6624
If this feature isn't going to be disabled please at least increase the delay. A setting of 1 results in many users experiencing frequent pops (or in my case static noise), as the sound card enters power saving mode after just 1s of inactivity.
The kernel documentation also advises against 1s and recommends 10s instead: https://www.kernel.org/doc/html/latest/sound/designs/powersave.html
"Setting this to 1 (the minimum value) isn’t recommended because many applications try to reopen the device frequently. 10 would be a good choice for normal operations."

Loading...