LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-30-2018, 06:54 PM   #1
rasidrasid
Member
 
Registered: Jan 2012
Posts: 96

Rep: Reputation: Disabled
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.
 
Old 01-01-2019, 01:00 AM   #2
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,136

Rep: Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641
Quote:
Originally Posted by rasidrasid View Post
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/
 
Old 01-01-2019, 08:19 AM   #3
rasidrasid
Member
 
Registered: Jan 2012
Posts: 96

Original Poster
Rep: Reputation: Disabled
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
 
Old 01-01-2019, 09:42 AM   #4
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,136

Rep: Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641
Quote:
Originally Posted by rasidrasid View Post
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.
 
Old 01-01-2019, 10:32 AM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,335

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
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.

Last edited by dugan; 01-01-2019 at 04:21 PM.
 
Old 01-01-2019, 06:33 PM   #6
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,136

Rep: Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641
Quote:
Originally Posted by dugan View Post
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

Last edited by ehartman; 01-01-2019 at 06:35 PM. Reason: reformatted quote because excessive line length
 
Old 01-02-2019, 09:45 AM   #7
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,335

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Quote:
Originally Posted by ehartman View Post
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...

Last edited by dugan; 01-02-2019 at 09:47 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Open source software for FEM? chauniyal Linux - Software 1 10-09-2011 11:00 AM
Short Tutorial: How to build ELMER-Fem for Slackware64 13 Alexvader Slackware 1 01-20-2010 09:52 AM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 04:33 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 08:32 PM
OpenGL is needed by plib-1.7.0- but i have opengl ! qwijibow Linux - Newbie 0 08-05-2003 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration