Closed NdranC closed 1 year ago
To use your GPU, you must have Vulkan installed in your prefix, Download the setup_vkd3d_proton.sh file, and then run:
# To install:
WINEPREFIX="path/to/the/prefix" sh setup_vkd3d_proton.sh install
# To uninstall:
WINEPREFIX="path/to/the/prefix" sh setup_vkd3d_proton.sh uninstall
In my case, I found it to be too problematic, so I made it optional in my fork.
To use your GPU, you must have Vulkan installed in your prefix, Download the setup_vkd3d_proton.sh file, and then run:
# To install: WINEPREFIX="path/to/the/prefix" sh setup_vkd3d_proton.sh install # To uninstall: WINEPREFIX="path/to/the/prefix" sh setup_vkd3d_proton.sh uninstall
In my case, I found it to be too problematic, so I made it optional in my fork.
Vulkan doesn't work with CC 2022
So it's currently disabled on 2022
If you want gpu acceleration you can use the 2021 version
To use your GPU, you must have Vulkan installed in your prefix, Download the setup_vkd3d_proton.sh file, and then run:
# To install: WINEPREFIX="path/to/the/prefix" sh setup_vkd3d_proton.sh install # To uninstall: WINEPREFIX="path/to/the/prefix" sh setup_vkd3d_proton.sh uninstall
In my case, I found it to be too problematic, so I made it optional in my fork.
Vulkan doesn't work with CC 2022
So it's currently disabled on 2022
If you want gpu acceleration you can use the 2021 version you can find it in the release section or in the script folder if you want a custom install path
If you do like he said your PS installation will be broken
Update : I can get GPU detected but still not usable
Great progress @MiMillieuh. How's going so far? Do you have any ideas regarding why Photoshop 2022 have problems with the GPU compared to 2021? Just being curious. I've just found out about this repo and I'm about to test PS 2021
Great progress @MiMillieuh. How's going so far? Do you have any ideas regarding why Photoshop 2022 have problems with the GPU compared to 2021? Just being curious. I've just found out about this repo and I'm about to test PS 2021
I don't really know why... it might be related to dxvk and vkd3d. I'm trying to find a patch for wine to fix these issues.
There was a thread in Adobe Official Forums where people were getting the same error of Unknown GPU on Windows. Can't recall the version, but the thread was from June 2021.
What's funny is that one of the fixes for many of them was to reinstall Photoshop but using the language English (international). Other languages gave them these unknown gpu problem, even with English EEUU.
I've noticed that your Photoshop uses English UK. I mean, I don't really think this fix applies here but... I guess we should try? I can't do it given I dont exactly know how this Photoshop for linux is packaged tbh, but if you could it would be awesome.
Also, latest version of Photoshop dropped support of DX11 and it uses DX12. Any GPU thats not DX12 wont work. Maybe there's something related to vkd3d. I couldn't make it work either. The logs in the terminal while running Photoshop dont help that much. Photoshop itself says that the GPU doesnt support DX12 but it detects support for OpenCL and OpenGL. It also throws 1500mb vram, given that I have a 8gb gpu (nvidia 2070s). PS 2022 requires a minimum of 2gb to work.
On 7 Jul 2022, 23:01 -0300, MiMillieuh @.***>, wrote:
Great progress @MiMillieuh. How's going so far? Do you have any ideas regarding why Photoshop 2022 have problems with the GPU compared to 2021? Just being curious. I've just found out about this repo and I'm about to test PS 2021 I don't really know why... it might be related to dxvk and vkd3d. I'm trying to find a patch for wine to fix these issues. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
There was a thread in Adobe Official Forums where people were getting the same error of Unknown GPU on Windows. Can't recall the version, but the thread was from June 2021.
What's funny is that one of the fixes for many of them was to reinstall Photoshop but using the language English (international). Other languages gave them these unknown gpu problem, even with English EEUU.
I've noticed that your Photoshop uses English UK. I mean, I don't really think this fix applies here but... I guess we should try? I can't do it given I dont exactly know how this Photoshop for linux is packaged tbh, but if you could it would be awesome.
Also, latest version of Photoshop dropped support of DX11 and it uses DX12. Any GPU thats not DX12 wont work. Maybe there's something related to vkd3d. I couldn't make it work either. The logs in the terminal while running Photoshop dont help that much. Photoshop itself says that the GPU doesnt support DX12 but it detects support for OpenCL and OpenGL. It also throws 1500mb vram, given that I have a 8gb gpu (nvidia 2070s). PS 2022 requires a minimum of 2gb to work.
On 7 Jul 2022, 23:01 -0300, MiMillieuh @.***>, wrote:
Great progress @MiMillieuh. How's going so far? Do you have any ideas regarding why Photoshop 2022 have problems with the GPU compared to 2021? Just being curious. I've just found out about this repo and I'm about to test PS 2021 I don't really know why... it might be related to dxvk and vkd3d. I'm trying to find a patch for wine to fix these issues. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
I've already tried these kind of solutions from the forums. They didn't work... it's related to dxvk and vkd3d. And dxvk is required because even if photoshop dropped dx11, it still use some of the old libraries.
Also my computer is far from photoshop's minimal requirements... (I just have 512mb of vram). But in a windows environment it will work but will just throw a waring message.
The problem won't happen in a windows environment so it won't be fixed by anything that could be found on adobe forums. (At least it could give some information but the fix will be different.)
I've made some progress!
I'm using latest Fedora Workstation release. Installed Lutris, created an app with the already installed Photoshop version of your script with the same wine prefix and folders. Just the default options with the latest versions of Wine, VKD3D and DXVK. No FSYNC.
It now detects the GPU but when trying to create a new document it crashes. I'll continue to find a way to make it work.
Small update: deactivating Native Canvas in Photoshop preferences works :)
Liquify still doesn't work and crashes the entire app. Basic functionality is working so far. Needs further testing.
This is the call that needs to be implemented by DXVK in order for Liquify to work:
vulkan: X11DRV_vkCreateWin32SurfaceKHR Application requires child window rendering , which is not implemented yet!
Update: liquify works now :)
wine-tkg-git have the patches needed for childwindow to work. I've used the latest nightly build available for Fedora, unzip it in ~/.local/share/lutris/runners/wine/
and made sure to give chmod -x *
to all the files in the unziped folder bin/
Changed the runner in Lutris to that one and... bam! Fsync works as well
Update 2: native canvas activated runs, but buggy when moving the document. Better to keep it deactivated
A bit buggy nonetheless! Resizing the Liquify window will bug it even more
Update 3: running it with the windowed option activated in lutris will make the liquify window less buggy, more usable
Hello, I've modified the installer with your suggestions.
To be fair my computer can't handle PS2022 (it doesn't have the requirements so I'm stuck with CC2021).
If you want you can try to use it.
https://raw.githubusercontent.com/MiMillieuh/Photoshop-CC2022-Linux/main/scripts/photoshop2022install.sh
It should work like the old one. (run sh photoshop2022install.sh /path/to/a/dir
)
I can't try it by myself.
Thank you @MiMillieuh.
I'm testing it. So far, works very similar to your CC2021.
Liquify throws the same error as CC2021 related to the disk. Seems like a library that's being replaced by Lutris or maybe these specific versions made it to work:
Liquify definitely needs wine-tkg-git to work.
Best shot would be to keep using CC2021 for now after all.
Thank you @MiMillieuh.
I'm testing it. So far, works very similar to your CC2021.
- Object selector tool doesn't work (it didn't in Lutris either). Seems related to a library or windows call missing that OpenCV needs. Works on CC2021
Liquify throws the same error as CC2021 related to the disk. Seems like a library that's being replaced by Lutris or maybe these specific versions made it to work:
- DXVK v1.10.1
- VKD3D v2.6
- D3D Extras v2
Liquify definitely needs wine-tkg-git to work.
Best shot would be to keep using CC2021 for now after all.
The CC2021 version has the selector tool working. In my case CC2021 has most of the functions working. (I don't use liquify so I don't really mind but maybe I can try to bundle this wine with it too)
I guess lutris does something more because I've included the wine tkg...
I'll try something else this afternoon but yeah it's complicated since I have to do it blindly
Closed for inactivity
This is the performance tab on your version of Photoshop CC2022
This is what it looks like on another version (CC2019) under the same system
Is this a bug that my gpu doesn't show up or is it intended with your version?