cmd
Forum Replies Created
-
AuthorPosts
-
cmd
ParticipantThis worked fantastically, thanks!
I think my confusion stemmed from not realizing that wide items behave differently in general, and the descriptions of align and text-align in the Common Options section of the manual. Particularly where text-align says it overrides any align setting:
1234567align Align both columns text. Overrides the global setting.0=left align (default), 1=right aligntext-align Align the left column title text. Overrides the global settingand any ALIGN setting.0=left align (default), 1=right alignPerhaps a note about text-align not being applicable to wide items, and a note that
COMMENT
is a wide item would be helpful.Thanks again, Glenn!
cmd
ParticipantHi Glen!
First I didn’t see your response, so sorry for the very late reply: I haven’t caught it happening from a hibernate (but the only hibernate I use on my system is the “built in” one that comes as a part of fast startup.)
The *good* news is: I reproduced the issue *without* DesktopInfo!
(Feel free to stop reading here, the rest is more of just me rubber ducking, but you can rest assured that I’m pretty confident it’s not any issue in or around DesktopInfo)
Bad news is, I reproduced the issue without DesktopInfo 😂. It does seem to happen more often when DesktopInfo is running, so now that’s at least helping me try and track down what’s causing it.
In the last month I did a repair install (e.g.: “in place upgrade”) of Windows on a whim, hoping that would help, but it’s still happening, so I think that it’s got to be some software I’ve got going (or hardware in general.)
This morning I had it happen in a way that was a little different than before. The event log kept going after the hard lock, and there was actually a relevant event when it happened.
1234567891011121314151617181920212223242526272829303132333435- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">- <System><Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331c3b3a-2005-44c2-ac5e-77220c37d6b4}" /><EventID>566</EventID><Version>0</Version><Level>4</Level><Task>268</Task><Opcode>0</Opcode><Keywords>0x8000000000000604</Keywords><TimeCreated SystemTime="2021-12-04T12:45:20.9616045Z" /><EventRecordID>2178</EventRecordID><Correlation /><Execution ProcessID="4" ThreadID="19212" /><Channel>System</Channel><Computer>outrider</Computer><Security UserID="S-1-5-18" /></System>- <EventData><Data Name="BootId">9</Data><Data Name="Reason">6</Data><Data Name="PreviousSessionId">4</Data><Data Name="PreviousSessionType">1</Data><Data Name="PreviousSessionDurationInUs">23630848864</Data><Data Name="PreviousEnergyCapacityAtStart">0</Data><Data Name="PreviousFullEnergyCapacityAtStart">0</Data><Data Name="PreviousEnergyCapacityAtEnd">0</Data><Data Name="PreviousFullEnergyCapacityAtEnd">0</Data><Data Name="NextSessionId">6</Data><Data Name="NextSessionType">0</Data><Data Name="PowerStateAc">true</Data><Data Name="MonitorReason">6</Data></EventData></Event>Now if I can just figure out what those session IDs mean and why that means all the I/O stops 🙂
I appreciate you putting up with me and for all your help, Glenn!
Hope you’re well.
cmd
ParticipantI appreciate the thoughts!
I’ll touch on in it in a minute, but yeah I doubt it’s actually DesktopInfo that’s causing the lockup itself, given the nature of how it stops *everything*. It presents like a bug from something running in kernel space. AFAIK nothing running in user space has been able to cause a hard lock like this since the win 6.0 driver model.
“Serious” stress testing not really, but definitely some benchmarking. (Cinebench, Passmark, Geekbench, those sorts of things.) I also do a fair bit of development on this machine, so its cores get worked out by compiles and the sort. I’m coming up on a year of running this CPU now and haven’t run into any other issues that come to mind anyways.
I will say I’ve updated the UEFI & Chipset drivers a handful of times over the year, and I think (could very well be perception bias) that has reduced the frequency with which I saw the issue.
I just hit 10 days of uptime since disabling DesktopInfo, which I certainly hadn’t managed to do in the past year. I’m due for a reboot for Windows updates, so I think I’ll start experimenting some: I’ll disable basically everything in my .ini, and every few days I don’t experience the issue, I’ll re-enable a chunk and see if I can narrow down where I may be having the problem from.
Anyways, back to my kernel guess — If it’s not hardware related, my gut instinct is a race condition in the kernel with either the network interfaces section (due to me having several ‘virtual’ interfaces due to vmware workstation that don’t behave like typical hardware) or some of the WMI calls (of which I have several that update at
interval:0
, so they’d only run on a hard refresh like seems to happen on resuming from low power states, whatever happens to trigger it then.cmd
ParticipantI see it didn’t like the attaching of the ini directly, I’ve zipped it and attached it.
As well, I thought perhaps it pertinent to provide some information about the hardware I’m experiencing this on:
ASUS TUF Gaming X570-Plus (Wi-Fi)
Ryzen 5950X (Running at standard clock speed, no PBO.)
32 GB RAM @ 3200 MHz (Standard XMP profile.)
GeForce 2080 Ti (Standard clocks. Resizable BAR is enabled.)
UEFI Boot, Virtualization enabled, currently running Win 11 21H2 22000.258Attachments:
cmd
ParticipantHi Nathan,
You think it’s funny that it still looks like Windows 10 — look at the
ReleaseId
key — the second half of 2020, despite yourDisplayId
showing 21H2! 🙂Anyways, here’s my solution to get all the build info so far. It’s a bit verbose, but works on all the machines I’m using it on!
123456789101112131415161718192021222324252627282930# windows configurationWMI=hidden:1,interval:0,namespace:root\cimv2,query:Win32_OperatingSystem,set:OSSku,display:%caption%WMI=hidden:1,interval:0,namespace:root\cimv2,query:Win32_OperatingSystem,set:OSArch,display:%OSArchitecture%WMI=hidden:1,interval:0,namespace:root\cimv2,query:Win32_OperatingSystem,set:OSVersion,display:%Version%WMI=hidden:1,interval:0,namespace:root\cimv2,query:Win32_OperatingSystem,set:OSInstallDate,display:%InstallDate_month%[mmm] %InstallDate_day% %Installdate_year% %Installdate_hour%[1.0a]:%Installdate_minute%[2.0d] %Installdate_hour%[2.0p]REG=hidden:1,interval:0,value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DisplayVersion,set:ReleaseIDREG=hidden:1,interval:0,value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\UBR,set:UBRIF=value1:%ReleaseID%,value2:,comp:eqREG=hidden:1,interval:0,value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId,set:ReleaseIDIF=value1:%UBR%,value2:,comp:neSET=key:UBR,value:.%UBR%OSBUILD=hidden:1,interval:0,set:OSBuild,display:Version %ReleaseID% Build %OSVersion%%UBR%# later in the file...# asset informationCOMMENT=text:COMMENT=text:%FullUser%,color:%Header%COLOR=%Highlight%COMMENT=text:%Manufacturer% %Model%COMMENT=text:%OSSku% %OSArch%COMMENT=text:%OSBuild%COMMENT=text:Installed: %OSInstallDate%COMMENT=text:BIOS revision: %SMBIOSBIOSVersion%COLOR=%Default%It grabs most things it can from WMI, the OS display name, arch, version (this is the main one, will be the 10.0.xxxxx), install date.
Then it gets the release ID from the registry. (This is the ‘feature set’ that will be the 1903/20H1/21H1, etc.) It gets it from the keyDisplayVersion
. However that key wasn’t the one that windows used to use, having moved from theReleaseId
key. So later it will check to see if the value it got fromDisplayVersion
is empty, and if so, get the value fromReleaseId
Lastly, it gets theUBR
key. TheUBR
is the.xxx
that gets added on to the version shown inwinver
and the sort. That’s another key that wasn’t always there (can’t quite remember when it was added), so if it’s empty I let it stay empty. Otherwise the lastIF
sets it to it’s value with the preceding.
, so it looks nice tacked onto the osbuild printout.I’ve attached a screenshot of what the output looks like.
Attachments:
cmd
ParticipantIncredible! I wish everything had the same sort of turnaround you do, Glenn. Thanks a heap!
cmd
ParticipantAwesome news, Glenn!
I’ll keep my eye open for the next release and will see if I can reproduce it at all and let you know if it got fixed along the way!
Cheers
cmd
ParticipantHey rtruss, I appreciate that workaround. I was more demonstrating the stack overflow, as it seems to happen with any time I use multiple sets from a WMI query.
I did manage to work around it for my use case too: if I break each WMI query set into a single set per query, using
display
and a single, non-‘equals’ set like so:123WMI=hidden:1,interval:0,namespace:root\cimv2,query:Win32_ComputerSystem,set:FullUser,display:%UserName%Everything works like I’d expect!
Obviously there’s un-needed overhead in running the query multiple times, but the majority of the data I’m collecting I’m doing with
interval:0
, so it’s a relatively small issue for now!cmd
ParticipantLooks like between updating to 2.10 (for real!), and re-building my ini bit by bit things seem to be happy now! Thanks so much for the help!
cmd
ParticipantDoesn’t look like I can edit my previous post, but: You having me check my version is definitely something: I thought I had updated to 2.10.1.3742, but I must have had it running when I tried to paste the files in! I’m on that version now and not seeing it show up at all, so I’ve broken something else for sure, too!
-
AuthorPosts