Page 12 of 13

Re: Mesa for Linux PPC

Posted: Sat Sep 23, 2017 11:22 pm
by xeno74
Hi All,

I compiled Mesa 17.2.1 for the MATE PowerPC Remix 2017 today.

Download: MesaLib-17.2.1-1-without-llvm-powerpc-unofficial.tar.bz2

Installation instructions:
  1. Code: Select all

    sudo mv /usr/lib/powerpc-linux-gnu/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri/r600_dri.so.bak
  2. Code: Select all

    sudo mv /usr/lib/powerpc-linux-gnu/mesa/libGL.so.1.2.0 /usr/lib/powerpc-linux-gnu/mesa/libGL.so.1.2.0.bak
  3. Code: Select all

    sudo cp /usr/local/mesa-17.2.1-without-llvm/lib/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri/
  4. Code: Select all

    sudo cp /usr/local/mesa-17.2.1-without-llvm/lib/libGL.so.1.2.0 /usr/lib/powerpc-linux-gnu/mesa/
I successfully tested it on my X5000 and X1000.

Image

Cheers,
Christian

Re: Mesa for Linux PPC

Posted: Thu Jan 18, 2018 2:55 pm
by xeno74
Hi All,

Good news for our NI graphics cards.

Link: R600 Gallium3D Gets Some Last Minute Improvements In Mesa 18.0

Cheers,
Christian

Re: Mesa for Linux PPC

Posted: Fri Jan 19, 2018 4:56 pm
by xeno74

Re: Mesa for Linux PPC

Posted: Sat Jan 27, 2018 10:48 am
by xeno74

Re: Mesa for Linux PPC

Posted: Wed Feb 21, 2018 1:45 pm
by xeno74
Hi All,

I released the RC4 of Mesa 18.0.0 for testing today.

Download: mesa-18.0.0-rc4-linux-powerpc.tar.gz

Installation instructions:
  1. Code: Select all

    sudo cp -R mesa-18.0.0-rc4 /usr/local/
  2. Code: Select all

    sudo mv /usr/lib/powerpc-linux-gnu/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri/r600_dri.so.bak
  3. Code: Select all

    sudo mv /usr/lib/powerpc-linux-gnu/mesa/libGL.so.1.2.0 /usr/lib/powerpc-linux-gnu/mesa/libGL.so.1.2.0.bak
  4. Code: Select all

    sudo cp /usr/local/mesa-18.0.0-rc4/lib/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri/
  5. Code: Select all

    sudo cp /usr/local/mesa-18.0.0-rc4/lib/libGL.so.1.2.0 /usr/lib/powerpc-linux-gnu/mesa/
I successfully tested it with the MATE PowerPC Remix (X1000) and with ubuntu MATE 16.04.3 LTS PowerPC (X5000) today.

The MATE PowerPC Remix 2017 with the RC4 of Mesa 18.0.0 on an AmigaOne X1000 with a Radeon HD6870:

Image

ubuntu MATE 16.04.3 LTS PowerPC with the RC4 of Mesa 18.0.0 on an AmigaOne X5000 with a Radeon HD4870:

Image

Cheers,
Christian

Re: Mesa for Linux PPC

Posted: Wed Apr 18, 2018 8:19 am
by xeno74
Hi All,

I compiled the final version of Mesa 18.0.0 today.

Build instructions:

Code: Select all

./configure --prefix /usr/local/mesa-18.0.0 --with-gallium-drivers="r600,swrast" --enable-texture-float --enable-dri3
Output:

Code: Select all

        prefix:          /usr/local/mesa-18.0.0
        exec_prefix:     ${prefix}
        libdir:          ${exec_prefix}/lib
        includedir:      ${prefix}/include

        OpenGL:          yes (ES1: yes ES2: yes)

        OSMesa:          no

        DRI platform:    drm
        DRI drivers:     r200 radeon swrast 
        DRI driver dir:  ${libdir}/dri
        GLX:             DRI-based

        EGL:             yes
        EGL drivers:     builtin:egl_dri2 builtin:egl_dri3
        GBM:             yes
        EGL/Vulkan/VL platforms:   x11 surfaceless drm

        Vulkan drivers:  no

        llvm:            no

        Gallium drivers: r600 swrast
        Gallium st:      mesa

        HUD extra stats: no
        HUD lmsensors:   no


        Shared libs:     yes
        Static libs:     no
        Shared-glapi:    yes

        CFLAGS:          -g -O2 -Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Wmissing-prototypes -fno-math-errno -fno-trapping-math -std=c99
        CXXFLAGS:        -g -O2 -Wall -fno-math-errno -fno-trapping-math
        CXX11_CXXFLAGS:  -std=c++11
        LDFLAGS:         
        Macros:          -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_STRTOD_L -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DHAVE_LINUX_FUTEX_H -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE

        PYTHON2:         python2.7

        Run 'make' to build Mesa

Code: Select all

make

Code: Select all

# make install
or

Code: Select all

sudo make install

Code: Select all

export LD_LIBRARY_PATH=/usr/local/mesa-18.0.0/lib/

Code: Select all

glxinfo | grep -i opengl

Code: Select all

LIBGL_DEBUG=verbose vblank_mode=0 glxgears
Download: mesa-18.0.0-linux-powerpc.tar.gz

Installation instructions:
  1. Code: Select all

    sudo cp -R mesa-18.0.0 /usr/local/
  2. Code: Select all

    sudo mv /usr/lib/powerpc-linux-gnu/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri/r600_dri.so.bak
  3. Code: Select all

    sudo mv /usr/lib/powerpc-linux-gnu/mesa/libGL.so.1.2.0 /usr/lib/powerpc-linux-gnu/mesa/libGL.so.1.2.0.bak
  4. Code: Select all

    sudo cp /usr/local/mesa-18.0.0/lib/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri/
  5. Code: Select all

    sudo cp /usr/local/mesa-18.0.0/lib/libGL.so.1.2.0 /usr/lib/powerpc-linux-gnu/mesa/
Screenshot:

Image

Cheers,
Christian

Re: Mesa 9.2.2-1 and 10.0.0-1

Posted: Wed Jun 20, 2018 6:51 am
by vox
xeno74 wrote:Mesa unofficial 10.0.4 is available.

Download: MesaLib-10.0.4-powerpc-unofficial.tar.bz2
Does this resolve colour problem and 3D Gnome under PPC Linuxes on x1000?

Re: Mesa for Linux PPC

Posted: Sat Jun 23, 2018 7:31 pm
by xeno74
Hi All,

I compiled Mesa 18.1.2 in a virtual e5500 QEMU PPC64 machine today.

Download: mesa-18.1.2-linux-powerpc.tar.gz

Image

PLEASE test it.

Thanks,
Christian

Re: Mesa for Linux PPC

Posted: Wed Oct 10, 2018 12:00 pm
by seventhwonder
@all

Are we in the same position regarding RadeonSI support on Linux PPC64 ?

Re: Mesa for Linux PPC

Posted: Wed Oct 10, 2018 12:08 pm
by xeno74
seventhwonder wrote:@all

Are we in the same position regarding RadeonSI support on Linux PPC64 ?
Yes, that's correct.