User avatar
peepo
Posts: 306
Joined: Sun Oct 21, 2012 9:36 am

QGLTempContext: No GL capable X visuals available.

Sun Jan 25, 2015 4:46 pm

originally I had thought this was an ssh issue,
however I have now plugged a keyboard directly into the RPi, same result.

from the web found: check the X11 configuration and your video driver.
but not clear what I might do...

RTIMULibDemoGL
QGLTempContext: No GL capable X visuals available.
Settings file RTIMULib.ini loaded
Using fusion algorithm RTQF
Using min/max compass calibration
Ellipsoid compass calibration not in use
Using accel calibration
Segmentation fault

User avatar
PeterO
Posts: 5829
Joined: Sun Jul 22, 2012 4:14 pm

Re: QGLTempContext: No GL capable X visuals available.

Sun Jan 25, 2015 5:50 pm

Your application is looking for OpenGL support to be provided by the X widows server, but the PI's X server does not support OpenGL so your application will not work.

That it then segfaults suggests there is some poor programming it there somewhere!

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
peepo
Posts: 306
Joined: Sun Oct 21, 2012 9:36 am

Re: QGLTempContext: No GL capable X visuals available.

Sun Jan 25, 2015 5:54 pm

PeterO, yup one might think this was the case, but many other people are using the program quite happily.

for this reason I believe it may be a configuration issue...

xung8809
Posts: 2
Joined: Tue Dec 08, 2015 8:59 pm

Re: QGLTempContext: No GL capable X visuals available.

Tue Dec 08, 2015 9:05 pm

peepo, wondering if you have solve this problem. I experienced same problem as you do when running RTIMULibDemoGL, my solution is to run it under default raspberry pi configuration for the first time, before change any other setting such as Overscan, Camera, SSH. You can change those setting after RTIMULibDemoGL run for the first time.

xung8809
Posts: 2
Joined: Tue Dec 08, 2015 8:59 pm

Re: QGLTempContext: No GL capable X visuals available.

Wed Dec 09, 2015 8:21 pm

I reinstalled my RPi yesterday and found that RTIMULibDemoGL is not working again even with the trick applied. I noticed that once I install QT following the steps in this article (https://wiki.qt.io/Apt-get_Qt4_on_the_Raspberry_Pi), RTIMULibDemoGL will work fine. I'm just a beginner, couldn't find out why.

Return to “OpenGLES”