Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › How do I find what OpenGL versions my OS supports?
New Posts  All Forums:Forum Nav:

How do I find what OpenGL versions my OS supports?

post #1 of 4
Thread Starter 
glewinfo gives
Code:
GLEW version 1.7.0
OpenGL version 2.1 Mesa 8.0.5 is supported
GL_VERSION_1_1:                                                OK 
GL_VERSION_1_2:                                                OK 
GL_VERSION_1_2_1:                                              OK 
GL_VERSION_1_3:                                                OK 
GL_VERSION_1_4:                                                OK 
GL_VERSION_1_5:                                                OK 
GL_VERSION_2_0:                                                OK 
GL_VERSION_2_1:                                                OK 
GL_VERSION_3_0:                                                OK 
GL_VERSION_3_1:                                                OK 
GL_VERSION_3_2:                                                OK 
GL_VERSION_3_3:                                                OK 
GL_VERSION_4_0:                                                OK 
GL_VERSION_4_1:                                                MISSING 
GL_VERSION_4_2:                                                MISSING 
GLX_VERSION_1_2:                                               OK 
GLX_VERSION_1_3:                                               OK 
GLX_VERSION_1_4:                                               OK 

and glxinfo gives
Code:
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL version string: 2.1 Mesa 8.0.5
OpenGL shading language version string: 1.20

(irrelevant output omitted)

Both say OpenGL version is 2.1, but the glewinfo output seems to imply that OpenGL up to 4.0 is supported... which is it, if either? What is the proper way to find the OpenGL version supported by my system? Is some of the above info only applicable to my specific hardware/drivers, hence the apparent inconsistency? I'm only just beginning OpenGL development so I'm quite clueless on the topic. I certainly would expect Wheezy to support 3.x (Googling around understood that these were available for Squeeze as backports), but this made me a bit unsure.
post #2 of 4
What card and drivers are you using?
Magicbox
(18 items)
 
crapbox
(13 items)
 
 
CPUMotherboardGraphicsRAM
FX 8320 Sabertooth 990FX HD7850 Kingston HyperX Fury 
Hard DriveHard DriveHard DriveCooling
Samsung 850 EVO  Kingston HyperX 3K Seagate Barracuda 7200.14 Noctua NH-D15 
CoolingOSOSMonitor
AC Twin Turbo II Kubuntu  Windows 10 Pro Dell U2515H 
KeyboardPowerCaseMouse
CM Quickfire TK (Cherry Blue) Cooler Master Silent Pro M 850W Cooler Master HAF 912 Logitech G502 
Mouse PadAudio
Gamdias NYX Speed Xonar DX 
CPUMotherboardGraphicsRAM
Sempron 3300+ HP stock mobo (laptop) 200M (IGP) 2x1GB PC3200 
Hard DriveOptical DriveOSMonitor
100GB ATA133 DVD/CDRW Kubuntu 32 bit 14.1" (1280x768) 
Power
6 cell 
  hide details  
Reply
Magicbox
(18 items)
 
crapbox
(13 items)
 
 
CPUMotherboardGraphicsRAM
FX 8320 Sabertooth 990FX HD7850 Kingston HyperX Fury 
Hard DriveHard DriveHard DriveCooling
Samsung 850 EVO  Kingston HyperX 3K Seagate Barracuda 7200.14 Noctua NH-D15 
CoolingOSOSMonitor
AC Twin Turbo II Kubuntu  Windows 10 Pro Dell U2515H 
KeyboardPowerCaseMouse
CM Quickfire TK (Cherry Blue) Cooler Master Silent Pro M 850W Cooler Master HAF 912 Logitech G502 
Mouse PadAudio
Gamdias NYX Speed Xonar DX 
CPUMotherboardGraphicsRAM
Sempron 3300+ HP stock mobo (laptop) 200M (IGP) 2x1GB PC3200 
Hard DriveOptical DriveOSMonitor
100GB ATA133 DVD/CDRW Kubuntu 32 bit 14.1" (1280x768) 
Power
6 cell 
  hide details  
Reply
post #3 of 4
Thread Starter 
Radeon HD4670 with whatever stock drivers Wheezy comes with
post #4 of 4
Quote:
Originally Posted by bomfunk View Post

Radeon HD4670 with whatever stock drivers Wheezy comes with

Those are probably the open source drivers or the fbdev driver (which doesn't enable any hardware acceleration); you can find the current maximum supported OpenGL with "glxinfo | grep -i opengl"
Your graphics card supports up to OpenGL 3.2 - the open source "radeon" drivers support up to OpenGL 3.0 for your graphics card from what I read. The fglrx-legacy drivers from ATi should support up to OpenGL 3.2.

Edit: According to the MESA WIKI here: http://www.mesa3d.org/relnotes/8.0.5.html
Mesa version 8.0.5 implements the OpenGL 3.0 feature set but the version reported by that string depends on what features the particular driver in use supports. That said, you know that OpenGL 2.1 is the full feature set supported by your current configuration. The OpenGL version supported (similar to the DirectX version supported) is dependant on the drivers and hardware used - not the operating system.
Edited by Xaero252 - 7/29/13 at 4:15pm
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › How do I find what OpenGL versions my OS supports?