Announcement

Collapse
No announcement yet.

Mesa 17.2 Officially Released

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    Originally posted by debianxfce View Post

    Update your system to Debian testing or make a clean install (backup your data first),
    Hello and thank you for the suggestion!

    Upgrading from jessie->stretch is no small task for plasma-desktop users (such as myself). For me to migrate from Plasma 4 to Plasma 5, I would need to be able to run them side-by-side for a while, until I figure out how to get Plasma 5 to match my current Plasma 4 setup.

    Originally posted by debianxfce View Post
    jessie has tons of bugs and security holes.
    At this point, I've pretty much figured out workarounds to all the unfixed bugs that affect me in jessie.
    As for security holes; jessie is still covered by the Debian Security team and receives important patches promptly in my experience.
    If you know security holes in jessie, you should definitely file a security bug against them!


    Anyways.. I was able to build Mesa 17.2 / libdrm 2.4.83 in a jessie-backports chroot with LLVM4.0 (via http://apt.llvm.org/)
    I ended up just copying all the built libs under /opt/mesa and using it like this:

    Code:
    % LD_LIBRARY_PATH=/opt/mesa LIBGL_DRIVERS_PATH=/opt/mesa EGL_DRIVERS_PATH=/opt/mesa DRI_PRIME=1 glxinfo | grep OpenGL                           
    OpenGL vendor string: X.Org
    OpenGL renderer string: AMD Radeon (TM) R9 380 Series (AMD TONGA / DRM 3.15.0 / 4.12.9, LLVM 4.0.1)
    OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.0
    OpenGL core profile shading language version string: 4.50
    and in Steam, you can go to Game -> Properties -> Set launch options: LD_LIBRARY_PATH=/opt/mesa LIBGL_DRIVERS_PATH=/opt/mesa EGL_DRIVERS_PATH=/opt/mesa %command%


    Some random bits I used:
    Code:
    mesa 64-bit build:
    % autoreconf -vfi
    % ./configure --build=x86_64-linux-gnu --prefix=/opt/mesa --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --enable-dri "--with-dri-drivers= i965 radeon" --with-dri-driverdir=/usr/lib/x86_64-linux-gnu/dri --with-dri-searchpath=/usr/lib/x86_64-linux-gnu/dri:\\\$\${ORIGIN}/dri:/usr/lib/dri "--with-vulkan-drivers= intel radeon" --enable-osmesa --enable-glx-tls --enable-shared-glapi --enable-texture-float --disable-xvmc --disable-omx --enable-driglx-direct --enable-gbm --enable-dri3 "--with-platforms=x11,drm" --enable-xa --enable-llvm --enable-opencl --enable-opencl-icd ac_cv_path_LLVM_CONFIG=llvm-config-4.0 --enable-vdpau --enable-va --enable-gallium-extra-hud --enable-lmsensors "--with-gallium-drivers= nouveau svga virgl r600 r300 radeonsi swrast" --disable-gles1 --enable-gles2
    % make -j8
    
    libdrm 64-bit build:
    #!/bin/bash
    PROJECT=/opt/mesa
    export PATH=$PROJECT/install/bin:$PATH
    export LD_LIBRARY_PATH=$PROJECT/install/lib:$LD_LIBRARY_PATH
    export PKG_CONFIG_PATH=$PROJECT/install/lib/pkgconfig:$PKG_CONFIG_PATH
    export ACLOCAL_FLAGS="-I $PROJECT/install/share/aclocal $ACLOCAL_FLAG"
    ./autogen.sh --prefix=/opt/mesa
    make -j8
    
    llvm/clang libs also needed to be in there:
    % sudo cp /chroot/jessie/usr/lib/llvm-4.0/lib/*.so* /opt/mesa
    Links:
    https://www.gamingonlinux.com/wiki/B...sa_from_source
    https://dri.freedesktop.org/wiki/Building/

    Rust (the game) feels much more responsive now! Worth it! YAY!

    Comment

    Working...
    X