No announcement yet.

Mesa 17.2 Officially Released

  • 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
    I ended up just copying all the built libs under /opt/mesa and using it like this:

    % 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:
    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:
    export PATH=$PROJECT/install/bin:$PATH
    export PKG_CONFIG_PATH=$PROJECT/install/lib/pkgconfig:$PKG_CONFIG_PATH
    export ACLOCAL_FLAGS="-I $PROJECT/install/share/aclocal $ACLOCAL_FLAG"
    ./ --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

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


    • #22

      VikingGe did you figure out what's going wrong with Deus EX MD for you? I'm stuck with broken game and no matter which mesa/llvm I used, still 2-3fps. I'm on archlinux and this piss me off a little. Everything what I test runs fine but deus ex...


      • #23
        Originally posted by frosth View Post
        did you figure out what's going wrong with Deus EX MD for you?
        Sorry, I don't have Deus Ex. Sorry if my previous comment gave the impression that I did. The games that don't work for me are Nier: Automata (through wine, rendering artifacts introduced with LLVM 5.0) and Hitman (which crashes quite frequently with current Mesa). I'm on Arch Linux as well though.


        • #24
          VikingGe, no problem i have PEBCAK situation here. Works good now. 😁