Debian 9 Stretch

AmigaOne X1000 platform specific issues related to Linux only.

Re: Debian 9 Stretch

Postby vox » Thu Sep 07, 2017 2:26 pm

xeno74 wrote:Hi All,

For Southern Islands video cards: initrd_debian_stretch_x1000_si_kernel_4_7_0.gz
Christian


Can we have this again? Hope it finally has 3D, since SI cards Linux performance on x1000 has
degraded.
User avatar
vox
 
Posts: 147
Joined: Thu Jun 23, 2011 3:19 pm
Location: Belgrade Country:Serbia

Re: Debian 9 Stretch

Postby xeno74 » Sun Sep 10, 2017 8:18 pm

FYI:

John Paul Adrian Glaubitz wrote:Hi!

I am cross-posting this to debian-ports@l.d.o because it affects all
Debian Ports architectures.

As of today, we will be using Debian's official cdimage mirror to host
the installation images for Debian Ports, the images can be found in [1].

I have uploaded images for hppa, m68k, ppc64 and sparc64. I am working
on uploading more images. Images for alpha are currently missing due to
issues with the Linux kernel packages which fails to build on alpha at
the moment.

Please test the images as thoroughly as you can and report your results
to the appropriate architecture-specific mailing lists. Please do not
post to this mailing list, debian-ports@l.d.o, as this will cross-post
your mail to ALL Debian Ports architectures mailing lists.

A huge thanks to Steve McIntyre and the Debian Sysadmins for providing
us access to the official cdimage mirror.

Thanks,
Adrian

> [1] https://cdimage.debian.org/cdimage/ports/
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Debian 9 Stretch

Postby xeno74 » Sat Sep 23, 2017 9:20 pm

Hi All,

I compiled Mesa 17.2.1 for Debian Sid yesterday.

Code: Select all
./autogen.sh --prefix /usr/local/mesa-17.2.1 --with-gallium-drivers="r600,swrast" --enable-texture-float --enable-dri3 --enable-llvm --with-llvm-prefix=/usr/lib/llvm-5.0


Output:

Code: Select all
prefix:          /usr/local/mesa-17.2.1
        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:            yes
        llvm-config:     /usr/lib/llvm-5.0/bin/llvm-config
        llvm-version:    5.0.0

        Gallium drivers: r600 swrast
        Gallium st:      mesa xvmc va

        HUD extra stats: no
        HUD lmsensors:   no


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

        CFLAGS:          -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-math-errno -fno-trapping-math
        CXXFLAGS:        -g -O2 -Wall -fno-math-errno -fno-trapping-math
        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_STRTOD_L -DHAVE_DLOPEN -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -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 -DHAVE_LLVM=0x0500 -DMESA_LLVM_VERSION_PATCH=0

        LLVM_CFLAGS:     -I/usr/lib/llvm-5.0/include   -DLLVM_BUILD_GLOBAL_ISEL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
        LLVM_CXXFLAGS:   -I/usr/lib/llvm-5.0/include -std=c++0x -std=c++11 -DLLVM_BUILD_GLOBAL_ISEL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
        LLVM_CPPFLAGS:   -I/usr/lib/llvm-5.0/include   -DLLVM_BUILD_GLOBAL_ISEL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
        LLVM_LDFLAGS:    -L/usr/lib/llvm-5.0/lib

        PYTHON2:         python2.7

        Run 'make' to build Mesa


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

Installation instructions for Debian Sid/experimental:

  1. Install the package llvm-5.0:
    Code: Select all
    # apt-get install llvm-5.0
  2. Extract the package and copy the directory mesa-17.2.1 to /usr/local:
    Code: Select all
    # cp -R mesa-17.2.1 /usr/local
  3. Code: Select all
    # mv /usr/lib/powerpc-linux-gnu/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri/r600_dri.so.bak
  4. Code: Select all
    # cp /usr/local/mesa-17.2.1/lib/dri/r600_dri.so /usr/lib/powerpc-linux-gnu/dri/
  5. Code: Select all
    # mv /usr/lib/powerpc-linux-gnu/libGL.so.1.2.0 /usr/lib/powerpc-linux-gnu/libGL.so.1.2.0.bak
  6. Code: Select all
    # cp /usr/local/mesa-17.2.1/lib/libGL.so.1.2.0 /usr/lib/powerpc-linux-gnu/

Enabling DRI3:

Please add the line Option "DRI3" "1" to the Device section in the xorg.conf.

You can test the hardware 3D acceleration with the following commands:

Code: Select all
glxinfo | grep -i opengl


X1000:

Code: Select all
OpenGL vendor string: X.Org
OpenGL renderer string: AMD BARTS (DRM 2.49.0 / 4.9.49_A-EON_AmigaOne_X1000_Nemo, LLVM 5.0.0)
OpenGL core profile version string: 3.2 (Core Profile) Mesa 17.2.1
OpenGL core profile shading language version string: 1.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.2.1
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 17.2.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:


Code: Select all
LIBGL_DEBUG=verbose vblank_mode=0 glxgears


Debian Sid MATE PowerPC with Mesa 17.2.1:

Image

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 2939
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 1 guest