-
Notifications
You must be signed in to change notification settings - Fork 20
Grate driver
Dmitry Osipenko edited this page Jun 2, 2018
·
11 revisions
https://code.launchpad.net/~grate-driver/+archive/ubuntu/ppa
https://github.com/grate-driver/grate-overlay
https://aur.archlinux.org/packages/?K=aa13q&SeB=m
- Use the master branches.
- Install autotools and gcc.
- Compile and install libdrm first.
- Use the most recent mainline linux kernel or at least the most recent stable. You may also try the experimental grate kernel.
- Update all
libdrm
opentegra
mesa
libvdpau-tegra
at once as there could be interdependencies, start from libdrm.
git clone https://github.com/grate-driver/libdrm.git
cd libdrm
sh autogen.sh --prefix=/usr --enable-tegra-experimental-api --disable-freedreno --disable-vmwgfx --disable-nouveau --disable-amdgpu --disable-radeon --disable-intel --disable-vc4
make install
git clone https://github.com/grate-driver/xf86-video-opentegra.git
cd xf86-video-opentegra
sh autogen.sh --prefix=/usr
make install
git clone https://github.com/grate-driver/mesa.git
cd mesa
sh autogen.sh --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,grate --with-vulkan-drivers= --with-egl-platforms=x11,drm --disable-nine --disable-llvm --disable-omx-bellagio --disable-va --disable-vdpau --disable-xa --disable-xvmc --disable-gallium-osmesa --disable-libunwind
make install
git clone https://github.com/grate-driver/libvdpau-tegra.git
cd libvdpau-tegra
sh autogen.sh --prefix=/usr
make install