Coder Social home page Coder Social logo

tegra-scripts's Introduction

sudo apt-get update
sudo apt-get install autoconf bison flex pkg-config libtool libpthread-stubs0-dev x11proto-gl-dev x11proto-dri2-dev x11proto-dri3-dev x11proto-present-dev x11proto-xf86vidmode-dev libffi-dev
# Mesa:
sudo apt-get install libx11-xcb-dev libxcb-glx0-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-present-dev libxcb-sync-dev libxshmfence-dev libxdamage-dev libudev-dev libxext-dev
# Weston:
sudo apt-get install libcairo2-dev libxcursor-dev libxcb-composite0-dev libmtdev-dev libxkbcommon-dev libjpeg-dev libpam-dev

# Uncomment the "universe" from /etc/apt/sources.list and then:
sudo apt-get mesa-utils mesa-utils-extra

# If you want to attempt cross compilation on top of the device rootfs, you need to fix symlinks:
sudo apt-get install symlinks
sudo symlinks -cr /usr/local/lib
sudo symlinks -cr /usr/lib
sudo symlinks -cr /lib


# If you discover, like me, that cross compilation is not your thing, then follow Alex's instructions:
sudo apt-get install g++

cd drm
./autogen.sh --prefix=$NVD --enable-tegra-experimental-api
make -j4
make install

cd wayland
./autogen.sh --prefix=$NVD --disable-documentation
make -j4
make install

cd mesa
./autogen.sh --without-dri-drivers --with-gallium-drivers=nouveau --enable-gallium-egl --enable-gbm --enable-egl --with-egl-platforms=drm,wayland --enable-gles1 --enable-gles2 --enable-opengl --prefix=$NVD
make -j4
make install

cd weston
mkdir m4
./autogen.sh --prefix=$NVD
make -j4
sudo make install

tegra-scripts's People

Contributors

gnurou avatar scele avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.