Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CDB23D2CDFA for ; Tue, 22 Oct 2024 16:33:44 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id EC990EAB; Tue, 22 Oct 2024 18:33:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EC990EAB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1729614823; bh=uvkDvs7FjFUmP11GS9EWAOnbt5BjXtNf7QczaVMT/8E=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=GbJzTy+USr4eX+qI1qufosrMbg4L49wzy59ObTgVzl8WY2zyb8EuRlgrKThWSc3Fb SIow0dej6oUrCpJdWSMxeRpToxtfn3/SxHw0dYtYZK6UjmpeZzFmVpznJcBXxGlTjt 6+fXnT8s/ePAafcAN5DsbEIbkOKUqeBgniMkgM6o= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 629B3F805BD; Tue, 22 Oct 2024 18:33:12 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id A7C81F805A0; Tue, 22 Oct 2024 18:33:11 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C2301F8016C; Tue, 22 Oct 2024 18:33:06 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 1DF3BF800ED for ; Tue, 22 Oct 2024 18:33:04 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1DF3BF800ED MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - edited To: alsa-devel@alsa-project.org In-Reply-To: <1729614784825118065-webhooks-bot@alsa-project.org> References: <1729614784825118065-webhooks-bot@alsa-project.org> Subject: ALSA problem , audio doesn't work Message-Id: <20241022163306.C2301F8016C@alsa1.perex.cz> Date: Tue, 22 Oct 2024 18:33:06 +0200 (CEST) Message-ID-Hash: WOGXEQN6PU6XLTH7XZIV5BENKJS3CMUT X-Message-ID-Hash: WOGXEQN6PU6XLTH7XZIV5BENKJS3CMUT X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: alsa-project/alsa-lib issue #414 was edited from Kermilli: Hi, I've been having problems with audio on ubuntu on and off. I'm not a professional but everything seems to point at alsa . The pulse troubleshooting page at some point recommends to run alsa directly/bypass pulse with the command `mplayer -ao alsa:device=hw=0 yourchosentrack.mp3` which gives `[AO_ALSA] alsa-lib: pcm_hw.c:1715:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory [AO_ALSA] Playback open error: No such file or directory Failed to initialize audio driver 'alsa:device=hw=0' Could not open/initialize audio device -> no sound. Audio: no sound Video: no video ` sudo pulseaudio -vvv gives `E: [pulseaudio] module-alsa-card.c: Failed to find a working profile. E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.` I've tried everything . The only time it worked was when I added options snd-hda-intel model=auto to /etc/modprobe.d/alsa-base.conf. , but even then it stopped working after some time when I was listening to audio. Any help would be greatly appreciated! Issue URL : https://github.com/alsa-project/alsa-lib/issues/414 Repository URL: https://github.com/alsa-project/alsa-lib