LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   3d FEM needs opengl (https://www.linuxquestions.org/questions/linux-software-2/3d-fem-needs-opengl-4175645240/)

rasidrasid 12-30-2018 05:54 PM

3d FEM needs opengl
 
Hello,

I work with a 3d-FEM software and it rather works very good. But for the post-processing is written that I need opengl minimum 3.3. I work with ubuntu 18.04. So please, in which repository or packet I will find it?

Thanks and regards.

ehartman 01-01-2019 12:00 AM

Quote:

Originally Posted by rasidrasid (Post 5943026)
Hello,

I work with a 3d-FEM software and it rather works very good. But for the post-processing is written that I need opengl minimum 3.3. I work with ubuntu 18.04. So please, in which repository or packet I will find it?

Thanks and regards.

Try this url (found in 1 minute with google, I don't use ubuntu myself)
http://www.codebind.com/linux-tutori...-ubuntu-linux/

rasidrasid 01-01-2019 07:19 AM

Hello ehartman,

thank you for your replay. Yes, I read this url, which you found in one minute, before I wrote here. And the c++-Program works petty fine on my ubuntu. But this doesn't helped me. I get allways the error "OpenGL 3.3 or above required". I think the version don't match and I have to upgrade it. But the repository don't give me the upgrade. Maybe I have to install it "per hand". THank you.

Regards

ehartman 01-01-2019 08:42 AM

Quote:

Originally Posted by rasidrasid (Post 5943484)
I get allways the error "OpenGL 3.3 or above required". I think the version don't match and I have to upgrade it.

Another search suggest that your distro maye have Vulkan instead:
en.wikipedia.org/wiki/OpenGL#Vulkan
At least MY distro doesn't have opengl (anymore?) but does have vulkan
Code:

x/vulkan-sdk-1.1.92.1 upgraded
openGL 3.3 is from 2010 and just may not be current anymore while Ubuntu 18.04 is quite recent. Try to ask this on an Ubuntu forum.

dugan 01-01-2019 09:32 AM

You only get OpenGL 3 support if your hardware supports it. If your hardware is too old, then "fixing" the software won't help.

All your software is doing is detecting that your hardware doesn't support OpenGL 3.

ehartman 01-01-2019 05:33 PM

Quote:

Originally Posted by dugan (Post 5943517)
You only get OpenGL 3 support if your hardware supports it.

As far as I know mesa supports openGL support without the hardware:
Code:

The Mesa project began as an open-source implementation of the OpenGL
specification - a system for rendering interactive 3D graphics.

Over the years the project has grown to implement more graphics APIs,
including OpenGL ES (versions 1, 2, 3), OpenCL, OpenMAX, VDPAU,
VA API, XvMC and Vulkan.

A variety of device drivers allows the Mesa libraries to be used
in many different environments ranging from software emulation to
complete hardware acceleration for modern GPUs.

I never use it because my systems all have nVidia cards with hardware GL, but this I found through google.
Current version of Mesa seems to be 18.2 (LTS but nearing EOL) and 18.3 and both should support the OpenGL 4.x API

dugan 01-02-2019 08:45 AM

Quote:

Originally Posted by ehartman (Post 5943646)
As far as I know mesa supports openGL support without the hardware:

Mesa's software support only kicks in if your hardware doesn't support OpenGL at all.

Note that software-implemented OpenGL is ridiculously slow. Probably because it draws one pixel at a time (as CPU-based graphics typically do) instead of drawing them all simultaneously (as GPU-based graphics typically do).

OP can use "glxinfo" to see which driver is active. Posting the results here might help...


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