Mesa for Linux PPC

AmigaOne X1000 platform specific issues related to Linux only.

Re: Mesa for Linux PPC

Postby xeno74 » Sun Sep 24, 2017 12:22 am

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
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3843
Joined: Fri Mar 23, 2012 8:58 am

Re: Mesa for Linux PPC

Postby xeno74 » Thu Jan 18, 2018 3:55 pm

Hi All,

Good news for our NI graphics cards.

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

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3843
Joined: Fri Mar 23, 2012 8:58 am

Re: Mesa for Linux PPC

Postby xeno74 » Fri Jan 19, 2018 5:56 pm

http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3843
Joined: Fri Mar 23, 2012 8:58 am

Re: Mesa for Linux PPC

Postby xeno74 » Sat Jan 27, 2018 11:48 am

http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3843
Joined: Fri Mar 23, 2012 8:58 am

Re: Mesa for Linux PPC

Postby xeno74 » Wed Feb 21, 2018 2:45 pm

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
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3843
Joined: Fri Mar 23, 2012 8:58 am

Re: Mesa for Linux PPC

Postby xeno74 » Wed Apr 18, 2018 9:19 am

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
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3843
Joined: Fri Mar 23, 2012 8:58 am

Re: Mesa for Linux PPC

Postby xeno74 » Sat Jun 23, 2018 8:31 pm

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
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3843
Joined: Fri Mar 23, 2012 8:58 am

Previous

Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: No registered users and 5 guests