LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-24-2014, 02:36 PM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Confused at OpenGL version in -current


I've just been informed that 'glxinfo | grep OpenGL' provides the following info for -current:

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) 945G
OpenGL version string: 2.1 Mesa 10.2.4
OpenGL shading language version string: 1.20

So it appears to be version 2.1. But, in 14.1 we have:

OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.1.7
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 9.1.7

So why do we appear to be downgrading? Or what is happening?

I have a precompiled binary of UT4 which is built against OpenGL 3.2.

Last edited by dive; 08-24-2014 at 02:38 PM.
 
Old 08-24-2014, 02:47 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Mesa 10.2.5 and 10.2.6 have been released since then and has some bug fixes. You could always download the source and use the SlackBuild scripts to rebuild MesaLib.
 
Old 08-24-2014, 02:49 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Yeah but it's the OpenGL version that I'm interesting in, and why it appears to go down instead of up.
 
Old 08-24-2014, 03:33 PM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Could be a bug from the specific version.

Are you running driconf by chance?
 
Old 08-24-2014, 03:37 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
I used to have driconf, but don't know if the person (hitest) who gave me the -current version is.
 
Old 08-24-2014, 03:39 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I would rebuild MesaLib then. It's probably just a bug.
 
Old 08-24-2014, 06:50 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
It would seem that it depends on which xorg driver module is loaded.

If anyone has an intel GPU and can run 'glxinfo | grep OpenGL' it would be hugely appreciated.

Last edited by dive; 08-24-2014 at 06:54 PM.
 
Old 08-24-2014, 06:58 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Which version of xf86-video-intel do you have installed?
 
Old 08-24-2014, 07:01 PM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
ReaperX7, it's not about what I have on 14.1. I want info on what is in -current.

Hitest apparently has an i915 same as me so that makes his glxinfo even more confusing.
 
Old 08-24-2014, 07:21 PM   #10
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
-Current uses version 2.99.914 of xf86-video-intel and mesa-10.2.4... so it should be up to date. Otherwise, it's a bug with Mesa displaying the incorrect versioning numbers.
 
Old 08-25-2014, 03:46 AM   #11
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
From the -Current Changelog:

Code:
Wed Jul 16 05:31:30 UTC 2014
x/xf86-video-intel-2.99.912-x86_64-1.txz: Upgraded.
       Looks like the stable driver won't compile with the new xorg-server, so
       we'll try this one.
Maybe this is the reason? I may be off base here and no help at all to your question, especially since I use Nvidia.
 
Old 08-25-2014, 01:02 PM   #12
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
I hat a look at the git history of mesa and this is what happened. In Mesa 9.1, the intel dri code for i915 and i965 had a shared source tree under src/mesa/drivers/dri/intel. The OpenGL version is defined in that shared part. In Mesa 10.2 this is now no longer shared. i965 still support OpenGL >= 3.0, but i915 tops out at OpenGL 2.1. So either this was a false value to begin with (ie. i915 doesn't support anything higher than OpenGL 2.1) or this is an upstream bug.
 
1 members found this post helpful.
Old 08-25-2014, 01:55 PM   #13
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Thanks ppr:kut. That explains the odd results.
 
Old 08-28-2014, 06:50 AM   #14
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
I had a similar problem with AMD radeon hardware but the latest mesa update to 10.2.6 made it look as it should and also added OpenGL ES, maybe it also made changes for intel hardware.
I had some OpenGL problems with wine and so on but the latest update seems to have sort them all out.
Before update
Code:
$ glxinfo |grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD ARUBA
OpenGL version string: 2.1 Mesa 10.2.4
OpenGL shading language version string: 1.30
OpenGL extensions:
After update
Code:
$ glxinfo|grep  OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD ARUBA
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.2.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:
 
Old 08-28-2014, 07:15 AM   #15
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
The latest mesa update enables support for floating point textures for all drivers. Before only the intel driver had it enabled because it ignores the ./configure parameter.
Floating point textures are a requirement for OpenGL 3.0, so that's why some drivers might show support for a newer version now.
This should indeed also be the case for the i915 driver
 
  


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
LXer: The Current State Of OpenGL 3, OpenGL 4 In Mesa 9.2 LXer Syndicated Linux News 0 07-15-2013 12:21 PM
[SOLVED] Please upgrade Operating System version to 2.6.5-7.97-bigsmp - the current version is panneer_dxb Linux - Kernel 1 04-10-2011 03:16 PM
[SOLVED] Confused: My /etc/slackpkg/mirrors has 13.37, 13.1 & current - what is 13.37? Robert.Thompson Slackware 6 04-05-2011 10:21 AM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM
SW 10.2 Kernel Version Confused zaimor Slackware - Installation 6 10-30-2005 12:15 AM

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

All times are GMT -5. The time now is 08:16 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