Update shaders, extracting shaders fails

Updating shaders via the online updater doesn’t work. Always gets to “extracting shaders” and after it gets to 100% it says task failed. Any ideas why this is happening?

[INFO] RetroArch 1.9.13 (Git 02898a4)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5 CPU         650  @ 3.20GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES
[INFO] Built: Nov 13 2021
[INFO] Version: 1.9.13
[INFO] Git: 02898a4
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: vk_w
[INFO] [Vulkan]: Detecting screen resolution 1920x1080.
[INFO] [Vulkan]: Found GPU at index 0: GeForce GTX 1050
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using fences for WSI acquire.
[INFO] [Vulkan]: Using GPU: GeForce GTX 1050
[INFO] [Vulkan]: Queue family 0 supports 16 sub-queues.
[INFO] [Vulkan]: Using resolution 960x720
[INFO] [Vulkan]: Using RGB565 format.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [XInput]: Found XInput v1.4.
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Display]: Found display driver: "vulkan".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: [C:\RetroArch-Win64\content_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch-Win64\content_music_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch-Win64\content_video_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch-Win64\content_image_history.lpl].
[INFO] [Playlist]: Loading favorites file: [C:\RetroArch-Win64\content_favorites.lpl].
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[ERROR] Failed to deflate C:\RetroArch-Win64\shaders\shaders_slang\border/textures/tex06.png.
[INFO] [Config]: Saved new config to "C:\RetroArch-Win64\retroarch.cfg".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.

hmm, nothing in the log about it.

If you move your retroarch.cfg temporarily, does it still fail?

That happens to me every single time I download an update from guest whenever he updates his shaders. I’m assuming you been fiddling around with your slang shader folder, if so just delete that whole folder from the root and re update your shaders, same solution goes for the glsl shader folder if you been fiddling around in there. It seems if you add any kind of shader into any of the shader folders that’s not originally from the github then it’ll cause problems which leads to that failed message, at least that’s how it always happens for me. Once I update shaders i then go and re add guest’s updated shaders back into the appropriate folders. Hopefully just deleting your shader folders and updating them works for you.

hmm, this doesn’t happen to me. I guess it could be related to permissions of the non-standard files.

Possibly. That mainly happens to me whenever I update Retroarch, while it’s extracting the base before it can complete the task I always get that failed task message. I narrowed it down to my shaders folder being the culprit because after I deleted my slang folder I was able to update with no problems. Mind you I’m also on a Shield TV. It seems like shaders simply don’t get overwritten if they’re not native to their respective folders

@sonkun @hunterk

deleting the folder didn’t solve it. Manually extracting it in windows produces unexpected errors related to a couple of image files, weird shit

image

weird. no problems here using this package: https://buildbot.libretro.com/assets/frontend/shaders_slang.zip

I tried extracting with 7zip and the regular ‘extra all’ and both were fine.

1 Like

I just tried the archive that @hunterk linked above, and also encountered no issues extracting it.

2 Likes

That worked, thanks!

I was using the online updater with this version, fwiw.

https://buildbot.libretro.com/stable/1.9.13/windows/x86_64/RetroArch-Win64-setup.exe

4 Likes