Skip to content
Mark Janes edited this page Apr 27, 2016 · 14 revisions

I've been building on debian sid, although the cmake build system should enable easy portability to other distributions.

My notes indicate the following dependencies were needed to compile. Please let me know if this list needs to be improved:

  • qtscript5-dev
  • qtquick1-5-dev
  • qtdeclarative5-dev
  • qt5-default
  • protobuf-compiler
  • libprotobuf-dev
  • libwaffle-dev waffle on ubuntu
  • libgtest-dev
  • libgles2-mesa-dev

For convenience; on Debian/Ubuntu these can be installed as follows:

sudo apt-get install qtscript5-dev qtquick1-5-dev qtdeclarative5-dev qt5-default protobuf-compiler libprotobuf-dev libwaffle-dev libgtest-dev libgles2-mesa-dev

In addition to the build dependencies, the following debian packages are required to run:

  • qml-module-qtquick-layouts
  • qml-module-qtquick-dialogs
  • qml-module-qtquick-controls
  • qml-module-qtquick-privatewidgets
  • qml-module-qt-labs-folderlistmodel
  • qml-module-qt-labs-settings

Other dependecies:

building fips

Building Robert Bragg's drm/mesa

Once the dependencies are in place, you can build and install grafips

Building grafips

Boot with Robert's kernel, and set LIBGL_DRIVERS_PATH and LD_LIBRARY_PATH before launching fips.

When you launch an app with fips, provide -p to specify the port for the gui to connect to. Running fips as root will allow display and control of cpu scheduling policy.

Start the grafips gui (<build_dir>/qqmlapp/grafips) and provide the host of the target system. At the moment, grafips will only connect to systems that are on the local network.

Grafips will connect to the fips instance and list the available metrics. Drag metrics onto a graph to view them. Experiments are shown in the lower left corner of grafips.

Clone this wiki locally