From nobody Mon Jan 9 15:56:44 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 4NrJTr2Rtlz2sMt3 for ; Mon, 9 Jan 2023 15:56:48 +0000 (UTC) (envelope-from filippomore@yahoo.com) Received: from sonic318-20.consmr.mail.ne1.yahoo.com (sonic318-20.consmr.mail.ne1.yahoo.com [66.163.186.82]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NrJTq71mhz40PW for ; Mon, 9 Jan 2023 15:56:47 +0000 (UTC) (envelope-from filippomore@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673279806; bh=+iQ9WnlSoVk4R8FXHpum0hM3KWzuZPxOvbuTiLelsJQ=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=EZAeVjUFOHDmV3fbr3pLF2iJ3sjnZoNvjJLTlMycNa7BKOV6lhalhOH3O5DCEoILxnU0GQsP+ejTk9ULyBry4I+yAPdBUvYr7gLpCYuB3GvCk+H/wT6qYfb4OtXweSjxiEqeYP8JRpk7xQ9l1BxzoC6NtMNmGNhSVq/GbxKeEmM/5g+vKHQ14CBlCqkONaZ4IT0tMDfze636gtnkoLPslIF50MJDGLSey8f82lkcbHSMpBM8pJi3e4yxJK5HB7NtW636vs0ENPvY+z8tZQkPczGWwTL+0Qaz7ywgtnSv1AkzSU9OjBHeqkWtqaq4YOkvZ6bWTdK1l5gqK5AM2zdCJQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673279806; bh=UskmVTUAWRSpn7asCMaU0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hZHc0W77Rh__83xoMCJuahG_oUzZeGZ1BlBgk8PxPADdkOHaVS4Kzsa9Pg3bkJayI AsZLgVidwDbSrvRME8kAfswTvwY1fWTFxnrw9m30FY.Dy6BAkdewg6YjrxF0wP2APP18xH0qoDm6 o1cs5KAdZ2oLYR7q9HK2H7qaJWTUzSIlUHUUg3xKjKwKyRz93TbA3oBmhUhMW97Clr8GQDREetG2 ThJJQTX6KxWVogXQszlwUY64TAbGVpsoRVzqPeElMsN5GJcC_jGcALG5.HYbStqBFYGgAeXO7erD UAcEGJmFeXUijgQR6lP.spwA0Kcu.tpXf4zeht5M10i.LkeOSvevA8r2z37vMJ5.xsHQCeBPAnI. H7FdqPtKce0gLiK11JdwsoMbtHayS4q8dGpLz8mA84Eur38VUtoubebH1NqU2R.8HZ3PpKiq6.FZ aEOhbV6wurRr5GUbcl9tFdEG_f9RZ0kaa6N79jIAJNNmkT_4aBHIRdNZQFOAaCkUYzWFJRamC9_A VppN0dZS42as- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic318.consmr.mail.ne1.yahoo.com with HTTP; Mon, 9 Jan 2023 15:56:46 +0000 Date: Mon, 9 Jan 2023 15:56:44 +0000 (UTC) From: Filippo Moretti To: Warner Losh Cc: FreeBSD Current Message-ID: <519013808.9171830.1673279804159@mail.yahoo.com> In-Reply-To: References: <1795804180.9324624.1673260916531.ref@mail.yahoo.com> <1795804180.9324624.1673260916531@mail.yahoo.com> Subject: Re: Problem in userland 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 Content-Type: multipart/alternative; boundary="----=_Part_9171829_1950499645.1673279804157" X-Mailer: WebService/1.1.20982 YMailNorrin X-Rspamd-Queue-Id: 4NrJTq71mhz40PW X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N ------=_Part_9171829_1950499645.1673279804157 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =20 Thank you for your prompt answer.I tried your suggestion but did not work:I= get the same error.Please note however that I have not linux emulation ena= bled as I run no linux program:Firefox was installed from ports and it is t= he native freebsd one.I will switch to another browser if needed.Filippo On Monday, January 9, 2023 at 04:22:49=E2=80=AFPM GMT+1, Warner Losh wrote: =20 =20 =20 On Mon, Jan 9, 2023 at 3:42 AM Filippo Moretti wrot= e: 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 running CURRENT when launching firefox I get the followi= ng error: [filippo@ROXY ~]$ firefox Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access= /sys/bus/pci (t=3D3.60308) [GFX1-]: glxtest: cannot access /sys/bus/pci Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access= /sys/bus/pci (t=3D3.60308) |[1][GFX1-]: glxtest: VA-API test failed: faile= d to initialise VAAPI connection. (t=3D4.09897) [GFX1-]: glxtest: VA-API te= st 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/u= sr/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-4ffe60e6833= e: Sun Jan=C2=A0 8 17:40:19 CET 2023=C2=A0=C2=A0=C2=A0=C2=A0 root@STING:/us= r/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 the= re is no /usr/src/sys/bus/pci. Not sure why firefox is accessing a linux-specific file. FreeBSD does emula= te some of it, but only with linsysfs mounted. Generally only linux binarie= s need it. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 mount -t linsysfs linsys /compat/l= inux/sys might be useful to see if that's missing? Warner=20 =20 ------=_Part_9171829_1950499645.1673279804157 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Thank you for= your prompt answer.I tried your suggestion but did not work:I get the same= error.Please note however that I have not linux emulation enabled as I run= no linux program:Firefox was installed from ports and it is the native fre= ebsd one.
I will switch to anot= her browser if needed.
Filippo<= br>
=20
=20
On Monday, January 9, 2023 at 04:22:49=E2=80=AFPM GMT+1= , Warner Losh <imp@bsdimp.com> wrote:




On Mon, Jan 9, 2023 at 3:42 AM Filippo = Moretti <f= ilippomore@yahoo.com> wrote:
Good m= orning,
       &nb= sp;            =    I have two computers running CURRENT when launching firefox I = get the following error:

<= div>[filippo@ROXY ~]$ firefox
Crash Annotation GraphicsCriticalError: |[= 0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=3D3.60308) [GFX1-]: glxte= st: cannot access /sys/bus/pci
Crash 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 con= nection.

[filippo@ROXY ~]$ uname -a
F= reeBSD ROXY 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n259682-67e628b7a643:= Wed Dec 14 22:56:22 CET 2022     root@ROXY:/usr/obj/us= r/src/amd64.amd64/sys/ROXY amd64

On this comp= uter 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:1= 9 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
------=_Part_9171829_1950499645.1673279804157--