LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-19-2022, 12:08 AM   #1
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Rep: Reputation: Disabled
Questions regarding Slackware 15.0 and Opengl.


Does Slackware 15.0 come with OpenGL preinstalled, and if so, what version is it, and if not, how do I go about installing version 3.1?
 
Old 06-19-2022, 02:23 AM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,569

Rep: Reputation: 3428Reputation: 3428Reputation: 3428Reputation: 3428Reputation: 3428Reputation: 3428Reputation: 3428Reputation: 3428Reputation: 3428Reputation: 3428Reputation: 3428
Quote:
Originally Posted by TheNutCase View Post
Does Slackware 15.0 come with OpenGL preinstalled, and if so, what version is it, and if not, how do I go about installing version 3.1?
The Mesa(3D) is the software which offer the OpenGL API under Slackware 15.0 and also there are the NVIDIA proprietary drivers, which has complementary support for particular NVIDIA graphics card.

However, depending on the graphics hardware support, the Mesa package of Slackware 15.0 gives you support from OpenGL 1.4 up to OpenGL 4.6

Practically, you will get maximum version of OpenGL supported by your hardware, then you will not get OpenGL 3.1 or superior, IF your graphics card has no support for it.

So, about what graphics card you talk? Please show the output of "lspci -v" and "inxi -G"

Last edited by LuckyCyborg; 06-19-2022 at 02:24 AM.
 
Old 06-19-2022, 02:23 AM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,464
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
From /usr/lib64/pkgconfig/opengl.pc:

Name: opengl
Description: OpenGL (without GLX) headers and interface
Version: 4.5

Is that the information you're looking for? This is on an up to date installation of Slackware64-15.0.
 
1 members found this post helpful.
Old 06-19-2022, 06:35 AM   #4
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
Thank you.
 
Old 06-19-2022, 07:30 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Quote:
Originally Posted by TheNutCase View Post
Does Slackware 15.0 come with OpenGL preinstalled, and if so, what version is it, and if not, how do I go about installing version 3.1?
If you have an Intel or AMD GPU, then yes it does, and it will support the latest version of OpenGL that your GPU does.

If you have an NVidia GPU, then you need to install the proprietary NVidia drivers, which will support the latest version of OpenGL that your hardware does.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] OpenGL screensaver (and other OpenGL apps) won't work! 1337_powerslacker Slackware 3 08-08-2013 09:54 AM
Question regarding 5551 files and OpenGL(?) martin426 Programming 5 06-11-2004 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:25 PM.

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
Open Source Consulting | Domain Registration