X-Rcpt-Trace: gkrellm at lists.netservicesgroup.com
Received-SPF: none (No spf1 record for (aya.yale.edu) ) client-ip=209.85.160.170; envelope-from=<ostroffjh@aya.yale.edu>; x-ip-name=mail-qt1-f170.google_com;
X-Received: from mail-qt1-f170.google.com (unverified [209.85.160.170])
by mailproc.sbbsnet.net (Network-Services-Group-Email) with ESMTP (TLS) id 97911-1928206
for <gkrellm@lists.netservicesgroup.com>; Mon, 28 Mar 2022 19:16:31 -0400
X-Return-Path: ostroffjh
X-Received: by mail-qt1-f170.google.com with SMTP id z19so10606177qtw.2
for <gkrellm@lists.netservicesgroup.com>; Mon, 28 Mar 2022 16:16:31 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:date:from:subject:to:mime-version:in-reply-to
:message-id:content-disposition:content-transfer-encoding;
bh=V1Ok4ohLAVCcoPLj9X6L8psreU6micEydWP0J/9eqf4=;
b=qFvMAtBL2Mac7kqnhS2ml/VFgwzsxaZSTDbo7Zzvocixkl/ke+vzPtUt7OUBSJCyBj
uOfsQML2hX47piA8z0ggL/sLE7I4w+AU5tcqvKJbQ5daa7gkPYi3ERRTc82D2XqlHLDh
b2Rsi4/VO3LQMpWElBSJI3u6P0IWvgAEyOoQFxKawUc7Y3iAE+BEELy8GY7fbyXCmH/e
fJsTiOBUkGt6LbZW76N6eC+N+R/3++UNUS19ZX79iK1iIlzGdeu+KZx4XRJVWVFC0gmy
/4Pix8usbR0uLNfPWBqjKS/G7loSxk5yHFMaq9YMtSInwV+nnxEgWV5ai61vXc51xUvc
/8tQ==
X-Gm-Message-State: AOAM530UkmXzdAnQ8xYGQ1tiwUE4XccPi8FVcDbJ2EeVGWI7XsLgFX4b
532snKJ7fZsJMi177Bh7LP+8/vj7q5splA==
X-Google-Smtp-Source: ABdhPJyFgN7ewpe3FEVUygcos7hOSLbygl7QOj4yoBp+z7ZnE8Fmctqw6+Na2LtjoCnDJLgI/0eEqQ==
X-Received: by 2002:ac8:5d8c:0:b0:2e1:e196:326a with SMTP id d12-20020ac85d8c000000b002e1e196326amr24308994qtx.475.1648509390269;
Mon, 28 Mar 2022 16:16:30 -0700 (PDT)
X-Return-Path: ostroffjh
X-Received: from ffortso9 (c-76-23-130-96.hsd1.ct.comcast.net. [76.23.130.96])
by smtp.gmail.com with ESMTPSA id g4-20020ac87d04000000b002e06b4674a1sm13817537qtb.61.2022.03.28.16.16.29
for <gkrellm@lists.netservicesgroup.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 28 Mar 2022 16:16:29 -0700 (PDT)
Date: Mon, 28 Mar 2022 19:16:25 -0400
From: Jack
Subject: Solution to very old problem: [Gkrellm] new attempt to solve an old
problem with gkrellmsss
To: gkrellm@lists.netservicesgroup.com
MIME-Version: 1.0
In-Reply-To: <1283622051.11017.2@ffortso4>
X-Mailer: Balsa 2.6.3-real-77-ga36ce84fc
Message-Id: <PVA35FB6.Z4DDJ5PQ.J2SBDZXL@MSLYEJMR.ANHM6OGX.JD4YDJRS>
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: 209.85.160.170
X-Country: code=US country="United States" ip=209.85.160.170
X-Qnum: 97911
X-ORBS-Accept: dnswl_none
X-Rcpt-To: <gkrellm@lists.netservicesgroup.com>
X-SpamDetect: ******: 6.0 sd=6.0 lv=6.81 nok=65/24 m=54 nf=0 Close 0.90(X-Phrase:isspam) 0.10(X-myrbl:Color=yellow) 0.30(From isn't in return path) 0.32(X-NotAscii:us-ascii) 0.40(dnswl_none) 0.57(X-Verify-MX present) 0.48(StandardTLD) 0.48(X-Verify-Helo:+OK) 0.50(X-LangGuess:English) Sval 6.0 bsan 6.8 Moved 6.8->6.0 Sval 6.0
X-NotAscii: charset=us-ascii;
X-LangGuess: English
X-Phrase: IsSpam score=1.00
X-Verify-Helo: +OK mail-qt1-f170.google.com
X-Verify-MX: <ostroffjh@aya.yale.edu> senders ip (ch=209.85.160.170 msg=209.85.160.170, net=209.85.) not in mx data dom=aya.yale.edu ipname=mail-qt1-f170.google.com (142.250.1.26 173.194.219.26 173.194.77.2)
X-Encryption: SSL encrypted
X-MyRbl: Color=Yellow Age=0 Spam=0 Notspam=0 Stars=0 Good=1 Friend=2 Surbl=0 Catch=0 r=0 ip=209.85.160.170
X-IP-stats: Incoming Last 0, First 1283, in=710, out=0, spam=0 ip=209.85.160.170
List-Unsubscribe: <mailto:gkrellm-leave@lists.netservicesgroup.com?subject=unsubscribe>
X-Mailing-List: gkrellm@lists.netservicesgroup.com
List-ID: <gkrellm@lists.netservicesgroup.com>
Precedence: bulk
Reply-To: gkrellm@lists.netservicesgroup.com
Well, after being annoyed by this on and off for over ten years, with
no detectable pattern, I finally got fed up and spent the day using gdb
(not very successfully) and adding diagnostic output. It turns out the
error is generated in the gkrellmss source file src/sdlib-alsa.c in the
function gss_alsa_init. The call to snd_pcm_open is failing with "No
such file or directory" because it is trying to open plughw:0,0, and
sound card 0 is currently disabled. I have not found any way to
configure this in the running program or plugin. However, there IS a
line "sound ALSA device plughw:0,0" in ~/.gkrellm2/user-config, and
changing it to plughw:1,0 lets it start up and work fine. In
retrospect, the pattern is that it worked if the first configured sound
card was ok, but failed if the first configured sound card was
disabled. (Currently, I have HDMI output disabled, and am using the
generic audio output, which is card 1.)
Posting now without a code fix just to help anyone still searching for
a solution. I think the short term fix would at least change the code
so that pop-up error is a bit more specific (and helpful) about what
actually went wrong, and I'll consider trying to do that. The longer
term fix would be to allow the specific sound card to be configured
with the plugin running, but that's a bit beyond me for now.
Jack
On 2010.09.04 13:40, Jack wrote:
> Hello,
>
> I've resurfaced an old problem, and wanted to see if there was ever
> any resolution. It's mentioned in a thread on the Gentoo forums at
> http://forums.gentoo.org/viewtopic-t-236638.html, and searching shows
> up at least one other thread. In that case, the solution seemed to
> be creating a ~/.asoundrc, but I have not had any luck with that yet.
>
> The problem is that when gkrellmss starts, I get a popup: Can't open
> ALSA monitoring. Look for an "ALSA lib" console error message. I
> now see nothing at all about alsa in my capture of stderr from my X
> session, and nothing in /var/log/messages or in dmesg. The gkrellmss
> panel has "Sound error? Click here to try to open." In the past,
> clicking would eventually get it to work. Now it just gives the same
> popup.
>
> I'm currently on gkrellm 2.3.4, gkrellmss 2.6, and alsa 1.0.21.
>
> Thanks for any hints or suggestions on how to track this down.
>
> Jack
>
>
> ______________________________________________
> Gkrellm mailing list
> gkrellm@lists.netservicesgroup.com
> Read archives-join-leave-set RSS feed:
> http://archive.lists.netservicesgroup.com
> This service is provided by The Network Services Group:
> http://www.netservicesgroup.com
>
>
>
>
>
>
> |