On Sat, Mar 16, 2019 at 7:56 PM martyn vidler <[email protected]> wrote:

>
>
> On Fri, Mar 15, 2019 at 6:24 PM Bruce Dubbs via blfs-dev <
> [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.
>

 mesa wont build with just i915 i965 error
meson.build:617:4: ERROR:  Problem encountered: The nine state tracker
requires gallium softpipe/llvmpipe

enable all

GALLIUM_DRV"nouveau,radeonsi,svga,swrast" and
DRI_DRIVERS"i915,i965,nouveau" errors
meson.build:1239:6: ERROR:  Problem encountered: The Nouveau driver
requires rtti.
You either need to turn off nouveau or use an LLVM built with LLVM_ENABLE_RTTI


I had to use
GALLIUM_DRV="radeonsi,svga,swrast"
DRI_DRIVERS="i915,i965,nouveau"
PLATFORMS="x11,wayland,drm"

and it builds
-- 
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