LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-18-2009, 05:18 PM   #1
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
glinfo vs. glxinfo


Anyone know why Slackware 13 ships with glxinfo as a symlink to glinfo, rather than actually providing glxinfo? The information glxinfo provides is much more helpful than the information from glinfo and, frankly, it seems like bad package management to create such a link, rather the shipping the actual binary.

Adam
 
Old 09-18-2009, 05:31 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Have you asked Pat? These questions may or may not get answered by someone
on the Slackware core team. More likely a lot of guesses from others. Maybe
email Pat and get it "straight from the horse's mouth," as the saying goes.
 
Old 09-18-2009, 05:35 PM   #3
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Original Poster
Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
Yeah, there's been some discussion on #ati, #radeon, and #slackware on Freenode. It appears, from the slackbuild, that Pat noticed one of them was deprecated and dropped it (thanks to ccfreak2k for noticing that and pointing it out). Only it really looks like he dropped the wrong one :-) I'm e-mailing him now.

Adam
 
Old 09-18-2009, 07:36 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0/14.1
Posts: 3,482

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Several days ago I contacted Pat about the issue. He said the development team was aware of the change. He did not say whether he would change anything with the next round of Current.

In my case, XBMC would not start because the software was trying to extract information from the traditional glxinfo command (specifically looking for GL support).

I extracted the glxinfo command from 12.2 (x/mesa-7.0.3 package), broke the newer sym link, and then installed the older glxinfo. XBMC then started with no complaints.
 
Old 09-18-2009, 09:12 PM   #5
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,614

Rep: Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415
Robby Workman's Explanation
 
Old 09-19-2009, 03:04 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by dugan View Post
It's not clear what you are referencing. Perhaps you can edit your link
and put the post rather than a page.
 
Old 09-19-2009, 04:51 AM   #7
amiga32
Member
 
Registered: Mar 2009
Location: Illinois
Distribution: slackware bro
Posts: 161

Rep: Reputation: 38
Quote:
Originally Posted by Bruce Hill View Post
It's not clear what you are referencing. Perhaps you can edit your link
and put the post rather than a page.
I'm pretty sure he's making reference to this post:
Quote:
Oh, and glxinfo output is very different now. The mesa demos (of which glxinfo is one) were reworked completely -- some were dropped, some were added, and some were rewritten -- all of them now use libGLEW, which is why glew had to be added. What used to be "glxinfo" is no longer present -- instead, there's something called "glinfo" which may or may not be intended as the replacement, but at the time I was building all of this, that wasn't important, so I just installed glinfo as glxinfo in the package.
Anyways I'm glad I found this thread. I was wondering about this too.
 
Old 09-19-2009, 05:02 AM   #8
GazL
Senior Member
 
Registered: May 2008
Posts: 3,367

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
Regardless of whether glxinfo should or shouldn't be included in Slackware due to it's now deprecated status, I dislike the idea of the symlink. One command simply shouldn't pretend to be another, it's ugly. Better to have a 'command not found' than weird parsing errors from scripts that were expecting one format of output and got another.
 
Old 09-19-2009, 06:02 AM   #9
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
Originally Posted by amiga32 View Post
Anyways I'm glad I found this thread. I was wondering about this too.
You are not the only one. I have been puzzled by the output of glxinfo ever since I installed Slackware 13.
 
Old 09-19-2009, 06:49 AM   #10
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Original Poster
Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
Pat explained to me that he had been told that glxinfo was dropped by upstream and that, in fact, it would no longer build. I pointed out that wasn't the case, it's still present and still builds by default (with no extra arguments to ./configure). It is not installed by default any more, but I'm not sure when that changed. He said he'd rectify the situation in future releases and even went so far as to apologize for the omission.
 
Old 09-19-2009, 09:40 AM   #11
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Original Poster
Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
For anyone who needs/wants glxinfo, you can download and compile it with these two commands:

$ wget http://adam.npark.com/glxinfo.c
$ gcc -L/usr/lib -I/usr/include -lGL -o glxinfo glxinfo.c

Adam
 
Old 09-19-2009, 03:30 PM   #12
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 292

Rep: Reputation: 75
Quote:
Originally Posted by adamk75 View Post
$ wget http://adam.npark.com/glxinfo.c
$ gcc -L/usr/lib -I/usr/include -lGL -o glxinfo glxinfo.c
Thanks, that worked for me in my XBMC slackbuild.

For those interested, I updated the xbmc.SlackBuild to incorporate adamk75's changes.

http://www.linuxquestions.org/questi...52#post3673752
 
Old 09-19-2009, 05:24 PM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,225

Rep: Reputation: Disabled
Slackware 13.0 patches:

Quote:
Sat Sep 19 16:48:50 CDT 2009
patches/packages/mesa-7.5-i486-2.txz: Rebuilt.
Fixed install script to add glxinfo and other programs that were part
of previous Mesa patches. I was under the impression that these no longer
built, and had been deprecated upstream. Thanks to Adam Kirchhoff for
setting me straight on that.
You got lucky ;-)
 
Old 09-19-2009, 08:52 PM   #14
amiga32
Member
 
Registered: Mar 2009
Location: Illinois
Distribution: slackware bro
Posts: 161

Rep: Reputation: 38
Awesome. new fixed mesa package. ty guys.
 
Old 09-19-2009, 10:33 PM   #15
dwr1
Member
 
Registered: Aug 2009
Distribution: slack-current
Posts: 46

Rep: Reputation: 17
Thanks for pointing it out, adamk. And to Pat for graciously apologizing for and rectifying the omission.

Last edited by dwr1; 09-19-2009 at 10:36 PM.
 
  


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
glxinfo output qt-x Linux - General 2 09-07-2009 02:45 PM
glxinfo zainabzf Linux - Newbie 1 04-06-2007 09:13 AM
Glxinfo hangs / crashes BuckRogers01 Linux - Software 1 03-11-2006 05:58 AM
glxinfo not on my computer? brynjarh Linux - Newbie 1 07-13-2004 02:39 AM
glxinfo sais Agp 1x BobDole81 Linux - Newbie 1 12-05-2003 11:59 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration