[Solved] inxi not finding glxinfo

Sector11

Noticed this for the past little while but it took lwfitz to post his latest in: Known Working Hardware to prompt me to ask - Is anyone else having this problem?

Solved: install mesa-utils

03 Mar 13 | 20:33:35 ~
         $ whereis glxinfo
glxinfo: /usr/share/man/man1/glxinfo.1.gz

03 Mar 13 | 20:33:39 ~
         $ s11
Resuming in non X mode: glxinfo not found. For package install advice run: inxi --recommends
System:    Host: sector11 Kernel: 3.7.0-10.dmz.1-liquorix-amd64 x86_64 (64 bit) Desktop: Openbox 3.5.0 Distro: VSIDO
Machine:   Mobo: ECS model: MCP61M-M3 version: 7.0 Bios: American Megatrends version: 080015 date: 11/03/2010
CPU:       Triple core AMD Athlon II X3 450 (-MCP-) cache: 1536 KB flags: (lm nx sse sse2 sse3 sse4a svm)
           Clock Speeds: 1: 3214.443 MHz 2: 3214.443 MHz 3: 3214.443 MHz
Graphics:  Card: NVIDIA GT218 [GeForce 210] X.org: 1.12.4 driver: nvidia Resolution: 159x66
Audio:     Card-1: NVIDIA MCP61 High Definition Audio driver: snd_hda_intel Sound: ALSA ver: k3.7.0-10.dmz.1-liquorix-amd64
           Card-2: NVIDIA High Definition Audio Controller driver: snd_hda_intel
Network:   Card: NVIDIA MCP61 Ethernet driver: forcedeth
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 250.1GB (23.1% used) 1: id: /dev/sda model: WDC_WD2500AAJS size: 250.1GB
Partition: ID: / size: 15G used: 7.7G (55%) fs: ext4 ID: /home size: 15G used: 5.5G (39%) fs: ext4
           ID: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap
Sensors:   System Temperatures: cpu: 46.0C mobo: 36.0C gpu: 47C
           Fan Speeds (in rpm): cpu: 2555 fan-2: 0 fan-3: 0
Info:      Processes: 139 Uptime: 4:09 Memory: 503.4/5962.4MB Runlevel: 2 Client: Shell (bash) inxi: 1.8.45

03 Mar 13 | 20:33:43 ~
         $
Stay Home

VastOne

Is it an issue?  I have always seen that and have never paid any attention to it

Doing a search on google for 'Resuming in non X mode: glxinfo not found'  I have found thousands of inxi -F outputs that show the same things

I have always allowed nVidia to handle all glxinfo... and it used to install glxinfo

Definition: glxinfo: display info about a GLX extension and OpenGL renderer.  The glxinfo program can be used to check whether a graphics adaptor provides the OpenGL support that is necessary to run CPN Tools under Linux. Huh?

But, exactly what is glxinfo needed for?  The only thing I ever saw it used on was cairo-dock and since I no longer use cairo, I no longer have needed it

What in VSIDO needs it?

I think it is part of inxi to be used against older video drivers and / or video cards
VSIDO      VSIDO Change Blog    

    I dev VSIDO

Sector11

It is a case of - glxinfo is here - inxi says it is not here.

No not here.  Need mesa-utils installed.

Test Three: Script Recommends for Graphics Features. If you do not use X these do not matter.
If one of these applications is missing, inxi will have incomplete output:

Recommended X application: glxinfo (info: -G glx info)...................... Missing
Recommended X application: xdpyinfo (info: -G multi screen resolution)...... /usr/bin/xdpyinfo
Recommended X application: xprop (info: -S desktop data).................... /usr/bin/xprop
Recommended X application: xrandr (info: -G single screen resolution)....... /usr/bin/xrandr


without glxinfo:
03 Mar 13 | 21:49:50 ~
         $ inxi -Gx -x -c24
Resuming in non X mode: glxinfo not found. For package install advice run: inxi --recommends
Graphics:  Card: NVIDIA GT218 [GeForce 210] bus-ID: 02:00.0 chip-ID: 10de:0a65
           X.org: 1.12.4 driver: nvidia Resolution: 123x63

03 Mar 13 | 21:52:40 ~
         $


with glxinfo
03 Mar 13 | 22:14:18 ~
         $ inxi -Gx -x -c24
Graphics:  Card: NVIDIA GT218 [GeForce 210] bus-ID: 02:00.0 chip-ID: 10de:0a65
           X.Org: 1.12.4 driver: nvidia Resolution: 1280x1024@60.0hz
           GLX Renderer: GeForce 210/PCIe/SSE2 GLX Version: 3.3.0 NVIDIA 313.18 Direct Rendering: Yes

03 Mar 13 | 22:14:21 ~
         $ [code]
Stay Home

jedi

The only beneficial thing that "mesa-utils" provides for me, is the ability to test my hybrid graphics system using the glxgears included in "mesa-utils".  See the output from terminal below;

jed@MSI-Laptop:~$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
301 frames in 5.0 seconds = 60.098 FPS
300 frames in 5.0 seconds = 59.836 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 1398 requests (1398 known processed) with 0 events remaining.
jed@MSI-Laptop:~$ optirun glxgears
5316 frames in 5.0 seconds = 1063.135 FPS
5455 frames in 5.0 seconds = 1090.943 FPS
[VGL] ERROR: in readback--
[VGL]    246: Window has been deleted by window manager


However, I have no need of glxgears because a better opengl testing tool is available to me called glxshperes which does not require "mesa-utils".  The following is the output in terminal using glxspheres to measure the performance of the opengl with and without my nvidia card;

jed@MSI-Laptop:~$ glxspheres
Polygons in scene: 62464
Visual ID of window: 0x9d
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
59.180057 frames/sec - 66.044944 Mpixels/sec
59.291569 frames/sec - 66.169391 Mpixels/sec
59.338225 frames/sec - 66.221459 Mpixels/sec
59.337717 frames/sec - 66.220893 Mpixels/sec
58.839123 frames/sec - 65.664461 Mpixels/sec
jed@MSI-Laptop:~$ optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GTX 675M/PCIe/SSE2
125.424434 frames/sec - 139.973668 Mpixels/sec
125.016438 frames/sec - 139.518345 Mpixels/sec
127.332861 frames/sec - 142.103473 Mpixels/sec
127.115726 frames/sec - 141.861150 Mpixels/sec
126.381040 frames/sec - 141.041241 Mpixels/sec
128.410603 frames/sec - 143.306233 Mpixels/sec
jed@MSI-Laptop:~$


I only install it so I don't have to look and see the glxinfo error when running inxi...  I'll get rid of mesa-utils altogether if it's shown I don't need it to help with opengl and my hybrid graphics setup!  Ready to test and break something whenever someone gives the word!!!
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

Sector11

#4
Well, I don't have the last two you called up:

04 Mar 13 | 04:45:16 ~
         $ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.575 FPS
301 frames in 5.0 seconds = 60.015 FPS
301 frames in 5.0 seconds = 60.017 FPS
301 frames in 5.0 seconds = 60.017 FPS
301 frames in 5.0 seconds = 60.018 FPS
301 frames in 5.0 seconds = 60.017 FPS
301 frames in 5.0 seconds = 60.001 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 46 requests (46 known processed) with 0 events remaining.

04 Mar 13 | 04:46:23 ~
         $ optirun glxgears
bash: optirun: command not found

04 Mar 13 | 04:46:49 ~
         $ glxshperes
bash: glxshperes: command not found

04 Mar 13 | 04:47:25 ~
         $


So I'd say, in my case, mesa-utils is a good thing and it is a 'recommendation' for inxi that does work for me.  It add more info as well as gets rid of the error.
Stay Home

jedi

Hi Sector11! Yeah the optirun thing is a Bumblebee function that turns on the nvidia part of the video card in my laptop.  (why you see the drastic jump in FPS when running it in the above post)  Unfortunately 90% + of new laptops come with this new "hybrid" graphics scheme.

Optirun will not run for you, 1) because it isn't installed, and 2) if it were, it still wouldn't work for you as you don't have hybrid graphics.  However, you may be right in the case of some video cards needing it (mesa-utils) for opengl rendering.  I just know that before installing it, my system ran fine.  I'm not quite convinced it is needed for anything other than the "glxinfo" used in the 'inxi' script to detect information about the 'glx' and/or opengl rendering abilities of your video card, which is how I just assumed all of todays cards did the opengl rendering; through the graphics on you card; not using mesa-utils.

But hey, all that said, I could be way off base here!  This is just stuff I've learned/discovered while trying to get hybrid graphics to work on the last couple of laptops.
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

VastOne

mesa-utils will be added to correct the inxi error
VSIDO      VSIDO Change Blog    

    I dev VSIDO