Linux Support (Wine)

No I don’t think NVAPI is relevant as the GPU processing doesn’t work on Linux anyway. You mentioned using the lutris variant of GE-Proton and since I have not tested that I cannot confirm if it works or not. If you’re unable to get your hands on the model files then there isn’t much point in trying to problem solve any further. As far as the install, I don’t know how far you’re getting but it should fail with an error along the lines of “the installer failed unexpectedly” which is when you would kill the install process. If it worked then you should find PhotoAI installed in your program files path for that bottle (without the model files). Beyond that I don’t know what to tell you, it works for me using the setting I provided so it’s at least possible but everyone’s system and setup is different. gl.

Yes, I tried the Lutris version of GE-Proton first but did eventually figure out how to download it from inside Bottles, so that’s what I have been using in recent attempts to install. The installer does indeed fail with the message “the installer failed unexpectedly”, at which point I terminated the process from Bottles as per your guide. I have found some .exe-files and when I run “tpai.exe” it does seem to start the program, but it fails with the error message: “Error | Model directory is empty!”. That seems to be consistent with your description of the process.

So, maybe I have actually managed to install the program except for the model files which seem to be required. If so, perhaps the only remaining stumbling block is to figure out what model files are needed and how to get hold of them. I have no idea how many different model files there are to choose from, nor how to determine which ones should be used. Initially I thought that there would be a limited number of models and that all or most of them would be useful, but if that were the case I don’t see why Topaz Support couldn’t just provide them given that they seemed willing to help. So presumably choosing the right model files is rather complicated and may depend on the particular hardware used…?

Yes it seems like the model files are hardware specific. I have an Intel CPU and NVIDIA GPU and here are the models that get installed for me on Windows:


Hope that helps.

Thanks xioren00topaz!

I have now managed to install Photo AI using your guide and with some help from the Topaz Support team in finding out which model files needed to be downloaded for my hardware.

The Support team suggested that having the installer download the model files automatically might work if one could install wininet and libraries for SSL/TLS. I tried to download wininet under Dependencies in Bottles, but it failed to install for some reason. Anyway, downloading the model files using curl in a shell script worked fine (once I knew which files to download).

One thing I haven’t been able to figure out is how to start the application without first starting Bottles. With Topaz DeNoise AI, I used “flatpak run --command…” but so far I haven’t been able to figure out how to do that for Photo AI. Of course, that’s just a minor inconvenience.

That part works now. The problem was that some directories had been renamed during installation (spaces in directory names were changed to “-”).

I was just able to get Photo AI running (including the installer and download of model-files) without having to move over the install directory from a windows machine. (PhotoAI version 1.1.9)
I’m using the flatpak version of bottles with

  • Runner: Wine-GE-Proton8-24
  • DXVK: 2.3
  • VKD3D: vkd3d-proton-2.10
  • DXVK NVAPI: dxvk-nvapi-v.0.6.4

First of all, I followed the suggestions of @xioren00topaz and installed all of the dependencies he listed and made the DLL override he mentioned. In addition to that I also installed

  • wininet
  • iertutil
  • urlmon

This part is tricky, because - as was already mentioned - the installation of wininet will fail, because windows6.1-kb976932-x64 cannot be found. Since wininet can also be installed via winetricks, I just checked where winetricks downloads this file from and got it from there. Then just place the file into the same tmp directory where the x32 version was downloaded to (for me it was ~/.var/app/com.usebottles.bottles/data/bottles/temp) and restart bottles. After that, the installation of the three dependencies should succeed. After they’ve been installed, add DLL-overrides for wininet, iertutil and urlmon (native, builtin). Not sure if you actually need these overrides, but I added them and it worked

Thanks dltz03,

I have finally managed to install wininet (and now iertutil and urlmon). I also got the 64 bit file through winetricks, but I had to rename it from windows6.1-KB976932-X64.exe to windows6.1-kb976932-x64.exe to make it work. It took me a while to realize that it was case sensitive in Bottles (but not in Wine?).

Have you tried to upgrade to a more recent version of Photo AI? I have managed to upgrade a few times, but not beyond version 2.0.5.

I still can’t get model files to download. Maybe older versions work but none of the newer versions will download model files. Furthermore as you pointed out any version beyond 2.0.5 flat out doesn’t work at all. Frustratingly the devs are progressively making the app less and less compatible.

Looking at the change log for v2.0.6, I noticed that they have upgraded Qt to version 6.6.0 and I suspect that that may be what is causing the problem. Most other changes look harmless in comparison, but upgrading Qt seems to have caused problems in the past. In this case, the problem went away when a new version of Wine was installed. Perhaps, if we are lucky, it will heal automatically when Wine gets an update…