Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81440 - glxinfo and glxgears not installed though the guide suggests running them
Summary: glxinfo and glxgears not installed though the guide suggests running them
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: nVIDIA Trouble Shooting Guide (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Docs Team
Depends on:
Reported: 2005-02-09 19:02 UTC by Adam
Modified: 2010-01-12 17:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Adam 2005-02-09 19:02:37 UTC
At the end of section 1 of the Gentoo Linux nVidia Guide, it says you can use "glxinfo | grep direct" to test your nVidia card, but that command is not installed (I did "find / -name 'glxinfo'" to make sure), though I followed the steps in the guide.  The same is true of the glxgears command mentioned just after it.  Using emerge to search for them didn't reveal them either.

Reproducible: Always
Steps to Reproduce:

root>emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-, 2.6.10-gentoo-r6 i686)
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Feb  3 2005, 16:53:49)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
CFLAGS="-O2 -march=athlon-xp -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
FEATURES="autoaddcvs autoconfig ccache distlocks nostrip sandbox sfperms strict
userpriv usersandbox"
USE="x86 3dnow X alsa arts avi bitmap-fonts cdr crypt cscope cups dvd encode f77
fam font-server foomaticdb gdbm gif gpm gtk2 imagemagick imlib java jpeg kde
libg++ libwww mmx mpeg mysql ncurses oggvorbis pdflib perl png ppds qt quicktime
readlinescanner sdl ssl tcpd tiff truetype truetype-fonts trusted type1-fonts
usb xml2 xmms xprint zlib"
Comment 1 SpanKY gentoo-dev 2005-02-09 19:07:45 UTC
do you not have X installed ?

xorg provides those binaries
Comment 2 Stefano Pacella (RETIRED) gentoo-dev 2005-02-10 07:44:34 UTC
did you do # glxinfo | grep direct
or $ glxinfo | grep direct
in first case also my ouput is command not found
Comment 3 Adam 2005-02-10 12:59:16 UTC
I have xorg-x11.  Maybe it's the USE flags?

adam>emerge -pv xorg-x11

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-base/xorg-x11-6.8.0-r4  -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers -ipv6 -minimal +mmx -nls -opengl -pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) +xprint -xv 0 kB

I tried the command as a regular user.  Furthermore, it can't be that because, like I mentioned, I searched my whole filesystem for the command and it didn't show up.
Comment 4 SpanKY gentoo-dev 2005-02-10 15:19:05 UTC
maybe you should rebuild xorg-x11 with USE=opengl
Comment 5 Adam 2005-02-11 08:40:28 UTC
That did it.  Thanks!  I wonder if the guide should mention that that USE flag is needed to get those commands?
Comment 6 SpanKY gentoo-dev 2005-02-11 12:36:28 UTC
maybe ... but opengl is in the default USE so really, unless you put '-opengl' into your USE somewhere, your system should have built xorg-x11 with opengl by default ...
Comment 7 Adam 2005-02-11 16:31:43 UTC
Or if you like to remove all USE flags first with -* (which I don't do, actually - I unset it because it was preventing something from compiling and causing an extra dependency).
Comment 8 SpanKY gentoo-dev 2005-02-11 16:44:05 UTC
i'll leave it to another doc dev for a 2nd opinion, but i say close this as WONTFIX ... building X w/out opengl doesnt make sense most of the time, *especially* when using hardware acceleration like nvidia
Comment 9 Xavier Neys (RETIRED) gentoo-dev 2005-02-12 04:52:42 UTC
Agreed. opengl USE flag is on by default.
Comment 10 Audiodef 2010-01-12 16:43:07 UTC
I can't even find glxgears. I have no such command on my system. opengl has been part of my use flags since the beginning. 
Comment 11 nm (RETIRED) gentoo-dev 2010-01-12 17:03:38 UTC
(In reply to comment #10)
> I can't even find glxgears. I have no such command on my system. opengl has
> been part of my use flags since the beginning. 

Please do NOT comment on closed bugs that are 5 years old. You need to actually read the nVidia guide; it tells you to install "mesa-progs" to get glxinfo and glxgears. All of our hardware acceleration guides tell you to install mesa-progs, so it's not like the information isn't there.

Please take any other user issues to the forums, not to Bugzilla. Closing again.