after i finish the installion, i try to run it, it just pop up the cmd for 1-2sec, and is close.
are there any solution for this ?
after i install in win11 cant running the program
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.
after i install in win11 cant running the program
Re: after i install in win11 cant running the program
Go to your Faceswap folder, find the file called something like "faceswap_gui_launcher.bat".
Open the file in notepad, and copy the text.
Open up command prompt and paste the text
Look at what the error is and paste it here.
My word is final
Re: after i install in win11 cant running the program
I got the same question,the installer version is 2.10.0 in windows11 preview(22631.1972)
CMD just flash in about 0.5s.I use OBS record in slow motion
"OSError: exception: access violation reading 0XFFFFFFFFFFFFFFFF"
Re: after i install in win11 cant running the program
Setting Faceswap backend to DIRECTML
Traceback (most recent call last):
File "C:\Users\gsj88\faceswap\faceswap.py", line 12, in <module>
from lib.cli import args as cli_args # pylint:disable=wrong-import-position
File "C:\Users\gsj88\faceswap\lib\cli\args.py", line 23, in <module>
GPUS = GPUStats().cli_devices
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 493, in init
super().init(log=log)
File "C:\Users\gsj88\faceswap\lib\gpu_stats\_base.py", line 95, in init
self.initialize()
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 549, in initialize
self.devices = self._get_devices()
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 532, in get_devices
adapters = Adapters(log_func=self.log)
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 319, in init
self.devices = self.process_adapters()
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 472, in process_adapters
is_d3d12 = self.test_d3d12(adapter)
File "C:\Users\gsj88\faceswap\lib\gpu_stats\directml.py", line 432, in _test_d3d12
success = factory_func(adapter,
OSError: exception: access violation reading 0xFFFFFFFFFFFFFFFF
Re: after i install in win11 cant running the program
This is DirectML failing, when testing if your GPU is DirectX12 compatible.
Are your GPU drivers up to date? Which GPU are you using?
My word is final
Re: after i install in win11 cant running the program
I have the same issue since the last update.
I'm Using DirectML
CPU Ryzen 3900X
GPU is AMD RX 6900 XT
Re: after i install in win11 cant running the program
FYI
I have the same probrem now.
GPU : Radeon 680M integrated in Ryzen 7 7735HS
Using the latest GPU driver(Adrenalin 23.5.2)
I tried on Intel Core-i7 8559U too and the same result.
By the datasheet, both GPUs support DirectX12.
Re: after i install in win11 cant running the program
Ok, I will look into this shortly.
_Edit
Removed link to old installer as no longer necessary
My word is final
Re: after i install in win11 cant running the program
Ok, this looks like a breaking change in Python 3.10. I am looking into it, but it is likely to take a while as this code is not... straightforward.
My word is final
Re: after i install in win11 cant running the program
Managed to fix this quicker than I expected.
If you are still on latest version, then the following will pull in the fix:
Start > Anaconda Prompt
Code: Select all
conda activate faceswap
cd faceswap
git pull
Otherwise probably best to just do a clean install with latest installer and it will get pulled in.
https://github.com/deepfakes/faceswap/r ... up_x64.exe
My word is final
Re: after i install in win11 cant running the program
Thanks a lot for quick fix.
I could start gui tool.
Re: after i install in win11 cant running the program
torzdf wrote: ↑Thu Jul 06, 2023 10:36 amManaged to fix this quicker than I expected.
If you are still on latest version, then the following will pull in the fix:
Start > Anaconda Prompt
Code: Select all
conda activate faceswap cd faceswap git pull
Otherwise probably best to just do a clean install with latest installer and it will get pulled in.
https://github.com/deepfakes/faceswap/r ... up_x64.exe
Thanks a lot.it works.
But i have a another question.when Extra face,it still works in cpu not gpu,how can i change dml device to gpu
Re: after i install in win11 cant running the program
Start a new thread and post this information:
My word is final