Skip to content

Instantly share code, notes, and snippets.

@lucasw
Last active December 16, 2019 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasw/c1d7f7c149ac69e194ed39e5833897d4 to your computer and use it in GitHub Desktop.
Save lucasw/c1d7f7c149ac69e194ed39e5833897d4 to your computer and use it in GitHub Desktop.
Dear Imgui

https://github.com/ocornut/imgui

https://github.com/lucasw/imgui_ros supersedes most of this.

The sdl opengl2 and 3 examples take up 400% cpu when run normally, but give these errors:

libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965

But when running as sudo they only take 2.0% cpu

https://bbs.archlinux.org/viewtopic.php?id=152824

Added self to video group, which solved problem. Also had forgotten was logged into this user from another user which owned the desktop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment