RetroArch 1.9.4 Shaders from .cfg's
-
Post your config file and also a verbose log (on pastebin.com).
-
@mitu the verbose log won't yield anything of interest, and I can explain why.
My config files reference other files that use the now defunct RetroArch video_shader option. Because it's not used, it doesn't appear in any log.
Which brings me to what I believe the problem is:
The RetroPie retroarch module script (patch #2) is trying to restore this legacy video_shader behavior, but it doesn't appear to be working anymore.
I remember dealing with this before, and without the [convenient] patch, the workaround is to manually generate a bunch of reference files in /opt/retropie/configs/all/retroarch/config/
Not ideal, but I've done it before. Can do it again. I had to write scripts that scanned all of my .cfg files, looked for the shader being used and generate compatible game files for each emulator. A true nightmare for the "arcade" games, but doable.
I'm not at all a fan of RetroArch's decision to single out video_shader as being a problem (again, back with 1.7.8) but it is what it is. Have appreciated this patch up to this point.
-
@roslof said in RetroArch 1.9.4 Shaders from .cfg's:
My config files reference other files that use the now defunct RetroArch video_shader option. Because it's not used, it doesn't appear in any log.
Actually it should log something, when loaded, the fact that it doesn't means that - indeed - the patch is not working. I'll take a look, I remember I tested the patch with 1.9.2 and it worked.
-
Thanks for the report - it looks like the shader patch was incomplete for v1.9.4. We'll get it fixed.
Not ideal, but I've done it before. Can do it again. I had to write scripts that scanned all of my .cfg files, looked for the shader being used and generate compatible game files for each emulator. A true nightmare for the "arcade" games, but doable.
A few versions back, RetroArch has gained the ability to save a shader preset per-folder - you don't need to set presets for each game (for cores used in more than one system where 'save shader preset per core' is not practical).
-
Try updating the RetroPie-Setup script and re-install the
retroarch
package from source. See if thevideo_shader
parameter behaves better with the updated version. -
@mitu said in RetroArch 1.9.4 Shaders from .cfg's:
Try updating the RetroPie-Setup script and re-install the
retroarch
package from source. See if thevideo_shader
parameter behaves better with the updated version.Thank you @mitu.
I updated the RetroPie script and confirmed that a new 02_shader_path_config_enable.diff file was downloaded.
I then rebuilt RA from source.
Unfortunately the video_shader option in cfg files is still not being read by RA.
Has me wondering if RA refactored code in this area.
-
@roslof Can you get a verbose log again ?
-
@mitu said in RetroArch 1.9.4 Shaders from .cfg's:
@roslof Can you get a verbose log again ?
Yes, will do, but in the meantime, I found something...
If a global shader exists, the .cfg override for
video_shader
doesn't work.If a global shader does not exist, the .cfg override for
video shader
works.So the new patch is working. It was only masked by the Global Shader. Of course, the .cfg should override the Global Shader, but this shows the patch is otherwise good.
I'll generate a couple of verbose logs with each condition (have to get to my real job, but will come back).
-
@roslof said in RetroArch 1.9.4 Shaders from .cfg's:
If a global shader exists, the .cfg override for video_shader doesn't work.
Yes, this is normal/how the patch works. The
video_shader
is applied only when no other shader preset exists - it has the lowest priority of all, after global/core preset/content or game presets. We don't want the patch to override RetroArch's default behavior, hence the lower prioritisation. -
@mitu said in RetroArch 1.9.4 Shaders from .cfg's:
Yes, this is normal/how the patch works. The
video_shader
is applied only when no other shader preset exists - it has the lowest priority of all, after global/core preset/content or game presets. We don't want the patch to override RetroArch's default behavior, hence the lower prioritisation.In that case, everything is back to normal and I have removed my global shader.
Thank you, as always, Mitu for all the things.
-
Thanks for exploring this one - I assumed that my RetroPie upgrade had overwritten my retroarch.cfg files. The advice here has fixed my missing shaders in my install (a 64-bit Raspberry Pi OS install).
Running and updating the setup script, navigating
P Manage packages
C Core
43 Retroarch
U Re-install (from source)
has fixed the problem for me.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.