ekknod / pcileech-wifi

pcileech-fpga with wireless card emulation
https://github.com/ufrisk/pcileech-fpga/
301 stars 91 forks source link

Extreme slowdowns/Blank display on boot/reboot after device is installed on Windows #23

Closed windows-fryer closed 2 months ago

windows-fryer commented 5 months ago

After flashing the card and Windows has installed the device, rebooting will cause extreme slowdowns while loading windows and for the first few minutes of the OS running!

My personal work-around is by using a script to uninstall the device whenever I turn off my PC:

foreach ($dev in (Get-PnpDevice | Where-Object {$_.Name -like "DEVICE NAME"})) {
    &"pnputil" /remove-device $dev.InstanceId;
}

Oddly enough, uninstalling the device immediately fixes the issue and uninstalling (i.e. above) before the Windows boots will also fix it. I still have odd audio stuttering every now and then (~1-5 minute intervals just a quick stutter) with the ghetto solution.

The hardware I'm running is a MSI Z690, Intel i5-13600KF, CaptainDMA Screamer Squirrel

windows-fryer commented 5 months ago

Further remarks are that I've found an oddity with disabling and enabling virtualization, without it on I'm unable to get past the display driver initialization on NVIDIA's latest display drivers. With it enabled I experienced the slowness I've remarked before. Very interesting!

I've tested this on the stock of stock build of pcileech-wifi the same issues occuring every time without fail.

windows-fryer commented 4 months ago

After further investigation into this issue I've found that it is caused by the "NVIDIA Local System Container" service crashing on boot. Whenever the drivers are uninstalled although, core windows services will take its place in crashing.