Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2021 12:06:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253741] graphics/mesa-devel: disabling OPTIONS_MULTI_DRI is not effective
Message-ID:  <bug-253741-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 253741
           Summary: graphics/mesa-devel: disabling OPTIONS_MULTI_DRI is
                    not effective
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: 2khramtsov@gmail.com
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

Created attachment 222698
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222698&action=
=3Dedit
compressed full poudriere logs

If one disables DRI drivers like this:
graphics_mesa-devel_UNSET+=3D DRI LLVM r600 radeonsi radv VAAPI

DRI driver i965 will be disabled as an option:
root@localhost:/usr/ports/graphics/mesa-devel # make -V DESELECTED_OPTIONS
DRI LLVM VAAPI VDPAU i965 r600 radeonsi radv

But generated MESON_ARGS will still build i965:
root@localhost:/usr/ports/graphics/mesa-devel # make -V MESON_ARGS
-Dgallium-omx=3Ddisabled  -Dgallium-opencl=3Ddisabled  -Dgallium-xa=3Ddisab=
led=20
-Dgallium-xvmc=3Ddisabled  -Dplatforms=3Dx11,wayland=20
--native-file=3Dbinary_alias.ini   -Ddri-drivers=3Di965 -Dgallium-drivers=
=3Diris
-Dvulkan-drivers=3Dintel -Dglvnd=3Dfalse -Dlibunwind=3Denabled -Dllvm=3Ddis=
abled
-Dgallium-va=3Ddisabled -Dgallium-vdpau=3Ddisabled
-Dvulkan-device-select-layer=3Dtrue -Dvulkan-overlay-layer=3Dtrue -Dzstd=3D=
enabled

Poudriere logs are attached.

Additional info: when I tried to add conditionals for enabled options to
Makefile with <bsd.port.options.mk> or <bsd.port.pre.mk>, I could affect
{SELECTED,DELESECTED}_OPTIONS with IMPLIES, but selected options weren't
enabled in make config.

--=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-253741-7788>