[Tutorial] Ubuntu MATE 16.04 VC4 3D acceleration

Notice: The experimental vc4 driver is still not stable, but you can feel free to give a try.

Based on [Tutorial] - Activate OpenGL driver.
And then all steps are as follows:

  1. Write the MATE 15.10 image to the SD card, suggest above 8GB.

  2. Expand the partition of SD card to whole space.

  3. Follow the instructions and Install the MATE 15.10.

  4. After installation, you need to upgrade the kernel. Connect to the internet, open the MATE terminal and type the command
    sudo rpi-update

  5. To enable the vc4 DTB, type the command.
    sudo nano /boot/config.txt

  6. Add this line in the file.

  7. Replace the origin frame buffer setting.
    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

  8. Reboot your RPi.

  9. Now you have a vc4-enabled desktop, but the libraries are legacy. Open GL will not work, we need to upgrade it to 16.04.

  10. Connect to the internet, open the MATE terminal, type the command.
    sudo apt-get update
    sudo apt-get dist-upgrade

  11. After upgrading, type the command.
    sudo apt-get do-release-upgrade

  12. It will cost much time, taste a coffee to wait. If it asking you to keep configuration of the /etc/gnome/defaults.list, say Y.

  13. If it asking you to remove the obsolete packages, say Y.

  14. Now all you have done, reboot your pi.

  15. Enjoy your vc4-enabled MATE 16.04.

If you went to go back FB 2D, comment the line in the config.txt


1.glmark2 or glmark2-es2 scores: 9x~12x ---- The benchmark will be segment fault in the end.

2.glxgears 5x FPS -- It less than the FB 2D (8x FPS)!

3.glxspheres (from VirtualGL) 2x FPS -- It is greater than than FB 2D (1 FPS).

The RPi3 does NOT support.

Image File download:
user: pi / password: pi

1 Like