From nobody Sat Sep 23 14:50:54 2023 X-Original-To: games@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 4RtBsC36yHz4tmRS for ; Sat, 23 Sep 2023 14:50:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RtBsC26VQz4Fth for ; Sat, 23 Sep 2023 14:50:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695480655; a=rsa-sha256; cv=none; b=SLtXB0YD54df2lbVc8aaRhP/e6yQEKNoe0kD4RCBZm2XQ1Plzm7KD9OylU9Ue0jVEHXx4o U1SfVSvxjhgf0vbQVFqkFItwxGIL6zVkEQ7UBhpNI85BFMhCl9MreozMrz4tsT61kvA89Y 0RmImhAKj02bQgWLu5j1cEkLGbePgQ+ULZSAhJZmMTGx2SpaHLHU3lG2RKj310QDY6V1+0 CXK/J6gg1BNJmOiH697bNp5YhyfQc5x5DarOs5XxeaW8rOzLKCzMQS6yIUrjIF5XHYh/2H PjYnDWnKzb76nwQkRqG/kNaFkDulUJy9hwG1n3Sl64YlDdStUpKBItjqxc/izg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695480655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PCEqJTzKfuKCh/Oma66VSb/6SpLE6l497SCPhluMlKU=; b=lk6l9IPGg9IDnWTetWQRSUzNktE6jYi8wQb39mMr2Nl9+InMsJf4j6WScH/4lVv6BPOqv4 Y8J2I802JWqKYlmgyIBE1lKuUbgSFEKc/MYhLPD7pqfxkVUBHFcwC6TjBq3R099iOcOGhg TZHoXGYahVxEiMaIHbmBPNIgDfIIcppVMKRRjwpNoDaL9bIhqVa4PRZj6k7Zw0hYZwo7sY AIbWlwvxzQjKJNjCghPD6dqBnaIwRoZ9iHsvxQv/sTI4qWY5Y6PdU0xLnU2tPJEzFCcV1A gQx/ANqMCBv9tnRVNSD1NlgNSQB0fSlvsXyqhHCyZAotcQhPUSIk0ZW7jCyHlQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RtBsC19Y7z17LZ for ; Sat, 23 Sep 2023 14:50:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38NEotge045140 for ; Sat, 23 Sep 2023 14:50:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38NEot6P045139 for games@FreeBSD.org; Sat, 23 Sep 2023 14:50:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: games@FreeBSD.org Subject: [Bug 274047] audio/alsa-plugins: large number of underruns and CPU usage with games/veloren-weekly Date: Sat, 23 Sep 2023 14:50:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: scf@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support for Games on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-games List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-games@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274047 Bug ID: 274047 Summary: audio/alsa-plugins: large number of underruns and CPU usage with games/veloren-weekly Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: scf@FreeBSD.org CC: games@FreeBSD.org, jbeich@FreeBSD.org CC: games@FreeBSD.org, jbeich@FreeBSD.org I am uncertain which is at fault (or both), but I noticed that Veloren runs= at a high CPU with many ALSA underruns. It also caused visual and auditory stuttering. The CPU can be observed by running Veloren in a single world game then suspending it by opening the menu to remove game activities. On my system,= the CPU usage hovers around 70%. The process will output many of these messages: ALSA lib pcm.c:8526:(snd_pcm_recover) underrun occurred The underruns can be verified via /dev/sndstat with hw.snd.verbose=3D2. To reduce the CPU usage to below 10% (on my system again) and greatly reduce the underruns, I decreased the value of ALSA_OSS_BUFSZ_MAX in audio/alsa-plugins/files/patch-oss_pcm__oss.c from 131072 to 16384. 32768 appeared to be the maximum value that could be used without underruns. I am not sure if this is the best decision or not, but it fixed Veloren for= me. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Sep 23 15:21:37 2023 X-Original-To: games@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 4RtCXd1ltKz4tnxD for ; Sat, 23 Sep 2023 15:21:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RtCXd0fv7z4J3G for ; Sat, 23 Sep 2023 15:21:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695482497; a=rsa-sha256; cv=none; b=txWqyfLMImVtNhluvMYQHQWCqXlrn7jOdNZk4Ph09nwr4fYv7VrI8S4L4LhV8fTquYq3E4 HWEGIDZVzC8VrFW/ip8YR6Ne8mjMtbonTCAC0xiSXAKZyVn4z5NteQPRXRTlEyb/skIIWj nF3bwLv3cUuCG9hTQOUvDcxl9GHzL3UsbyVWuB62dPM/lXJ6rJyP78xcIcvBdnxbGnHAKp 95ymvVzPRZN5xwZZWInuoJsL+CHPJIpZFtBxQ9R3KBf1WxmI7smaUIYFiw2+F8jj7v0mkw Cv9ZhFXxm7j3uOKU2KaUYk8IFga6WfpwJD+0Hf/JViZLjgGhl0nTexj6C4GEPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695482497; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VDCvXZpq4t+mqY1pF6u1jE8YVxLhVurbcj1PTQldXIE=; b=a2hNgcYG7cJnhnztOxQi2FWLc1upc/uKMbvh7ztlhmdt1VIqpxTpAdiMNmnyJzEARLECev TwIPDs5OqosK4GA0KkVLpSsWFHrhHZJycdnFLYi9+FH2h4q1hSNl4ook0wwFvkAB9rYYkH WoFlfhQK9GHxZuoCXU+y+w3HK4fzHb9qHtLkM5TK5PVSGW7Yow+ntuUEABfoblLw28s5QP 3sNpa2fK5CY8Ip+8UeQ9h21QHrjYO4JrTKMZpixVjkpy1Lk2cRnsTVSIiALdNziMYogMnF k7+xeAEDyxAXIwL2miIgl7mS93Ho89cvo+Djg3U9BMAVpaDnHaascsbLs5IhhQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RtCXc6rF3z18H0 for ; Sat, 23 Sep 2023 15:21:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38NFLaDO089357 for ; Sat, 23 Sep 2023 15:21:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38NFLaES089356 for games@FreeBSD.org; Sat, 23 Sep 2023 15:21:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: games@FreeBSD.org Subject: [Bug 274047] audio/alsa-plugins: large number of underruns and CPU usage with games/veloren-weekly Date: Sat, 23 Sep 2023 15:21:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support for Games on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-games List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-games@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274047 --- Comment #1 from Jan Beich --- Is this with BUFSZ_P2 disabled like ports 27f51d17e156 requires? (In reply to Sean Farley from comment #0) > On my system, the CPU usage hovers around 70%. For me CPU usage is around 10% in foreground (current workspace) and 5% in background (different workspace). In both cases music is still playing, and= I don't see "underrun occurred" ALSA warnings. Tested under sway-devel. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Sep 23 16:37:19 2023 X-Original-To: games@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 4RtFD005jbz4tvnC for ; Sat, 23 Sep 2023 16:37:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RtFCz4hMWz4XBv for ; Sat, 23 Sep 2023 16:37:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695487039; a=rsa-sha256; cv=none; b=h20dLmc7ReZrUr+XBbHrBI2WnFytFtkPYE12h2kOkzzV0SseK9wks/zta1Yak3YBbSdcpY n28KLbDbZLtWOZOAU/P5O0uBS63MRmC+sIG1yCEx/N1s336DXHR84yDzqL6TYIlLrv8bco dbkj5XH3Ovv5v4DGPqEjto/ygyf7LB2Wwg8wO65tN02yDqpOfCGeLTvAydw70TMuuPJORi f+8U1gqtuhKlfQ0gmX/34LoPDPfWCK9h6JFpADy18fbywDBgGZ3lwSZl1yNBiDaTWV/a6C /4XyhXt4b8P9SCs7CIupjHLIOZMLtV5APPEb+namskbHJ6Ix+3oi5hpPmoaOZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695487039; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V/pBYfYYR+DSnQfV4SfWZB5gh+82WbKmq91AEKa9j30=; b=s99HPZJ+dFWda0RIgIliCoaqSuOi2OaRTt7DCyXzWqVrnWcoCbFVvbv02ABIyM2XT7uVz8 GTITK77vwOjRn3TvYws0K5t8qcSIJu0D+rEMjw++tylwSZsODGpiiQfHZbNkOR964h/B7L oE5eSWcni3AGaf8lUS1L7BmycZwvSPMJ1w47dZb4C4Soh7pH3yA9v7kVizV+q2J4y8aAYJ EVRa4R10NOkosO7dF2hz+kXvW5V6leojmjSLZ/nhLMwsjk1WM04b7ZbYGeH0k970VfJ30z jufEJW5N3X8ROGtxXeHnWlU8hBEn3E77+ubmc60pxer8jZf7m6saIukEQg7AVQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RtFCz3Rbyz1BFx for ; Sat, 23 Sep 2023 16:37:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38NGbJD5005372 for ; Sat, 23 Sep 2023 16:37:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38NGbJaw005371 for games@FreeBSD.org; Sat, 23 Sep 2023 16:37:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: games@FreeBSD.org Subject: [Bug 274047] audio/alsa-plugins: large number of underruns and CPU usage with games/veloren-weekly Date: Sat, 23 Sep 2023 16:37:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: scf@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support for Games on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-games List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-games@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274047 Sean Farley changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #2 from Sean Farley --- (In reply to Jan Beich from comment #1) Actually, no. My options were: BLKCNT_P2: on BUFSZ_P2: on FFMPEG: off JACK: off PULSEAUDIO: off SAMPLERATE: off SPEEX: off VERBOSE: off However, aplay worked for me for 16- and 32-bit WAV files but not the 8-bit file. $ aplay /usr/local/lib/python3.9/test/audiodata/pluck-pcm16.wav Playing WAVE '/usr/local/lib/python3.9/test/audiodata/pluck-pcm16.wav' : Si= gned 16 bit Little Endian, Rate 11025 Hz, Stereo $ aplay /usr/local/lib/python3.9/test/audiodata/pluck-pcm8.wav Playing WAVE '/usr/local/lib/python3.9/test/audiodata/pluck-pcm8.wav' : Unsigned 8 bit, Rate 11025 Hz, Stereo Assertion failed: (err >=3D 0), function set_params, file aplay.c, line 139= 9. Aborted by signal Abort trap... Apparently, that option was the issue. I disabled both *_P2 options, and i= t is now stable. Thank you very much! I probably kept them enabled when they w= ere switched back and forth a few times. Out of curiosity, is there any use for those two options? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Sep 23 17:00:49 2023 X-Original-To: games@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 4RtFl55STWz4tx5X for ; Sat, 23 Sep 2023 17:00:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RtFl52Jxwz4Ycx for ; Sat, 23 Sep 2023 17:00:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695488449; a=rsa-sha256; cv=none; b=vg1AWJlgX8xL28EvMI7f/8BilW7WVWQo58Q1k5goizlP58EX32kfMQSCfpdkFBM7ziyMOP 5GqFIm6xr/7Tk/wu82NGSsdee40w0xkDuGEkeMes9YqOgJy7S5tf8jUl/bzJbkMDuADTF+ r4G9Y2YSQM7yTGh7xFtAFpqJQEise3XW8K5WnI1wR1C+SfC4D1S8AWBquGrkzy7BElqfor +vj59OllDm55LCX7r4e2ZViwvmTt/+Vtx99uoZkpE7dGc6woiUSQz5rX0g0Ujn4lNE0ERu eDI6BJ6mO0c6FzEgvQdWTPs87e7DXorZ232DlsiEj5uaMuidTjP4mh0nTw6n1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695488449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+PEwxazxiGcu2dsTUuEAEQA70M5NiwvP3WBeATRAy2E=; b=a7J/DLspeaQKEG8Kh3UOEvesm/3vvSzkNCGqMyKi48DniCQUv5TE9dbjkVz4DeKDVsFk3U kx0zh/WdrEHEgVJyS0slcMThe2+54/gX6KOSBIeYRREww/jpQNk0H0IRsJoXNdW0l338qR 9wGZXPzPozaEXPyhQKE5ZZqZNZm85U4XLvVyKg8Ndc+NUyaYJ19KuBofFCdAuYsnrTLnEr UEqh65m/pLKva3AuZrSdFBtdTJeVqKByYibp6Xw1xzH+WV8tUfjvyULCpDoRet8hy7Rqe2 ixDY8nDFQoSLOOyGJD0ztSbUJLVp/K52RzYtoxEZoky9DrSDme6K7zmXMW/RhQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RtFl51RSGz1BJ4 for ; Sat, 23 Sep 2023 17:00:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38NH0nti036148 for ; Sat, 23 Sep 2023 17:00:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38NH0n95036147 for games@FreeBSD.org; Sat, 23 Sep 2023 17:00:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: games@FreeBSD.org Subject: [Bug 274047] audio/alsa-plugins: large number of underruns and CPU usage with games/veloren-weekly Date: Sat, 23 Sep 2023 17:00:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: scf@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support for Games on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-games List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-games@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274047 --- Comment #3 from Sean Farley --- I also want to mention that with these options disabled, wine-devel can now play sounds when it could not with these options enabled. I do see a few underruns in wine-devel running https://github.com/BlueDragon28/MicrophoneLoopback, with ALSA_OSS_BUFSZ_MAX= at either value. However, it does work now, so that is a good thing. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Sep 23 17:01:41 2023 X-Original-To: games@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 4RtFm55pPkz4txRd for ; Sat, 23 Sep 2023 17:01:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RtFm54pNLz4Yvt for ; Sat, 23 Sep 2023 17:01:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695488501; a=rsa-sha256; cv=none; b=aXmfl5YK2cz551rsnVsYV2wkKPvD872dj28IAwbRQ12ufYDRDDS2feEeUYfQf9cbI31R5t XnABh8+mmZWTjPiiKNtHBxCt26RpH7S36+3/a+xhZ/A7fMPF9HK5H9sYWkGLZOIZa9DvMr Uy9I7L5LoyzfrTD8CQeYmojBexc21mW7Uz/6uzengX+mEod6dqKWuzX11qRj6zgbccvV33 /YPV3+z62U7ZpqeyCWbG3dnoFC2UVB4xBCGtvbEkmyUKMhO18kTvrfe/Ehix3xu//qunlL mB7gC0FiP/6B5XrhMPrs+v1NnjkFqXkYh3PY2Fno6ki1aMJqMah0W/LqBQ/Krg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695488501; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GvErd5z8hRiYBNAZlrbABJ7CZfc80fKRn8b+WEBeglM=; b=UGaKeOPDccCuQpV3zs2b19iCugakd1rY1v6iEptvGg/OVWicsh7sOsll9gA4xmUxgyr3Ms J2ndILPj4qqeLji4GY0q+sBA3aB0XsWMYFNdInNJUuwCoOXtA88dgvbdwly1qS3/u1XT16 7Vk6ez3ZRCN8b8tINb4Os2ZHNFA/DPe4+WkjH3WvYXXZvGs/zUjlFm/8ASHPI/BrBYxxzS 1DGJEHosFaY3Mm6PLiFW4xPaw3mXO79JBkpJojRlg0Fp6hLWHxLbxysweZE7LKOMvN/oQB YvzZhQd+dNARneOrw6jcxNwIzPncbFNdUEGtU4LjwysnVXiGzdOlThghvcXelw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RtFm53pxgz1BWw for ; Sat, 23 Sep 2023 17:01:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38NH1f75038168 for ; Sat, 23 Sep 2023 17:01:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38NH1flK038167 for games@FreeBSD.org; Sat, 23 Sep 2023 17:01:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: games@FreeBSD.org Subject: [Bug 274047] audio/alsa-plugins: large number of underruns and CPU usage with games/veloren-weekly Date: Sat, 23 Sep 2023 17:01:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: scf@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support for Games on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-games List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-games@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274047 Sean Farley changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|Open |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Sep 23 17:16:35 2023 X-Original-To: games@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 4RtG5J1dM9z4tyWq for ; Sat, 23 Sep 2023 17:16:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RtG5H2Np4z4bTj for ; Sat, 23 Sep 2023 17:16:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695489395; a=rsa-sha256; cv=none; b=vnkjbO2Jv0T9YlxZyplX7s1gx+ifb4Wy6DXVsi1lISqriIRqQOYcIc5pbpi4kHoQ5uTmI7 pKrKnLO06Ly0ngHAbeAffA5bH6Al0NstMNw7trGtUbOXhnjGeEdgVuiF+GBu0c8TaDYJFu XHJHYOCqGbhlXL6u7ybH518ta2XvZkTACEeP+duLhhVJQvIDcDeCphQ3N+O8M8+ThE9/tQ YVVjM2Xrn2MptAwIjNTdRaOJ4/V6TuRzXgcIqfATi4hf4hK5ah5dm9lzaek6iD1LbiehBL +uO2pYN91NSKy7kNIWlw/sBeHN2Dst8kyUb9vzQyF7zXmH2nkKQBMJcsVQnH0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695489395; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0DNgVBwF/2/Iw7NaSCstiUuy9pV+5xfyh+XG5iGprzc=; b=FDx9c+IfZZ18CkRpa7+BXwxOinw3CDsUMYFexJ6VQ7tIPURwDuur2wHQtz/ellCdGEFB4g 38pDZcPWr4xA4xKXqJ30ZKM6rAZGQtJRAX8PzYww7vEr90gHAbqHXpcF9L0FDE0vdV4Nro csfCLCpc/FhLR0qOvG4pQWAQ7EV2zxGIwnR/9+/WcEHVzXxgUNbJrXlCiBvP4WMklTZMZT U8M4DueTwrv4k+m+iC9QUemdMN/YZiyx2u4HscqLADY6mkk2YsUGkjLoPeF/QnYjPSSBN6 0X0uVGXTgSr6Mg2bqq9HRM6cH5AQ8tmcWkxjZGajClyhfGMLQz375L4yC4bd8Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RtG5H1RkNz1CF2 for ; Sat, 23 Sep 2023 17:16:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38NHGZan062121 for ; Sat, 23 Sep 2023 17:16:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38NHGZAU062120 for games@FreeBSD.org; Sat, 23 Sep 2023 17:16:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: games@FreeBSD.org Subject: [Bug 274047] audio/alsa-plugins: large number of underruns and CPU usage with games/veloren-weekly Date: Sat, 23 Sep 2023 17:16:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support for Games on FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-games List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-games@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274047 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D95a0d0389f594dd16b293141bac8891= 51303a560 commit 95a0d0389f594dd16b293141bac889151303a560 Author: Jan Beich AuthorDate: 2023-09-23 17:02:11 +0000 Commit: Jan Beich CommitDate: 2023-09-23 17:14:53 +0000 audio/alsa-plugins: remove debug options to prevent footshooting - BLKCNT_P2 and VERBOSE exposed compile knobs from =20=20=20=20=20 https://people.freebsd.org/~ariff/libasound/20090928_00-alsa-plugins-1.0.21= .diff - BUFSZ_P2 worked around crashes and high CPU usage in Firefox until native OSS support phased out ALSA - hselasky@ fixed many ALSA issues over the years - users can still adjust compile knobs via make.conf(5) or Makefile.loc= al PR: 274047 audio/alsa-plugins/Makefile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=