Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp263110rdh; Thu, 26 Oct 2023 01:10:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFa+EcfhNLhyEbeSuxnupCsoekMYa5H7B9gxKqBS3ye827NsW9LkIhMBxu3fW9+J6wt6sLJ X-Received: by 2002:a54:458d:0:b0:3a7:1e3e:7f97 with SMTP id z13-20020a54458d000000b003a71e3e7f97mr20485990oib.4.1698307833309; Thu, 26 Oct 2023 01:10:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698307833; cv=none; d=google.com; s=arc-20160816; b=cNEURGA7/2s4t74MO8NrtMWQ0UNEsduoAAAys75Gazk4MwVzJexRImbz8xYo6/81rl pciSVxJLzCT3BvwtIDKbGa2xfgNSOUKislMxNywLljsXaX8OvlCVuaSmWu3RnwMJvh+r sgWrDq0dmbW+Xc4i9HPDT/BHNDq5z0/6xyKebkPgSnnNB21QQwTyXs6ht/5AXZlkRkPl +MAOmfflrpxCz+vNPf+9DcMGlAaEfaWyWdVDG/wolAOu6wONKalx9OOZ78SQY0b10pzH ValNYUIdS2++jepLtCKn7wmxH3JsL+tKdvaWYqMH5W6pYpIicMw3QN46jQRVWj7djaCa UQfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=tS0JDvw2Y7iSHdnpDlvBW8JTP6jh8SxazuhN3wAyMC4=; fh=7KpW3RG1fDFv+sPy68mikShfY6zGHFYVF91rk0CQ/hM=; b=ecoz1r5ipbeGv6liIVZqstjgnYIzPaoMAaW7r99OsHzPKLDkw+EQs+vMksJ6BTN3tm DYlx5mAM3g0v8fSnSPGlmML5L/Fah//b6avIoGulhqp7cHS7g2QQSY8CBffcMYHS5K/n h+5p1OiLzqGHshR5y6Jj5KdJX0zs2FjIEJCEQD2xFpdbQoEgR4YAyXx1pSlIhdXKAQ/k kXsGIbBzGDeC4ubj/PyWStVtu9w1cK9PTRDvUfvv7UdnJptIgIuUAfuymGlB8EDw4JpF MFhcjpuVMVv2zZzxioSsFgmaMdST2A5AQsIvwHYAw5SaXKQc0lmwOIXkJ5s2n5NKHqWS cGdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fiL98r2X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id o7-20020a056902110700b00d9cc11ca55esi18836370ybu.215.2023.10.26.01.10.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 01:10:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fiL98r2X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2CF1B8206D40; Thu, 26 Oct 2023 01:10:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229882AbjJZIKY (ORCPT + 99 others); Thu, 26 Oct 2023 04:10:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbjJZIKX (ORCPT ); Thu, 26 Oct 2023 04:10:23 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5CBFB8 for ; Thu, 26 Oct 2023 01:10:21 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1cc0e78ec92so1700285ad.3 for ; Thu, 26 Oct 2023 01:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698307821; x=1698912621; darn=vger.kernel.org; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=tS0JDvw2Y7iSHdnpDlvBW8JTP6jh8SxazuhN3wAyMC4=; b=fiL98r2XVRIliBgEaWNGFCVNa78J+OTVeFBx8rJugl3xadhBq/8cgbMYa4wYT70zJo wgBZIBH2t/LjQ5dHp1jQxkSk7sXRVI9MVJCRX/sJVSPC+/yoVFp5Qk6q1oag/a4Lulq7 lhvbvkgcMrzSVJH+k3giKdO87bXr/FvfZ3GIr52mozH/wnPhxDlM1PEYPiuEBP6+lmNX 5hpl5bFZqVOIumwWUsujcIv8C+iR4rXn5k1liGqwHJAVcpKm1RlIMUoPj+KiHUuRSj53 RF+X70R9lPqUFnIuXUKThB4bOKuv63qNrgNL2LAVR65kPwLehujv7hMbdrP/QgCi89vU LPqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698307821; x=1698912621; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=tS0JDvw2Y7iSHdnpDlvBW8JTP6jh8SxazuhN3wAyMC4=; b=FBz/OXDJ4Oz6xVLHhzC8OiBk/DWh5fzhbVKB0ZQhZfTLMhdDSBTiRc7rfWTBkniobn 0TRD0n3Dmgyh0gWfaISDLp4yY1cinNWHdYEnIaAJef82jTFFp4ckM3xJahZQhUHoFlvQ jPyStX2QbxXhdTsi5Em2QUkIHIPVwpV3VtsuWAzIHfa80I3GLSTD854eHCUulMK9ND5e oq8sxPGxXu3EbIjXacnsXx5pk7p0sqHNAOhzWnPVA9eHUMvWFDkkh9vGbl4QNCsw+fj7 JKYF3fcQu7nmmvYvaZA3iqThLlizoNHpUUYE4rr7pbshnaA6lRKLs5KEbqhqOu2Ujlcr cBkg== X-Gm-Message-State: AOJu0Yyh+7wCb1ta8NDx4SW7HzmmSdQoXsmoKtLoOkH7cizUhdUZn4D5 vy2Bo+2kuybeLRWp81BbB6taN1M33Vs= X-Received: by 2002:a17:902:f542:b0:1ca:8e43:765a with SMTP id h2-20020a170902f54200b001ca8e43765amr18310249plf.9.1698307820770; Thu, 26 Oct 2023 01:10:20 -0700 (PDT) Received: from [192.168.0.106] ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id q9-20020a170902dac900b001b9c960ffeasm10385498plx.47.2023.10.26.01.10.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Oct 2023 01:10:20 -0700 (PDT) Message-ID: Date: Thu, 26 Oct 2023 15:10:17 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Linux Kernel Mailing List , Linux ALSA Development Cc: Jaroslav Kysela , Takashi Iwai , Oder Chiou , Liam Girdwood , Mark Brown , aguertin From: Bagas Sanjaya Subject: Fwd: No sound from monitor speakers unless snd_hda_codec_realtek is inserted before snd_hda_intel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 26 Oct 2023 01:10:32 -0700 (PDT) Hi, I notice a bug report on Bugzilla [1]. Quoting from it: > I have an Asus Pro B550M-C/CSM motherboard, which uses a Realtek ALC887-VD, and a monitor (with speakers) plugged in via DisplayPort. On booting normally, I get no sound from the monitor speakers (other sound outputs like USB or bluetooth headphones work fine). > > I have found two workarounds for getting the monitor sound working: > 1. rmmod snd_hda_intel && modprobe snd_hda_intel > 2. ensure that snd_hda_codec_realtek is inserted before snd_hda_intel (e.g. by adding `softdep snd_hda_intel pre: snd_hda_codec_realtek` in modprobe.d) > > Notably, timing does not seem to be an issue: even if snd_hda_intel is blacklisted from loading at boot, it will not work when it is loaded unless is is unloaded and loaded again or snd_hda_codec_realtek is loaded first. > > This is not a recent regression - it has been happening as long as I have had the hardware (since at least late 2021). > > Since it's not clear which is more useful, I am attaching two runs of alsa-info.sh - one is from a normal boot with sound not working, and the other is after running rmmod snd_hda_intel && modprobe snd_hda_intel with sound working. See Bugzilla for the full thread and alsa-input output on both working and buggy cases. AFAIK, it looks like module dependency issue. Thanks. [1]: https://bugzilla.kernel.org/show_bug.cgi?id=218027 -- An old man doll... just what I always wanted! - Clara