Re: Problem in userland

From: Filippo Moretti <filippomore_at_yahoo.com>
Date: Mon, 09 Jan 2023 15:56:44 UTC
 
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