From owner-freebsd-chromium@freebsd.org Sun Jul 14 21:00:23 2019 Return-Path: Delivered-To: freebsd-chromium@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E284CA64A0 for ; Sun, 14 Jul 2019 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id C09AC8C5D5 for ; Sun, 14 Jul 2019 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id C0218A649A; Sun, 14 Jul 2019 21:00:23 +0000 (UTC) Delivered-To: chromium@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BFE49A6499 for ; Sun, 14 Jul 2019 21:00:23 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CA2D8C5CF for ; Sun, 14 Jul 2019 21:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 70794B226 for ; Sun, 14 Jul 2019 21:00:23 +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 x6EL0N40065685 for ; Sun, 14 Jul 2019 21:00:23 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x6EL0No9065674 for chromium@FreeBSD.org; Sun, 14 Jul 2019 21:00:23 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201907142100.x6EL0No9065674@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: chromium@FreeBSD.org Subject: Problem reports for chromium@FreeBSD.org that need special attention Date: Sun, 14 Jul 2019 21:00:23 +0000 MIME-Version: 1.0 X-Rspamd-Queue-Id: 9CA2D8C5CF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jul 2019 21:00:24 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 238869 | www/chromium: sndio input implementation New | 233095 | www/firefox geolocation no longer working 2 problems total for which you should take action. From owner-freebsd-chromium@freebsd.org Wed Jul 17 20:35:45 2019 Return-Path: Delivered-To: freebsd-chromium@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 29D56B5409 for ; Wed, 17 Jul 2019 20:35:45 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E9317932CA for ; Wed, 17 Jul 2019 20:35:44 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.nyi.freebsd.org (Postfix) id E7067B5408; Wed, 17 Jul 2019 20:35:44 +0000 (UTC) Delivered-To: chromium@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E6CB0B5407 for ; Wed, 17 Jul 2019 20:35:44 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF21B932C9 for ; Wed, 17 Jul 2019 20:35:43 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id DF3192602B3 for ; Wed, 17 Jul 2019 22:35:35 +0200 (CEST) To: chromium@FreeBSD.org From: Hans Petter Selasky Subject: ALSA backend + Google Meeting + chrome Message-ID: <5f9b03a4-8c62-6614-0509-320d9f6117bf@selasky.org> Date: Wed, 17 Jul 2019 22:34:57 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: DF21B932C9 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.43 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[chromium@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[selasky.org]; MX_GOOD(-0.01)[mail.turbocat.net]; NEURAL_HAM_SHORT(-0.93)[-0.934,0]; IP_SCORE(-3.19)[ip: (-9.38), ipnet: 88.99.0.0/16(-4.74), asn: 24940(-1.82), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2019 20:35:45 -0000 Hi, FYI: This stuff is almost working. The only problem is that the audio thread is using a bit too small output buffer 10ms that the typical USB headset will handle. Is there a way to enlarge the output audio buffer? > 1574 100324 chrome 0.950986 RET read 4 > 1574 100324 chrome 0.950989 CALL fcntl(0xc1,F_GETFL,0x4) > 1574 100324 chrome 0.950989 RET fcntl 2 > 1574 100324 chrome 0.950990 CALL fcntl(0xc1,F_SETFL,0x6) > 1574 100324 chrome 0.950991 RET fcntl 0 > 1574 100324 chrome 0.950992 CALL write(0xc1,0x7fffde5f06ec,0x4) > 1574 100324 chrome 0.950995 GIO fd 193 wrote 4 bytes > 1574 100324 chrome 0.950996 RET write 4 > 1574 100324 chrome 0.950997 CALL fcntl(0xc1,F_SETFL,0x2) > 1574 100324 chrome 0.951000 RET fcntl 0 > 1574 100324 chrome 0.951007 CALL write(0xc5,0x823c67000,0x780) > 1574 100324 chrome 0.951011 GIO fd 197 wrote 1920 bytes > 1574 100324 chrome 0.951013 RET write 1920/0x780 > 1574 100324 chrome 0.951020 CALL _umtx_op(0x809ee2140,UMTX_OP_WAIT_UINT_PRIVATE,0,0x18,0x7fffde5f0be8) > 1574 100324 chrome 0.970964 RET _umtx_op -1 errno 60 Operation timed out > 1574 100324 chrome 0.970990 CALL poll(0x7fffde5f0618,0x1,0x14) > 1574 100324 chrome 0.970992 RET poll 1 > 1574 100324 chrome 0.970993 CALL ioctl(0xc1,FIONREAD,0x7fffde5f05d4) > 1574 100324 chrome 0.970995 RET ioctl 0 > 1574 100324 chrome 0.970996 CALL read(0xc1,0x7fffde5f06b4,0x4) > 1574 100324 chrome 0.970998 GIO fd 193 read 4 bytes I'm also thinking we may be able to fix this in the kernel, by fooling devices with small writes to see an update in the TX ring when issuing SNDCTL_DSP_GETOSPACE: > 1574 100324 chrome 0.971046 CALL ioctl(0xc5,SNDCTL_DSP_SETTRIGGER,0x7fffde5f08d4) > 1574 100324 chrome 0.971049 RET ioctl 0 > 1574 100324 chrome 0.971051 CALL ioctl(0xc5,SNDCTL_DSP_GETOSPACE,0x7fffde5f08e8) > 1574 100324 chrome 0.971052 RET ioctl 0 > 1574 100324 chrome 0.971053 CALL ioctl(0xc5,SNDCTL_DSP_GETOPTR,0x7fffde5f08d8) > 1574 100324 chrome 0.971054 RET ioctl 0 > 1574 100324 chrome 0.971057 CALL ioctl(0xc5,SNDCTL_DSP_GETOPTR,0x7fffde5f08f0) > 1574 100324 chrome 0.971058 RET ioctl 0 > 1574 100324 chrome 0.971061 CALL ioctl(0xc5,SNDCTL_DSP_GETOSPACE,0x7fffde5f08e0) > 1574 100324 chrome 0.971078 RET ioctl 0 > 1574 100324 chrome 0.971085 CALL _umtx_op(0x809ee2140,UMTX_OP_WAIT_UINT_PRIVATE,0,0x18,0x7fffde5f0be8) > 1574 100324 chrome 0.976962 RET _umtx_op -1 errno 60 Operation timed out > 1574 100324 chrome 0.976972 CALL ioctl(0xc5,SNDCTL_DSP_GETOPTR,0x7fffde5f0800) > 1574 100324 chrome 0.976975 RET ioctl 0 > 1574 100324 chrome 0.976976 CALL ioctl(0xc5,SNDCTL_DSP_GETOSPACE,0x7fffde5f07f0) > 1574 100324 chrome 0.976977 RET ioctl 0 > 1574 100324 chrome 0.976979 CALL ioctl(0xc5,SNDCTL_DSP_GETOPTR,0x7fffde5f08f0) > 1574 100324 chrome 0.976979 RET ioctl 0 > 1574 100324 chrome 0.976980 CALL ioctl(0xc5,SNDCTL_DSP_GETOSPACE,0x7fffde5f08e0) > 1574 100324 chrome 0.976981 RET ioctl 0 > 1574 100324 chrome 0.976985 CALL _umtx_op(0x809ee2140,UMTX_OP_WAIT_UINT_PRIVATE,0,0x18,0x7fffde5f0be8) > 1574 100324 chrome 0.982961 RET _umtx_op -1 errno 60 Operation timed out > 1574 100324 chrome 0.982970 CALL ioctl(0xc5,SNDCTL_DSP_GETOPTR,0x7fffde5f0800) > 1574 100324 chrome 0.982971 RET ioctl 0 > 1574 100324 chrome 0.982974 CALL ioctl(0xc5,SNDCTL_DSP_GETOPTR,0x7fffde5f08e0) > 1574 100324 chrome 0.982975 RET ioctl 0 > 1574 100324 chrome 0.982976 CALL ioctl(0xc5,SNDCTL_DSP_GETOSPACE,0x7fffde5f08d0) > 1574 100324 chrome 0.982976 RET ioctl 0 > 1574 100324 chrome 0.982977 CALL ioctl(0xc5,SNDCTL_DSP_GETOPTR,0x7fffde5f08d0) > 1574 100324 chrome 0.982978 RET ioctl 0 > 1574 100324 chrome 0.982979 CALL ioctl(0xc5,SNDCTL_DSP_GETOSPACE,0x7fffde5f08c0) > 1574 100324 chrome 0.982980 RET ioctl 0 I've implemented something similar for virtual_oss (pkg install virtual_oss) which might be worth a try: > virtual_oss -S \ > -c 2 -r 48000 -b 16 -s 384 -f /dev/dsp3 \ > -a 0 -b 16 -c 2 -m 0,0,1,1 -d dsp \ > -t vdsp.ctl --HPS From owner-freebsd-chromium@freebsd.org Sat Jul 20 17:17:17 2019 Return-Path: Delivered-To: freebsd-chromium@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A8372C2EB1 for ; Sat, 20 Jul 2019 17:17:17 +0000 (UTC) (envelope-from cjpm@gmx.es) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 72CCA8942D for ; Sat, 20 Jul 2019 17:17:17 +0000 (UTC) (envelope-from cjpm@gmx.es) Received: by mailman.nyi.freebsd.org (Postfix) id 708B4C2EB0; Sat, 20 Jul 2019 17:17:17 +0000 (UTC) Delivered-To: chromium@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 703C3C2EAE for ; Sat, 20 Jul 2019 17:17:17 +0000 (UTC) (envelope-from cjpm@gmx.es) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A0F778942B for ; Sat, 20 Jul 2019 17:17:11 +0000 (UTC) (envelope-from cjpm@gmx.es) X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [80.26.243.221] ([80.26.243.221]) by web-mail.gmx.net (3c-app-mailcom-bs15.server.lan [172.19.170.183]) (via HTTP); Sat, 20 Jul 2019 19:03:57 +0200 MIME-Version: 1.0 Message-ID: From: "Carlos Jacobo Puga Medina" To: hps@FreeBSD.org Cc: chromium@FreeBSD.org Subject: Re: ALSA backend + Google Meeting + chrome Content-Type: text/plain; charset=UTF-8 Date: Sat, 20 Jul 2019 19:03:57 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:4kWFmVH7XGhRxWCq/hPs2/sUoXx52R2NnBVuQ7LiIuQSJCqEqN/ZKwalW3ckVVC1qr39B dUc9+Ag8u2oEuTTQD30FqBFhAJaM/rCX5njtbPGdGxvprUQuUz3FJKuEH6L27oDIQEbPgLkQqbzi LobXJjR8Ipr2DbbuO9wk4Kf32HlatiiyG6bwqxAg5GiwXu5umIV6sI8mNmKf+cevNFXirT742U0E f2lUruaeyRZ1toPaSQAOYlCR5Q+sWEu5fwOB/hl6DPetyqfE1loiOrCVmDPwxXZh/ARcPu8ZPTiL ZU= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:T9Man1d84Zg=:i936vQZQbyMck6GBPqZi+o XJI2d9SjvkXEd9HWgsZFAuc6AwbyKmmAePS0PjDZf7GDdIMUXudaGjqHCqzsdmrgAchT5R9GN SVZU8uMPm1vn3hTLmJhNJOtzW5ooyvFOvjq9rUhyv1wFOdVIkFbZyxuiHJrJs/1C71cYT96nP BI0UQT7aZVKwGIQgB8rOQ2pQPvoqYJFdiiixmQrgZTJZIu3AZMuYiDt1/LlNn/MQW5bmcHDQt XR9qdHjw2Z4oPuAdLwdaeQrK0acCxCd9iTunFxmex7UXI8Iq6WK4NAaFxHhiacr9R6gtXCyf+ Vio6TW8O2/N7eabRW2M4mmgtRt4bBXYVhEXnKk1TkbrpFPIDJ8WbLfjNUVZh5kRs0Ir4BpMYR KnInGpz3wwo8rRiGh2E70wPDCg3wgpm7GQ1oynLtMk6tuYopNwvaspxo4/wJiDfQ2d2Pkq+48 Tfytp9HtWLCWN8t2BflD+CchvCeHsRYgeWoyv//VZMeDLs8vD3zoZlPVF1g15prgm8kTMuPcH QbeQq/G75j7+f/Afty+woBe3RsByPejp/M7qekbSsOZNF+Ppmo0xgcisXBj8WqGiLQCAgFGK+ kYpHnAozfQE4z2INSMKkwbvgvRBro6l1WmZz8xPslTknHjA9BcQoM9pg== X-Rspamd-Queue-Id: A0F778942B X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.24 / 15.00]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gmx.es]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; RCPT_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; MX_GOOD(-0.01)[mx01.gmx.net,mx00.gmx.net]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.91)[-0.910,0]; RCVD_IN_DNSWL_LOW(-0.10)[21.17.227.212.list.dnswl.org : 127.0.3.1]; RECEIVED_SPAMHAUS_PBL(0.00)[221.243.26.80.zen.spamhaus.org : 127.0.0.11]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.22)[ip: (-7.07), ipnet: 212.227.0.0/16(-1.41), asn: 8560(2.37), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2019 17:17:17 -0000 Hi Hans, AFAIK you can use --audio-buffer-size parameter. % chrome --audio-buffer-size=4096 Read for more details: https://codesearch.chromium.org/search/?q=audio-buffer-size&type=cs https://peter.sh/experiments/chromium-command-line-switches/#audio-buffer-size Kind regards, -- Carlos Jacobo Puga Medina