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 01-01-2014, 04:28 PM   #1
jmpz
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 74

Rep: Reputation: Disabled
OpenGL upgrade (recompile mesa) on 14.1


Hi, I need to use OpenGL (>=3.2) which is provided by mesa (>=10.0). Current mesalib in 14.1 is 9.1. Can someone provide a list of package that I need to re-compile one after another? Thanks!

More general, I may also want to try Intel's new graphic driver. What's the list in that case?

Thanks a lot!
 
Old 01-01-2014, 04:37 PM   #2
fr19k
LQ Newbie
 
Registered: Jul 2008
Location: Poland
Distribution: Slackaware 14.1
Posts: 15

Rep: Reputation: 0
you may need to upgrade libdrm, xf86-video-intel, mesalib, mesa demos/tools?. Are you sure that your display card supports OpenGL 3.2?
 
Old 01-01-2014, 04:59 PM   #3
jmpz
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 74

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by fr19k View Post
you may need to upgrade libdrm, xf86-video-intel, mesalib, mesa demos/tools?. Are you sure that your display card supports OpenGL 3.2?
Thanks for your input. I'm using a Intel HD 4400 and it supports OpenGL 4.0.

I have re-compiled mesa and libdrm. But when glxinfo still gives me:

Quote:
OpenGL version string: 3.0 Mesa 10.0.1
and the application still tells me your OpenGL version is 3.0 and we want at least 3.2. Any ideas?

Last edited by jmpz; 01-01-2014 at 05:36 PM.
 
Old 01-02-2014, 01:07 AM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
The list is here

https://01.org/linuxgraphics/downloa...-stack-release

It does make a huge difference from the kernel i915 or i965 driver but man is it a lot of hair-pulling work. It is even difficult on the ones that Intel has made installers for since they aren't quite up to Intel's version requirements even on the lastest releases (I tried OpenSuse 12.3 and StudioUbuntu 13.10)

The kernel drivers gave me 3FPS on Ungine Heaven testbed. Intels drivers gave me 40FPS. My new nVidia card gives me 107 FPS at higher settings and with a LOT less work.
 
Old 01-02-2014, 03:16 AM   #5
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
Mesa3D currently only carries the OpenGL 3.3 specification with MesaLib 10.0.1.

The only video cards that possibly have the OpenGL 4.x specification drivers are AMD's FGLRX driver and Nvidia's GLX driver, both proprietary drivers. Intel's OpenGL drivers are based on the open-source drivers.
 
Old 01-02-2014, 10:25 PM   #6
jmpz
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 74

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enorbet View Post
The list is here

https://01.org/linuxgraphics/downloa...-stack-release

It does make a huge difference from the kernel i915 or i965 driver but man is it a lot of hair-pulling work. It is even difficult on the ones that Intel has made installers for since they aren't quite up to Intel's version requirements even on the lastest releases (I tried OpenSuse 12.3 and StudioUbuntu 13.10)

The kernel drivers gave me 3FPS on Ungine Heaven testbed. Intels drivers gave me 40FPS. My new nVidia card gives me 107 FPS at higher settings and with a LOT less work.
Yes, it's very tedious...I hope Pat can upgrade them soon in -current. I may give a try on the whole stack listed in the link.

But do I need to re-compile other packages that depend on these driver package? e.x., mplayer?
 
Old 01-02-2014, 10:27 PM   #7
jmpz
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 74

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Mesa3D currently only carries the OpenGL 3.3 specification with MesaLib 10.0.1.

The only video cards that possibly have the OpenGL 4.x specification drivers are AMD's FGLRX driver and Nvidia's GLX driver, both proprietary drivers. Intel's OpenGL drivers are based on the open-source drivers.
Yes, why cannot Intel provide open-source drivers that can be used easily? I used Nvidia's proprietary drivers before and I found they were easy to use.
 
Old 01-03-2014, 02:59 AM   #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
Intel contracted Tungsten Graphics, which developed open source drivers for the DRI, to write their open source xorg drivers. Since the open source implementation of OpenGL is MesaLib, it can only support the available API from the library provided. Nvidia and AMD utilize a different OpenGL implementation more closely based on the proprietary and licensed SGI OpenGL implementation which is why their drivers will provide advanced support factors which MesaLib has to have said code contributed back to it to gain said support.
 
Old 01-03-2014, 08:22 AM   #9
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Greetz
From what I read, Intel is devoting considerable effort to creating a solid and easy to implement set of linux drivers. They are just very new to the game. I consider them to be very close to ATi who was new to the game years ago. nVidia is still the king but they have earned it by being the alternative "go to guy" basically forever and for everybody. They even made OS/2 and BeOS accelerated drivers. I've been using their Linux drivers for over 10 years, and rarely even been moderately disappointed.

The only current problem with nVidia is with certain older units and certain kernels and the available patches are "sketchy". Example: I have a perfectly good FX-5200 which is more than adequate for desktop and light gaming but it is nearly useless at this time to try to get it to operate properly with the legacy drivers and gcc 4x, or with a version 3x kernel. Serious Catch 22 but then the FX5200 is over 10 years old... ancient in PC years.
 
  


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
LXer: What Mesa Has Left With OpenGL 3, OpenGL 4 LXer Syndicated Linux News 0 08-11-2011 10:00 PM
Driver fails using nvidia for OpenGL interface but works using Mesa OpenGL interface rrrssssss Gentoo 9 01-03-2010 10:19 AM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM

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

All times are GMT -5. The time now is 07:28 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
Open Source Consulting | Domain Registration