Hi, I have been trying to install faceswap on a different drive and it had been working good previously. I uninstalled it on the other drive and installed it on the new one. However when I click the gui launcher file the command line opens and then immediately closes and the gui never comes up. I followed all the steps in the FAQ for the gui not launching but it didn't help. I have tried installing for Nvidia GPU and CPU and both had the same issue I would send a log file but I don't know where I would get one. Let me know if you need more information or have a possible fix.
GUI Doesn't Launch
Read the FAQs and search the forum before posting a new topic.
Please mark any answers that fixed your problems so others can find the solutions.
Re: GUI Doesn't Launch
Go to the faceswap folder, and look for a file called (something like) gui_win_launcher.bat.
Open the file in notepad and copy the contents.
Open up a command prompt and paste the contents of the file and press enter. You should now be able to see the issue without the window closing.
My word is final
Re: GUI Doesn't Launch
Unfourtantly that doesn't work. It sends out this message and doesn't launch. From my limited understanding it sounds like something wrong with MiniConda but I could be wrong.
"C:\Users\(removed)\Miniconda3\scripts\activate.bat" && conda activate "faceswap" && python "F:\faceswap/faceswap.py" gui
Setting Faceswap backend to CPU
Traceback (most recent call last):
File "F:\faceswap/faceswap.py", line 6, in <module>
from lib.cli import args as cli_args
File "F:\faceswap\lib\cli\args.py", line 22, in <module>
GPUS = GPUStats().cli_devices
File "F:\faceswap\lib\gpu_stats.py", line 76, in init
self.initialize(log)
File "F:\faceswap\lib\gpu_stats.py", line 204, in initialize
self.get_handles()
File "F:\faceswap\lib\gpu_stats.py", line 255, in get_handles
self.handles = [pynvml.nvmlDeviceGetHandleByIndex(i)
File "F:\faceswap\lib\gpu_stats.py", line 255, in <listcomp>
self._handles = [pynvml.nvmlDeviceGetHandleByIndex(i)
File "C:\Users\(removed)\MiniConda3\envs\faceswap\lib\site-packages\pynvml.py", line 814, in nvmlDeviceGetHandleByIndex
_nvmlCheckReturn(ret)
File "C:\Users\(removed)\MiniConda3\envs\faceswap\lib\site-packages\pynvml.py", line 310, in _nvmlCheckReturn
raise NVMLError(ret)
pynvml.NVMLError_NotSupported: Not Supported
Re: GUI Doesn't Launch
No, that's exactly what we wanted. It tells us why the GUI isn't launching.
What GPU do you have? You GPU is either unsupported or you have a driver/hardware issue.
My word is final
Re: GUI Doesn't Launch
Yeah I have an RTX 3000 series which is why I was setting it to work with the CPU. Can I not use faceswap with the CPU if I have a 3000 series GPU?
Re: GUI Doesn't Launch
You can. This pynvml.NVMLError_NotSupported: Not Supported
suggests your drivers are not up to date.
Otherwise:
viewtopic.php?f=4&t=1226
My word is final
Re: GUI Doesn't Launch
Strange my drivers are up to date and I even did a clean install. Guess I'll check out the other guide.