Skip to content

Commit

Permalink
Added more install-troubleshooting notes to README
Browse files Browse the repository at this point in the history
  • Loading branch information
pmh47 committed Aug 17, 2018
1 parent ae10f9f commit 5043f3c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,18 @@ To sanity-check your build, run `python tests/square_test.py`, which should prod

#### Troubleshooting:

- You should ensure that libGL and libEGL are in a location on LD_LIBRARY_PATH, and that these are the versions shipped with your Nvidia driver. In particular, if you have install Mesa, this may have overwritten libGL with its own version, which will not work with DIRT
- If the build cannot find `GL/gl.h` and `GL/glext.h`, you can get suitable versions of these by running the following from the `dirt` directory:
```
mkdir external/GL ; cd external/GL
wget https://raw.githubusercontent.com/mesa3d/mesa/master/include/GL/gl.h
wget https://raw.githubusercontent.com/mesa3d/mesa/master/include/GL/glext.h
cd ../..
export INCLUDE=$PWD/external:$INCLUDE
```

- If the build cannot find `X11/Xlib.h`, install the system package `libx11-dev` or `libX11-devel`

- You should ensure that libGL and libEGL are in a location on LD_LIBRARY_PATH, and that these are the versions shipped with your Nvidia driver. In particular, if you have installed Mesa, this may have overwritten libGL with its own version, which will not work with DIRT

- You should ensure that compute + graphics mode is enabled (through nvidia-smi) for your GPU

Expand Down

0 comments on commit 5043f3c

Please sign in to comment.