CSMarckitus / Photoshop

This program written in C will help you to automatically install everything you need and configure it so that you can run Photoshop on your Linux without problems.
GNU General Public License v3.0
323 stars 32 forks source link

Photoshop can't run: Crashes after "Scratch disk" pop up window. #23

Open HeroesOfBalkan opened 2 years ago

HeroesOfBalkan commented 2 years ago

Hello.

I were trying to install this program Adobe Photoshop CC 2020 using this tool. For some reasons, I always get some errors, which I can't get rid of. I have fixed some errors, but I always get the same thing.

Some of those errors I get in terminals are:

"warning: Working around wine bug 26925 -- Forcing quiet install"; "warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug"; "wine" Can't install vcredist_x86.exe, error status 87. Aborting..." (smth like this): This can be fixed by changing time & date format to en_US; "VulcanDispatcher.js:2838: Uncaught TypeError: Cannot read property 'getSelfEndPoint' of undefined" (same for "MemoryVulcanDispatcher.js:2838: Uncaught TypeError:...", and I get this error constantly, in every try); "DxgiAdapter::QueryInterface: Unknown interface query"; ...

Where problem starts is when I run or installation runs the Photoshop. When it gets launched, the following pop window is shown:

"Preferencias se discos de memoria virtual" title, List of available partitions, with C:\ at least (once I had Z:\ too), and with available memory (this memory always changes after every try: once total memory of partition, several times total memory of disk, multiple times some unexisting memory (to ~999 GB or ~2TB which I didn't had)), Warning: "Los discos de memoria virtual seleccionados estan llenos. Modifique las preferencias del disco de memoria virtual que tendra efecto la proxima vez que se abra la aplication" and info "Tambien puede cambiar los discos de memoria virtual manteniendo pulsadas las teclas Control y Alt al inciar Photoshop" and a link with text "Mas informacion sobre los discos de memoria virtual", OK and "Cancelar" button.

Everything I can do in this window is to press OK, and Photoshop crashes.

I have tried installing Photoshop about 10 times, and no luck with this. Hopefully, I have found an .AppImage file for Photoshop CC 2020, but it's in Portuguese and I can't change the language, neither I can add language pack.

If you know what is the problem, please tell me. Thanks in advance.

My system: OS: Manjaro 5.15 (Arch based), dualboot with Windows 10 (I already have on W10, but it's annoying to restart PC constantly just to use what you want), CPU: AMD Ryzen 7 2700X, GPU: AMD Radeon RX 580 OC, RAM: 16GB DDR4, Kernel drive & module: amdgpu (installed as well), Memory: 250GB SSD, 1TB HDD: ->80GB of SSD for Linux (60GB is / - root directory, 20GB is /home - home directory) ->150GB of SSD for Windows 10

CSMarckitus commented 2 years ago

Hello @HeroesOfBalkan , Your error seems that is happen due to VRAM (the memory of your graphic card) because Vulcan tells specifically to Wine that it don't have enought memory. So the solution that I propose is to increase the VRAM that Wine use, for doing this you need to do:

  1. Open the wine registry editor by invoking the command wine regedit in Terminal.
  2. Go to HKEY_CURRENT_USER → Software → Wine → Direct3D → VideoMemorySize and set the value as appropriate (It's been looking at how much VRAM your GPU has and it's 8 GB. If you want, you don't need to assign everything to it, try 4096 MB (I think it will be enough for you), so in this step assign a value of 4096). If you see no such key, create it (right-click on Direct3D, select New then String Value and name it VideoMemorySize).

The source of change VRAM is from: https://superuser.com/questions/1089736/allocating-more-video-ram-to-wine

When you can try it and tell me if it works for you. Thanks!!!

HeroesOfBalkan commented 2 years ago

I have tried this, but the problem remain the same. Additionaly, in terminal I have got one more message: "01f4:fixme:winhttp:request_query_option unimplemented option 34" (before this one is "17399d75-964e-4c03-99f8-9d4fd196dd62" I think it goes with this but those 2 are written in separate lines.)

Once I have tried Gictorbit's Photoshop 2019 and when I checked regedit for this program, and there was no Adobe entries/keys at all. What do you think, may it be a problem where there are no keys for Adobe programs?

HeroesOfBalkan commented 2 years ago

Maybe the problem is actually a scratch disk: where temporary data is stored.

Free space on my /home partition is 2 GB. After reading some Adobe forums, I have found out that I need more space since Photoshop works with bigger files around. To fix this, I have to free up some space on /home partition. One problem is that my /home partition has 20 GB in total. Now my question is: can I change my scratch disk somehow, to make Photoshop think there are more disks or something like that? I have 1 TB disk and I (maybe) could tell Photoshop to save temporary data there.

CSMarckitus commented 2 years ago

Hello @HeroesOfBalkan , Oooh yes, if you only have a 2 GB in your home most probably that's the problem. I think that the right solution is instead of thinking in change the location where Photoshop save the cache is simply change the path on where you install Photoshop.

First uninstall Photoshop again but when you try to install Photoshop, when it ask you in which location you want to install, write directly the location of your disk with 1 TB and try if Photoshop work.

Also don't worry about the Adobe entry/keys, I think that this is normal, only are created in Windows when install Photoshop native, but here is not needed.

Sorry for late repply, althought not respond I watch all the issues and I try to respond as fast as possible. Try it and I hope it works for you, if not, no problem, comment again and I will try to answer as soon as possible.

HeroesOfBalkan commented 2 years ago

First time I tried directly to my HDD freezed whole Wine. I suspect at the file system NTFS is set up on that HDD. So probably I would have to shrink a HDD partition and create new one from shrinked with ext4 file system. Would this work?