Modify build.yml to include creation of AppImage#723
Modify build.yml to include creation of AppImage#723J-Atoche wants to merge 53 commits intoTASEmulators:masterfrom
Conversation
|
what's the point of this? we already provide a linux binary, which is equally portable than this appimage (i.e. runs only on hosts with recent glibc and x86_64 cpu). if anyone considers merging this PR, please use the "squash and merge" button so the commit history isnt spammed with 70 trial-and-error commits. |
On Steamdeck the linux binary dont work... im very new on this, if i am wrong You can correct me |
can you be a little more specific ? what errors are you getting ? |
|
Please reconsider providing the appimage instead of proving binaries for linux, even the two big ryujinx forks both recently got appimage builds after the main repo went down. It has a lot of useful features like zsync updates with appimageupdate and the appimage runtime makes it extremely easy to set up a portable
At bare minimum appimages have to be made on the oldest still supported ubuntu LTS release, which is 20.04 right now to guarantee more compatiblity, however you can also just bundle everything with the dynamic linker and make them work on any linux system, but that takes more time and effort to make: see here |
|
before we use appimage to solve a problem, we should first define what the exact problem is and then look for the best solution. there are several issues with the appimage format itself, which you can find when you search for issues opened by me on their tracker. |
flatpak is a whole different thing and it isn't portable, also I'm just checking the issues and I can't believe what I'm seeing: #856 This should not be possible, as far as I know flatpak ships its own runtimes which are like distros that give you all the dependencies including the GPU drivers. With this said, if Desmume only depeds on gtk, sdl and opengl, it should be easy to make a truly portable appimage with the GLX libs included that truly works on any system, gonna do some tests. |
|
Alright results are promising: The AppImage is 90 MiB but that is the price of having to ship all the libs it needs to have opengl working on any linux system, just tested on alpine (no glibc) after making it on artixlinux and it works, though I haven't tested with actual games. edit: Yeah it is all working fine, I can't believe I got it right on the first attempt lol There is only an error about missing gio libs, which is solved by copying all the gio lib dir which not all were deployed for some reason. |
i was talking about appimage though. fxing typo now. now, where did you define the problem that appimages or flatpaks are thought as the solution of ? |
No idea flatpaks, not a fan of them. AppImages are the ones that are portable and can be made truly portable like I mentioned here, a lot of the common appimage tooling is outdated and only focuses on glibc, so it only works on certain distros instead of all, some tooling even still deploys the old appimage runtime which is not static and has a EOL libfuse2 dependency. So yeah if you want something that just works and want to move it around including with all its configuration files, AppImage is the way but it has to be done right. |
|
you still didn't define the problem. is it lack of a distro package, the provided binaries not working, compilation being too complicated ? i personally wouldn't call something that works only on x86_64 and on distros younger than 4 years portable, especially not with the rise of arm/aarch64. |
None of that is portable.
Me neither, but the appimages I'm talking about are not that way either, they bundle the dynamic linker and the GL libs, they should work on any system that has kernel newer than 3.0, like in this example it was tested on ubuntu 14.04 and here I tested it on Alpine linux with working opengl, which has no glibc.
So it works on any linux system provided your cpu architecture is x86_64 or aarch64 if an aarch64 appimage is made, far far better than the current solutions either way.
I think I made it very clear that it is to have a portable application that I can just download and run and carry all the dotfiles with as well. |
last time i checked "the GL libs" are either opensource (mesa using nouveau, etc) or proprietary, and nouveau crashed all over the place, so one would have to bundle proprietary nvidia drivers too... and they alone weigh > 100 mb.
if you want things to behave like on windows, maybe you should use that instead. |
Nope, you can have a hook that downloads the proprietary nvidia drivers for nvidia users, that's how flatpak works and how solutions like conty also work. Also this would be an nvidia problem and Desmume itself can fall back to software rendering (which the flatpak already has that problem anyway).
?! This is not like windows but more like dmg images of macos. There are real use cases to want portable applications, in fact I came here because I was helping an Steam deck user and I was surprised that Desmume didn't have an appimage, but I'm no longer surprised after seeing that type of comments you have made, like arguing that it isn't possible because x86_64 vs arm? And now telling me use windows lmao? |


No description provided.