This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-14
Channels
- # beginners (74)
- # boot (1)
- # cider (6)
- # clj-kondo (8)
- # cljs-dev (30)
- # clojure (195)
- # clojure-ecuador (1)
- # clojure-europe (2)
- # clojure-italy (51)
- # clojure-nl (47)
- # clojure-spec (9)
- # clojure-sweden (27)
- # clojure-uk (63)
- # clojurescript (84)
- # cursive (41)
- # datascript (17)
- # datomic (16)
- # docker (1)
- # emacs (10)
- # events (2)
- # graalvm (2)
- # graphql (37)
- # juxt (2)
- # nrepl (20)
- # nyc (2)
- # off-topic (26)
- # onyx (3)
- # pedestal (4)
- # perun (19)
- # planck (1)
- # reagent (9)
- # reitit (4)
- # shadow-cljs (208)
- # spacemacs (6)
- # tools-deps (4)
Does anyone have experience running builds on circleci inside a docker container with xvfb installed? Trying to run quil’s tests there and I’m running into an issue with the tests that use OpenGL: https://circleci.com/gh/anthonygalea/quil/3
actual: com.jogamp.opengl.GLException: Profiles [GL4bc, GL4, GL3bc, GL3, GLES3, GL2, GLES2] not available on device X11GraphicsDevice[type .x11, connection :99, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x68b62454, isOwner false, <579afb27, 3bc4bc2a>[count 0, qsz 0, owner <NULL>]]]
at com.jogamp.opengl.GLProfile.get (GLProfile.java:1039)
Using this image: circleci/clojure:lein-2.8.3-browsers which as I understand is using xvfb: https://github.com/CircleCI-Public/circleci-dockerfiles/blob/master/clojure/images/lein-2.8.1/browsers/Dockerfile#L65
$ docker run -it circleci/clojure:lein-2.8.3-browsers /bin/bash
$ sudo apt-get install mesa-utils
$ glxgears
Error: couldn't get an RGB, Double-buffered visual