barche
November 26, 2016, 12:13am
1
I’m trying to run some OpenGL tests on Travis in xvfb, but it seems the OpenGL version is 3.0 while I need 3.3 at least. Does anyone here happen to be running a travis config that accomplishes this? My current travis file is here:
https://github.com/barche/QML.jl/blob/master/.travis.yml
to the admins:
Other people are going to have the same issue. Does travis take requests?
Travis does take request on their github issue tracker , but is fairly slow to react to them (I am still waiting for them to allow fglrx
for OpenCL testing on the docker based version).
You can try to use a ppa with a updated Mesa version. I think 10.3+ might do the job.
barche
November 27, 2016, 5:21pm
4
The OpenGL one is open since February:
opened 08:02PM - 17 Feb 16 UTC
closed 07:19PM - 15 Apr 18 UTC
stale
Hi,
I have been able to use Travis to run tests on programs that use OpenGL usi… ng a virtual framebuffer, but I can't seem to get beyond OpenGL 3.0 support, even though the mesa drivers that are available should get me up to 3.3 at least. In my build using glxinfo, I find
```
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)
OpenGL version string: 3.0 Mesa 11.2.0-devel (git-f28d80f 2016-02-16 trusty-oibaf-ppa)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
```
This is normal because Mesa should report any additional OpenGL compatibility as a separate core profile, and version 11.2 should give me 3.3 support at least. However no core profile is reported. Additionally, if the core profile was supported but just not printing, I would expect to see the functions from it in the server GLX extensions, which are not there:
```
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_make_current_read
```
The virtualization software is probably the culprit. Do you know if it supports OpenGL>3 at all? Is there any ability to make it do so?
My travis.yml:
https://github.com/paulmthompson/GLFW.jl/blob/master/.travis.yml
Build log:
https://travis-ci.org/paulmthompson/GLFW.jl/builds/109781172
I’m drawing my conclusions and disabling GUI tests on linux travis. Hopefully they will support Ubuntu 16.04 next year:
opened 06:19PM - 25 Mar 16 UTC
closed 05:38PM - 28 Nov 18 UTC
upgrade-request
team blue
locked
**Edit: Ubuntu 16.04 (Xenial) is now available. See https://blog.travis-ci.com/2… 018-11-08-xenial-release for more information.**
The next version of Ubuntu 16.04 LTS - Xenial Xerus–is scheduled to be released April 21. Aim to update to 16.04 after it's released.
This means to take advantage of all the new versions in the Ubuntu package repositories (the 14.04 versions are starting to get more and more outdated), but it also has the potential to break quite a bit.
Opening this to start tracking when and how to do the update.