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 EB559D1714E for ; Tue, 22 Oct 2024 01:13:58 +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 51B5ADF6; Tue, 22 Oct 2024 03:13:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 51B5ADF6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1729559636; 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=ml9fs0GuTJyc6rvQU4HQVvIA48rz4fL7awAGAyPf+DhN14D0GxuDhiEjzyd5BSs6d RPRfl/7PNYwh/W/kUdLyimhT9piyaH6WKAy76JCvloh4iO/DNYdqGFnTeFQBbPAYbV Uw3GZ2D7KmHDDJV8FQY767NGY13del7PqofOnGVg= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 47C0AF8059F; Tue, 22 Oct 2024 03:13:35 +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 CF7D5F805AF; Tue, 22 Oct 2024 03:13:34 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 36A78F80272; Tue, 22 Oct 2024 03:13:29 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi242170.contaboserver.net [207.180.221.201]) by alsa1.perex.cz (Postfix) with ESMTP id 75963F80149 for ; Tue, 22 Oct 2024 03:13:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 75963F80149 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: <1729559607451637030-webhooks-bot@alsa-project.org> References: <1729559607451637030-webhooks-bot@alsa-project.org> Subject: AlSA problem , audio on/off across multiple ubuntu releases Message-Id: <20241022011329.36A78F80272@alsa1.perex.cz> Date: Tue, 22 Oct 2024 03:13:29 +0200 (CEST) Message-ID-Hash: 3EB46BQQS2SO62PSTDBSRHLSP7KLZGA6 X-Message-ID-Hash: 3EB46BQQS2SO62PSTDBSRHLSP7KLZGA6 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