Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jun 2023 23:09:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 271930] graphics/mesa-dri: i915_dri.so not installed
Message-ID:  <bug-271930-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271930

            Bug ID: 271930
           Summary: graphics/mesa-dri: i915_dri.so not installed
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: bsd@volki.at
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

mesa-dri should install /usr/local/lib/dri/i915_dri.so but it doesn't.
This file is needed by libglvnd (OpenGL) which in turn is used by numerous
applications.
When it's missing, they emit a barrage of error messages:

$ telegram-desktop=20

(telegram-desktop:40602): Telegram-WARNING **: 22:54:23.721: Application was
built without embedded fonts, this may lead to font issues.
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open i915: Cannot open
"/usr/local/lib/dri/i915_dri.so" (search paths /usr/local/lib/dri, suffix _=
dri)
libGL error: failed to load driver: i915
error: : cannot open
error: : cannot open
error: : cannot open
...

When something goes wrong later on, the fault is given to the "broken libGL=
" no
matter what, see: https://github.com/telegramdesktop/tdesktop/issues/26387

As recently discussed in
https://forums.freebsd.org/threads/mesa-missing-i915-driver.88338/ the mesa=
-dri
port contains everything to build the crucial i915_dri.so, but the port is =
not
set up to install them. I tried to get it there e.g. by adding "INTEL" to t=
he
ALL_GALLIUM_DRIVERS=3D... line, but then I get an error:
meson.build:1704:6: ERROR: Dependency "libdrm_nouveau" not found, tried
pkgconfig and cmake

Knowing nothing about meson or drivers, I am unable to fix this myself. The
compiled file provided in the aforementioned discussion doesn't work for me,
probably because it was built on i386 whereas my FreeBSD is amd64. Also, my
FreeBSD version is 12.4-STABLE, while theirs is 13.

Please can you get the port to compile and install the file.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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