andeksan
Posts: 5
Joined: Thu May 07, 2020 8:38 am

Enable OpenGL acceleration

Mon May 11, 2020 1:48 pm

Hi,
I have problem with enabling GL on my RPI 3B+(8.0 jessie). I have read thousand of articles, but nothing helped me with my problem. Even after all manipulations with RPI i did not see item "Enable OpenGL" in raspi-config/advanced options. Unfortunately, i can not use another image for RPI because we use it in produaction, Generally, i stuck with the issue. RPI is new for me and during my research i could miss some important settings/packages. May be some one can help to figure out what is wrong with system - check important settings, packages etc.

Code: Select all

root@rpi:~# lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie
raspi-config

Code: Select all

A1 Overscan                      You may need to configure oversca        │
│    A2 Hostname                      Set the visible name for this Pi         │
│    A3 Memory Split                  Change the amount of memory made         │
│    A4 SSH                           Enable/Disable remote command lin        │
│    A5 Device Tree                   Enable/Disable the use of Device         │
│    A6 SPI                           Enable/Disable automatic loading         │
│    A7 I2C                           Enable/Disable automatic loading         │
│    A8 Serial                        Enable/Disable shell and kernel m        │
│    A9 Audio                         Force audio out through HDMI or 3        │
│    A0 Update                        Update this tool to the latest ve        │
│                                                                              │
│                                                                              │
│                     <Select>                     <Back>           

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26442
Joined: Sat Jul 30, 2011 7:41 pm

Re: Enable OpenGL acceleration

Mon May 11, 2020 2:04 pm

Jessie is ancient.

OpenGL should still work, but it's the Broadcom custom implementation - the latest MESA drivers will only work on much more recent versions of the OS.

Quite possibly easier to update your system to Buster but without know the exact use case it's difficult to tell.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

andeksan
Posts: 5
Joined: Thu May 07, 2020 8:38 am

Re: Enable OpenGL acceleration

Tue May 12, 2020 6:31 am

jamesh
The main use case, it show QML app on the screen. Where main viewer is QQuickView, which uses openGL for rendering. I already tried make upgrade to "Stretch" but upgrade does not go smoothly and it is critical for our devices.
Since jessie should support opengl from the box i will try to find original jessie and see how it works and where is difference.

Maybe some one knows where is is to find jessie image or reset settings?

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Enable OpenGL acceleration

Tue May 12, 2020 6:53 am

andeksan wrote:
Tue May 12, 2020 6:31 am
jamesh
The main use case, it show QML app on the screen. Where main viewer is QQuickView, which uses openGL for rendering. I already tried make upgrade to "Stretch" but upgrade does not go smoothly and it is critical for our devices.
Since jessie should support opengl from the box i will try to find original jessie and see how it works and where is difference.

Maybe some one knows where is is to find jessie image or reset settings?

Upgrading from one Raspbian release to another has never been recommended.


A fresh install of the currently Raspbian Buster is the best option.


If you want to run Raspbian Jessie and support plugging any security issues, see:

http://downloads.raspberrypi.org/raspbi ... 017-07-05/
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

andeksan
Posts: 5
Joined: Thu May 07, 2020 8:38 am

Re: Enable OpenGL acceleration

Tue May 12, 2020 9:13 am

fruitoftheloom wrote:
Tue May 12, 2020 6:53 am
andeksan wrote:
Tue May 12, 2020 6:31 am
jamesh
The main use case, it show QML app on the screen. Where main viewer is QQuickView, which uses openGL for rendering. I already tried make upgrade to "Stretch" but upgrade does not go smoothly and it is critical for our devices.
Since jessie should support opengl from the box i will try to find original jessie and see how it works and where is difference.

Maybe some one knows where is is to find jessie image or reset settings?

Upgrading from one Raspbian release to another has never been recommended.


A fresh install of the currently Raspbian Buster is the best option.


If you want to run Raspbian Jessie and support plugging any security issues, see:

http://downloads.raspberrypi.org/raspbi ... 017-07-05/
Unfortunately, I can not use a fresh image of Raspbian Buster/Stretch. Updates can be done remotely.

Thanks for the link i will play with image.Y

andeksan
Posts: 5
Joined: Thu May 07, 2020 8:38 am

Re: Enable OpenGL acceleration

Wed May 13, 2020 9:09 am

jamesh
Thanks.
I took your advice, upgraded my sys. from jessie to buster and GL works. but funny thing, that i still do not have item "Enable OpenGL" in raspi-config/advanced options. but it is not critical. :?

One more problem.
For test purpose i use glxgears to determine if GL is supported on device. It works when the app is started in LXDE. But when i run the app from console or at startup device(without LXDE) - app does not want to run at all. Also I can not find logs from the app which give me a clue where is the problem.

cmd:
startx glxgears

Is there way to run the app from console?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26442
Joined: Sat Jul 30, 2011 7:41 pm

Re: Enable OpenGL acceleration

Wed May 13, 2020 1:17 pm

Have you enabled FKMS in config .txt? Cannot remember the exact runes to do it for the Pi3 though. Google will find it.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

andeksan
Posts: 5
Joined: Thu May 07, 2020 8:38 am

Re: Enable OpenGL acceleration

Tue May 19, 2020 11:40 am

No FKMS is not enabled. I will try to enable.

Also i was able to run glxgears from console. I just installed xterm and it solved problem.
Generally, I think topic is SOLVED

Return to “OpenGLES”