-
Notifications
You must be signed in to change notification settings - Fork 2
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
Handle libEGL, libGL and DRI #1
Comments
Also I'm not sure if there is ever a need to copy the This is all it took to have a working opengl with this desmume appimage for example, and similar for a working vulkan here. I noticed |
xvfb-run runs for the first but not for the second binary - but then again, maybe I am doing it entirely wrong? |
If I don't do this, then I get:
|
Interesting. Looks like dri has to be copied here, I also tested the last artifact that has dri, I noticed that if I set
which is indeed missing from the AppDir. Also with the removal of |
Found out so far that the string
appears in
|
Btw I noticed another thing, the Those binaries have to be wrapped around with sharun, otherwise they will try to use the host dynamic linker when ran. Something like this would need to be done for those binaries |
#2 :-) |
This appimage works on my PC. However it does not work on ubuntu, I get this error:
This is likely because gdk wasn't deployed, which is odd, I noticed that the app crashes when I continue a confirmation dialog that pops up when launching, very likely the strace mode doesn't catch these libs since they are loaded after the confrimation dialog is closed. Try deploying gdk manually anyway, add something like this:
The ideal solution though is finding a way to bypass the confirmation dialog about SSL certificates when launching the app in the CI, that way we would get the missing libs. |
Thanks @Samueru-sama. Do you know why rpath is getting patched, I thought patching rpath was no longer necessary thanks to userland-execve? |
It isn't needed, but The ideal solution would be checking all the libs and remove the rpaths from the ones that have it previously set, no idea if @VHSgunzo wants to implement this feature in lib4bin either. I forked your fork of pureslicer and I'm testing some things, will likely continue tomorrow since it is late here now. |
@probonopd just checked your last build and it works on ubuntu latest now, and I had to set Note that you can add extra env variables by creating a |
Getting somewhere. #2 still needs to be tamed somehow. See there. |
Hi! Thanks! I have not yet looked at the problem that is being discussed here |
Most of the issues here were solved already, the only thing is that What's left is the other issue with webkitgtk. |
When I run my build made on Ubuntu on a Ubuntu target system, it seems to work. However, on a Fedora Linux 38 (KDE Plasma) target system, then I get
So there is more to libGL and DRI than meets the eye...
|
So, for my personal test case I found solutions for all of the above. But it is a lot of manual work, Is it in the scope of this project to provide automation for this? Thanks. |
Not sure, sharun already sets a lot of env variables. I recently made an AppImage of Cromite (Chromium fork) with sharun and also needed to deploy |
Great to know @Samueru-sama. Thanks!
If it is no longer needed with the new versions, then no, we wouldn't imho need to set |
Using userland-execve is a very interesting approach @VHSgunzo, very clever.
I tried to experiment with sharun a bit, but I am running into an issue:
Some applicatons, e.g., PrusaSlicer, require libGL and DRI for 3D graphics rendering.
It seems like this needs to be handled somehow.
https://github.com/probonopd/PrusaSlicer/blob/efe3df7c9a9a3bd8c2b7bdfa3ec6bb31bb67ab41/.github/workflows/build.yml#L111-L114
This approach is certainly not the way to do it but maybe it can give you a hint at where to look. It seems like libGL and DRI and its dependencies (graphics driver libraries) need to be bundled. Can you get it to work?
The text was updated successfully, but these errors were encountered: