New inxi / pinxi features: user RAM reports! And much more! Testers?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Re the --fake udevadm,that only works if you have the test environment and the debugger data files, what I use to emaulate the various samples here, those files are available from codeberg.org/smxi/pinxi/data/ram/udevadm/ and I'm trying to upload the real data files used to develop in case someone wants to try to work on it other than me, I used to have most of those non-open because it was a pain to go through that stuff and clean it up and organize it, but it's mostly done now so I just add them as I go along.
Thanks, that clears up a question I was going to ask.
BroX, sometimes a version has a bug in it, pinxi is very unstable, although there is actually an even more unstable pure development version I use. I do try to keep pinxi fully working, but during active changes, as we've seen in this thread, sometimes I forget to test a change and it has a glitch. Or it might have been an older version that still had the github url in it.
With a lot of testing, and some best in class bug triggers in the -S Desktop report area, I've gotten a lot of the core refactor bugs and glitches worked out, found some really old bugs that had never been exposed before, until now with a new Hyprland wayland window manager version syntax change, or structure change, finally tracked down that bug.
Because the new features enable new data and reports fairly easily, I'm updating and upgrading a few more items:
The entire Power: section in Info: and the tools: section in System: Desktop are new.
There were also quite a few KDE glitches that have largely been worked out, I hope. Note subtle fixes like numeric sorts of Compilers: alt: item, as well as adding zigcc compiler support for the first time, along with already there Clang.
I haven't come across any further -m udevadm sourced RAM issues, but I think the main ones are going to come from systems with > 4 slots for RAM, and probably > 1 CPUs, so not a lot there for average users now I think will go wrong, hopefully.
I resigned myself to the ship already having sailed re the overall verbosity of the advanced data options, particularly -a, but I do try to keep the basic output modes, no -x or -a, to be similarly short to the original inxi. Or at least recognizably so.
If anyone can think of other power daemons to check for, this is my current list:
That's GNOME, KDE, Xfce, MATE, and some more generic ones. I didn't look into that too much, this is a brand new feature so I'm sure I missed several connected to desktops.
I almost forgot this one, just about to release 3.3.32, but added a udevadm version test (new refactored inxi version tool makes this much easier), and now shows a version too old message for no udevadm data and version less than 249.
This will probably go out the door, i was testing this on older server and it reminded me I'd never handled udevadm version issues explicitly with error messages to inform as to why it didn't get the data, when we discovered here why.
Note I'm maintaining the codeberg mirroring to github for one or two more inxi releases, but the pinxi is not mirrored anymore (though the last version in github has the new update URLs in it, so just takes running -U 2x to get the actually new pinxi).
But packagers probably want to change to the codeberg repo urls if they haven't already.
I'm really not fond of feeding Microsoft's code theft tool copilot this type of code because the problems it solves are not common, so I know if someone asks for a solution related to one of these features, they are likely to get some bad copy of inxi logic, though the good side it's in Perl, so that helps.
Thanks for the crucial help finding the real issues with udevadm RAM, which was one reason i wanted to make sure to add the clear message as to why udevadm may fail to give the RAM, version too low, the Slackware 15.0 version was too low if I remember right, so I wanted that to be clear to Slackware users as to why no RAM specifically with udevadm.
@h2-1 , I am with chrisretusn on the Congratulations & It's break time ...
I Finally Figured out what is meant by your '2x' update with pinxi -U Twice .
Please disregard ... JimL
Tho , When trying to upgrade my inxi using pinxi ...
Undoubtedly I am not doing something correctly .
Code:
# /usr/local/sbin/pinxi -U 2x
Error 10: Unsupported value: 2x for option: U
Check -h for correct useage.
# /usr/local/sbin/pinxi -U2x
Error 10: Unsupported value: 2x for option: U
Check -h for correct useage.
# /usr/local/sbin/pinxi -U
Starting pinxi self updater.
Using curl as downloader.
Currently running pinxi version number: 3.3.31
Current version patch number: 70
Current version release date: 2024-01-23
Updating pinxi in /usr/local/sbin using pinxi main branch as download source...
Validating downloaded data...
Successfully updated to pinxi main branch version: 3.3.32
New pinxi main branch version patch number: 01
New pinxi main branch version release date: 2024-01-30
To run the new version, just start pinxi again.
----------------------------------------
Skipping man download because branch version is being used.
to get current pinxi if you were using an older one:
pinxi -U && pinxi -U
the first updates to the new codeberg URLs, the second updates the actual pinxi.
I don't remember which version I stopped updating the github pinx, maybe 3.3.31-30 or something?
However, you got it since you are now on 3.3.32-1, sorry for being unclear. 2x = do it 2 times, but that obviously wasn't completely obvious. I fall into using shorthand after doing this stuff too long.
Mainly due to the huge number of changes, inxi 3.3.32 went out the door with a ToDo list, but a quick bug report from 3.3.32, which crashes inxi in one corner case, led to my pushing a few new features into inxi, so I can release 3.3.33 in a few days.
Besides the bug fix, I've extended the 'services:' report from just Power: to also Network: Info: item, which is new.
This is the list I'm working off so far, any additional network daemon's/services you can think of that should be included are appreciated so I can get the list as comprehensive as practical.
Adding stuff like this is a lot easier with the new internal refactors, so I figured, why not? Now, if someone has a notion of a valid why not, I'd like to hear that too of course.
The quick point release 3.3.33 is out the door, squeezed in some nice little features, refactors, and tools into it
Hoping I didn't also squeeze in fresh bugs, lol, but you never know. Luckily the changes/refactors were very local, and not wide ranging like in 3.3.32, the latter almost certainly would, and did, contain bugs due to so many core changes. But refreshingly corner case, and easy to fix, no logic errors, just some spare characters left in place in one place.
This will hopefully set the creaking ship inxi onto a reasonably maintainable path into the future, though the large codebase and complexity, plus being in Perl, makes that future less than certain. But all shipshape for the itme being! At least I hope so.
Thanks for the help. The udevadm RAM feature is one that actually still surprises me when I see it running on servers without root, I'm like, oh, I got a RAM report without having root on this machine!! And with the proper RAM Array handling. I have not, by the way, seen that fail yet, but the systems are all too similar to draw any real conclusions from, all supermicro boards, with the exception of some of the ones here, which is partly what makes me hope this may actually cover many if not most complex server/workstation type motherboards.
It's odd, previously the only OS I could get RAM data from as user was OpenBSD, I think they may have used something similar to what udevadm is doing during boot to create a static list of RAM, though it is not, I believe, as granular, but that's fine.
There's not many places where BSD support is ahead of Linux, but there are a few, but now Linux has caught up.
By the way, I was testing the udevadm stuff and found that for example Ubuntu 20.04 based systems shipped with udevadm 245, so this addition is quite recent relatively speaking. The Ubuntu 22.04 LTS release had 249, so had just added it basically. Never did find the exact udevadm version where the ram data was added, but have only seen 249 and 245, nothing in between so far.
However, it won't matter since inxi only shows the too old version if no ram data AND version < 249, so if say, 248 or 246 added it, it will show fine.
Oh, I wish I could have squeezed this into 3.3.34, which was a bunch of smallish fixes across many features.
Can you post a sample file of repositories.toml, the full thing, with any whitespace preserved etc.
Ideally with a few variants of possible repos and syntaxes, if applicable. I'll run that through the repo debugger and post working result, when it's working, of course.
Oh, I wish I could have squeezed this into 3.3.34, which was a bunch of smallish fixes across many features.
Can you post a sample file of repositories.toml, the full thing, with any whitespace preserved etc.
Ideally with a few variants of possible repos and syntaxes, if applicable. I'll run that through the repo debugger and post working result, when it's working, of course.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.