On 3/16/19 2:56 PM, martyn vidler via blfs-dev wrote:


On Fri, Mar 15, 2019 at 6:24 PM Bruce Dubbs via blfs-dev <[email protected] <mailto:[email protected]>> wrote:

    On 3/15/19 1:04 PM, Thomas Trepl via blfs-dev wrote:
     > Hi all,
     >
     > in the instructions the list of drivers to be built is setup by
     >
     > GALLIUM_DRV="i915,nouveau,radeonsi,svga,swrast"
     > DRI_DRIVERS="i915,i965,nouveau"
     > PLATFORMS="x11,wayland,drm"
     >
     > Two times i915 while the text above says "The gallium available
     > drivers are pl111, radeonsi, r300, r600, nouveau, and freedreno. The
     > DRI drivers available are i915, i965, r100, r200, nouveau, and
     > swrast."
     >
     > Build fails with:
     >
     > ...
     > Native C compiler: cc (gcc 8.3.0 "cc (GCC) 8.3.0")
     > Appending CXXFLAGS from environment: '-march=x86-64 -mtune=generic'
     > Native C++ compiler: c++ (gcc 8.3.0 "c++ (GCC) 8.3.0")
     > Build machine cpu family: x86_64
     > Build machine cpu: x86_64
     >
     > meson.build:210:2: ERROR:  Problem encountered: Only one i915
    provider
     > can be built
     >
     > A full log can be found at /home/lfs/tmp/MesaLib/build/mesa-
     > 19.0.0/build/meson-logs/meson-log.txt
     > ...
     >
     >
     > I assume that i915 should be removed from the Gallium driver list,
     > right? What about swrast, is it a gallium driver or a dri driver
    (text
     > says dri but its in list of gallium drivers)

    The change to meson was tricky.  I used:

    GALLIUM="radeonsi,nouveau,svga,swrast"
    DRI_DRIVERS="i915,i965,nouveau"
    PLATFORMS="x11,wayland,drm"

    when testing.  I took the options from the meson_options.txt, but
    got it
    wrong in the book.  I've made the corrections and it will be in my next
    commit.

    I'll note that i915 is valid for both GALLIUM and DRI_DRIVERS, but as
    you found out, it does not appear for them both to be valid as the same
    time.  I did not see any documentation to that effect.

        -- Bruce
-- http://lists.linuxfromscratch.org/listinfo/blfs-dev
    FAQ: http://www.linuxfromscratch.org/blfs/faq.html
    Unsubscribe: See the above information page


  I ran
GALLIUM_DRV=i915
DRI_DRIVERS="i915,i965"
PLATFORMS="x11,wayland,drm"

it errors
meson.build:210:2: ERROR:  Problem encountered: Only one i915 provider can be built

You evidently cannot have i915 in both GALLIUM and DRI drivers. Remove it from one of those lines.

I suppose that I need to add a note to that effect.

  -- Bruce




--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to