How do I fix microphone issues with Pulseaudio and ALC1220?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I've been trying to get the microphone to work on a new PC, but Pulseaudio produces distorted audio, that sounds as if it's sped-up.



I've observed this on Audacity and Discord. Audacity in particular will only record around a quarter of a second of audio every 6 seconds or so, and stopping the recording before that time elapses will discard all audio information. On longer recordings, any information that didn't fall inside those ~6 seconds recording intervals will also be discarded.



If I try to get audio through ALSA on Audacity, it seems to work, albeit with some low background static noise. If I use arecord, it produces a mostly clean recording with regular popping/crackling noises.



After that, switching back to pulse on Audacity will produce normal speed audio but with a crackling noise at the beginning of the recording that gradually diminishes into background noise with constant popping.



Using the tsched=0 option in Pulseaudio's configuration file or manually setting the sampling rate in the daemon configuration don't fix the issue.



Is there any way to fix this or is this particular sound card just buggy on Linux?



Motherboard: ASUS ROG STRIX X470-F GAMING



Output of arecord --list-devices:



**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 2: ALC1220 Alt Analog [ALC1220 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0


Output of uname -r:



4.19.3-300.fc29.x86_64









share|improve this question























  • There's a bugtracker issue for that, but no solution. My guess would be that the codec needs a quirk, probably some additional initialisation. There's no public data sheet for the ALC1220, so making one will be difficult, and needs someone with kernel hacking and codec experience. Comparing the codec state with the state under Windows with a working driver may help.
    – dirkt
    Nov 27 at 7:59














up vote
0
down vote

favorite












I've been trying to get the microphone to work on a new PC, but Pulseaudio produces distorted audio, that sounds as if it's sped-up.



I've observed this on Audacity and Discord. Audacity in particular will only record around a quarter of a second of audio every 6 seconds or so, and stopping the recording before that time elapses will discard all audio information. On longer recordings, any information that didn't fall inside those ~6 seconds recording intervals will also be discarded.



If I try to get audio through ALSA on Audacity, it seems to work, albeit with some low background static noise. If I use arecord, it produces a mostly clean recording with regular popping/crackling noises.



After that, switching back to pulse on Audacity will produce normal speed audio but with a crackling noise at the beginning of the recording that gradually diminishes into background noise with constant popping.



Using the tsched=0 option in Pulseaudio's configuration file or manually setting the sampling rate in the daemon configuration don't fix the issue.



Is there any way to fix this or is this particular sound card just buggy on Linux?



Motherboard: ASUS ROG STRIX X470-F GAMING



Output of arecord --list-devices:



**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 2: ALC1220 Alt Analog [ALC1220 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0


Output of uname -r:



4.19.3-300.fc29.x86_64









share|improve this question























  • There's a bugtracker issue for that, but no solution. My guess would be that the codec needs a quirk, probably some additional initialisation. There's no public data sheet for the ALC1220, so making one will be difficult, and needs someone with kernel hacking and codec experience. Comparing the codec state with the state under Windows with a working driver may help.
    – dirkt
    Nov 27 at 7:59












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I've been trying to get the microphone to work on a new PC, but Pulseaudio produces distorted audio, that sounds as if it's sped-up.



I've observed this on Audacity and Discord. Audacity in particular will only record around a quarter of a second of audio every 6 seconds or so, and stopping the recording before that time elapses will discard all audio information. On longer recordings, any information that didn't fall inside those ~6 seconds recording intervals will also be discarded.



If I try to get audio through ALSA on Audacity, it seems to work, albeit with some low background static noise. If I use arecord, it produces a mostly clean recording with regular popping/crackling noises.



After that, switching back to pulse on Audacity will produce normal speed audio but with a crackling noise at the beginning of the recording that gradually diminishes into background noise with constant popping.



Using the tsched=0 option in Pulseaudio's configuration file or manually setting the sampling rate in the daemon configuration don't fix the issue.



Is there any way to fix this or is this particular sound card just buggy on Linux?



Motherboard: ASUS ROG STRIX X470-F GAMING



Output of arecord --list-devices:



**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 2: ALC1220 Alt Analog [ALC1220 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0


Output of uname -r:



4.19.3-300.fc29.x86_64









share|improve this question















I've been trying to get the microphone to work on a new PC, but Pulseaudio produces distorted audio, that sounds as if it's sped-up.



I've observed this on Audacity and Discord. Audacity in particular will only record around a quarter of a second of audio every 6 seconds or so, and stopping the recording before that time elapses will discard all audio information. On longer recordings, any information that didn't fall inside those ~6 seconds recording intervals will also be discarded.



If I try to get audio through ALSA on Audacity, it seems to work, albeit with some low background static noise. If I use arecord, it produces a mostly clean recording with regular popping/crackling noises.



After that, switching back to pulse on Audacity will produce normal speed audio but with a crackling noise at the beginning of the recording that gradually diminishes into background noise with constant popping.



Using the tsched=0 option in Pulseaudio's configuration file or manually setting the sampling rate in the daemon configuration don't fix the issue.



Is there any way to fix this or is this particular sound card just buggy on Linux?



Motherboard: ASUS ROG STRIX X470-F GAMING



Output of arecord --list-devices:



**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 2: ALC1220 Alt Analog [ALC1220 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0


Output of uname -r:



4.19.3-300.fc29.x86_64






pulseaudio realtek microphone






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 26 at 22:21

























asked Nov 26 at 19:53









Aeder

134




134











  • There's a bugtracker issue for that, but no solution. My guess would be that the codec needs a quirk, probably some additional initialisation. There's no public data sheet for the ALC1220, so making one will be difficult, and needs someone with kernel hacking and codec experience. Comparing the codec state with the state under Windows with a working driver may help.
    – dirkt
    Nov 27 at 7:59
















  • There's a bugtracker issue for that, but no solution. My guess would be that the codec needs a quirk, probably some additional initialisation. There's no public data sheet for the ALC1220, so making one will be difficult, and needs someone with kernel hacking and codec experience. Comparing the codec state with the state under Windows with a working driver may help.
    – dirkt
    Nov 27 at 7:59















There's a bugtracker issue for that, but no solution. My guess would be that the codec needs a quirk, probably some additional initialisation. There's no public data sheet for the ALC1220, so making one will be difficult, and needs someone with kernel hacking and codec experience. Comparing the codec state with the state under Windows with a working driver may help.
– dirkt
Nov 27 at 7:59




There's a bugtracker issue for that, but no solution. My guess would be that the codec needs a quirk, probably some additional initialisation. There's no public data sheet for the ALC1220, so making one will be difficult, and needs someone with kernel hacking and codec experience. Comparing the codec state with the state under Windows with a working driver may help.
– dirkt
Nov 27 at 7:59















active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484277%2fhow-do-i-fix-microphone-issues-with-pulseaudio-and-alc1220%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484277%2fhow-do-i-fix-microphone-issues-with-pulseaudio-and-alc1220%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?