From nobody Mon Jan 9 16:25:53 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 4NrK8770tlz2sR1c for ; Mon, 9 Jan 2023 16:26:31 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) (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 4NrK8756THz43t4 for ; Mon, 9 Jan 2023 16:26:31 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-15b9c93848dso867096fac.1 for ; Mon, 09 Jan 2023 08:26:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=/VmiMtOl8VGIhGu+u7wkvyn+KlL83n1S2CaIYmdMKjo=; b=kzs0OAUk/YOw4e+G75xNTNpNbx5licMCIxDJjXsRmt4khlQSy/OIrGgfYyqSjaZeau EiLTovcnY3L6pJxuM6Zo5bAUsFNmd1ieYMjmrbPp+9rAaczPKe/Ka2uA2CqKfHN0WW2E FUUQNCrhtpEZkS5OmvXWed+8jio1UZvbyOUbRyMnoG0Yk+yYL8sUTudueAK49s2xQC9l x65KhXiAjCFd8kwGL2FbJHbYv10M2eMqs1vBWbTOiCdcPSh3dd9hhGj4DKhO6G7DlnsI aj2gtUkvzWH7dLzNW79nTNWHXC01m+9nYOdlR2uDpsW8JzXFQA+fqI0oLhaWFtwWmF8P IEew== 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=/VmiMtOl8VGIhGu+u7wkvyn+KlL83n1S2CaIYmdMKjo=; b=VNpxmaUG3EPy5FhlxFA/UIrrb1S9zeJ0DsZ6WQ28SuvXsmE7c6n0FuYEVff1wfTYMB tzpRc7kjrfE8ALMGFSd/OYc9YJtN8iwmUemqQGA0bY/tc9h744G7WhUlvQ/PTTkZZpg3 XZI3swtcKQzxLVoU6yKpdElEIj8yVlB943KE91s6dqBJpWtE7Z9puzfQafcZD5YRZoEl ZQPN8coP2b6pYjhpm6oOci7I9BNXO4rhHG6Il0Nh5USJW/pPgIv6sszaM+AqehgZgs39 4QBK1ofny1dajCEdgVh80iaBVMxm+2ysmOISkY6VxfLGQ2bfO3XM49uwjEFj4X2DQnA6 dtFA== X-Gm-Message-State: AFqh2koKqIC3BcbM09yvE6sXtND4vZ4WHcWlTPNj56BqGoXKPJkl4z8I 3V7Xp9mKJ4TxxBI+fSY0/s+OWZt7wqBSwhHWb4Bx0E9/Z+E= X-Google-Smtp-Source: AMrXdXsR2trS8hGQVZnVKfSV4u3G8QacG/DFpGQSz8Nnc3kR1Bi+FHE/LFv1AIVgHLtbuyPChmcST6GwxAFkYXcS+LE= X-Received: by 2002:a05:6871:2309:b0:15b:9ab9:75ea with SMTP id sf9-20020a056871230900b0015b9ab975eamr72117oab.193.1673281590438; Mon, 09 Jan 2023 08:26:30 -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> <519013808.9171830.1673279804159@mail.yahoo.com> In-Reply-To: <519013808.9171830.1673279804159@mail.yahoo.com> From: Mehmet Erol Sanliturk Date: Mon, 9 Jan 2023 19:25:53 +0300 Message-ID: Subject: Re: Problem in userland To: Filippo Moretti Cc: Warner Losh , FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000ceae8905f1d73a2c" X-Rspamd-Queue-Id: 4NrK8756THz43t4 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2001:4860:4864::/48, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000ceae8905f1d73a2c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 9, 2023 at 6:56 PM Filippo Moretti wrote: > > 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 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 < > imp@bsdimp.com> wrote: > > > > > On Mon, Jan 9, 2023 at 3:42 AM Filippo Moretti > wrote: > > Good morning, > I have two computers running CURRENT when launchin= g > firefox I get the following error: > > [filippo@ROXY ~]$ firefox > Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot > access /sys/bus/pci (t=3D3.60308) [GFX1-]: glxtest: cannot access /sys/bu= s/pci > Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot > access /sys/bus/pci (t=3D3.60308) |[1][GFX1-]: glxtest: VA-API test faile= d: > failed to initialise VAAPI connection. (t=3D4.09897) [GFX1-]: glxtest: VA= -API > test failed: failed to initialise VAAPI connection. > > It seems that you are running firefox from a command line . If there is not a graphical underlayer , is it possible to run firefox ? The reason for the above question is due to the firefox display structure which is a graphical one , not a text one . Mehmet Erol Sanliturk > [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:/us= r/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:/u= sr/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 > --000000000000ceae8905f1d73a2c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Jan 9, 2023 = at 6:56 PM Filippo Moretti <filippomore@yahoo.com> wrote:

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




On Mon, Jan 9, 2023 at 3:42 AM Filippo Moretti <filippomore@yahoo.com> 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 comput= ers running CURRENT when launching firefox I get the following error:
=

[filippo@ROXY ~]$ firefox<= br>Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot acc= ess /sys/bus/pci (t=3D3.60308) [GFX1-]: glxtest: cannot access /sys/bus/pci=
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot ac= cess /sys/bus/pci (t=3D3.60308) |[1][GFX1-]: glxtest: VA-API test failed: f= ailed to initialise VAAPI connection. (t=3D4.09897) [GFX1-]: glxtest: VA-AP= I test failed: failed to initialise VAAPI connection.






It seems that you are running=C2=A0 firefox=C2=A0 from a= command line .
If there is not a graphical=C2=A0 underlayer= , is it possible to run=C2=A0 firefox=C2=A0 ?


=
The reason for the above question is due to=C2=A0 the = firefox display structure which is a graphical one , not a text one .
=


Mehmet Erol Sanliturk





=C2=A0
[filippo@ROXY ~]$ uname -a
FreeBSD ROXY 14.0-C= URRENT 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 other hand on this computer:
[fi= lippo@ROXY ~]$ less problem
FreeBSD STING 14.0-CURRENT FreeBSD 14.0-CURR= ENT #1 main-n259975-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<= br>
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 b= inaries need it.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0=C2=A0 mount -t linsysfs linsys /compat/linux/sys

might be useful to see if that's missing?

Warner
--000000000000ceae8905f1d73a2c--