Page 1 of 1
Problem installing plaidml
Posted: Tue Nov 12, 2019 6:57 pm
by kalimerox
looks like i have a graphics card problem with my install on manjaro.
when starting faceswap i get this:
python faceswap.py gui
Setting Faceswap backend to AMD
11/12/2019 19:45:45 INFO Log level set to: INFO
11/12/2019 19:45:46 INFO Setting up for PlaidML
11/12/2019 19:45:46 ERROR Failed to automatically detect your GPU.
11/12/2019 19:45:46 ERROR Please run plaidml-setup
to set up your GPU.
running plaidml-setup I get:
Default Config Devices:
No devices.
Experimental Config Devices:
llvm_cpu.0 : CPU (LLVM)
Using experimental devices can cause poor performance, crashes, and other nastiness.
Enable experimental device support? (y,n)[n]:
so I m not sure what to do. I guess my gpu (amd rx480) is not supported, or i have installed the wrong drivers...
I would also like to install just for test reasons, if just running on cpu is possible/easier I would just do that (it s an older i7 cpu..)
Re: [Guide]Linux Install Guide: Installer Method
Posted: Wed Nov 13, 2019 10:21 am
by kalimerox
a little update, I think this worked!
Experimental Config Devices:
llvm_cpu.0 : CPU (LLVM)
Using experimental devices can cause poor performance, crashes, and other nastiness.
Enable experimental device support? (y,n)[n]:y
Selected device:
llvm_cpu.0
Almost done. Multiplying some matrices...
Tile code:
function (B[X,Z], C[Z,Y]) -> (A) { A[x,y : X,Y] = +(B[x,z] * C[z,y]); }
Whew. That worked.
will try use it now that way and will give feedback...
edit:
trying to extract now i see there seems to be aproblem (guess this is still installation related, otherwise i open a new thread in that sub forum..)
the log says:
11/13/2019 11:27:42 INFO Loading Detect from S3Fd plugin...
11/13/2019 11:27:42 INFO Loading Align from Fan plugin...
11/13/2019 11:27:42 INFO Loading Mask from Extended plugin...
11/13/2019 11:27:42 WARNING No GPU detected. Switching to CPU mode
11/13/2019 11:27:42 INFO Starting, this may take a while...
11/13/2019 11:27:42 INFO Initializing S3FD (Detect)...
11/13/2019 11:27:42 INFO Opening device "llvm_cpu.0"
11/13/2019 11:27:43 INFO Initialized S3FD (Detect) with batchsize of 4
11/13/2019 11:27:43 INFO Initializing FAN (Align)...
11/13/2019 11:27:45 INFO Analyzing Ops: 169 of 200 operations complete
11/13/2019 11:27:50 INFO Analyzing Ops: 661 of 3641 operations complete
11/13/2019 11:27:52 INFO Analyzing Ops: 1929 of 3641 operations complete
11/13/2019 11:27:54 INFO Analyzing Ops: 3183 of 3641 operations complete
Process exited.
Re: Problem installing plaidml
Posted: Thu Nov 14, 2019 8:48 pm
by kilroythethird
I moved your question into its own topic
You are missing an opencl driver.
LLVM is CPU based, you don't want that.
You need to install the OpenCl driver from amdgpupro http://support.amd.com/en-us/kb-article ... Notes.aspx
If there is a package in your repository manager for amdgpuPro-opencl that would be the preferred way.
Otherwise download the ubuntu driver and run ./amdgpu-pro-install -y --opencl=pal,legacy --headless
This will only install the opencl part and nothing else, which is what you want as the rest sucks 
E: Sorry i just now realized you are using manjaro.
The easiest with manjaro is to get it from the AUR.
- Allow AUR in pamac if you don't have that already and install the "opencl-amd" package.
Re: Problem installing plaidml
Posted: Mon Nov 18, 2019 11:32 am
by kalimerox
thank you for your answer! I will try that when I m back on my desktop!
Re: Problem installing plaidml
Posted: Sun Feb 02, 2020 6:34 pm
by kalimerox
just realized I asked here a similar question a while ago to the problem i run in again now, sorry for that.
I did install opencl-amd but it did not change anything, is there something else i need to do to get it running?
Re: Problem installing plaidml
Posted: Mon Feb 03, 2020 5:42 pm
by kalimerox
for the sake of completeness, here is the new crash report. thanks!
Re: Problem installing plaidml
Posted: Mon Feb 03, 2020 5:44 pm
by torzdf
[mention]kalimerox[/mention]
This is a different issue. There is a problem with your video file. See here:
viewtopic.php?f=5&t=345
Re: Problem installing plaidml
Posted: Mon Feb 03, 2020 8:32 pm
by kalimerox
Thank you!
I checked different video files and it seems the problem i have (freezing of the computer till cold restart) persists with different video files. also with a file I extracted before on my laptop system (where i could only use cpu... )
so I m not sure exactly where to start. I m not sure if the freezing will be represented in the crash file, nevertheless I put the latest log file here.
I will keep testing with different files.
Re: Problem installing plaidml
Posted: Mon Feb 03, 2020 10:00 pm
by torzdf
Again that crash report is an issue with the video file.
I'm locking this thread, as this is off topic.