|
Post by abbelyn on Dec 15, 2022 23:28:23 GMT
Out of curiosity, has anyone else seen any issue with reboots not finishing in Win11 22H2 with SIV either running or having been run at all (even if closed)? It is also possible it may have to do with the hardware, (Lenovo Thinkcentre M715Q tiny) but I'm thinking its likely an OS thing.
So the crux of this is that if I have run and closed SIV or have SIV running when I restart (local or domain user) the system never completely powers down though USB connected keyboard and mouse lose power (lights on both go out). If I shut down, or restart before a login has been made, that works correctly. If I log in and run SIV, close it then log out and try a restart from the login screen, it still hangs.
I've done fresh installs of windows and spent hours limiting this issue down and found it is SIV on this system that is causing the issue. It doesn't matter if I run the 32 or 64bit version either (64 bit OS). Any suggestions on this is greatly appreciated, as I use SIV constantly to monitor via my USB display through GOverlay and would like to find a fix for this before I upgrade my gaming PCs down the road.
|
|
|
Post by siv on Dec 16, 2022 8:54:33 GMT
Welcome to the forum, this is quite strange as I have several systems running W11 22H2 and none show this effect. I am currently wondering:
1) Which SIV version are you using? 2) When you exit SIV does the SIV Driver stop? From an admin command window do sc query sivdriver to check. 3) Does Menu->File->Save Local work OK? 4) If you run SIV without it using it's driver (do SIV64X -NODRIVER) does the system shutdown OK? 5) When you do a hot unplug of the GOverlay display does it's service state change from running to stopped? I used to be called libusb0, use Device Manager to check if it still is. 6) If you unplug the GOverlay display device before running SIV does the system shutdown OK? 7) Did the Thinkcentre M715Q used to have W10 and/or W11 21H2 and if so were things OK?
|
|
|
Post by abbelyn on Dec 16, 2022 13:39:26 GMT
Thank you for the quick reply! I've been using this since early 2019, I'm just not one to do forum posting much anymore so I typically only register when there is a need =) 1.) I'm using 5.67. 2.) It does, however it goes to a different state than before it was run. 3.) I got that saved while running normally, added attachment to original post due to attachment limit per post. 4.) Yes, it reboots without issue with -NODRIVER though I saw this also kills the functionality I use it for. Doing a bit further looking, I think this may have to do with the exit codes for the driver, it is different from the starting exit code to after closed when run normally but not when the -NODRIVER is used. Does the driver do this on your other Win11 installs? 5.) It does, this is taken at Goverlay running at LCD plugged in / GOverlay not running and LCD plugged in / GOverlay not running and LCD unplugged 6.) For GOverlay, I've also done a fresh OS install without even having that installed and ran into the same issue. I had two fresh installs of win11 to narrow down what was causing this weirdness. After located I restored my full drive backup and verified that simply not autorunning or running SIV fixed the reboot issue, verifying that no other additional application on my current setup should cause an issue. 7.) The M715Q (two of them) are new to replace very old daily driver PCs so we aren't constantly on our higher powered gaming PCs for non gaming tasks, these are also my first step into Win11 testing so far. I did not test Win10 on them and have not used Win11 prior to latest version so the only ISO I have for installation is the 22H2 at current. I can likely find the 21H2 and try Win10 as well, however I'll need to find a day where I have the time to take a fresh OS backup of Win11 and do the clean reinstalls and be able to reload my backup afterwards. I wonder if there is a way to force unload the driver through command line at log off, so it could be used as normal and on log off it would clear the issue. I tried using taskkill to force close the program and the driver/service is still running, so even stopping that with the sc cmd doesn't change anything in this end result. I found devcon, but don't know enough about the driver to find the full path to see if that might even work. I figured worse comes to worse that would just require a reinstall of SIV to fix if it completely removed the driver.
|
|
|
Post by siv on Dec 16, 2022 19:48:15 GMT
Thank you for your detailed reply and the SIV save file. Doing a bit further looking, I think this may have to do with the exit codes for the driver, it is different from the starting exit code to after closed when run normally but not when the -NODRIVER is used. This is expected 1077 means No attempts to start the service have been made since the last boot. Given SIVDriver exits then it must be some other driver that is stopping the system from shutting down, further as when -NODRIVER is specified the issue goes away it may well be a call SIVDriver makes to another driver that triggers the issue. Pinning down exactly what will be tricky. After pondering things I am wondering: 1) If you start SIVDriver ( sc start sivdriver) then stop SIVDRiver ( sc stop sivdriver) without even running SIV does the system shutdown OK? 2) What happens if you disable the HVM (Core Isolation)? 3) If you boot the W11 22H2 installation device, select recovery then run SIV64X from the command window and do Menu->Machine->Shutdown does the system shutdown OK? What to do next will depend on what happens. While looking at the save file I noted SIV does not report the ITE IT8738 sensors correctly. If you post a screen shot of what the BIOS reports I will try and improve what SIV reports.
|
|
|
Post by abbelyn on Dec 16, 2022 20:35:14 GMT
1.) Starting and stopping the driver from cmd works and reboots as intended. You are likely on the nose for the issue being another driver that is getting called, though it would have to be something that the system normally wouldn't load in order for it to only show up when pulled through SIV.
2.) I disabled core isolation in Win11 and rebooted. Then tried SIV again and got the same hang on the reboot. It is so weird, it drops power to my lighted keyboard and mouse, but not to my USB3/card reader hub. There is no change in hardware I'm using between when it works and when it doesn't.
3.) Just to clarify, shutdown works as intended, even in my OS installed. The issue only happens on reboots. If it wasn't for some things forcing reboots or requiring a reboot over a shutdown and power back on, I wou;dn't have bothered with digging into it =)
I'm not sure what in BIOS the ITE IT8738 chip would be referring to or working off of. I took 9 pics of the various BIOS screens, however the Lenovo BIOS for this is old school and ultra minimalistic....there is no sensor or status type screens to show health or what not. I've attached as two separate zips to get under the 1 MB limit and not flood the post with 9 attachments.
I also just tried to disable a few extra bits in the flags for SIV on start, no change there either unfortunately: siv64x -NOWIZARD -TRAY -SINGLE -LOCAL -NOBALLOON -DELAY=2 -NOLINK -NOLCD
The M715Q as a model was made from 06-2017 to 07-2018, I believe it was likely stopped when their 2nd gen of it came out (Ryzen APUs). Based on this, I grabbed and tested the oldest versions of SIV I could find, 5.46 & 5.38 to see if maybe somewhere additional calls were added for newer hardware that cause issues on this specific system. Unfortunately the same result.
|
|
|
Post by abbelyn on Dec 16, 2022 21:28:59 GMT
Success! I found additional flags for the SIV exe and tried all that seem to disable things: siv64x -NOWIZARD -TRAY -SINGLE -LOCAL -NOBALLOON -DELAY=2 -NOLINK -NOLCD -NOACPI -NOASUS-WMI -NODIMMS -NOECR -NORAID -NOSMART
This worked, and all sensors I used loaded except the ssd/hdd ones. So I removed the -NOSMART from the end and tried again, it reboots now and all the sensors I use work. Not sure which of the additional ones it was, but one of these (or all of them) remedied the issue: -NOACPI -NOASUS-WMI -NODIMMS -NOECR -NORAID
|
|
|
Post by siv on Dec 16, 2022 21:29:44 GMT
Thank you for the screen shots and it looks like the BIOS does not report any of the ITE IT8738 Temperatures, Fan Speeds or Voltages, I will try and improve things for SIV 5.68 Beta-04 and later. Shutdown being OK and Reboot having the issue is very strange. What happens if you boot the W11 22H2 installation device, select recovery then run SIV64X from the command window, do Menu->Machine->Shutdown then press [ Reboot ]? None of the things you disabled will affect which other drivers SIVDriver will call and looking at the save file I think the only driver that SIVDriver will call on your system is AmdPPM, the AMD PRO A10-8770E R7, 10 COMPUTE CORES 4C+6G driver, which if the same as I use on my AMD Ryzen 9 5950X 16-Core Processor system. Do/can you have DBG View? We could use it to get a trace of all the devices SIVDriver accesses by enabling the SIVDriver open tracing. Would you like to try this?
|
|
|
Post by abbelyn on Dec 16, 2022 21:34:04 GMT
I can try using the debugger you linked if you still want to look into this, and I'll try to narrow down with of the additional flags fixed the issue.
Yeah, no issues on my 5800X on my gaming rig, but that is still Win10.
|
|
|
Post by siv on Dec 16, 2022 21:40:09 GMT
-NOACPI -NOASUS-WMI -NODIMMS -NOECR -NORAID -NOASUS-WMI - should not be needed as you don't have a ACPI\PNP0C14\ASUSWMI device. -NODIMMS - should not be needed as SIV directly reads the SMBus -NOECR - I don't think this is needed. -NORAID - should not be needed as you don't have a RAID disk drive.
|
|
|
Post by siv on Dec 16, 2022 21:43:32 GMT
I can try using the debugger you linked if you still want to look into this, and I'll try to narrow down with of the additional flags fixed the issue. Yeah, no issues on my 5800X on my gaming rig, but that is still Win10. Firstly, What happens if you boot the W11 22H2 installation device, select recovery then run SIV64X from the command window, do Menu->Machine->Shutdown then press [ Reboot ]? My AMD Ryzen 9 5950X 16-Core (Vermeer) is running a fully patched Windows 11 x64 Enterprise V10.00 Build 22621 22H2 and it's OK
|
|
|
Post by abbelyn on Dec 16, 2022 21:45:33 GMT
I'll try that, just checked the flags I used and the only additional one needed to reboot successfully was -NODIMMS
I booted from the install disk and got to cmd line and was able to launch SIV. I used the reboot option from inside SIV as directed, same issue as before.
I got to leave for work in like 30 minutes, if you want me to still do the debugger just let me know what to look for from it and I'll get that done tonight or tomorrow. Thanks for all the help =)
|
|
|
Post by siv on Dec 16, 2022 22:04:03 GMT
the only additional one needed to reboot successfully was -NODIMMS Ah, I guess the system does not like one of the SMBus slaves being accessed. Please do SIV64X -DBGSMB -EXIT=10 > SIV_DBGOUT.log | more then use Menu->Tools->Configure->SIV SMBus Setup to add exclusions for the TMP slave addresses which will be in the range 0_18 to 0_1B or just exclude that range. If this does the trick I can get SIV to exclude these by default.
|
|
|
Post by abbelyn on Dec 17, 2022 3:48:52 GMT
Here is that log file. I went in and did the SIV SMBus Setup exclusions as well. Does that save to a local config file or does that change make the -NODIMMS flag no longer needed? I mean for what I monitor I won't likely need it, but hopefully it will help someone else not run into a similar issue later. I only went with Win11 on the daily driver systems so I can get used to the changes and find fixes for things like this that might come up before upgrading my wife's and my gaming rigs in the next month or so. I really do appreciate the time and effort you put into assisting and supporting this program. It has allowed me to go with one program (that doesn't have cost involved like AIDA64) rather than having to use separate programs to monitor different aspects. Attachments:SIV_DBGOUT.log (1.57 KB)
|
|
|
Post by siv on Dec 17, 2022 8:55:05 GMT
Does that save to a local config file or does that change make the -NODIMMS flag no longer needed? The SMBus exclusions are saved in the HKCU\Software\SIV (see Menu->Machine->SIV Setup->SIV Setup Whole) Name SMBus Skip so once added -NODIMMS should no longer be needed, is it? Looking at the end of the log you will see: DIMM SPD Slave 0_50 CMD 00 Numb 256 SPD Slave 0_50 CMD 00 Numb 256 Flag 00000D00 DDR4 Page 6 SPD Slave 0_50 CMD 00 Numb 256 Flag 00000F00 DDR4 Page 7 TMP~ Slave 0_18 CMD 05 Numb 0 Flag 40000000 Status 0006 Time 44 Size 32 word 0000 0000 0000 The SPD is reading the DIMM SPD with the TMP~ being the temperature and the ~ meaning the read failed as your DIMMs don't have MTS support. My guess is that there is a strange device @ 0_18 so SIV should not access this on ThinkCentre M715q systems.
|
|
|
Post by siv on Dec 18, 2022 11:05:31 GMT
Does that save to a local config file or does that change make the -NODIMMS flag no longer needed? I have just uploaded SIV64X 5.68 Beta-04 which should correctly report the ITE IT8738 Temperatures, Fan Speeds and Voltages, does it please? It will also by default exclude the 0_18 to 0_1B SMBus slave addresses so with luck when -NODIMMS is not specified reboot will be OK, is it? This should work even if no exclusions have been added, do reg delete HKLM\Software\SIV /f /v "SMBus Skip" to delete all the exclusions you manually added.
|
|
|
Post by abbelyn on Dec 18, 2022 15:37:12 GMT
I think I got pics of the ITE working, see attached. I didn't get around yesterday to adding the change that would enter the reg entry, so I ensured the whole SIV folder was removed from the registry there and tried with the new beta without the -NODIMMS flag. Reboot issue shows up still. I ensured the mem addresses got re-entered and that the reg keys got updated through SIV SMBus Setup and tried a fresh reboot after that (shut down, then did a reboot), still had the issue. Re-added -NODIMMS and verified issue is gone again.
|
|
|
Post by siv on Dec 18, 2022 16:45:22 GMT
still had the issue. Re-added -NODIMMS and verified issue is gone again. Thank you for checking out the sensors and the numbers look OK to me, do they to you? -NODIMMS still being needed when SIV 5.68 Beta-04 is used does not make sense, I wonder what does Menu->Tools->Configure->SIV SMBus Setup report? Did you do reg delete HKLM\Software\SIV /f /v "SMBus Skip"? Please post the two log files generated doing as below. SIV64X -DBGSMB -EXIT=10 > SIV_DBGOUT_ONE.log | more SIV64X -DBGSMB -NODIMMS -EXIT=10 > SIV_DBGOUT_TWO.log | more The first one will access 0_50 + 0_36 to read the SPD, but I can't imagine this triggering the issue as I expect the BIOS will do much the same when the system posts given it sets up Samsung M471A1K43CB1-CRC #9257-11A9 in the SMBIOS, see [ Machine ].
|
|
|
Post by abbelyn on Dec 18, 2022 17:04:59 GMT
From what I can tell the info looks right to me for the ITE, though I don't have any history to compare it to.
Here is a pic of the reg entries and the cmd to remove not finding that entry =) I figured this way there is no ambiguity as to what is there. To clarify when I added the entries to exclude manually, then added the whole registry entries (and verified they showed in reg), a clean reboot after a shutdown resulted in the same reboot issue I originally had. My guess is the DIMMs in this are just weird. I'll pull the DIMM out and take a pic of it, maybe the make/model might help shed some light.
Added 3 pics of ram
|
|
|
Post by siv on Dec 18, 2022 17:58:29 GMT
My guess is the DIMMs in this are just weird. Thank you for checking things out. Both .LOG files are as I expected they would be so something is very strange with the SMBus DIMM SPD access on this system, I have not come across any other system with a similar issue. For now I guess just use -NODIMMS while I ponder what the root cause of the issue could be. If you run CPUZ does it also trigger the reboot issue? If not what happens if you run SIV (without -NODIMMS), exit SIV, run CPUZ and finally reboot? Given what is happening I expect any version of Windows will suffer the same reboot issue.
|
|
|
Post by abbelyn on Dec 18, 2022 23:32:04 GMT
I'm completely fine using -NODIMMS on this system for this, it is likely just something wonky with Lenovo tiny PCs.
I did the additional testing you suggested with CPU-Z and surprise, it rebooted fine with that. I then loaded SIV64X normally, closed and opened CPU-Z, that rebooted fine. I then opened both of them (normal SIV) and that rebooted. I tested normal SIV64x again by itself and the reboot issue is still there. For a moment I thought that the removal and reseating of the ram may have fixed it, but no.
I can test further if you want to keep digging, but for my use I'm good with the -NODIMMS =) I also added the CPU-Z report in case the additional info it gives may help.
|
|
|
Post by siv on Dec 19, 2022 7:48:35 GMT
I can test further if you want to keep digging Thank you for doing the tests with CPUZ which gave me an idea as to what might be happening. As SIV64X.exe is too big to attach I have emailed you SIV64X.exe 5.68 Test-05 that may make the reboot issue go away, did it get through? To test replace the Beta-04 with Test-05, run SIV64X (without -NODIMMS), confirm [ SPD ] reports the SPD then reboot. If it reboots OK then I can/will explain what the issue with reboot was if you would like to know. With Test-05 the trace should be similar to: DIMM SPD Slave 0_50 CMD 00 Numb 256 SPD Slave 0_50 CMD 00 Numb 256 Flag 00000D00 DDR4 Page 6 SPD Slave 0_50 CMD 00 Numb 256 Flag 00000F00 DDR4 Page 7 TMP~ Slave 0_18 CMD 05 Numb 0 Flag 40000000 Status 0044 Time 8 Size 32 word 0000 0000 0000 SPZ Slave 0_50 CMD 00 Numb 0 Flag 00000D00 DDR4 Page 6 The SPZ at the end is new and resets the SPD page
|
|
|
Post by abbelyn on Dec 19, 2022 12:52:19 GMT
Beta 5 worked! I reran the DGOUT log as well, very similar to what you posted. Without fully understanding how all the sensors read it felt sort of like CPU-Z did some conditioning of the data to allow how SIV read it to not cause the issue when both were run. I'm somewhat technical (15+ years in IT work), but never got into hardware or driver level stuff or any sort of program language....barely even touch hex editors. Attachments:SIV_DBGOUT.log (1.63 KB)
|
|
|
Post by siv on Dec 19, 2022 21:46:16 GMT
Good, but it's Test-05 rather than Beta 5, I will release Beta-05 in a while I expect the reboot issue was down to a getting stuck doing the BIOS post. When you did the reboot I think Windows shutdown OK and then got stuck in the BIOS when SPD page 1 was left selected before the reboot. The change to SIV was to select page 0 and the reason CPUZ made the issue go away is that it selected page 0. Given I have never seen this issue before I feel the Lenovo BIOS could/should allow for page 1 being selected.
|
|
|
Post by abbelyn on Dec 20, 2022 0:31:49 GMT
That is so weird, though in fairness to Lenovo these systems were not designed for home users and most offices wouldn't have had such in depth monitoring software installed most likely. The BIOS team was likely rushed on them and never considered their use after EoL.
|
|