Commit graph

1726 commits

Author SHA1 Message Date
Harald Hope 55d7875ba5 New version, new tarball. More optimizations, and fixed a bash 4 syntax regression that
would have caused failure on older systems. Also added Bash version checker.

Most ps aux data is now searched using bash parameter expansion, and several functions
that were in subshells are now printing to globals instead.
2017-07-29 16:41:49 -07:00
Harald Hope a29641babe New version, new tarball. This fixes a subtle gawk issue that could in some systems make -G
hang endlessly.

Also started on more optimizing, getting rid of as many subshells as possible.
2017-07-29 12:38:34 -07:00
Harald Hope b2d136761a one more amd fallback case added 2017-07-28 20:36:12 -07:00
Harald Hope 3f5dbc48fb added in some fallback for intel/amd microarchitecture detections to avoid too
many blank items.

As specific ids are generated, these fallbacks should be used less and less over
time.
2017-07-28 20:30:21 -07:00
Harald Hope 910be36724 New version, tarball, man page. More cpu arch fixes, and added stepping/release info
as well so you can see which revision of the cpu microarchitecture your cpu has.

Also fixed a few random vm id issues, I found cases where systemd believes it's bochs
but it is actually kvm, so now the systemd data is not fully trusted, but is confirmed.
2017-07-28 18:42:17 -07:00
Harald Hope c8e57286d9 tiny arm fix 2017-07-28 00:33:06 -07:00
Harald Hope 1f7b2db8e5 New version, new tarball, new man page. First attempt at adding cpu microarchitecture support.
Will need some updates to bring the family/model ids to fully current, but should show data for most
cpus. Next release will hopefully include latest model/family ids and microarchitecture names.

Note that while /proc/cpuinfo has the family/model id in decimal, the values are actually generally
found as hexadecimal, so inxi translates that interally so we can store the data the way it is presented.

See issue #116 for ongoing additions to this feature.
2017-07-28 00:18:42 -07:00
Harald Hope 6d1dad93ee comment fix 2017-07-24 21:34:37 -07:00
Harald Hope 98478ce1ee cleanup 2017-07-24 21:27:34 -07:00
Harald Hope 20ece4a732 bug fix 2017-07-24 21:22:07 -07:00
Harald Hope 847ba186a0 New version, tarball. This fixes a bug where if there is a remote filesystem mounted, the path
would crash gawk when searching for unumounted file systems, eg:

12.34.2.10:/remote/file/system

Fix is to escape '/'.
2017-07-24 21:13:03 -07:00
Harald Hope 33fe10f7ca New version, tarball. This corrects a case I'm seeing where wayland/mir are running desktop
but Xorg has not started, which means inxi can't get the video driver from Xorg.0.log as with X.

Added in extra data collection from lspci -v to include the driver for graphics card. this is
only used, for now, if the initial Xorg based driver test works.

Note that this may also work for systems that have not yet started X out of X, in console, I'm
not sure about that, but the graphics driver reporting should be improved.

Note that I'm not yet linking the driver to the specific card/device, it's just going to show
in a comma separated list, I couldn't find multi card systems where the card types are different,
like amd gpu with nvidia card, for example.

But this should correct an issue, at least to start, with expanding wayland support for systems
that don't use or have not started the desktop with Xorg/X11 etc.
2017-07-23 14:40:53 -07:00
Harald Hope 705094ed10 New version, tarball, man page. Added support for Alpine Linux apk package manager for
the -r option. Fixed typos and glitches in man page as well.
2017-06-29 12:56:23 -07:00
Harald Hope 458f513ffa fixed legacy fluxbox version detection, using -v, which also works on current 2017-06-24 18:41:47 -07:00
Harald Hope e5de0b84e6 also fixed help menu, oops 2017-06-24 18:30:57 -07:00
Harald Hope 90e763a4a7 Slight update to man page as well to reflect recent gfx output changes. 2017-06-24 18:28:24 -07:00
Harald Hope d44070431e Also, changed the slightly inaccurate:
GLX Renderer: .....GLX Version: ....

to

OpenGL: renderer: ...... version: .....
2017-06-24 18:23:17 -07:00
Harald Hope 70d659acdf New version, tarball. Bug fix for GLX/OpenGL output. There was an unhandled case with
core profile data being null, which in turn triggered a bash oddity, where if the IFS is
\n for an array, and if the value of one element is '', then bash ignores that and does
not simply set an empty array key as you'd expect. The correction was to change the IFS
to ^, which worked fine for empty array values.

However, since this bug will impact anyone with empty opengl core profile data, I recommend
updating inxi.

Also, added support for two smaller wm, Sawfish and Afterstep.

This is a good source for lists of wm:  http://www.xwinman.org/ http://www.xwinman.org/others.php

However, that does not show how to ID it, so i have to do it on a case by case, but I'll
add an issue for showing how to get your wm of choice if it's missing to inxi.
2017-06-24 18:16:29 -07:00
Harald Hope d34e621857 New version, tarball. Fix for root graphics/desktop data when not available as root.
Was showing in -S line N/A instead of the fallback Console: tty 1 that would match the
-G no data for root when unavailable for root.
2017-06-13 11:01:24 -07:00
Harald Hope 5e3609a279 New version, tarball, man page. Added floppy disk support, basic, for -d. Fixed a
long-standing issue where /dev/ram.. data shows in unmounted disks output. This is
now properly filtered out.

Note that the floppy disk output has no information beyond it's /dev id, eg: /dev/fd0

I could find no meaningful data in /sys related to the floppy disk, not the model, etc, so
I'm just showing presence of disk.
2017-06-12 18:37:12 -07:00
Harald Hope b0d1e4976a New version, tarball. This version has some bug/edit fixes and a new distro id, mx-version.
Simple.
2017-06-10 21:34:15 -07:00
Harald Hope 3c93de060f slight typo in --help and man page for -! 40 option. 2017-06-10 14:42:49 -07:00
Harald Hope 5030592d8f man page fix, forgot to put one advanced option per item for -G 2017-06-09 12:39:43 -07:00
Harald Hope d6aeb2b9ac one I think final patch to correct tty res for ancient systems. 2017-06-09 12:25:27 -07:00
Harald Hope 1afeb3fc1e New version, tarball, man page. New option -! 34 - skip SSL certificate check on
wget/fetch/curl. This allows systems with for example out of date certificate stores
to still download without error. Also a legacy system fix where tty size failed to show.
2017-06-09 11:55:19 -07:00
Harald Hope 03bfd88be7 bug fix, for legacy systems, they would not have opengl core version
so the test for null had to be revised.
2017-06-09 10:42:02 -07:00
Harald Hope 80fd74c099 tiny man page correction, in fact opensuse does use zypp 2017-06-09 10:17:48 -07:00
Harald Hope 1b0e435d8b bug fix in man page, escaped character wrong 2017-06-09 10:14:28 -07:00
Harald Hope 9e8fe86de6 New version, tarball, man page. Bug fix for issue #105, had core and compat versions reversed.
Also cleaned up man page, slightly changed output for compat version to: (compat-v: 3.0)

gfx variable name fixes to make more obvious the logic as well.
2017-06-09 10:07:40 -07:00
Harald Hope 9fe5b7b1b8 had to remove -B option from glxinfo, already got a user dataset
that shows -B not supported in their relatively recent glxinfo
in their
2017-06-08 22:04:31 -07:00
Harald Hope 49d9d82862 Tiny change, new version, tarball. Tumbleweed distro id fix. 2017-06-08 21:04:08 -07:00
Harald Hope be5714c8b3 small modification,, added -B option t glxinfo to get rid of unneeded output.
Also found a case with intel gpu where glxinfo -display :0 hangs endlessly when out of X.

I assume this is an Intel or glx bug, so I mentioned this in the man page for -! 40 option.
2017-06-08 20:14:16 -07:00
Harald Hope 8d651eb345 New version, tarball, man page. New option -! 40 which lets you get gfx information out of X.
Default will get data from display :0, but if you append :[display-number] to -! 40, it will
use that display instead, for example: inxi -! 40:1 would get information from display 1. Note
that most multi-monitor setups use :0 for both monitors, depending on how it's setup.

This will also let users see any desktop information based on xrop -root output, but it will
depend how it works based on how environmental variables have been set. gnome and kde, which use XDG for
primary detection would not work, for example.
2017-06-08 19:29:55 -07:00
Harald Hope 5c36ac8447 small debugger fix for glxinfo 2017-06-08 18:06:44 -07:00
Harald Hope 64c2c7169d New version, tarball. This corrects an issue I noticed a while ago, glxinfo and xpdyinfo
used to not work as root in X, but they do now. So I've removed the root tests for graphics
output, and now only rely on the returned data to determine the output when in X. Out of X
behavior remains the same.

Note that at some point I'll have to see if wayland systems have usable reporting tools to get
screen resolution, opengl info, and so on, but that will have to come one step at a time.
2017-06-08 17:49:34 -07:00
Harald Hope 12ac640c09 some small naming/man/help changes to make consistent 2017-06-08 16:19:45 -07:00
Harald Hope 0542586dac fixed a variable name 2017-06-08 16:07:54 -07:00
Harald Hope 5b384610a0 New version, tarball, man page. Shows as default OpenGL core profile version number.
-xx option will show OpenGL compatibility version number as well, though that's largely useless
information for most users, thus the -xx. Note that this reverses the default, which previously
showed OpenGL version, which is actually the compatibility version.

This should resolve #105 pull request, though it does it differently, by switching the default
output to what is more relevant, and offering the compatibility version as an optional output item.

Note that much of the glx information will probably change to more neutral terms once wayland support
starts growing, and systems without xwayland etc libraries appear.

Further note that non free drivers showed the OpenGL core profile version numbers all along, so really
this simply corrects misleading output for free drivers.
2017-06-08 15:59:37 -07:00
Harald Hope 51f547c5bb bug fix for aarch64 arm cpu bug, this should complete issue #107 2017-06-06 20:23:25 -07:00
Harald Hope 88cde47144 New version, man page, tarball. ARM cpu core count bug fix. First attempt to add Wayland
and compositor support.

This finally implements a first try at mir/wayland detection, along with basic handling of actual
display server type output.

New output for Display Server:  Display Server: x11 (X.Org 1.19.0) driver: nvidia

Note that since almost all current Wayland systems will have X.org also installed, for the time
being, the data in the parentheses will be from X.org regardless of what display server is detected running
the actual desktop. Out of the desktop, console, the only thing that will show is x data..

No other data is available to me yet until I get way more debugger data so I can see what information the various
implementations of wayland without x tools actually makes available, my guess is it won't be much.

Also experimental -xx option: -G shows compositor, but only for wayland/mir currently.

I have no idea if this will work at all, but it's worth giving it a try as a rough beginning to
start handling the wide range of wayland compositors being created.

This feature will probably take several versions to get stable.

Also added new debugger data collector data for wayland information, but the pickings are slim, to
put it mildly.
2017-06-06 19:05:14 -07:00
smxi 95e75a23b5 Merge pull request #108 from ka7/feature/spelling
spelling fixes
2017-06-06 13:41:13 -07:00
klemens b8f0e675c2 spelling fixes 2017-06-06 22:05:06 +02:00
Harald Hope f9656d4d05 more code cleanup, to make it more clear and obvious re ipv4 and 6 2017-05-31 17:17:54 -07:00
Harald Hope 716f02e5c9 variable name cleanup 2017-05-31 17:14:42 -07:00
Harald Hope fcd2752960 more code cleanup 2017-05-31 17:08:41 -07:00
Harald Hope 53c1ccb58d a few more code cleanups 2017-05-31 17:06:48 -07:00
Harald Hope cc57b5d821 small code cleanup, bug fix 2017-05-31 17:04:52 -07:00
Harald Hope 7b3b51e97a another small oversight, failed to properly assign array separators for ipv6 extra ips. 2017-05-31 16:58:16 -07:00
Harald Hope 8cf20a2c62 tiny code cleanup, no functional difference 2017-05-31 16:54:35 -07:00
Harald Hope 57cd26226e small man page fix, forgot to move the -i valuues to -x -i section 2017-05-31 15:41:17 -07:00