Last active
May 30, 2018 12:05
-
-
Save digetx/99d62b96823bdfe2dc49dfbd372a65e6 to your computer and use it in GitHub Desktop.
Grate-driver compilation instructions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
General rules: | |
---------------------- | |
1. Use the master branches. | |
2. Install autotools and gcc. | |
3. Compile and install libdrm first. | |
4. Use the most recent mainline linux kernel or at least the most recent stable. | |
5. Update all libdrm / opentegra / mesa at once as there could be interdependencies, start from libdrm. | |
libdrm: | |
---------- | |
Run the following commands: | |
1. `git clone https://github.com/grate-driver/libdrm.git` | |
2. `cd libdrm` | |
3. `sh autogen.sh` | |
4. `sh configure --prefix=/usr --enable-tegra-experimental-api --disable-freedreno --disable-vmwgfx --disable-nouveau --disable-amdgpu --disable-radeon --disable-intel --disable-vc4` | |
5. `make install` | |
opentegra: | |
----------------- | |
Run the following commands: | |
1. `git clone https://github.com/grate-driver/xf86-video-opentegra.git` | |
2. `cd xf86-video-opentegra` | |
3. `sh autogen.sh` | |
4. `sh configure --prefix=/usr` | |
5. `make install` | |
mesa: | |
--------- | |
Run the following commands: | |
1. `git clone https://github.com/grate-driver/mesa.git` | |
2. `cd mesa` | |
3. `sh autogen.sh` | |
4. `sh configure --prefix=/usr --enable-dri --enable-glx --enable-shared-glapi --enable-texture-float --disable-nine --enable-debug --enable-dri3 --enable-egl --enable-gbm --enable-gles1 --enable-gles2 --enable-glx-tls --enable-valgrind=auto --enable-llvm-shared-libs --with-dri-drivers=swrast --with-gallium-drivers=swrast,tegra --with-vulkan-drivers= --with-egl-platforms=x11,drm --disable-nine --disable-llvm --disable-omx --disable-va --disable-vdpau --disable-xa --disable-xvmc --disable-gallium-osmesa` | |
5. `make install` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Will this work with wayland at the moment?