exceed0153
Posts: 5
Joined: Mon Dec 28, 2015 8:01 pm

Raspberry pi 2 - no 3D acceleration?

Mon Dec 28, 2015 8:07 pm

Hi,

I just got a rasberry pi 2.
I wanted to test out its GPU so I installed OpenArena, but now I find that the 3D acceleration probably isn't working because OpenArena runs at less than a frame a second. Now I know something's not right because I've seen videos of the original rasbperry pi running Quake 3 at full speed.

What do you need to do to enable the 3D acceleration?
I'm running raspbian on it, by the way.

Sorry if this question is answered somewhere, I had a look but I couldn't seem to find an answer.

exceed0153
Posts: 5
Joined: Mon Dec 28, 2015 8:01 pm

Re: Raspberry pi 2 - no 3D acceleration?

Mon Dec 28, 2015 11:54 pm

Well, I did some research, and it seems like the version of openarena in the raspbian jessie repositories isn't compatible with the version of openGL that the pi can use, which makes me wonder why it's there in the first place.
So I guess if I want to play openarena I have to find a special raspberry pi port.

anyway, all I wanted to do was test the 3D graphics of the pi. I installed minecraft-pi and it seems good enough for that job.

thanks everyone

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: Raspberry pi 2 - no 3D acceleration?

Tue Dec 29, 2015 12:05 am

At this time, the Raspberry Pi only supports OpenGL ES which is a subset of OpenGL. As you say OpenGL programs will mostly run on the Raspberry Pi, but are slow because they use software rendering. There is a work around for some OpenGL 1.x programs (see thread here [Tutorial] OpenGL 1.x games)

Why are the programs there in the first place? The version of Linux we use on the Raspberry Pi (Raspbian) is derived from the Debian Linux distribution. The (small number of) people that maintain the Raspbian distribution don't have the time to test every package and make a value judgement of the usefulness of the package. Also, there is a full OpenGL driver for the Raspberry Pi currently being worked on. There are posts on other threads, to say that the driver should be ready soon. There is no official release date.

exceed0153
Posts: 5
Joined: Mon Dec 28, 2015 8:01 pm

Re: Raspberry pi 2 - no 3D acceleration?

Tue Dec 29, 2015 12:30 am

AndyD wrote:Also, there is a full OpenGL driver for the Raspberry Pi currently being worked on. There are posts on other threads, to say that the driver should be ready soon.
Good news! Glad to hear that.
Thanks for the information.

FPINoobie
Posts: 2
Joined: Tue Jan 05, 2016 5:38 pm

Re: Raspberry pi 2 - no 3D acceleration?

Tue Jan 05, 2016 5:42 pm

Thanks. What I don't understand is why I was able to run OpenArena fine on my Pi1 having installed using the pistore last year, but OpenGL is now a problem on Pi2 running Jessie? If it was an OpenGL issue, why did in run in the past?

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4257
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: Raspberry pi 2 - no 3D acceleration?

Tue Jan 05, 2016 6:13 pm

From the start the Pi has supported OpenGL/ES which is the mobile variant of OpenGL. It works well but a lot of games are designed to use the more powerful OpenGL.

https://en.wikipedia.org/wiki/OpenGL_ES

FPINoobie
Posts: 2
Joined: Tue Jan 05, 2016 5:38 pm

Re: Raspberry pi 2 - no 3D acceleration?

Tue Jan 05, 2016 7:21 pm

rurwin wrote:From the start the Pi has supported OpenGL/ES which is the mobile variant of OpenGL. It works well but a lot of games are designed to use the more powerful OpenGL.

https://en.wikipedia.org/wiki/OpenGL_ES
Many thanks. So why is it working on my first Pi? I have been able to play it for ages with the installation from pistore but this is no longer available. Why does this version work perfectly well and how can I get it now?

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

Re: Raspberry pi 2 - no 3D acceleration?

Tue Jan 05, 2016 7:42 pm

FPINoobie wrote:
rurwin wrote:From the start the Pi has supported OpenGL/ES which is the mobile variant of OpenGL. It works well but a lot of games are designed to use the more powerful OpenGL.

https://en.wikipedia.org/wiki/OpenGL_ES
Many thanks. So why is it working on my first Pi? I have been able to play it for ages with the installation from pistore but this is no longer available. Why does this version work perfectly well and how can I get it now?
It would appear the version in the PiStore was built from source by the developers:

http://store.raspberrypi.com/projects/openarena


The version in the Repositories is just the standard http://openarena.ws/download.php standard version.


So maybe building from source is the answer ?????
The information is out there....you just have to let it in.

My other Linux machines are a ChromeBox & Intel CoreDuo Desktop

Return to “Troubleshooting”