From nobody Tue Jun 03 21:12:54 2025 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bBk2K0L7fz5y9V3 for ; Tue, 03 Jun 2025 21:12:57 +0000 (UTC) (envelope-from verm@darkbeer.org) Received: from mx.coeval.ca (mx.coeval.ca [184.75.211.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bBk2H4z1Cz433G for ; Tue, 03 Jun 2025 21:12:55 +0000 (UTC) (envelope-from verm@darkbeer.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=darkbeer.org header.s=mail header.b=Ar1K8r9l; spf=pass (mx1.freebsd.org: domain of verm@darkbeer.org designates 184.75.211.21 as permitted sender) smtp.mailfrom=verm@darkbeer.org; dmarc=none Received: from mx.darkbeer.org (unknown [192.168.211.20]) by mx.coeval.ca (Postfix) with ESMTP id C8A87436072 for ; Tue, 3 Jun 2025 21:12:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=darkbeer.org; s=mail; t=1748985174; bh=nIs6iwVA4XJfdbDsitUgPg5Qo9IEqTutAorfqvSfkn0=; h=Date:From:To:Subject:References:In-Reply-To; b=Ar1K8r9lDEy1qCX/xhbbzEwx6P3aZCMNdPB867Dy8K7hGvUeELazrp3Ii97HeLMO6 QtKHBOBBG8BX2iaZNLE6vvPgZvsY3DfjIiucL9qFX0vbmVql3RNF/qIAlbRM5ZKfNz W0XDCWnGeCNqRL0HYjrabapWf3J0uSD99k2rOK6Q= Received: by mx.darkbeer.org (Postfix, from userid 1001) id C1A15470B4C; Tue, 3 Jun 2025 21:12:54 +0000 (UTC) Date: Tue, 3 Jun 2025 21:12:54 +0000 From: Amar Takhar To: freebsd-multimedia@freebsd.org Subject: Re: pulseaudio / alc1220 sound clicks interruptions etc Message-ID: <20250603211254.GA21845@darkbeer.org> Mail-Followup-To: freebsd-multimedia@freebsd.org References: <20250603133022.GA1135@darkbeer.org> List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-1.64 / 15.00]; NEURAL_HAM_SHORT(-0.77)[-0.769]; NEURAL_HAM_MEDIUM(-0.38)[-0.383]; R_DKIM_ALLOW(-0.20)[darkbeer.org:s=mail]; R_SPF_ALLOW(-0.20)[+ip4:184.75.211.21:c]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_LONG(0.01)[0.014]; ARC_NA(0.00)[]; ASN(0.00)[asn:32489, ipnet:184.75.211.0/24, country:CA]; MISSING_XM_UA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-multimedia@freebsd.org]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[darkbeer.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-multimedia@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[darkbeer.org:+] X-Rspamd-Queue-Id: 4bBk2H4z1Cz433G X-Spamd-Bar: - On 2025-06-03 22:44 +0200, Tomek CEDRO wrote: > > Thank you for the references on related issues! There is definitely > something wrong below on the new hardware support because also all of > the onboard USB controllers hangs occasionally, even when I was > writing this reply before. I did add PCI-E USB controller and this one > does not hang, music plays, etc. USB is another problem, that may come > from the same source - timings, delays, timeouts. You're welcome! Have you tried booting into verbose mode and turning on sound debugging? That should give you an indication. > After exhausting sysctl changes I went to BIOS and changed PCI-E 16x > configutation to be 8x/8x with NVME controller and problem seems gone > for now when computer is idle - using 24-bit sound with 96kHz rate > vchanmode=fixed, adjusted pulseaudio, rebooted, and no constant clicks > here. There are still small hangs for short periods on visual activity > when switching desktops launching applications etc. Yes this is just slowing things down it's not fixing the problem the pops are there I'm sure I did something similar and even if I couldn't hear them on a sinewave listening to the output it's very clear they are still there. > I noticed however a slowdown of visual smoothness (i.e. Blender, > FreeCAD, KiCAD, even gzdoom) after switching from PCIe-x16 to > PCIe-x8/x8, then got to nvidia-settings changed OpenGL Settings / > Image Settings from Quality to High Performance and things got > smoother but still not smooth as before. Maybe there is something > wrong with nvidia / gpu driver causing these issues? I also thought at one point it was the nvidia driver and it may be which would explain why playing video is worse but if I do it via a browser it's really bad playing from the commandline using say, mpv it's hardly noticable but still there. It's broken in every case I tested though I have not tried a non-nvidia card as I don't have one. Do you have a different card to try? Amar.