Ecks1337 / RyuSAK

GNU General Public License v3.0
1.23k stars 79 forks source link

TOTK Shaders always get stuck around 5280/23245 #69

Open ShadeNYR opened 1 year ago

ShadeNYR commented 1 year ago

Describe the bug Ryujinx does not progress beyond 5280 something shaders out of 23345. sometimes it’s 5281, 5287, 5280, 5285, etc.

To Reproduce Steps to reproduce the behavior:

  1. Download shaders in ryusak
  2. Launch ryujinx, then TOTK
  3. Stall

Expected behavior should load the full shaders and launch game

Additional context Ryujinx console filled with errors translating guest shaders, mostly texture descriptor missing from the cache file, occasional index out of bounds or object ref not set to an instance of an object.

machinemessiah commented 1 year ago

Same here stuck at 5444/5446 Also cant open Ryusak, stuck at "loading data..."

Same over here. RyuSAK v1.6.2 Ryujinx v1.1.774 GPU: AMD 5700 XT using Vulkan

TotK version was 1.0.0 when I was having the stuck shaders issue (tons of shader translation warnings in the Ryujinx console along with lots of errors), but I haven't been able to try since I patched TotK to v1.1.0 due to the new "loading data..." issue.

I did notice that the shader cache files I generate when playing are named vulkan_amd.toc and vulkan_amd.data, but shader cache files imported via RyuSAK only include guest and shared files with no matching vulkan_amd files (ignore this if this is expected behaviour, I haven't used RyuSAK in a long time).

MikeSee0 commented 1 year ago

Ryusak 1.6.2 Ryujinx 1.1.775 Zotac RTX 3080 using Opengl

Every shader update for totk since I think 11k has done this and has not worked, I've full wiped and reinstalled ryusak and ryujinx exact same issue every time every single shader update. The 11k shaders were around 50+mb in size if I remember correctly and ever since its been bugged its only showing 6mb or less files for supposedly 19k+ shaders, somethings bugged. Trying to run it on Vulcan with any shader update from the last 2-3 days it insta crashes for me until I remove those shaders. I've also disabled antivirus incase the files were somehow getting blocked.

ShadeNYR commented 1 year ago

So i think i’ve figured a workaround, but issue still exists regardless. Delete shaders from ryusak, run the game to force it to create either opengl shader file or vulcan shader file. then re run ryusak, generate shaders, open shader directory, open the 2 opengl or vulcan files in notepad (whichever you use) delete everything in there, open the 2 guest files also in notepad, then copy and paste everything from each to their corresponding opengl or vulcan file based on matching extension. once done, save, close, then delete the guest and shared files, leaving only the opengl or vulcan files.

srlPOLLO commented 1 year ago

So i think i’ve figured a workaround, but issue still exists regardless. Delete shaders from ryusak, run the game to force it to create either opengl shader file or vulcan shader file. then re run ryusak, generate shaders, open shader directory, open the 2 opengl or vulcan files in notepad (whichever you use) delete everything in there, open the 2 guest files also in notepad, then copy and paste everything from each to their corresponding opengl or vulcan file based on matching extension. once done, save, close, then delete the guest and shared files, leaving only the opengl or vulcan files.

can u please explain it more clearly? once i re generated the shaders from ryusak i open the shader directory but i dont have any vulkan nor opengl (i have these files when i let the game generate them itsel) and then i have to copy what to what? please can u explain step by step?

srlPOLLO commented 1 year ago

These are the files i get once i deleted shader and let the game generates itself

image

These are the files i get when i run ryusak

image

So i think i’ve figured a workaround, but issue still exists regardless. Delete shaders from ryusak, run the game to force it to create either opengl shader file or vulcan shader file. then re run ryusak, generate shaders, open shader directory, open the 2 opengl or vulcan files in notepad (whichever you use) delete everything in there, open the 2 guest files also in notepad, then copy and paste everything from each to their corresponding opengl or vulcan file based on matching extension. once done, save, close, then delete the guest and shared files, leaving only the opengl or vulcan files.

lBachy commented 1 year ago

doesn't work for me. i try openGl vulkan. I dont know if i understand correctly

MikeSee0 commented 1 year ago

I've also tried that fix using notepad and notepad++ I get corrupted cache everytime auto deletes itself Edit: I did forget to delete the other files, I now deleted them and it loads the game but doesnt load any shaders

lBachy commented 1 year ago

Literally the same i did

D33ves commented 1 year ago

I would recommend, that the cache on the server gets deleted so anyone of us need to rebuild our own shadr cache (again...) Thanks to the person that destroyed the whole cache and uploaded corrupted files.

D33ves commented 1 year ago

Im building now a new cache in Vulkan bcs it runs better for me (RTX 3060)

D33ves commented 1 year ago

I made some Progress, it's not much. but we should keep up on this. Im updating the cache in The next Hours. Some Real Life things need to be done.

https://anonfiles.com/Gcd2P3q8ze/TearsOfTheKingdomsShadercache_rar

https://mega.nz/file/iUlwRAiD#UCgPudfVQup4YgYvzxcgr6q-HbDp_-AwD2i_Lmi4acU

dm2835983 commented 1 year ago

D33ves

could you upload to other website? can't download from this website. thank you bro,

D33ves commented 1 year ago

Post edited!

RingoBrown commented 1 year ago

I used the previous shaders from RyuSAK and removed my compiled shaders. It took a while for my PC to rebuild the shaders and it was able to rebuild about 17k. I was able to traverse the depths to bring it up to about 18k. It's not complete but it's a start.

https://mega.nz/file/zlEiDSwY#mXftMS2zwZ0SbY7Q0oaS-PCMJ262xh1iPFFqcI8cHQ8

D33ves commented 1 year ago

I used the previous shaders from RyuSAK and removed my compiled shaders. It took a while for my PC to rebuild the shaders and it was able to rebuild about 17k. I was able to traverse the depths to bring it up to about 18k. It's not complete but it's a start.

https://mega.nz/file/zlEiDSwY#mXftMS2zwZ0SbY7Q0oaS-PCMJ262xh1iPFFqcI8cHQ8

Perfect. Thank you! Now the last thing to fo is the deletion from the servers.

MikeSee0 commented 1 year ago

I jumped over to YUZU, used the same game file and update and 60fps mod and works flawlessly. Also I gave up on waiting for the shaders, there is a 30k+ shader file out there on the main shaders site that works on Yuzu, even though its vulcan I get better performance with those shaders on my rtx3080. So now I'm playing flawless 4k 60 fps nearly complete shader file..... I got tired of waiting for this to be fixed took less than 20 mins to install and swap my save file. Just letting anyone else know who cant wait for cleaner near perfect performance.
I think in the end overall ryujinx and ryusak will be better than yuzu but for now I want performance.

b4bass commented 1 year ago

I jumped over to YUZU, used the same game file and update and 60fps mod and works flawlessly. Also I gave up on waiting for the shaders, there is a 30k+ shader file out there on the main shaders site that works on Yuzu, even though its vulcan I get better performance with those shaders on my rtx3080. So now I'm playing flawless 4k 60 fps nearly complete shader file..... I got tired of waiting for this to be fixed took less than 20 mins to install and swap my save file. Just letting anyone else know who cant wait for cleaner near perfect performance. I think in the end overall ryujinx and ryusak will be better than yuzu but for now I want performance.

"Main shader site" ? Care to share a link ? :)

vrork commented 1 year ago

I jumped over to YUZU, used the same game file and update and 60fps mod and works flawlessly. Also I gave up on waiting for the shaders, there is a 30k+ shader file out there on the main shaders site that works on Yuzu, even though its vulcan I get better performance with those shaders on my rtx3080. So now I'm playing flawless 4k 60 fps nearly complete shader file..... I got tired of waiting for this to be fixed took less than 20 mins to install and swap my save file. Just letting anyone else know who cant wait for cleaner near perfect performance. I think in the end overall ryujinx and ryusak will be better than yuzu but for now I want performance.

"Main shader site" ? Care to share a link ? :)

I imagine he is referencing this, because the one there works fine on Yuzu https://emulation.gametechwiki.com/index.php/Shader_caches

b4bass commented 1 year ago

Thank you

MikeSee0 commented 1 year ago

Yup that's the one.

luisguerreiro42 commented 1 year ago

Those shaders have been broken for quite a while, has anyone heard from the dev of the fork? I didn't even know the app would accept shaders automatically, sparrow accepted them like that initially, but after people destroyed the cache too much he started auditioning the shaders, then he left :l

b4bass commented 1 year ago

If anyone interested, I have a 60+h caches for AMD PGU (12k shaders)

blu12335 commented 1 year ago

If anyone interested, I have a 60+h caches for AMD PGU (12k shaders)

yes ......send....my shaders got fucked due to me accidentally overwriting them and ive been trying to find a cache thats big....i had about 20,000 shaders on it -.-

b4bass commented 1 year ago

base64

aHR0cHM6Ly93d3cubWVkaWFmaXJlLmNvbS9maWxlLzdiMmdjYmNrc3V3ZzhiNC9zaGFkZXJBTUQucmFyL2ZpbGU=

Tonyw009 commented 1 year ago

base64

aHR0cHM6Ly93d3cubWVkaWFmaXJlLmNvbS9maWxlLzdiMmdjYmNrc3V3ZzhiNC9zaGFkZXJBTUQucmFyL2ZpbGU=

How many shader cache? For vulkan? Work for Nvidia Gpu? intel CPU

DaniDice2 commented 1 year ago

Hello Guys! I have this problem with RyuSAK, I download the Pokemon Sword Shader without any problem and it shows the correct number of shaders es. 21000/21000 but when i launch the game it loads fast without showing the correct loading of shaders, it just load the shaders i already made playing the game, not what i downloaded, then it delete the shaders that i downloaded, i've tried it many times but it's always the same, when i open the game it delete the shaders, and RyuSAK returned to show the old shaders i already had like : 100/21000,