Skip to content

GPU not showing up #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ItsMe-TJ opened this issue Sep 20, 2023 · 22 comments · Fixed by #89
Closed

GPU not showing up #73

ItsMe-TJ opened this issue Sep 20, 2023 · 22 comments · Fixed by #89
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ItsMe-TJ
Copy link

ItsMe-TJ commented Sep 20, 2023

I decided to give this client a try, as I absolutely hate the .bat file system in regular DFL.
I am however having an issue where the GPU won't show up, It's not saying that It can't detect a GPU, It's just loading forever with the blue spinning circle.

And yes, using regular DFL It asks me whether or not I want to use my CPU or GPU. I know other people had similar issues and that was a question you asked but never got a response.

@Lenny4
Copy link
Owner

Lenny4 commented Sep 26, 2023

Hi @ItsMe-TJ

Can you provide your system configuration ?

windows 10 ? 11 ? linux ?

@Lenny4 Lenny4 added the bug Something isn't working label Sep 26, 2023
@Lenny4 Lenny4 self-assigned this Sep 26, 2023
@ItsMe-TJ
Copy link
Author

Hi @ItsMe-TJ

Can you provide your system configuration ?

windows 10 ? 11 ? linux ?

Windows 11.

System Specs, If you need them

RTX 3080
32GB RAM
AMD Ryzen 3950x

@Lenny4
Copy link
Owner

Lenny4 commented Sep 30, 2023

@ItsMe-TJ

Can you try this version and tell me if it solve the issue. Please note that the GPU may take up to 10s before showing up.

Release.zip

@Lenny4
Copy link
Owner

Lenny4 commented Oct 3, 2023

@ItsMe-TJ up

@Keyko716
Copy link

Keyko716 commented Oct 6, 2023

i have the same issue
i try your version it still happen
"No CPG Detected on your machine"
How Can i do

GTX4080
i7_13700
64gb ram

@ItsMe-TJ

Can you try this version and tell me if it solve the issue. Please note that the GPU may take up to 10s before showing up.

Release.zip

@ItsMe-TJ
Copy link
Author

ItsMe-TJ commented Oct 6, 2023

@ItsMe-TJ

Can you try this version and tell me if it solve the issue. Please note that the GPU may take up to 10s before showing up.

Release.zip

I tried this version, and It's still not detecting the GPU, I waited 2 minutes and It's just the spinning blue circle.

@Lenny4
Copy link
Owner

Lenny4 commented Oct 6, 2023

i have the same issue i try your version it still happen "No CPG Detected on your machine" How Can i do

GTX4080 i7_13700 64gb ram

If you got "No CPG Detected on your machine" it's not the same issue. @ItsMe-TJ has the spinning blue circle which never end. @Keyko716 open another issue please

@Lenny4
Copy link
Owner

Lenny4 commented Oct 7, 2023

@ItsMe-TJ, can you try this Release please.
I did not solve the problem but this version will log what happen.

Once you start the app, go to Create a workspace and let the spinning circle spin for at least 20seconds.

Then go to the folder log
image
which will be created after you run the app.

Inside you will find a file with the current date like this:
image

Please send me this file

Release.zip

@ItsMe-TJ
Copy link
Author

ItsMe-TJ commented Oct 9, 2023

@ItsMe-TJ, can you try this Release please. I did not solve the problem but this version will log what happen.

Once you start the app, go to Create a workspace and let the spinning circle spin for at least 20seconds.

Then go to the folder log image which will be created after you run the app.

Inside you will find a file with the current date like this: image

Please send me this file

Release.zip

Here it is! Hope it helps!

2023-10-09_15-24-34.925463.txt

@Lenny4
Copy link
Owner

Lenny4 commented Oct 11, 2023

We will try several things:

first

Can you open a terminal and launch the command:

E:\Deepfake\DeepFaceLab_NVIDIA_RTX3000_series\python-3.6.8\python.exe --version

You should have the result Python 3.6.8.

image

On the image I used my own path which is C:\Users\alexa\Documents\_internal_directX12\python-3.6.8\python.exe --version but you have to use E:\Deepfake\DeepFaceLab_NVIDIA_RTX3000_series\python-3.6.8\python.exe --version

Please send me a screenshot of your result

second

Does DeepFaceLabClient and DeepFaceLab_NVIDIA_RTX3000_series are installed on the same disk ?

I see that DeepFaceLab_NVIDIA_RTX3000_series is on your E disk. Is DeepFaceLabClient also on E disk ?

Can you try to move DeepFaceLab_NVIDIA_RTX3000_series somewhere in your C disk and change the installation folder in DeepFaceLabClient

image

Tell me if you still have the problem

@ItsMe-TJ
Copy link
Author

@Lenny4

Yes, both DeepFaceLab and DeepFaceLabClient are on the same disk.
Moving them both to the C drive didn't work.

python

@Lenny4
Copy link
Owner

Lenny4 commented Oct 16, 2023

Well I don't know how to fix this. If I had access to your computer I could do some test.

@Lenny4 Lenny4 added the help wanted Extra attention is needed label Oct 16, 2023
@ItsMe-TJ ItsMe-TJ reopened this Oct 16, 2023
@nitatemic
Copy link

I have the same issue

Windows 11 Pro 23H2
Intel 8700
RTX A4000 (Driver 546.01)

@Lenny4
Copy link
Owner

Lenny4 commented Dec 11, 2023

@nitatemic

  • does it is loading forever with the blue spinning circle.
  • or it says no gpu found
    ?

@Lenny4
Copy link
Owner

Lenny4 commented Mar 6, 2024

I start working on this bug again because of #77.

@ItsMe-TJ can you also try test-fix-gpu-1.zip and tell me if it's solve the problem

@ItsMe-TJ
Copy link
Author

ItsMe-TJ commented Mar 6, 2024

I start working on this bug again because of #77.

@ItsMe-TJ can you also try test-fix-gpu-1.zip and tell me if it's solve the problem

I gave it a try, and unfortuntely It's still just spinning forever.

@Lumerica
Copy link

Hi I just was going to give this a try, and i have the same issue, blue endless spinning icon.

I'm on windows 10 gpu is 4090.
Can you tell me how to enable verbose mode so that I can see what its trying to do? it might give some hint.

@Lumerica
Copy link

Lumerica commented Oct 20, 2024

Have yet to figure out how DFL itself works so here I will say I think I found solution.

After monitoring the process what is happening I think I found the cause/solution.
It seems that the client does not make use of the environment bat file or something, i am not sure what is happening there as I would expect some more errors to appear. If the client uses the python/environment of the actual host instead of the environment in the DFL setenv.

So to solve this problem. First make sure you close and kill all python process because if you opened the client once and close it. There will still be a background process running that is in an endless loop trying to retrieve devices.

Then open CMD -> go to your DFL directory -> open setenv.bat
Then without closing the CMD screen (as the idea here is to have the environment variables needed for this client to use).
navigate to your DFL client directory within CMD and start the client executable and done.

In a nuttshell:
CMD:
call <whatever drive +path to your DFL extract>\_internal\_internal\setenv.bat
<whatever drive + path to the DFL client>\DeepFaceLabClient.exe


Result:
image

@Lenny4
Copy link
Owner

Lenny4 commented Oct 20, 2024

What a god !

I will try to change the code so that setenv.bat will be use without having to call it in the cmd.

@Lenny4
Copy link
Owner

Lenny4 commented Oct 20, 2024

@Lumerica
@ItsMe-TJ
@nitatemic
@Keyko716

Can you try
DeepFaceLabClient-windows.zip

and tell me if the issue is solved ?

@Lumerica
Copy link

@Lenny4 Works for me :)
Btw is it possible to add in the next release whenever you have time a way to log more details or perhaps in settings allowing the the debug/trace to be set to certain level in case of issues? :D

@Lenny4
Copy link
Owner

Lenny4 commented Oct 21, 2024

@Lumerica maybe not in the next release but I will try to implement it soon

@Lenny4 Lenny4 linked a pull request Oct 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants