dynamiquel / NVIDIA-Ansel-AI-Enhancer

NVIDIA Ansel AI Enhancer is an app I quickly made that takes advantage of NVIDIA’s Ansel RTX AI Up-Res to allow users to upscale any image to 8K whiles adding further quality.
MIT License
139 stars 8 forks source link

2060S not detected, 1660S detected #8

Open Horat1us opened 3 years ago

Horat1us commented 3 years ago

I have RTX2060S and GTX1660S in my PC (one card per monitor). I open this app on display connected to 2060S, but app detects only 1660S with partial support. изображение изображение Also, I configure Windows use 2060S for graphics in your app: изображение

Horat1us commented 3 years ago

But enhancement was done on 2060S: изображение

dynamiquel commented 3 years ago

Thanks for this info. I thought I fixed this problem but it seems I made a slight slip-up with one line of code. For now, you should be able to check the 'Force Mode' checkbox, which basically tells the program "Trust me, I have an RTX card".

The app doesn't actually choose which display adapter to use for processing. The NVIDIA app itself decides which display adapter to use. The app simply tells you what you can do (which is evidently bugged).

https://github.com/dynamiquel/NVIDIA-Ansel-AI-Enhancer/blob/cb312680ee4a73dbfaf5d136b1883a881854125d/NVIDIA%20Ansel%20AI%20Up%20Res/MainWindow.xaml.cs#L240

should be: graphicsAdapters = graphicsAdapters.OrderBy(o => o.SupportLevel).Reverse().ToList();