lltcggie / waifu2x-caffe

waifu2xのCaffe版
MIT License
8.04k stars 839 forks source link

Process Hang, Requires Hard Reset #83

Open ghost opened 7 years ago

ghost commented 7 years ago

Every time I launch waifu2x-caffe.exe, the process hangs. The window never appears, but the process does show up in task manager. The process cannot be terminated via taskkilleven with /f /t (force and kill child process) switches (task manager fails as well, as does process explorer). System shutdown or reboot fails (including with /force). Guessing stuck IO, but I'm not certain.

waifu2x-caffe-cui.exe opens the command window, but then displays the same behavior as above when attempting to exit the window.

Only way out seems to be a hard reset.

EDIT: To add to this - the converter-only and koroshell versions operate normally, no hangs.

YukiSakuma commented 7 years ago

Do you have Microsoft Security Essentials installed and running? Try killing the process msmpeng.exe if you have it using procmon as you can't kill it in Task Manager.

ghost commented 7 years ago

@YukiSakuma No, I don't. I'm using Kaspersky - and that process isn't running. Unfortunately it's kind of hard to test, since I can't replicate the issue in a VM and doing it on my desktop system risks desyncing my RAID (again), which is a 2-day rebuild.

YukiSakuma commented 7 years ago

Open up process explorer and waifu2x-caffe and then ctrl+f search "waifu2x-caffe", see if there's any unusual process trying to "hang" it.

ghost commented 7 years ago

@YukiSakuma Nothing at all. Nothing hanging it, no child process. Just it.

YukiSakuma commented 7 years ago

Did you try older versions of w2x caffe?

ghost commented 7 years ago

@YukiSakuma No, I haven't. I was hoping it was a known issue with some potential workaround. Unfortunately I can't really test either, with the above RAID issue.

rombat commented 5 years ago

I have the exact same issue. And what's weird is that I tried waifu2x-caffe for the first time this morning (fresh CUDA install) and it was working just fine. And after a reboot, it's not working anymore. The process is launched but I can't see anything and can't kill it.

nagadomi commented 5 years ago

I guess it's a GPU driver problem. The installed driver will be applied at reboot. Installing the latest driver that is compatible with your GPU may solve it.