[Tutorial] Making Mesa display OpenGL 4.5 instead of 4.3

Discussion in 'all things UNIX' started by Amanda, Oct 15, 2016.

  1. Amanda

    Amanda Registered Member

    Aug 8, 2013
    Since all 4.4 and 4.5 OGL extensions are already done in Mesa, you can literally play the games that require OpenGL 4.5 but don't launch with current Mesa.

    What you'll need:

    • LLVM-SVN;
    • Mesa-git
    Since I'm really short of time, the only thing I'll be showing is the patch (if you're compiling Mesa from git) and the command used if you're unable to compile Mesa yourself.
    Also, this isn't intended for new users. So if you don't know how to add Padoka's PPA on Ubuntu or Debian, or LLVM-SVN and Mesa-git repos on Arch, stay with current Mesa-Stable.

    For Arch, simply add the following two repositories:


    If you're going to build Mesa-git from AUR, you definitely need LLVM-SVN installed, either after compiling it yourself or by installing it from the repo.

    The patch to make Mesa use and display OGL 4.5 is: https://github.com/FireBurn/Overlay/blob/master/media-libs/mesa/files/OpenGL45.patch

    Or if you've installed LLVM-SVN and Mesa-Git from the repos (on whatever distro), add this command to whatever program requires OpenGL 4.5 (I use it for Steam):

    The result is this: https://i.imgur.com/BDnYg9x.png

    Before using the command, maximum Core OGL was 4.3 and Max_Compat was 3.0.

    Happy gaming!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.