LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Do you manage to get OpenGL on Raspberry PI 3 ? (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/do-you-manage-to-get-opengl-on-raspberry-pi-3-a-4175607152/)

patrick295767 06-01-2017 11:05 PM

Do you manage to get OpenGL on Raspberry PI 3 ?
 
Hi Guys,
Do you manage to get OpenGL on Raspberry PI 3 ?
Best regards

Raspberry : armhf

Mine has the following, with non working OpenGL:
Code:

Linux raspberry 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 armv7l GNU/Linux

ls /lib/modules/
4.4.21+  4.4.21-v7+


Shadow_7 06-01-2017 11:35 PM

I got openGL on my pi B. Although at the time you couldn't under raspbian for armv6, but I got it on debian armel (no hf). With a custom compiled sunxi / fbturbo GPU driver. I got about 11 fps on glxgears under debian armel (armv4). Now that raspbian has it (with hf), I get about 17 fps on glxgears for that piece of hardware on raspbian. I would imagine it's possible on the 3, although you might need to install the mesa3d bits like libgl1-mesa-glx to handle in software what the hardware lacks. And perhaps run the pi blessed 32 bit distro.

patrick295767 06-02-2017 11:21 AM

Quote:

Originally Posted by Shadow_7 (Post 5718143)
I got openGL on my pi B. Although at the time you couldn't under raspbian for armv6, but I got it on debian armel (no hf). With a custom compiled sunxi / fbturbo GPU driver. I got about 11 fps on glxgears under debian armel (armv4). Now that raspbian has it (with hf), I get about 17 fps on glxgears for that piece of hardware on raspbian. I would imagine it's possible on the 3, although you might need to install the mesa3d bits like libgl1-mesa-glx to handle in software what the hardware lacks. And perhaps run the pi blessed 32 bit distro.


Sound good to hear.

Could you please output on your box the following command :

Code:

uname -a ; lsmod  ;  cat /proc/cpuinfo | grep  ogo
thank you very much !

Shadow_7 06-02-2017 12:52 PM

I haven't turned it on in months. My last use was having vlc stream the webcam pointed out the window, at a much less than max resolution due to 10/100 bandwidth limits. ATM, I'm an HDMI cable shy of being able to hook it up. And tbh, it's probably openGLES, where ES stands for embedded systems. Although I'm not sure what raspbian has in use, it's been too long. It was kind of impressive what chocolate doom could do on a 1080p display on that 700MHz thing. Although a relatively simple 3 sphere povray scene took about 30 minutes on the pi and 3 minutes for the same scene on my 10yo amd desktop. I don't recall if I ever ran GLmark2 on the pi, but on the 10yo desktop it scored around 300, on my 2yo hp stream 11 of roughly the same specs it scored near 500.

onebuck 06-04-2017 08:55 AM

Moderator response
 
Moved: This thread is more suitable in <Linux - Embedded & Single-board computer> and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 08:04 PM.