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.
Steps to Reproduce:
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-18.104.22.16840420-r2, 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]
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
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
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"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
do you not have X installed ?
xorg provides those binaries
did you do # glxinfo | grep direct
or $ glxinfo | grep direct
in first case also my ouput is command not found
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.
maybe you should rebuild xorg-x11 with USE=opengl
That did it. Thanks! I wonder if the guide should mention that that USE flag is needed to get those commands?
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 ...
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).
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
Agreed. opengl USE flag is on by default.
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.
(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.