Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2023 15:56:44 +0000 (UTC)
From:      Filippo Moretti <filippomore@yahoo.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Problem in userland
Message-ID:  <519013808.9171830.1673279804159@mail.yahoo.com>
In-Reply-To: <CANCZdfpWSno_qxpR5C5yg3E%2BJO1bY2dVKcP-N4XTfkKDPt0Cnw@mail.gmail.com>
References:  <1795804180.9324624.1673260916531.ref@mail.yahoo.com> <1795804180.9324624.1673260916531@mail.yahoo.com> <CANCZdfpWSno_qxpR5C5yg3E%2BJO1bY2dVKcP-N4XTfkKDPt0Cnw@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
 
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.

[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 --]
<html><head></head><body><div class="ydp54373f33yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div><br></div><div dir="ltr" data-setdir="false">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" data-setdir="false">I will switch to another browser if needed.</div><div dir="ltr" data-setdir="false">Filippo<br></div>
        
        </div><div id="yahoo_quoted_4117016440" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Monday, January 9, 2023 at 04:22:49 PM GMT+1, Warner Losh &lt;imp@bsdimp.com&gt; wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv8983534015"><div dir="ltr"><div dir="ltr"><br></div><br><div class="yiv8983534015gmail_quote"><div dir="ltr" class="yiv8983534015gmail_attr">On Mon, Jan 9, 2023 at 3:42 AM Filippo Moretti &lt;<a rel="nofollow noopener noreferrer" ymailto="mailto:filippomore@yahoo.com" target="_blank" href="mailto:filippomore@yahoo.com">filippomore@yahoo.com</a>&gt; wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="yiv8983534015gmail_quote"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr">Good morning,</div><div dir="ltr">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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 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&nbsp;&nbsp;&nbsp;&nbsp; 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&nbsp; 8 17:40:19 CET 2023&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 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></body></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?519013808.9171830.1673279804159>