Skip to content
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

Install as a Flatpak extension #155

Open
orowith2os opened this issue Mar 12, 2023 · 0 comments · May be fixed by #156
Open

Install as a Flatpak extension #155

orowith2os opened this issue Mar 12, 2023 · 0 comments · May be fixed by #156

Comments

@orowith2os
Copy link

orowith2os commented Mar 12, 2023

Due to flatpak's sandboxed nature, it has to bundle libraries such as graphics drivers. However, it (the runtime) provides a way to work around this a bit: org.freedesktop.Platform.GL.host.

The PKGBUILD would need to install the binaries to the appropriate /var directory. Symlinks wouldn't work, as they wouldn't resolve inside of bubblewrap.

I'm working on documentation to improve the situation for drivers like this over at flatpak/flatpak-docs#382.

https://blog.tingping.se/2018/08/26/flatpak-host-extensions.html

Flatpak also has a utility built in that runs on every flatpak update so that the NVIDIA drivers are synced, however this needs to be ran whenever the host NVIDIA driver is updated.

@orowith2os orowith2os linked a pull request Mar 12, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant