Comments (9)
I've narrowed this down to Line 540 of qtopengl_widget.cpp
. Commenting out glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)
"fixes" the problem, which seems odd, because it shouldn't affect any matrices (as far as I'm aware).
glxinfo | grep "OpenGL version"
prints OpenGL version string: 3.0 Mesa 17.0.7
.
from argos3.
Just an update for anyone else running ARGoS using VMWare Fusion:
So far I've only been able to reproduce this issue in Ubuntu VMs (16.04 and 17.10) running on a Mac via VMWare Fusion (10.1.1). It doesn't seem to be an issue with Mesa, as the bug still occurs after upgrading to version 17.3.3, and everything works fine on a native installation of Ubuntu 16.04 running Mesa 17.2.4.
This seems to be something wrong with the VMWare graphics driver - disabling "Accelerate 3D Graphics" in the VM options fixes the problem, and everything works normally in VirtualBox.
from argos3.
Thanks for the update, that clarifies quite a lot why I can't reproduce the problem on any machine I tried. Should I keep the bug open and mark it as "invalid", meaning that it's not an ARGoS problem?
from argos3.
Yes, I would mark it as invalid. This doesn't seem to be a bug in ARGoS - the line glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)
should have no side-effects, and only seems to cause problems with VMWare Fusion.
from argos3.
Also, if I remove that line the entire arena becomes a black box...
from argos3.
Sorry, what I meant by commenting out the line "fixing" the problem is that the bounding box doesn't float around anymore, but it will be rendered as a solid block - the same as using glPolygonMode(GL_FRONT_AND_BACK, GL_FILL)
instead.
I tried printing out the coordinates of sBBox
, and they're definitely correct - it's just a rendering issue. I haven't been able to reproduce the problem by creating a minimal working example in a separate OpenGL application though, so I wonder if there is something strange going on inside ARGoS that is tolerated by most OpenGL implementations, but not the one used by VMWare Fusion.
from argos3.
That is really weird. I don't know what could be the cause, and unfortunately I don't have much time right now to look into the bug :( If you could have a look into that it would be awesome. Otherwise, as soon as I have some time, I'll try and reproduce it.
from argos3.
I raised this issue on the VMware Fusion forums, and apparently VMware VMs only support the OpenGL 3.3 Core Profile (see here: https://communities.vmware.com/message/2743723). Given that ARGoS is using the deprecated fixed pipeline rendering method that @allsey87 mentioned in #40, which was phased out as of OpenGL 3.1, I don't think we can expect the visualisation plugin to work properly in VMware VMs (although this may only be a problem with VMware Fusion - I haven't tested it with a Windows/Linux host).
This seems like another reason to look into replacing the current visualisation plugin with a modern alternative, unfortunately.
from argos3.
This seems like another reason to look into replacing the current visualisation plugin with a modern alternative, unfortunately.
I agree, but before the summer I won't be able to do it. I tried asking students to do it, but they mostly got scared and dropped the ball :/
from argos3.
Related Issues (20)
- No package 'argos3_simulator' found HOT 2
- ARGoS Checkpointing
- enh/actuator-enable-disable-interface
- Issue in building the doc in installation with Eclipse HOT 1
- gl.h not found in Mac OSX 11.4 Big Sur HOT 1
- Increasing the # cameras in ARGoS HOT 5
- EmodiedEntity init is called before successful place HOT 2
- Bugs in ARGoS cmdline HOT 8
- bugfix/34/stderr-redirect
- Black screen HOT 3
- Physics of gripping with the foot-bot
- Install MacOS glut not found HOT 9
- Not using threads on WSL2 (Windows 11) HOT 2
- Bugs and usability of ARGoS drone HOT 3
- footbot_encoder can not be reading. HOT 3
- include could not find requested file: ARGoSCheckQTOpenGL HOT 1
- argos visualization error when running CPFA: cannot find CPFA_qt_user_functions on Ubuntu 22.04 LTS HOT 1
- [Fatal] Can't load library "/usr/lib/argos3/libargos3plugin_simulator_media.so"...undefined symbol HOT 1
- How to dynamically create LEDs detectable by an omnidirectional camera HOT 1
- How to add a Drone?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argos3.