Date: Mon, 9 Jan 2023 19:25:53 +0300 From: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> To: Filippo Moretti <filippomore@yahoo.com> Cc: Warner Losh <imp@bsdimp.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Problem in userland Message-ID: <CAOgwaMsBd5iim3sR=wbHs=gDimAjfBzcTHuLjayPMEXq5Y3pUA@mail.gmail.com> In-Reply-To: <519013808.9171830.1673279804159@mail.yahoo.com> References: <1795804180.9324624.1673260916531.ref@mail.yahoo.com> <1795804180.9324624.1673260916531@mail.yahoo.com> <CANCZdfpWSno_qxpR5C5yg3E%2BJO1bY2dVKcP-N4XTfkKDPt0Cnw@mail.gmail.com> <519013808.9171830.1673279804159@mail.yahoo.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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 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 PM GMT+1, Warner Losh <
> imp@bsdimp.com> wrote:
>
>
>
>
> On Mon, Jan 9, 2023 at 3:42 AM Filippo Moretti <filippomore@yahoo.com>
> 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.
>
>
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:/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
>
[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:large"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 9, 2023 at 6:56 PM Filippo Moretti <<a href="mailto:filippomore@yahoo.com" target="_blank">filippomore@yahoo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div></div>
<div><br></div><div dir="ltr">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.</div><div dir="ltr">I will switch to another browser if needed.</div><div dir="ltr">Filippo<br></div>
</div><div id="m_3231333362862944390m_-7759166848982018781yahoo_quoted_4117016440">
<div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)">
<div>
On Monday, January 9, 2023 at 04:22:49 PM GMT+1, Warner Losh <<a href="mailto:imp@bsdimp.com" target="_blank">imp@bsdimp.com</a>> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="m_3231333362862944390m_-7759166848982018781yiv8983534015"><div dir="ltr"><div dir="ltr"><br></div><br><div><div dir="ltr">On Mon, Jan 9, 2023 at 3:42 AM Filippo Moretti <<a rel="nofollow noopener noreferrer" href="mailto:filippomore@yahoo.com" target="_blank">filippomore@yahoo.com</a>> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div dir="ltr">Good morning,</div><div dir="ltr"> I have two computers running CURRENT when launching firefox I get the following error:</div><div dir="ltr"><br></div><div dir="ltr"><div>[filippo@ROXY ~]$ firefox<br>Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: cannot access /sys/bus/pci (t=3.60308) [GFX1-]: glxtest: cannot access /sys/bus/pci<br>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.<br><br></div></div></div></div></blockquote></div></div></div></div></div></div></div></blockquote><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div style="font-family:tahoma,sans-serif;font-size:large" class="gmail_default">It seems that you are running firefox from a command line .</div><div style="font-family:tahoma,sans-serif;font-size:large" class="gmail_default">If there is not a graphical underlayer , is it possible to run firefox ?<br></div><br></div><div><br></div><div><div style="font-family:tahoma,sans-serif;font-size:large" class="gmail_default">The reason for the above question is due to the firefox display structure which is a graphical one , not a text one .</div><div style="font-family:tahoma,sans-serif;font-size:large" class="gmail_default"><br></div><div style="font-family:tahoma,sans-serif;font-size:large" class="gmail_default"><br></div><div style="font-family:tahoma,sans-serif;font-size:large" class="gmail_default">Mehmet Erol Sanliturk</div><div style="font-family:tahoma,sans-serif;font-size:large" class="gmail_default"><br></div><div style="font-family:tahoma,sans-serif;font-size:large" class="gmail_default"></div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div id="m_3231333362862944390m_-7759166848982018781yahoo_quoted_4117016440"><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)"><div><div id="m_3231333362862944390m_-7759166848982018781yiv8983534015"><div dir="ltr"><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div dir="ltr"><div></div><div dir="ltr"><div>[filippo@ROXY ~]$ uname -a<br>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<br><br></div><div dir="ltr">On this computer firefox works in spite of the Crash Annotation.</div><div dir="ltr"><br></div><div dir="ltr">On the other hand on this computer:</div><div dir="ltr"><div>[filippo@ROXY ~]$ less problem<br>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<br><br></div><div dir="ltr">firefox doen't work at all.</div><div dir="ltr">I did check and there is no /sys/bus/pci and there is no /usr/src/sys/bus/pci.</div></div></div></div></div></div></blockquote><div><br></div><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.</div><div><br></div><div> mount -t linsysfs linsys /compat/linux/sys</div><div><br></div><div>might be useful to see if that's missing?<br></div><div><br></div><div>Warner <br></div></div></div>
</div></div>
</div>
</div></div></blockquote></div></div>
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMsBd5iim3sR=wbHs=gDimAjfBzcTHuLjayPMEXq5Y3pUA>
