ArduPilot / ArduPilot/MAVProxy

Magical - OpenGL issues

Open
#390 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
595
Forks
773
Avg merge
2d 6h
Merged PRs (30d)
18

Description

Running "module load magical" and the "magical_ui" gives the following errors:

(Note I'm running APM:Plane in SITL, Ubuntu 16.04)

```
Exception in thread Thread-1:
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_magical/glrenderer.py", line 87, in OnPaint
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_magical/wxvehicle.py", line 79, in CreateRenderer
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_magical/wxvehicle.py", line 33, in __init__
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_magical/glrenderer.py", line 34, in __init__
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/lib/opengl.py", line 601, in compile_and_link
Exception: Error on compiling fragment shader: 0:2(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_magical/glrenderer.py", line 87, in OnPaint
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_magical/wxgeodesicgrid.py", line 143, in CreateRenderer
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_magical/wxgeodesicgrid.py", line 34, in __init__
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_magical/glrenderer.py", line 34, in __init__
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/lib/opengl.py", line 601, in compile_and_link
Exception: Error on compiling fragment shader: 0:2(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
```
My laptop (Dell Inspiron 3330) doesn't support the latest version of OpenGL. Is it possible for Magical to require a lower version of OpenGL? It would allow a wider variety of computers to run it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with `module load magical` and `magical_ui` on the reported Ubuntu 16.04 SITL setup. Start at `MAVProxy/modules/lib/opengl.py` and the callers in `mavproxy_magical/glrenderer.py`, `wxvehicle.py`, and `wxgeodesicgrid.py`; done means Magical no longer requires unsupported GLSL 3.30 on the reported hardware.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.