-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot access the Shaders directory #184
Comments
Mine is the same. In the configuration you have two directories.
Those who say "~/.var/app/org.libretro.retroarch/..." they are saved in home. Those who say "/app/share/libretro/..." are saved in root And the "default" that I think they have no assigned directory. I also noticed that it can not be updated. |
I've just noticed this when trying to setup the new Mega Bezel feature, which has to install a bunch of new shaders. Updating the shaders through RetroArch's menu doesn't seem to work −likely because the dir belongs to root− and doesn't display an error. Why does the flatpak version put video_shader_dir (and a few others) into /var/lib/flatpak/app/... instead of ~/.var/app/...? |
You can change the directory to home and then update the shaders. |
Ok, I'll try this. But shouldn't it be changed directly in the flatpak package? IMO, all the elements that can be updated through RA's online updater should actually be updateable and thus be in the local path. |
The Flatpak comes with the Shaders installed out of the box... Do you believe we shouldn't ship the Shaders with the package? If we use the local path, we cannot ship with the shaders. It is possible to change the Shader directory, and then use the Online Updater. Since we update the Shaders each release, this may not be a big issue. You'll get the same Shaders if you use the online updater. |
To me, there are two issues related to the way files from the flatpak are organized:
This makes the whole use of the flatpak version quite confusing: I have a shaders subdir in my personal config dir (~/.var/app/...) but if I put new shaders there, I can't find them in RA, because it's actually looking in the system dir. This makes the Online Updater look partly broken. IMO, everything that is updatable through the Online updater should actually be and so be set to the user dir in retroarch.cfg but I guess this would lead to different issues, i.e. having a non-functional RA out of the box and having to update everything through the Online updater on first use? (Completely off topic, not sure if I should open a bug report: when looking through retroarch.cfg just now to check for some paths, I noticed there's a var cursor_directory set to the cursors system dir and just below a cursos_directory set to the cursors user dir; it looks like a typo −"cursos"?− and it's weird that there are two vars for the same content in both places but maybe it's normal?) |
The Flatpak is updated on each RetroArch release, bringing in the latest of each package. Would like to add a feature to RetroArch disable some of the Online Updater, as the following are shipped with the Flatpak release out of the box....
If we ship without the assets, for instance, when you run RetroArch, it would look like this.
I have no idea where Again, you're able to change the directory to wherever you'd like it to be. By default, it will use Flatpak's system directory, which if installed using the user-space, will be at:
|
Hi. RetroArch has many supports, there are some that are not updated like Lakka. Cursors in database and audio and video filters are making changes, I wouldn't worry too much about that. Updates vary, some are constantly updated, some are not. Yes, you can change the directory manually, but I don't see the point, if I want to use shaders and overlays I have to change retroarch to fit flatpak, shouldn't it be the other way around? |
Since the flatpak doesn't ship with any cores, which I do think is the correct implementation, the user is already expected to navigate to the Online Updater and download the cores they want themselves, this is the same menu where they could simply Update Core Info Files before browsing cores. The intended functionality of the Core Downloader is to have access to new cores between releases, removing it just to provide a static set of Core Info files doesn't really improve the OOTB experience. |
Agreed. Would love to ship with cores directly to save the user experience, and solve for some of the architecture issues. Made an issue for that over at #243 |
Shipping with cores will move the location of the core directory and fully break the Core Downloader. |
If we get all the compatible cores working though, then you wouldn't need to use the core downloader 😉 ... Either way it is still possible to change the Core Directory yourself if you want that level of control. |
You would still need the Core Downloader for new cores that are added outside of release though, which is already the issue that the Core Info directory is causing. This puts the onus on the user to restore the basic functionality of the application. |
Do you want to send 1.3Gb of cores, or are you going to select some? It doesn't work like that, flatpak should work exactly the same as the repo. There is the case that I want to install an unofficial core that is not in RetroArch, or I can compile it myself. The only thing you can include are the Assets, Controller Profiles and maybe core info files. The only thing to do is to move the directories of the "/app/share/libretro/shaders" a "~/.var/app/org.libretro.RetroArch/config/retroarch/cores". Flatpak is more problems than solutions. I had to use a command in the terminal or Flatseal to give it access to my own "home". I stopped using it a long time ago, it's only good for webapp type applications. |
Certainly sandbox issues to address. Hopefully we can find a good balance between out-of-the-box experience and customizability. |
I don't know if that's related but I post here because I thought that was confusing too, I don't know if that occurred after an update but a lot of paths got renamed to this: At first I thought all the builtin shaders got deleted and freaked out but there are under |
I just started a new installation. The path is still "/app/share/libretro/...". |
Thanks for confirming, I think it happened after I closed my OS session (without closing retro in that session) and tried to run another retro process in another session. I think it thought I was another user and created a new configuration file (probably copying an out of date default file from somewhere else). That's the only explanation I could find but I don't think it matters.. |
This is also an issue with the Arch Linux package. There, there is a ~/.config/retroarch, but putting files there doesn't work, as it's looking at Instead I switched to the Steam version as a workaround. |
Strange. We have everything install to |
Arch Linux package, not Flatpak. I'm thinking other native packages will have this issue too... I'll try one. |
Looking through the package, it doesn't look like it installs the shaders: ... Despite setting the directory: |
I have an account on their issue tracker, I can report it there. |
I now know there is a separate package for the shaders: I didn't know it existed because I had only searched for |
I believe it makes sense to make the |
It is listed in the optional dependencies at least, I just didn't notice it https://gitlab.archlinux.org/archlinux/packaging/packages/retroarch/-/issues/3 |
The directory is not accessible in home /.var
It is inside '/', and to make a change or use a custom shader you need to login as root.
The text was updated successfully, but these errors were encountered: