Skip to content

Instantly share code, notes, and snippets.

View croberts81's full-sized avatar

Sir Rob Linux croberts81

View GitHub Profile
@croberts81
croberts81 / mesa-build.sh
Created October 24, 2021 03:05 — forked from baryluk/mesa-build.py
Mesa and libdrm git, amdgpu build 64-bit and 32-bit for Debian testing and unstable, and possibly Ubuntu, Mint, PopOS, etc. No root required.
#!/bin/bash
# A simple script to build 64-bit and 32-bit libdrm, Mesa and vkpipeline-db
# on amd64 Debian testing, Debian unstable, and possibly some Ubuntu
# with some tweaks.
#
# libdrm is build too, because version right now in Debian sid and experimental
# is too old for current mesa git repo. Also it is nice to build debug
# versions of libdrm when troubleshooting some crashes and bugs.
#
@croberts81
croberts81 / mesa-howto.md
Created October 24, 2021 03:10 — forked from Venemo/mesa-howto.md
How to build and use mesa from source

Building and using mesa for development and testing

This explains how to build mesa from source, and how to use the custom built mesa to run some apps and games, without needing to replace the mesa libraries that your operating system runs on.

Let's assume that you are using an x86_64 system.

Install dependencies

This is how to install them on Fedora. You can substitute with other distros' package managers, the packages are named similarly but maybe have a different naming convention (eg. -dev vs. -devel, etc.).