-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround broken sound issue by disabling SG-buffer
Since about 5.17 kernel (2c95b92ecd92e784785b1db8cccc4f0f2bfa850c upstream commit specifically), audio stops working after some time. The real solution isn't known yet, but as a workaround disable problematic feature (SG-buffer) for now. See linked issue and upstream discussion at [1] for details. Fixes QubesOS/qubes-issues#7465 [1] https://lore.kernel.org/alsa-devel/Y6E9VixS7sV0kpWQ@mail-itl/T/
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From bcc68c3829df041bf22ee493f8eb58fce230303b Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= | ||
<marmarek@invisiblethingslab.com> | ||
Date: Tue, 27 Dec 2022 15:49:46 +0100 | ||
Subject: [PATCH] sound: Disable SG-buffer | ||
|
||
This appears to be broken under Xen PV (or other Qubes-specific | ||
factor?), so disable it until fixed. | ||
--- | ||
sound/core/Kconfig | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/sound/core/Kconfig b/sound/core/Kconfig | ||
index 12990d9a4dff..18798d99021d 100644 | ||
--- a/sound/core/Kconfig | ||
+++ b/sound/core/Kconfig | ||
@@ -225,8 +225,8 @@ config SND_VMASTER | ||
bool | ||
|
||
config SND_DMA_SGBUF | ||
- def_bool y | ||
- depends on X86 | ||
+ def_bool n | ||
+# depends on X86 | ||
|
||
config SND_CTL_LED | ||
tristate | ||
-- | ||
2.37.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters