Skip to content
This repository was archived by the owner on May 30, 2020. It is now read-only.
This repository was archived by the owner on May 30, 2020. It is now read-only.

Does not boot anymore with self compiled Mesa with VC4 support #15

@jonnius

Description

@jonnius

This is an attempt to solve #16. Steps to reproduce:

  1. Install Ubuntu Mate with all updates on Raspberry Pi 3B
  2. Build and install new Libdrm (instructions from here)
sudo apt-get install \
    xutils-dev libpthread-stubs0-dev \
    automake autoconf libtool
git clone git://anongit.freedesktop.org/mesa/drm --depth 1
cd drm
./autogen.sh \
    --prefix=/usr \
    --libdir=/usr/lib/arm-linux-gnueabihf
make
sudo make install
  1. Build and install Mesa with VC4 support (instructions from here, but slightly adapted to avoid missing dependencies and another issue). Beware: The make step takes a lot of hours on the Raspy. You might want to try make -j2, hoping that the RAM would be sufficient.
sudo apt-get install \
    flex bison python-mako \
    libxcb-dri3-dev libxcb-dri2-0-dev \
    libxcb-glx0-dev libx11-xcb-dev \
    libxcb-present-dev libxcb-sync-dev \
    libxshmfence-dev \
    libxdamage-dev libxext-dev libxfixes-dev \
    x11proto-dri2-dev x11proto-dri3-dev \
    x11proto-present-dev x11proto-gl-dev \
    libexpat1-dev libudev-dev gettext \
    autogen zlib1g-dev libxxf86vm-dev libxrandr-dev

git clone git://anongit.freedesktop.org/mesa/mesa --depth 1
cd mesa
./autogen.sh \
    --prefix=/usr \
    --libdir=/usr/lib/arm-linux-gnueabihf \
    --with-gallium-drivers=vc4 \
    --with-dri-drivers= \
    --with-egl-platforms=x11,drm \
    --enable-autotools
make
sudo make install
  1. Install Unity8 by running install.sh

  2. Reboot

Result is that the Raspy does not boot anymore. The monitor remains black and I cant access it via SSH.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions