axodox / unpaint

A simple Windows / Xbox app for generating AI images with Stable Diffusion.
Other
273 stars 12 forks source link

[Bug] Nvidia device being ignored (but works forcibly) #16

Closed ke1ne closed 1 year ago

ke1ne commented 1 year ago

I have an integrated AMD and discrete Nvidia graphics (laptop). By default, Unpaint uses AMD, and it don't "see" Nvidia at all. However, I was able to force it in Windows Graphics settings, and after that, it worked. P.S. It could be useful to show some system info in Settings section or something; like GPU detected, RAM/VRAM used, etc.

axodox commented 1 year ago

Yes, absolutely GPU select will be added.

Does AMD work? - I do not have any AMD HW, although it worked today on the Xbox.

ke1ne commented 1 year ago

Does AMD work?

Well, it hanged and crashed on some denoising stage.

rt121212121 commented 1 year ago

I have the same setup, with Ryzen 7 5000 series and RTX 3700 laptop. It just errored confusingly with "generation failed". Going into graphics settings and selecting store applications then unpaint and setting it to Nvidia worked as described above. The images look like something distorted out of a nightmare for me but probably PEBKAC, not as nice as yours :-)

Bravesun commented 1 year ago

Same here. Integrated AMD Radeon GPU (power saving) with an Nvidia 3070 laptop GPU (high performance). I get "Generation Failed" immediately. Followed the steps above to change the GPU to the Nvidia one in the Windows graphics settings and it works perfectly.

axodox commented 1 year ago

I will add a GPU selector when I have some time. It can be then given to the DML (DirectML) provider in axodox-machinelearning / OnnxEnvironment, so it will use the specified device.

axodox commented 1 year ago

It will look like this (CI still going): image

axodox commented 1 year ago

Ready to download.

DoneAndDoneGIF

ke1ne commented 1 year ago

@axodox works!