From nobody Mon Jan 9 15:22:24 2023 X-Original-To: freebsd-current@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 4NrHkG52tLz2sJML for ; Mon, 9 Jan 2023 15:22:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NrHkG3HCcz3v8m for ; Mon, 9 Jan 2023 15:22:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x635.google.com with SMTP id vm8so20980679ejc.2 for ; Mon, 09 Jan 2023 07:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VN0D71SZyqORSFzGZ+v/Zq5EApesyOwpM3vcSFq6v3M=; b=FmIwuDoy5WTjDmClLZt9uv5xRblLS5lDpPO90lNqbnOkVF2blQjQVM6oA1X7zcKEUv D0wkM+5nCEkYsBkrrFyLNnrHht1nW/9/q3vpMThfko2tZFUJrPIJhcS1N8V7PlLYhGh4 VWsNOEjt7ErcVAAxdUfWX5QvC50S44AnNBakAe1ENv/4QsP/IqaxVcz1pGQp8rNNctlD g2eZeUciavk9NumIntfBoViSPmkhJ9iX9m4Cv2pBvyXM76Un4sSUsu6JHJWW7PiSG3Kt lBs/lDRMuTuAXEC+cWQ80yJLZQXlfQ7IAxX1Uv/LCvoKWvSAAzyRMQnnYy+dodH95frV FLSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VN0D71SZyqORSFzGZ+v/Zq5EApesyOwpM3vcSFq6v3M=; b=icOE+UgJYd4uOm3dtwZkJMygxZmRw+tMsyWuKzHs97orRpPSBwwFTnTHKMYhVuSSDo fFGqtPpSVLViKGgFe2VwGUW02FSvlPE3Fbv0Jbb6DGBiyIlhHIE+p85XFo7yz24mMNKS RD8GUg1bF9OkCJwgVooAF0br1zJK59lh3o0vVhCJL1UGPM1I2miSjIPD2U3AcjVV4RoD SHVnKYalX3lLvTQGtONoqbxguVJKIbAnVVT2Nwfl9ZF7ssdRBN3NHSHVHvyEqUdLbzs8 JIjlyiwfVqkbemkRUTDwJXHHa4IAhrGcq98dl/egyNWySJZbzVO680qHWuj4j3PFIsRS L72Q== X-Gm-Message-State: AFqh2krESMYCeMLj/qCW12XTMEQpE+HEDJ2kjqjrr5QPakx4yIjKS5KM 2LiTG9fU9ZDyG6kFDaWk9/XpO2MDnZ/B/iQUXVOXPkL8NxHO2KCt X-Google-Smtp-Source: AMrXdXvZ0xyuWu+TMHYuf+DmJlSMjqBFVeaqNI4vmFiaLWQ3O/miS2q6/dzwcOB0AXJmhygXg0Rz56WsPWzMFDO0cu8= X-Received: by 2002:a17:906:1858:b0:7c0:e7a6:cd2d with SMTP id w24-20020a170906185800b007c0e7a6cd2dmr3831387eje.317.1673277748527; Mon, 09 Jan 2023 07:22:28 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <1795804180.9324624.1673260916531.ref@mail.yahoo.com> <1795804180.9324624.1673260916531@mail.yahoo.com> In-Reply-To: <1795804180.9324624.1673260916531@mail.yahoo.com> From: Warner Losh Date: Mon, 9 Jan 2023 08:22:24 -0700 Message-ID: Subject: Re: Problem in userland To: Filippo Moretti Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000cfdee005f1d65582" X-Rspamd-Queue-Id: 4NrHkG3HCcz3v8m X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000cfdee005f1d65582 Content-Type: text/plain; charset="UTF-8" On Mon, Jan 9, 2023 at 3:42 AM Filippo Moretti wrote: > Good morning, > I have two computers running CURRENT when launching > firefox I get the following error: > > [filippo@ROXY ~]$ firefox > Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot > access /sys/bus/pci (t=3.60308) [GFX1-]: glxtest: cannot access /sys/bus/pci > Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot > access /sys/bus/pci (t=3.60308) |[1][GFX1-]: glxtest: VA-API test failed: > failed to initialise VAAPI connection. (t=4.09897) [GFX1-]: glxtest: VA-API > test failed: failed to initialise VAAPI connection. > > [filippo@ROXY ~]$ uname -a > FreeBSD ROXY 14.0-CURRENT FreeBSD 14.0-CURRENT #0 > main-n259682-67e628b7a643: Wed Dec 14 22:56:22 CET 2022 root@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY > amd64 > > On this computer firefox works in spite of the Crash Annotation. > > On the other hand on this computer: > [filippo@ROXY ~]$ less problem > FreeBSD STING 14.0-CURRENT FreeBSD 14.0-CURRENT #1 > main-n259975-4ffe60e6833e: Sun Jan 8 17:40:19 CET 2023 root@STING:/usr/obj/usr/src/amd64.amd64/sys/STING > amd64 > > firefox doen't work at all. > I did check and there is no /sys/bus/pci and there is no > /usr/src/sys/bus/pci. > Not sure why firefox is accessing a linux-specific file. FreeBSD does emulate some of it, but only with linsysfs mounted. Generally only linux binaries need it. mount -t linsysfs linsys /compat/linux/sys might be useful to see if that's missing? Warner --000000000000cfdee005f1d65582 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Jan 9, 2023 at 3:42 AM Filipp= o Moretti <filippomore@yahoo.co= m> wrote:
Good morning,
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 I have two computers ru= nning CURRENT when launching firefox I get the following error:

[filippo@ROXY ~]$ firefox
Cra= sh Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /s= ys/bus/pci (t=3D3.60308) [GFX1-]: glxtest: cannot access /sys/bus/pci
Cr= ash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /= sys/bus/pci (t=3D3.60308) |[1][GFX1-]: glxtest: VA-API test failed: failed = to initialise VAAPI connection. (t=3D4.09897) [GFX1-]: glxtest: VA-API test= failed: failed to initialise VAAPI connection.

[filippo@ROXY ~]$ uname -a
FreeBSD ROXY 14.0-CURRENT FreeBSD 14.= 0-CURRENT #0 main-n259682-67e628b7a643: Wed Dec 14 22:56:22 CET 2022=C2=A0= =C2=A0=C2=A0=C2=A0 root@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64
On this computer firefox works in spite of the = Crash Annotation.

On the o= ther hand on this computer:
[filippo@ROXY ~]$ le= ss problem
FreeBSD STING 14.0-CURRENT FreeBSD 14.0-CURRENT #1 main-n2599= 75-4ffe60e6833e: Sun Jan=C2=A0 8 17:40:19 CET 2023=C2=A0=C2=A0=C2=A0=C2=A0 = root@STING:/usr/obj/usr/src/amd64.amd64/sys/STING amd64

firefox doen't work at all.
I did chec= k and there is no /sys/bus/pci and there is no /usr/src/sys/bus/pci.
<= /div>

Not sure why = firefox is accessing a linux-specific file. FreeBSD does emulate some of it= , but only with linsysfs mounted. Generally only linux binaries need it.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 mount -t li= nsysfs linsys /compat/linux/sys

might be useful to= see if that's missing?

Warner
<= /div>
--000000000000cfdee005f1d65582--