OpenGL in Cinder, clang-10, and a headless vm

181 views
Skip to first unread message

Michael

unread,
Sep 9, 2020, 4:53:05 PM9/9/20
to Vagrant
Hello everyone,  

I am attempting to run an application compiled from C++ code that utilizes the Cinder library (https://www.libcinder.org/).  Specifically, Building and Running the BasicApp sample (https://www.libcinder.org/docs/guides/linux-notes/ubuntu.html) included with Cinder.  

I am able to compile; however, when I attempt to run the application I receive the following error: 

(glfw:error): error=65544, desc=X11: RandR gamma ramp support seems broken
Rendering with OpenGL Core Profile 3.2
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
(glfw:error): error=65543, desc=GLX: An OpenGL profile requested but GLX_ARB_create_context_profile is unavailable
Segmentation fault (core dumped)

I am connected to the vm from the host (mac) using X windows forwarding.  I have no problem forwarding gedit to the host.  Here's my Vagrant configuration:

Vagrant.configure("2") do |config|
  config.vm.box = "hashicorp/bionic64"
  config.vm.box_version = "1.0.282"
  config.ssh.forward_x11 = true
  config.vm.provider "virtualbox" do |vb|
    vb.memory = 1024
    vb.cpus = 2
  end
end

The machine is provisioned with clang-10 and cinder dependencies (https://www.libcinder.org/docs/guides/linux-notes/ubuntu.html).

I appreciate help that y'all can provide in resolving this issue.

Thanks again,

-- Michael 

.

unread,
Sep 9, 2020, 6:44:38 PM9/9/20
to vagra...@googlegroups.com
A post with a similar issues may be of help - https://github.com/openai/gym/issues/509#issuecomment-282331680

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/vagrant/issues
Discuss: https://discuss.hashicorp.com/c/vagrant/24
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/5ad358d3-8b93-486c-93e1-8a98438ca6dcn%40googlegroups.com.


--
Dan Morgan
Reply all
Reply to author
Forward
0 new messages